mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-31 03:04:12 +01:00 
			
		
		
		
	💩 Do not fix PAGE image references for now
This commit is contained in:
		
							parent
							
								
									e3bf65b502
								
							
						
					
					
						commit
						6c0d7e0aee
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue