OCR-D wrapper: expose tables param

pull/86/head
Robert Sachunsky 2 years ago committed by cneud
parent d4dd532212
commit fb6d97091b

@ -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