mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2025-07-01 00:00:34 +00:00
Update
This commit is contained in:
2
ocr
2
ocr
@ -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:
|
||||
|
Reference in New Issue
Block a user