Need better scanning performance?
TextLineRecognitionSection
TextLineRecognitionSection recognizes text from localized text-line regions. In JSON, it is represented as a Section object with "Section": "ST_TEXT_LINE_RECOGNITION".
JSON Structure
Location in template:
LabelRecognizerTaskSettingOptions[i]
└── SectionArray[j] (Section object where Section = "ST_TEXT_LINE_RECOGNITION")
Parent object: SectionArray
Example:
{
"Section": "ST_TEXT_LINE_RECOGNITION",
"ImageParameterName": "ip_dlrDefault",
"StageArray": [
{
"Stage": "SST_RECOGNIZE_RAW_TEXT_LINES"
},
{
"Stage": "SST_ASSEMBLE_TEXT_LINES"
}
]
}
- This snippet shows a Section object configured for text line recognition.
- To use it, add this object to the SectionArray of a LabelRecognizerTaskSetting.
- For the complete JSON structure, see:
Parameters
Section
Specifies the section type. Fixed value: ST_TEXT_LINE_RECOGNITION.
| Parameter Details |
|---|
| Type string |
| Required Yes |
Default Value"ST_TEXT_LINE_RECOGNITION" |
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 TextLineRecognitionSection consists of the following stages:
| Stage | Description |
|---|---|
RecognizeRawTextLinesStage (SST_RECOGNIZE_RAW_TEXT_LINES) |
Recognizes the raw values of text-lines. |
AssembleTextLinesStage (SST_ASSEMBLE_TEXT_LINES) |
Assembles grouped text-lines into a single text-line. |