✒ README: Update that we have images again + how to download models

test/github-actions
Gerber, Mike 1 year ago
parent 435c88c5e1
commit 2a020954fb

@ -29,14 +29,9 @@ including all dependencies in Docker.
How to use How to use
---------- ----------
**Currently, due to problems with the Travis CI, we do not provide pre-built ocrd-galley uses Docker to run the OCR-D images. We provide pre-built container
containers anymore.*** images that get downloaded automatically when you run the provided wrappers for
the OCR-D processors.
To build the containers yourself using Docker:
~~~
cd ~/devel/ocrd-galley/
./build
~~~
You can then install the wrappers into a Python venv: You can then install the wrappers into a Python venv:
~~~ ~~~
@ -44,9 +39,13 @@ cd ~/devel/ocrd-galley/wrapper
pip install . pip install .
~~~ ~~~
To download models, you need to use the `-a` flag of `ocrd resmgr`:
~~~
ocrd resmgr download -a ocrd-calamari-recognize default
~~~
You may then use the script `my_ocrd_workflow` to use your self-built You may then use the script `my_ocrd_workflow` to use your self-built
containers on an example workspace: containers on an example workspace:
~~~ ~~~
# Download an example workspace # Download an example workspace
cd /tmp cd /tmp
@ -110,3 +109,11 @@ cd workspace-xxxxx # output by the last command
~~~ ~~~
This produces a workspace from the files and then runs the OCR workflow on it. This produces a workspace from the files and then runs the OCR workflow on it.
Build the containers yourself
-----------------------------
To build the containers yourself using Docker:
~~~
cd ~/devel/ocrd-galley/
./build
~~~

Loading…
Cancel
Save