Closed scottbarnes closed 1 month ago
Add hocr -> DASIY generation.
NOTE: This requires installing with [daisy] (e.g. pip install "archive-hocr-tool[daisy]").
[daisy]
pip install "archive-hocr-tool[daisy]"
Some issues:
hocr
_meta.xml
from __future__
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
Thanks, merged!
Add hocr -> DASIY generation.
NOTE: This requires installing with
[daisy]
(e.g.pip install "archive-hocr-tool[daisy]"
).Some issues:
hocr
file dependency, this also still depends on_meta.xml
and scandata from Internet Archive;This isn't compatible with Python 3.6 (thoughfrom __future__
might take care of much of that);The module situation needs improvement (as seen by by the sample invocation)How to run: