diff --git a/qurator/eynollah/ocrd-tool.json b/qurator/eynollah/ocrd-tool.json index 02a2a23..127b95b 100644 --- a/qurator/eynollah/ocrd-tool.json +++ b/qurator/eynollah/ocrd-tool.json @@ -39,6 +39,11 @@ "default": false, "description": "try to return contour of textlines instead of just rectangle bounding box. Needs more processing time" }, + "ignore_page_extraction": { + "type": "boolean", + "default": false, + "description": "if this parameter set to true, this tool would ignore page extraction" + }, "allow_scaling": { "type": "boolean", "default": false, diff --git a/qurator/eynollah/processor.py b/qurator/eynollah/processor.py index d1bc44a..9fcf2d5 100644 --- a/qurator/eynollah/processor.py +++ b/qurator/eynollah/processor.py @@ -31,6 +31,7 @@ class EynollahProcessor(Processor): curved_line=self.parameter['curved_line'], light_version=self.parameter['light_mode'], right2left=self.parameter['right_to_left'], + ignore_page_extraction=self.parameter['ignore_page_extraction'], textline_light=self.parameter['textline_light'], full_layout=self.parameter['full_layout'], allow_scaling=self.parameter['allow_scaling'],