💩 Do not fix PAGE image references for now

pull/27/head
Gerber, Mike 5 years ago
parent e3bf65b502
commit 6c0d7e0aee

@ -162,7 +162,6 @@ for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do
page_workaround_remove_conf $ocr_filegrp
do_validate
page_fix_image_references $ocr_filegrp
page_validate_xml $ocr_filegrp
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
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
remove_filegrp $ocr_filegrp-EVAL mets.xml
ocrd-dinglehopper -m mets.xml -I OCR-D-GT-PAGE,$ocr_filegrp -O $ocr_filegrp-EVAL

Loading…
Cancel
Save