Need better scanning performance?
ShortlineDetectionMode
Parameter ShortlineDetectionMode is for controlling how to detect the shortlines.
JSON Structure
Location in template:
ImageParameterOptions[i]
└── ApplicableStages[j] (Stage object where Stage = "SST_DETECT_SHORTLINES")
└── ShortlineDetectionMode
Parent object: DetectShortLinesStage
Example:
{
"ShortlineDetectionMode": {
"Mode": "SDM_GENERAL",
"Sensitivity": 3
}
}
- This snippet shows only the
ShortlineDetectionModeparameter.- To use it, embed this parameter within a DetectShortLinesStage object.
- For the complete JSON structure, see:
Parameter Details
The ShortlineDetectionMode object includes the following parameters:
Mode
Specifies the shortline detection mode to use.
| Mode Parameter Details |
|---|
| Type String |
| Value Range “SDM_GENERAL” |
| Default Value “SDM_GENERAL” |
Sensitivity
Specifies the sensitivity level used for shortline detection. A higher value means the algorithm will be more sensitive when detecting short lines.
| Sensitivity Parameter Details |
|---|
| Type int |
| Value Range [1, 9] |
| Default Value 3 for BarcodeReader Task 6 for DocumentNormalizer Task |
| Valid For “SDM_GENERAL” |