🧹 Do not validate OCR results twice

This commit is contained in:
Gerber, Mike 2020-02-12 18:08:11 +01:00
parent 8ca25f3c56
commit 9f111ca362

View file

@ -139,9 +139,6 @@ main() {
page_validate_xml $ocr_filegrp page_validate_xml $ocr_filegrp
do_validate do_validate
page_validate_xml $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
ocrd workspace remove-group -rf $ocr_filegrp-EVAL ocrd workspace remove-group -rf $ocr_filegrp-EVAL
ocrd-dinglehopper -I OCR-D-GT-PAGE,$ocr_filegrp -O $ocr_filegrp-EVAL ocrd-dinglehopper -I OCR-D-GT-PAGE,$ocr_filegrp -O $ocr_filegrp-EVAL