mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-10-25 01:14:13 +02:00
No description
|
|
||
|---|---|---|
| data@dcd3643917 | ||
| ocrd-bugs | ||
| xsd | ||
| .gitmodules | ||
| .travis.yml | ||
| build | ||
| Dockerfile | ||
| my_ocrd_workflow | ||
| ocrd_logging.py | ||
| qurator_data_lib.sh | ||
| README.md | ||
| requirements.txt | ||
| run | ||
My OCR-D workflow
WIP.
It's easiest to use it as a container. To build the container using Docker:
cd ~/devel/my_ocrd_workflow
./build
To run the container on an example workspace:
# Download an example workspace
cd /tmp
wget https://qurator-data.de/examples/actevedef_718448162.first-page.zip
unzip actevedef_718448162.first-page.zip
# Run the workflow on it
cd actevedef_718448162.first-page
~/devel/my_ocrd_workflow/run
You may then examine the results using PRImA's PAGE Viewer:
java -jar /path/to/JPageViewer.jar --resolve-dir . OCR-D-OCR-CALAMARI/OCR-D-OCR-CALAMARI_00000024.xml
The workflow also produces OCR evaluation reports using dinglehopper, if ground truth was available in a OCR-D-GT-PAGE file group:
firefox OCR-D-OCR-CALAMARI-EVAL/OCR-D-OCR-CALAMARI-EVAL_00000024.html