diff --git a/qurator/eynollah/ocrd-tool.json b/qurator/eynollah/ocrd-tool.json index ef6230c..02a2a23 100644 --- a/qurator/eynollah/ocrd-tool.json +++ b/qurator/eynollah/ocrd-tool.json @@ -59,6 +59,11 @@ "default": false, "description": "if this parameter set to true, this tool will try to return contoure of textlines instead of rectangle bounding box of textline with a faster method." }, + "right_to_left": { + "type": "boolean", + "default": false, + "description": "if this parameter set to true, this tool will extract right-to-left reading order." + }, "headers_off": { "type": "boolean", "default": false, diff --git a/qurator/eynollah/processor.py b/qurator/eynollah/processor.py index c4d3cb2..d1bc44a 100644 --- a/qurator/eynollah/processor.py +++ b/qurator/eynollah/processor.py @@ -30,6 +30,7 @@ class EynollahProcessor(Processor): allow_enhancement=self.parameter['allow_enhancement'], curved_line=self.parameter['curved_line'], light_version=self.parameter['light_mode'], + right2left=self.parameter['right_to_left'], textline_light=self.parameter['textline_light'], full_layout=self.parameter['full_layout'], allow_scaling=self.parameter['allow_scaling'],