mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 20:29:55 +02:00
OCR-D wrapper: expose tables param
This commit is contained in:
parent
d4dd532212
commit
fb6d97091b
2 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,11 @@
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Try to detect all element subtypes, including drop-caps and headings"
|
"description": "Try to detect all element subtypes, including drop-caps and headings"
|
||||||
},
|
},
|
||||||
|
"tables": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"description": "Try to detect table regions"
|
||||||
|
},
|
||||||
"curved_line": {
|
"curved_line": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
|
|
|
@ -50,6 +50,7 @@ class EynollahProcessor(Processor):
|
||||||
'full_layout': self.parameter['full_layout'],
|
'full_layout': self.parameter['full_layout'],
|
||||||
'allow_scaling': self.parameter['allow_scaling'],
|
'allow_scaling': self.parameter['allow_scaling'],
|
||||||
'headers_off': self.parameter['headers_off'],
|
'headers_off': self.parameter['headers_off'],
|
||||||
|
'tables': self.parameter['tables'],
|
||||||
'override_dpi': self.parameter['dpi'],
|
'override_dpi': self.parameter['dpi'],
|
||||||
'logger': LOG,
|
'logger': LOG,
|
||||||
'pcgts': pcgts,
|
'pcgts': pcgts,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue