⚙️ my_ocrd_workflow-sbb: Only convert Calamari OCR

master
Gerber, Mike 4 years ago
parent a426db1da8
commit 9ae8e6b2e5

@ -70,12 +70,8 @@ main() {
do_validate do_validate
for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do ocrd-fileformat-transform --overwrite -I OCR-D-OCR-CALAMARI -O OCR-D-OCR-CALAMARI-ALTO
if ocrd workspace list-group | grep -q OCR-D-GT-PAGE; then do_validate
ocrd-dinglehopper --overwrite -I OCR-D-GT-PAGE,$ocr_filegrp -O $ocr_filegrp-EVAL
fi
ocrd-fileformat-transform --overwrite -I $ocr_filegrp -O ${ocr_filegrp}-ALTO
done
} }

Loading…
Cancel
Save