mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-08 22:29:56 +02:00
📝 README: Mention venv when installing ppn2ocr
This commit is contained in:
parent
64d0d85d3e
commit
e535311fcb
1 changed files with 7 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue