mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-31 19:24:12 +01:00 
			
		
		
		
	⬆ Update calamari-models URL + path
This commit is contained in:
		
							parent
							
								
									2b8c6728bc
								
							
						
					
					
						commit
						87a2bce93c
					
				
					 4 changed files with 5 additions and 6 deletions
				
			
		
							
								
								
									
										4
									
								
								build
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								build
									
										
									
									
									
								
							|  | @ -5,13 +5,13 @@ | |||
| DATA_SUBDIR=data | ||||
| 
 | ||||
| get_from_annex() { | ||||
|   annex_get 'calamari-models/GT4HistOCR/*.ckpt*' | ||||
|   annex_get 'calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt*' | ||||
|   annex_get 'tesseract-models/GT4HistOCR/*.traineddata' | ||||
|   annex_get 'textline_detection/*.h5' | ||||
| } | ||||
| 
 | ||||
| get_from_web() { | ||||
|   download_to 'https://qurator-data.de/calamari-models/GT4HistOCR/model.tar.xz'  'calamari-models/GT4HistOCR' | ||||
|   download_to 'https://qurator-data.de/calamari-models/GT4HistOCR/model.tar.xz' 'calamari-models/GT4HistOCR/2019-07-22T15:49+0200' | ||||
|   download_to 'https://qurator-data.de/tesseract-models/GT4HistOCR/models.tar'   'tesseract-models/GT4HistOCR' | ||||
|   # FIXME needs update download_to 'https://file.spk-berlin.de:8443/textline_detection/models.tar.gz'         'textline_detection' | ||||
| } | ||||
|  |  | |||
							
								
								
									
										2
									
								
								data
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								data
									
										
									
									
									
								
							|  | @ -1 +1 @@ | |||
| Subproject commit f6f7dd40cf309dbc7ce31f2df6b4ae52949d1c78 | ||||
| Subproject commit dcd364391768317ce6cb14f0a3300a191d0a63a9 | ||||
|  | @ -100,7 +100,7 @@ do_ocr() { | |||
| } | ||||
| 
 | ||||
| do_ocr_calamari() { | ||||
|   ocrd_calamari_recognize_parameters='{ "checkpoint": "/var/lib/calamari-models/GT4HistOCR/*.ckpt.json" }' | ||||
|   ocrd_calamari_recognize_parameters='{ "checkpoint": "/var/lib/calamari-models/GT4HistOCR/2019-07-22T15:49+0200/*.ckpt.json" }' | ||||
|   remove_filegrp OCR-D-OCR-CALAMARI mets.xml | ||||
|   ocrd-calamari-recognize -l $LOG_LEVEL \ | ||||
|     -m mets.xml -I OCR-D-SEG-LINE -O OCR-D-OCR-CALAMARI \ | ||||
|  |  | |||
|  | @ -10,7 +10,6 @@ ocrd_tesserocr | |||
| 
 | ||||
| https://github.com/mikegerber/ocrd_calamari/archive/6949876.tar.gz | ||||
| 
 | ||||
| 
 | ||||
| vendor/sbb_textline_detector-5757025.tar | ||||
| https://github.com/qurator-spk/sbb_textline_detector/archive/1446d7c6.tar.gz | ||||
| 
 | ||||
| https://github.com/qurator-spk/dinglehopper/archive/c305539.tar.gz | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue