Need better scanning performance?
DetectShortLinesStage
DetectShortLinesStage detects short lines for document boundary detection. In JSON, it is represented as a Stage object with "Stage": "SST_DETECT_SHORTLINES".
JSON Structure
Location in template:
ImageParameterOptions[i]
└── ApplicableStages[j] (Stage object where Stage = "SST_DETECT_SHORTLINES")
Parent object: ApplicableStages within ImageParameter
Example:
{
"Stage": "SST_DETECT_SHORTLINES",
"ShortlineDetectionMode": {
"Mode": "SDM_GENERAL",
"Sensitivity": 3
}
}
- This snippet shows a Stage object configured for detecting short lines.
- To use it, add this object to the
ApplicableStagesarray within an ImageParameter.- For the complete JSON structure, see:
Parameters
Stage
Specifies the stage type. Fixed value: SST_DETECT_SHORTLINES.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"SST_DETECT_SHORTLINES" |
ShortlineDetectionMode
Defines how to detect short lines. See ShortlineDetectionMode for details.