OCR-D CLI: remove allow_enhancement parameter

It does not toggle enhancement (eynollah does that internally anyway)
but setting it to true will base the coordinate calculations on that
enhanced (different-sized) image instead of the original. That is never
sensible in the OCR-D context.
This commit is contained in:
Konstantin Baierer 2021-05-18 18:58:18 +02:00
parent 5d2fe79822
commit 45939abdff
2 changed files with 2 additions and 6 deletions

View file

@ -33,11 +33,6 @@
"default": false,
"description": "try to return contour of textlines instead of just rectangle bounding box. Needs more processing time"
},
"allow_enhancement": {
"type": "boolean",
"default": true,
"description": "if the input image has less than 300 DPI, then upscale and enhance"
},
"allow_scaling": {
"type": "boolean",
"default": false,