📝 README: Mention venv when installing ppn2ocr

This commit is contained in:
Mike Gerber 2020-09-03 17:55:58 +02:00 committed by GitHub
parent 64d0d85d3e
commit e535311fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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