OCR-D wrapper: expose tables param

pull/91/head
Robert Sachunsky 2 years ago
parent 23f0c0b40a
commit 318ea6acca

@ -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…
Cancel
Save