-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run ocrd network sample #449
base: master
Are you sure you want to change the base?
Conversation
Are there already other showcases and documents for |
Co-authored-by: Stefan Weil <[email protected]>
Thank you for your help. I' m afraid I don't know of any other example deployment for ocrd network by now. I have focused on the docker-deployment so far, because no native installation of processors is needed. |
@stweil, there is also this pad with fast instructions for native environment that we were not able to put under |
This PR showcases the usage of ocrd network.
Step by step guide to run the example
sudo apt install python3-click
)mkdir /tmp/mydata
. This can be configured later. The folder must be owned by the current usermkdir /tmp/path-to-my-assets
cp run-network/my_ocrd_logging.conf /tmp/path-to-my-assets/
curl -L "https://github.com/tesseract-ocr/tessdata_best/raw/main/script/Fraktur.traineddata" --output /tmp/path-to-my-assets/Fraktur.traineddata
make run-network
to start the setupcurl -v -X POST "localhost:8000/workflow/run?mets_path=/data/vd18test/mets.xml&page_wise=True" -H "Content-type: multipart/form-data" -F "[email protected]"
curl localhost:8000/workflow/job/{your-job-id-from-prev-step} | jq