|
|
@ -55,3 +55,23 @@ available:
|
|
|
|
~~~
|
|
|
|
~~~
|
|
|
|
firefox OCR-D-OCR-CALAMARI-EVAL/OCR-D-OCR-CALAMARI-EVAL_00000024.html
|
|
|
|
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
|
|
|
|
|
|
|
|
~~~
|
|
|
|