This commit is contained in:
Patrick Jentsch 2019-04-15 10:40:08 +02:00
parent 84bcac0fc7
commit a533ef76c6

2
ocr
View File

@ -176,7 +176,7 @@ class OCRWorkflow(WorkflowRunner):
' Tesseract runs fastest with four cores. So we run it with either four
' or, if there are less then four cores available for this workflow, the
' available core number. The deu_frak language model only supports
' single core processing, so we use use only one core for this language.
' single core processing, so we use use only one core for this.
'''
ocr_job_nCores = 1 if self.lang == "deu_frak" else min(4, self.nCores)
for job in self.jobs: