Skip to content

A collection of scripts for creating ebooks from digital scans

Notifications You must be signed in to change notification settings

Montinevra/e-book_tools

Repository files navigation

e-book_tools

ocr.sh

Runs Tesseract on all the specified files. Requires Tesseract: https://github.com/tesseract-ocr/tesseract

bash ocr.sh file1 [file2 ... fileN]

ocr_gui.py

A gui frontend for the above script. Requires PySimpleGUI: https://www.pysimplegui.org/en/latest/

python3 ocr_gui.py

xhtml_from_hocr.py

Converts .hocr files to xhtml. Removes hocr-related data and just leaves the content with basic xhtml formatting. Adds a pagebreak tag (used in epub) based on the filename.

python3 xhtml_from_hocr.py [args] file1 [file2 ... fileN]

xhtml_from_hocr.py -h for more detailed usage info.

About

A collection of scripts for creating ebooks from digital scans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published