mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 01:19:52 +02:00
📝 ppn2ocr: Add to README, including proxy configuration
This commit is contained in:
parent
1585247482
commit
7c5cbc7244
2 changed files with 20 additions and 3 deletions
20
README.md
20
README.md
|
@ -55,3 +55,23 @@ available:
|
|||
~~~
|
||||
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:
|
||||
~~~
|
||||
./ppn2ocr PPN77164308X
|
||||
~~~
|
||||
|
||||
This produces a workspace directory `PPN77164308X` with the OCR results in it;
|
||||
the results are viewable as explained above.
|
||||
|
||||
ppn2ocr requires a working Docker setup and properly set up environment
|
||||
variables for the proxy configuration. At SBB, this means:
|
||||
~~~
|
||||
export HTTP_PROXY=http://http-proxy.sbb.spk-berlin.de:3128/
|
||||
export HTTPS_PROXY=$HTTP_PROXY; export http_proxy=$HTTP_PROXY; export https_proxy=$HTTP_PROXY
|
||||
export no_proxy=localhost,digital.staatsbibliothek-berlin.de,content.staatsbibliothek-berlin.de
|
||||
~~~
|
||||
|
|
3
ppn2ocr
3
ppn2ocr
|
@ -67,9 +67,6 @@ $self_dir/run-docker-hub -I PRESENTATION --skip-validation
|
|||
|
||||
# TODO
|
||||
|
||||
# * README: Users must configure their proxy properly via environment variables;
|
||||
# This includes setting no_proxy (e.g. for use at SBB).
|
||||
|
||||
# my_ocrd_workflow
|
||||
# ----------------
|
||||
# * Need option to add volumes e.g. /srv/digisam_images
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue