📝 README: Mention venv when installing ppn2ocr

feat/check-BEST-dimensions
Mike Gerber 4 years ago committed by GitHub
parent 64d0d85d3e
commit e535311fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,10 +67,15 @@ firefox OCR-D-OCR-CALAMARI-EVAL/OCR-D-OCR-CALAMARI-EVAL_00000024.html
ppn2ocr ppn2ocr
------- -------
The `ppn2ocr` script produces a METS file with the best images for a given 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 document in the State Library Berlin (SBB)'s digitized collection.
must be specified by its PPN, for example:
Install it, preferably in a venv:
~~~ ~~~
pip install -r ~/devel/my_ocrd_workflow/requirements-ppn2ocr.txt pip install -r ~/devel/my_ocrd_workflow/requirements-ppn2ocr.txt
~~~
The document must be specified by its PPN, for example:
~~~
~/devel/my_ocrd_workflow/ppn2ocr PPN77164308X ~/devel/my_ocrd_workflow/ppn2ocr PPN77164308X
cd PPN77164308X cd PPN77164308X
~/devel/my_ocrd_workflow/run-docker-hub -I BEST --skip-validation ~/devel/my_ocrd_workflow/run-docker-hub -I BEST --skip-validation

Loading…
Cancel
Save