Uses tesseract, hocr2pdf, and pdfconcat to build a OCR'ed ( searchable ) PDF from a dir full of tif files. Inteded use is with the output of a diybookscanner and ScanTailor.
This file contains 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
|for img in *.tif; do tesseract $img $img hocr; done|
|for img in *.tif; do hocr2pdf -i $img -o $img.pdf < $img.html; done|
|pdfconcat -o merged.pdf ./*.pdf|