mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
				synced 2025-10-31 12:12:44 +00:00 
			
		
		
		
	Add back german language models
This commit is contained in:
		| @@ -68,7 +68,7 @@ RUN wget --no-check-certificate --quiet \ | ||||
|  && cd - > /dev/null \ | ||||
|  && rm -r "tesseract-${TESSERACT_VERSION}" "${TESSERACT_VERSION}.tar.gz" | ||||
|  | ||||
| ENV TESSERACT_MODELS="ara,chi_tra,dan,ell,eng,enm,fra,frk,frm,ita,por,rus,spa" | ||||
| ENV TESSERACT_MODELS="ara,chi_tra,dan,deu,ell,eng,enm,fra,frk,frm,ita,por,rus,spa" | ||||
| ENV TESSDATA_BEST_VERSION=4.1.0 | ||||
| RUN wget --no-check-certificate --quiet \ | ||||
|       "https://github.com/tesseract-ocr/tessdata_best/archive/${TESSDATA_BEST_VERSION}.tar.gz" \ | ||||
|   | ||||
							
								
								
									
										2
									
								
								ocr
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ocr
									
									
									
									
									
								
							| @@ -322,7 +322,7 @@ def parse_args(): | ||||
|                         type=int) | ||||
|     parser.add_argument('--n-cores', | ||||
|                         default=min(4, multiprocessing.cpu_count()), | ||||
|                         help='Number of CPU threads to be used',  # noqa | ||||
|                         help='Number of CPU threads to be used', | ||||
|                         type=int) | ||||
|     parser.add_argument('--zip', | ||||
|                         help='Create one zip file per filetype') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user