Resolved an issue in the OCR-D framework where dir_out received a None value

This commit is contained in:
vahidrezanezhad 2025-03-13 15:02:38 +01:00
parent a4f1f35125
commit aa72ca3006

View file

@ -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'],