mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-30 02:34:13 +01:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									02e21de3af
								
							
						
					
					
						commit
						f0778c1af0
					
				
					 2 changed files with 29 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								.drone.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.drone.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| kind: pipeline | ||||
| name: default | ||||
| 
 | ||||
| steps: | ||||
| - name: prepare data | ||||
|   image: alpine | ||||
|   commands: | ||||
|   - ./build-tmp-XXX | ||||
| - name: build core | ||||
|   image: plugins/docker | ||||
|   dockerfile: Dockerfile-core | ||||
| 
 | ||||
							
								
								
									
										17
									
								
								build-tmp-XXX
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										17
									
								
								build-tmp-XXX
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| #!/bin/bash | ||||
| set -e | ||||
| 
 | ||||
| self=`realpath $0` | ||||
| self_dir=`dirname "$self"` | ||||
| 
 | ||||
| DATA_SUBDIR=data | ||||
| get_from_web() { | ||||
|   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/calamari-models/GT4HistOCR/2019-12-11T11_10+0100/model.tar.xz' 'calamari-models/GT4HistOCR/2019-12-11T11_10+0100' | ||||
|   download_to 'https://qurator-data.de/tesseract-models/GT4HistOCR/models.tar'  'tesseract-models/GT4HistOCR' | ||||
|   download_to 'https://qurator-data.de/sbb_textline_detector/models.tar.gz'     'textline_detection' | ||||
|   download_to --strip-components 1 'https://qurator-data.de/sbb_binarization/models.tar.gz' 'sbb_binarization' | ||||
|   download_to --no-unpack 'https://qurator-data.de/mirror/github.com/tesseract-ocr/tessdata_best/archive/4.0.0-repacked.tar.gz' 'mirror/github.com/tesseract-ocr/tessdata_best/archive/4.0.0-repacked.tar.gz' | ||||
| } | ||||
| . $self_dir/qurator_data_lib.sh | ||||
| handle_data | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue