mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 04:09:54 +02:00
ocrd interface: add ignore_page_extraction
This commit is contained in:
parent
ddcc0198bd
commit
d7caeb2b05
2 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,11 @@
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "try to return contour of textlines instead of just rectangle bounding box. Needs more processing time"
|
"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": {
|
"allow_scaling": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
|
|
|
@ -31,6 +31,7 @@ class EynollahProcessor(Processor):
|
||||||
curved_line=self.parameter['curved_line'],
|
curved_line=self.parameter['curved_line'],
|
||||||
light_version=self.parameter['light_mode'],
|
light_version=self.parameter['light_mode'],
|
||||||
right2left=self.parameter['right_to_left'],
|
right2left=self.parameter['right_to_left'],
|
||||||
|
ignore_page_extraction=self.parameter['ignore_page_extraction'],
|
||||||
textline_light=self.parameter['textline_light'],
|
textline_light=self.parameter['textline_light'],
|
||||||
full_layout=self.parameter['full_layout'],
|
full_layout=self.parameter['full_layout'],
|
||||||
allow_scaling=self.parameter['allow_scaling'],
|
allow_scaling=self.parameter['allow_scaling'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue