| Content | Description |
|---|
{
|
|
| "DebugBreak": falsefalse,
| If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes. |
| "FREngine": {
| OCR Abbyy Fine Reader ABBYY FineReader engine settings. |
| "ImageFormats": {
| Size limits for images to be 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" : true | Activation of colour filter. Enabled by default |
} |
|
"default": { | Default values |
"MinHeightInPx": 12, | Minimum height of image (pixels). |
"MinLengthInPx": 140, | Minimum length of image to be sent. |
"MinSizeInKb": 40, | Minimum size of image to be sent (KB). |
"MaxSizeInKb": 1536 | Maximum size of image to be sent (KB). |
} |
|
"GIF": { | Redefining of default values (section default) for gif GIF format images. |
"MinSizeInKb": 40 | Minimum size of image to be sent (KB). |
}, |
|
"PNG": { | Redefining of default values (section default) for png PNG format images. |
"MinSizeInKb": 40 | Minimum size of image to be sent (KB). |
}, |
|
"JPEG": { | Redefining of default values (section default) for jpeg JPEG format images. |
"MinSizeInKb": 40 | Minimum size of image to be sent (KB). |
} |
|
}, |
|
"ABBYYProfile": "etc/FRProfileCRProfile.ini", | Path to engine settings. |
"Pwd": "Type password for serial here.", | Licence password |
"SerNum": "Type serial number here." | Licence serial number |
}, |
|
"Logging": {...} | see Общая секция 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. |
} |
|