This commit is contained in:
Patrick Jentsch 2019-01-15 11:13:11 +01:00
parent 58f6aeebb9
commit e84403d5ac

View File

@ -120,9 +120,9 @@ class OCRWorkflow(WorkflowRunner):
ocropusnlbin_job_number = 0
for job in self.jobs:
ocropusnlbin_job_number += 1
cmd = 'ocropus-nlbin -o "%s" "%s"' % (
cmd = 'ocropus-nlbin -o "%s" "%s"/*' % (
os.path.join(job["output_dir"], "tmp", "ocropus-nlbin"),
os.path.join(job["output_dir"], "tmp", "tiff_files", "page-*.tif")
os.path.join(job["output_dir"], "tmp", "tiff_files")
)
ocropusnlbin_jobs.append(self.addTask(label="ocropusnlbin_job_-_%i" % (ocropusnlbin_job_number), command=cmd, dependencies=split_jobs))