mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 12:19:54 +02:00
OCR-D wrapper: expose tables param
This commit is contained in:
parent
23f0c0b40a
commit
318ea6acca
2 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,11 @@
|
|||
"default": true,
|
||||
"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": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
|
|
@ -50,6 +50,7 @@ class EynollahProcessor(Processor):
|
|||
'full_layout': self.parameter['full_layout'],
|
||||
'allow_scaling': self.parameter['allow_scaling'],
|
||||
'headers_off': self.parameter['headers_off'],
|
||||
'tables': self.parameter['tables'],
|
||||
'override_dpi': self.parameter['dpi'],
|
||||
'logger': LOG,
|
||||
'pcgts': pcgts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue