diff --git a/ocr_pyflow b/ocr_pyflow index 399f772..ad6beb0 100755 --- a/ocr_pyflow +++ b/ocr_pyflow @@ -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))