mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 06:39:53 +02:00
⚙️ my_ocrd_workflow-sbb: Only convert Calamari OCR
This commit is contained in:
parent
a426db1da8
commit
9ae8e6b2e5
1 changed files with 2 additions and 6 deletions
|
@ -70,12 +70,8 @@ main() {
|
|||
do_validate
|
||||
|
||||
|
||||
for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do
|
||||
if ocrd workspace list-group | grep -q OCR-D-GT-PAGE; then
|
||||
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
|
||||
ocrd-fileformat-transform --overwrite -I OCR-D-OCR-CALAMARI -O OCR-D-OCR-CALAMARI-ALTO
|
||||
do_validate
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue