internetarchive / archive-hocr-tools

Efficient hOCR tooling
Other
38 stars 9 forks source link

Feature/add hocr to daisy script #9

Closed scottbarnes closed 1 month ago

scottbarnes commented 1 month ago

Add hocr -> DASIY generation.

NOTE: This requires installing with [daisy] (e.g. pip install "archive-hocr-tool[daisy]").

Some issues:

How to run:

hocr-to-daisy -f /home/scott/Downloads/daisy/items/enqphilosophical00burkrich/enqphilosophical00burkrich_hocr.html \
-i /home/scott/Downloads/daisy/items/enqphilosophical00burkrich \
-n enqphilosophical00burkrich \
-d enqphilosophical00burkrich \
-o test_daisy_output.zip
MerlijnWajer commented 1 month ago

Thanks, merged!