mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 04:09:54 +02:00
ocrd interface: add right_to_left
This commit is contained in:
parent
39b16e5978
commit
ddcc0198bd
2 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue