Skip to content

Instantly share code, notes, and snippets.

View GlennBell's full-sized avatar

Glenn Bell GlennBell

  • Northern Virginia
View GitHub Profile
@cboulanger
cboulanger / pdfocr.sh
Last active April 1, 2021 08:45
OCR of a scanned PDF, using imagemagick, ghostscript, poppler and tesseract
#!/bin/bash
# builds on:
# https://ubuntuforums.org/showthread.php?t=1370827
# Prerequisites:
# On Mac OS:
# brew install --with-libtiff --with-ghostscript imagemagick
# brew install --all-languages tesseract
# brew install poppler