Table of contents

Need better scanning performance?

Get a FREE customized reading template.

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

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”

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: