mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-31 19:24:12 +01:00 
			
		
		
		
	Reformat to use shorter lines
This commit is contained in:
		
							parent
							
								
									b5f9dcb7f3
								
							
						
					
					
						commit
						a2d547b857
					
				
					 1 changed files with 13 additions and 2 deletions
				
			
		|  | @ -14,8 +14,15 @@ remove_filegrp() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | ocrd_typegroups_classifier_parameters=' | ||||||
|  | { | ||||||
|  |   "network": "/home/mike/devel/OCR-D/monorepo/ocrd_typegroups_classifier/ocrd_typegroups_classifier/models/classifier.tgc", | ||||||
|  |   "stride":143 | ||||||
|  | }' | ||||||
| remove_filegrp OCR-D-FONTIDENT mets.xml | remove_filegrp OCR-D-FONTIDENT mets.xml | ||||||
| ocrd-typegroups-classifier -l DEBUG -m mets.xml -I OCR-D-IMG -O OCR-D-FONTIDENT -p <(echo '{"network": "/home/mike/devel/OCR-D/monorepo/ocrd_typegroups_classifier/ocrd_typegroups_classifier/models/classifier.tgc", "stride":143}') | ocrd-typegroups-classifier -l DEBUG \ | ||||||
|  |   -m mets.xml -I OCR-D-IMG -O OCR-D-FONTIDENT \ | ||||||
|  |   -p <(echo $ocrd_typegroups_classifier_parameters) | ||||||
| # XXX does DEFAULT have any meaning? /buerger_gedichte_1778.ocrd does not have | # XXX does DEFAULT have any meaning? /buerger_gedichte_1778.ocrd does not have | ||||||
| #     any DEFAULT, yet -I DEFAULT seems to work for ocrd-typegroups-classifier | #     any DEFAULT, yet -I DEFAULT seems to work for ocrd-typegroups-classifier | ||||||
| #ocrd workspace validate mets.xml | #ocrd workspace validate mets.xml | ||||||
|  | @ -24,5 +31,9 @@ ocrd-typegroups-classifier -l DEBUG -m mets.xml -I OCR-D-IMG -O OCR-D-FONTIDENT | ||||||
| # XXX <notice>Won't download remote image <OCR-D-IMG/OCR-D-IMG_0002></notice> | # XXX <notice>Won't download remote image <OCR-D-IMG/OCR-D-IMG_0002></notice> | ||||||
| 
 | 
 | ||||||
| remove_filegrp OCR-D-SEG-LINE mets.xml | remove_filegrp OCR-D-SEG-LINE mets.xml | ||||||
| ocrd-tesserocr-segment-line -l DEBUG -m mets.xml -I OCR-D-IMG -O OCR-D-SEG-LINE | ocrd-tesserocr-segment-line -l DEBUG \ | ||||||
|  |   -m mets.xml -I OCR-D-IMG -O OCR-D-SEG-LINE | ||||||
| #ocrd workspace validate mets.xml | #ocrd workspace validate mets.xml | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # vim:tw=120: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue