From aa72ca3006288ea5dc6e05ec987cb44b3d234687 Mon Sep 17 00:00:00 2001 From: vahidrezanezhad Date: Thu, 13 Mar 2025 15:02:38 +0100 Subject: [PATCH] Resolved an issue in the OCR-D framework where dir_out received a None value --- src/eynollah/processor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eynollah/processor.py b/src/eynollah/processor.py index ed510c8..4eced21 100644 --- a/src/eynollah/processor.py +++ b/src/eynollah/processor.py @@ -45,6 +45,7 @@ class EynollahProcessor(Processor): image_filename = self.workspace.download_file(next(self.workspace.mets.find_files(local_filename=page.imageFilename))).local_filename eynollah_kwargs = { 'dir_models': self.resolve_resource(self.parameter['models']), + 'dir_out': self.output_file_grp, 'allow_enhancement': False, 'curved_line': self.parameter['curved_line'], 'full_layout': self.parameter['full_layout'],