|
|
@ -162,7 +162,6 @@ for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do
|
|
|
|
page_workaround_remove_conf $ocr_filegrp
|
|
|
|
page_workaround_remove_conf $ocr_filegrp
|
|
|
|
do_validate
|
|
|
|
do_validate
|
|
|
|
|
|
|
|
|
|
|
|
page_fix_image_references $ocr_filegrp
|
|
|
|
|
|
|
|
page_validate_xml $ocr_filegrp
|
|
|
|
page_validate_xml $ocr_filegrp
|
|
|
|
do_validate
|
|
|
|
do_validate
|
|
|
|
|
|
|
|
|
|
|
@ -170,6 +169,11 @@ for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do
|
|
|
|
page_downgrade_to_2018 $ocr_filegrp
|
|
|
|
page_downgrade_to_2018 $ocr_filegrp
|
|
|
|
do_validate
|
|
|
|
do_validate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# XXX This seems to be causing new problems with validation
|
|
|
|
|
|
|
|
# https://github.com/OCR-D/core/issues/176
|
|
|
|
|
|
|
|
#page_fix_image_references $ocr_filegrp
|
|
|
|
|
|
|
|
#do_validate
|
|
|
|
|
|
|
|
|
|
|
|
if ocrd workspace list-group | grep -q OCR-D-GT-PAGE; then
|
|
|
|
if ocrd workspace list-group | grep -q OCR-D-GT-PAGE; then
|
|
|
|
remove_filegrp $ocr_filegrp-EVAL mets.xml
|
|
|
|
remove_filegrp $ocr_filegrp-EVAL mets.xml
|
|
|
|
ocrd-dinglehopper -m mets.xml -I OCR-D-GT-PAGE,$ocr_filegrp -O $ocr_filegrp-EVAL
|
|
|
|
ocrd-dinglehopper -m mets.xml -I OCR-D-GT-PAGE,$ocr_filegrp -O $ocr_filegrp-EVAL
|
|
|
|