Need better scanning performance?
RegionPredetectionSection
RegionPredetectionSection identifies regions of interest (ROIs), allowing subsequent processing to ignore other parts of the image. In JSON, it is represented as a Section object with "Section": "ST_REGION_PREDETECTION".
JSON Structure
Location in template:
BarcodeReaderTaskSettingOptions[i]
└── SectionArray[j] (Section object where Section = "ST_REGION_PREDETECTION")
Parent object: SectionArray
Example:
{
"Section": "ST_REGION_PREDETECTION",
"ImageParameterName": "ip_dbrDefault",
"StageArray": [
{
"Stage": "SST_PREDETECT_REGIONS"
}
]
}
- This snippet shows a Section object configured for region predetection.
- To use it, add this object to the SectionArray of a BarcodeReaderTaskSetting.
- For the complete JSON structure, see:
Parameters
Section
Specifies the section type. Fixed value: ST_REGION_PREDETECTION.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"ST_REGION_PREDETECTION" |
ImageParameterName
Specifies the name of an ImageParameter object to apply in the stages of this section.
| Parameter Details |
|---|
| Type string |
| Range Must be the name of an ImageParameter object defined under ImageParameterOptions |
Default Value"" |
StageArray
Specifies the stage objects within this section. The RegionPredetectionSection consists of the following stages:
| Stage | Description |
|---|---|
PredetectRegionsStage (SST_PREDETECT_REGIONS) |
Identifies potential barcode regions before the main detection process. |