Closed kba closed 3 years ago
Workflow by @jbarth-ubhd that should produce the problem:
image: https://digi.ub.uni-heidelberg.de/diglitData/v/ocrd/hdz1886a_-_248_4.tif
workflow:
ocrd-sbb-binarize -I OCR-D-IMG -O OCR-D-001 -P model $HOME/ocrd_models/sbb/binarization/models ocrd-cis-ocropy-deskew -I OCR-D-001 -O OCR-D-002 ocrd-sbb-textline-detector -I OCR-D-002 -O OCR-D-003 -P model $HOME/ocrd_models/sbb/textline ocrd-calamari-recognize -I OCR-D-003 -O OCR-D-OCR -P checkpoint "$HOME/ocrd_models/calamari/calamari_models/gt4histocr/*.ckpt.json"
https://github.com/Calamari-OCR/calamari/issues/193#issuecomment-746798065
To reproduce, use this workspace: https://qurator-data.de/~mike.gerber/2021-01%20ocrd_calamari-issue-48/workspace.zip (created with the image and the commands above) and
ocrd-calamari-recognize -I OCR-D-003 -O OCR-D-OCR -P checkpoint ".../path/to/gt4histocr/*.ckpt.json"
Alright, bug is fixed by #49, merged.
Originally posted by @andbue in https://github.com/Calamari-OCR/calamari/issues/193#issuecomment-746979800