|
|
|
@ -133,6 +133,7 @@ page_workaround_remove_conf() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
page_downgrade_to_2018() {
|
|
|
|
|
# Not used anymore, but kept if needed in the future
|
|
|
|
|
filegrp=$1
|
|
|
|
|
|
|
|
|
|
local file
|
|
|
|
@ -170,10 +171,6 @@ for ocr_filegrp in OCR-D-OCR-CALAMARI OCR-D-OCR-TESS; do
|
|
|
|
|
page_validate_xml $ocr_filegrp
|
|
|
|
|
do_validate
|
|
|
|
|
|
|
|
|
|
# Downgrade to PAGE 2018 to support PAGE Viewer
|
|
|
|
|
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
|
|
|
|
|