| Content | Description |
|---|
{ | |
"DebugBreak": false, | If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes. |
"Logging": {...} | see General section Logging |
"NookDir": "/opt/iw/tm5", | In this section, the module working directory is specified. By default – /opt/iw/tm5 |
"UnsafeSignalHandlers":false | Unhandled signals support. Disabled by default (false). Once true is set, it is allowed to use unsafe handlers in code (e.g. SIGSEVG). Adding, enabling/disabling this parameter is not recommended without consultation with developers. |
"Tesseract": { | OCR Tesseract engine settings |
"ImageFormats": { | Size limitation for images processed |
"ColorChecker": { | Filter of colour section |
"target_image_area_sqrt": 300, | Target area, to which the image is to be adjusted before proceeding to analysis (to speed up the analysis)
|
"significant_colors_number_threshold" : 30, | Threshhold of number of colours, that overcame the threshhold significance_threshold. If the number is bigger than this threshold, then image is considered scan copy and will not be processed by OCR. |
"significance_threshold" : 0.005, | Threshold of fraction of colour in image. If the fraction of colour is bigger than this threshold, such colour will be considered in the threshhold significant_colors_number_threshold.
|
"dark_border" : 40, | Dark border of colour. The border defines which colours from greyscale will be outcasted from consideration when calculating values for the thresholds significance_threshold and significant_colors_number_threshold
|
"light_border" : 220, | Light border of colour. The border defines which colours from greyscale will be outcasted from consideration when calculating values for the thresholds significance_threshold and significant_colors_number_threshold |
"Enabled" : false | Activation of colour filter |
} | |
"default": { | Default values |
"MinHeightInPx": 12, | Minimum image height (pixels) |
"MinLengthInPx": 140, | Minimum image length (pixels) |
"MinSizeInKb": 200, | Minimum size of the picture to be sent (KB) |
"MaxSizeInKb": 1536, | Maximum size of the picture to be sent (KB) |
| } | |
"GIF": { | Redefining the default values (section default) for gif format images |
"MinSizeInKb": 4 | Minimum size of the picture to be sent (KB) |
}, | |
"PNG": { | Redefining the default values (section default) for png format images |
"MinSizeInKb": 1 | Minimum size of the picture to be sent (KB) |
}, | |
"JPEG": { | Redefining the default values (section default) for jpeg format images |
"MinSizeInKb": 2 | Minimum size of the picture to be sent (KB) |
} | |
}, | |
"DiagnosticMode": false, | Enable diagnostic mode. Error messages will be written by the extractor in an output file. |
"TesseractDataPath": "ocr", | Path to Tesseract service data |
"TesseractLanguages": "eng,rus" | Recognizable languages addition |
} | |
} | |