mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-02 09:59:53 +02:00
📝 README: Include example workspace + reference PAGE Viewer and dinglehopper
Fixes GH-7.
This commit is contained in:
parent
8cd842419d
commit
abc207d655
1 changed files with 22 additions and 3 deletions
25
README.md
25
README.md
|
@ -5,14 +5,33 @@ My OCR-D workflow
|
|||
|
||||
WIP.
|
||||
|
||||
It's easiest to use it as a container.
|
||||
|
||||
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:
|
||||
~~~
|
||||
cd /path/to/some-ocrd-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](https://www.primaresearch.org/tools/PAGEViewer):
|
||||
~~~
|
||||
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](https://github.com/qurator-spk/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
|
||||
~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue