|
|
@ -19,13 +19,9 @@ Provide a **test environment** to produce OCR output for historical prints, usin
|
|
|
|
|
|
|
|
|
|
|
|
How to use
|
|
|
|
How to use
|
|
|
|
----------
|
|
|
|
----------
|
|
|
|
It's easiest to use it as a container. To build the container using Docker:
|
|
|
|
It's easiest to use it as a pre-built container. To run the container on an
|
|
|
|
~~~
|
|
|
|
example workspace:
|
|
|
|
cd ~/devel/my_ocrd_workflow
|
|
|
|
|
|
|
|
./build
|
|
|
|
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To run the container on an example workspace:
|
|
|
|
|
|
|
|
~~~
|
|
|
|
~~~
|
|
|
|
# Download an example workspace
|
|
|
|
# Download an example workspace
|
|
|
|
cd /tmp
|
|
|
|
cd /tmp
|
|
|
@ -34,8 +30,17 @@ unzip actevedef_718448162.first-page.zip
|
|
|
|
|
|
|
|
|
|
|
|
# Run the workflow on it
|
|
|
|
# Run the workflow on it
|
|
|
|
cd actevedef_718448162.first-page
|
|
|
|
cd actevedef_718448162.first-page
|
|
|
|
~/devel/my_ocrd_workflow/run
|
|
|
|
~/devel/my_ocrd_workflow/run-docker-hub
|
|
|
|
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Build the container yourself
|
|
|
|
|
|
|
|
To build the container yourself using Docker:
|
|
|
|
|
|
|
|
~~~
|
|
|
|
|
|
|
|
cd ~/devel/my_ocrd_workflow
|
|
|
|
|
|
|
|
./build
|
|
|
|
~~~
|
|
|
|
~~~
|
|
|
|
|
|
|
|
You may then use the script `run` to use your self-built container, analogous to
|
|
|
|
|
|
|
|
the example above.
|
|
|
|
|
|
|
|
|
|
|
|
### Viewing results
|
|
|
|
### Viewing results
|
|
|
|
You may then examine the results using
|
|
|
|
You may then examine the results using
|
|
|
|