Created
June 24, 2020 21:29
-
-
Save jordanbCS/24f490d0cc24d307f82729e8ce32646a to your computer and use it in GitHub Desktop.
OCR command for turning image pdfs into OCR'd pdfs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert -density 300 -compress lzw -units 2 "input.pdf" "output.tif";tesseract "output.tif" "input_with_OCR.pdf" pdf; rm output.tif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment