diff --git a/ocr b/ocr index 1cdc4c6..0eaaf83 100755 --- a/ocr +++ b/ocr @@ -85,9 +85,9 @@ class OCRWorkflow(WorkflowRunner): for job in self.jobs: create_output_directories_job_number += 1 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_png"), os.path.join(job["output_dir"], "tmp", "hocr"), - os.path.join(job["output_dir"], "tmp", "normalized"), + os.path.join(job["output_dir"], "tmp", "normalized_png"), os.path.join(job["output_dir"], "tmp", "pdf"), os.path.join(job["output_dir"], "tmp", "tiff"), os.path.join(job["output_dir"], "tmp", "txt") @@ -239,11 +239,11 @@ class OCRWorkflow(WorkflowRunner): cleanup_job_counter += 1 cmd = 'mv "%s"/*.bin.png "%s" && mv "%s"/*.hocr "%s" && mv "%s"/*.nrm.png "%s" && mv "%s"/*.pdf "%s" && mv "%s"/*.tif "%s" && mv "%s"/*.txt "%s"' % ( os.path.join(job["output_dir"], "tmp"), - os.path.join(job["output_dir"], "tmp", "binarized"), + os.path.join(job["output_dir"], "tmp", "binarized_png"), os.path.join(job["output_dir"], "tmp"), os.path.join(job["output_dir"], "tmp", "hocr"), os.path.join(job["output_dir"], "tmp"), - os.path.join(job["output_dir"], "tmp", "normalized"), + os.path.join(job["output_dir"], "tmp", "normalized_png"), os.path.join(job["output_dir"], "tmp"), os.path.join(job["output_dir"], "tmp", "pdf"), os.path.join(job["output_dir"], "tmp"),