This commit is contained in:
Patrick Jentsch 2019-04-15 10:02:02 +02:00
parent fdc53fd16c
commit 8e6868194d

2
ocr
View File

@ -84,7 +84,7 @@ class OCRWorkflow(WorkflowRunner):
create_output_directories_job_number = 0 create_output_directories_job_number = 0
for job in self.jobs: for job in self.jobs:
create_output_directories_job_number += 1 create_output_directories_job_number += 1
cmd = 'mkdir -p "%s"' % ( cmd = 'mkdir -p "%s" "%s" "%s" "%s" "%s" "%s"' % (
os.path.join(job["output_dir"], "tmp", "binarized"), os.path.join(job["output_dir"], "tmp", "binarized"),
os.path.join(job["output_dir"], "tmp", "hocr"), os.path.join(job["output_dir"], "tmp", "hocr"),
os.path.join(job["output_dir"], "tmp", "normalized"), os.path.join(job["output_dir"], "tmp", "normalized"),