🚧 ppn2ocr: Update README

This commit is contained in:
Gerber, Mike 2020-06-03 11:17:18 +02:00
parent 3e0b7436a5
commit 9b7437601f

View file

@ -58,11 +58,14 @@ firefox OCR-D-OCR-CALAMARI-EVAL/OCR-D-OCR-CALAMARI-EVAL_00000024.html
ppn2ocr
-------
The `ppn2ocr` script produces OCR output for a given document in the State
Library Berlin (SBB)'s digitized collection. The document must be specified by its
PPN, for example:
The `ppn2ocr` script produces a METS file with the best images for a given
document in the State Library Berlin (SBB)'s digitized collection. The document
must be specified by its PPN, for example:
~~~
./ppn2ocr PPN77164308X
pip install -r requirements-ppn2ocr.txt
~/devel/my_ocrd_workflow/ppn2ocr PPN77164308X
cd PPN77164308X
~/devel/my_ocrd_workflow/run-docker-hub -I BEST --skip-validation
~~~
This produces a workspace directory `PPN77164308X` with the OCR results in it;