Open joschrew opened 2 months ago
Are there already other showcases and documents for ocrd network
or even complete installations? I recently started my own first experiments with it (based on a native OCR-D installation, no Docker), found only the documentation which is included in the code and in the specification and therefore appreciate this new sample.
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.
Are there already other showcases and documents for
ocrd network
or even complete installations? I recently started my own first experiments with it (based on a native OCR-D installation, no Docker), found only the documentation which is included in the code and in the specification and therefore appreciate this new sample.
@stweil, there is also this pad with fast instructions for native environment that we were not able to put under ocrd_network
docs yet: https://pad.gwdg.de/Ty6IXzhIRa6AvDdC4kTy_g#. Let me know if you need further assistance. Glad to help.
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 "workflow=@workflow.txt"
curl localhost:8000/workflow/job/{your-job-id-from-prev-step} | jq