From 6c0d7e0aee12d0e6aca0872d2dda68fdc327ee88 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 26 Sep 2019 16:46:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=20Do=20not=20fix=20PAGE=20image=20?= =?UTF-8?q?references=20for=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my_ocrd_workflow | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/my_ocrd_workflow b/my_ocrd_workflow index 0f148b0..77e5be6 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -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