# SectionArray

Parameter `SectionArray` defines which sections exist under the `LabelRecognizerTask`. A `Section` is a sequence of `Stages` that form a relatively complete processing unit, producing milestone results that include location information along with other details.

## JSON Structure

**Location in template:**
```
LabelRecognizerTaskSettingOptions[i]
    └── SectionArray
```

**Parent object:** [LabelRecognizerTaskSetting](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/label-recognizer-task-settings.md) object

**Example:**

```json
{
    "SectionArray": [
        {
            "Section": "ST_REGION_PREDETECTION"
        },
        {
            "Section": "ST_TEXT_LINE_LOCALIZATION"
        },
        {
            "Section": "ST_TEXT_LINE_RECOGNITION"
        }
    ]
}
```

> [!NOTE]
> - This snippet shows only the `SectionArray` parameter.
> - To use it, embed this parameter within a [LabelRecognizerTaskSetting](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/label-recognizer-task-settings.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#full-json-structure)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#minimal-valid-json-example)

## Parameter Details

The `LabelRecognizerTask` includes the following sections:

* [RegionPredetectionSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/section-regions-predetection.md) (`ST_REGION_PREDETECTION`)
  * Designed to find regions of interest (ROIs) and thus ignore other parts of the image during subsequent processing.
* [TextLineLocalizationSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/section-text-lines-localization.md) (`ST_TEXT_LINE_LOCALIZATION`)
  * Designed to detect the exact locations of text-lines.
* [TextLineRecognitionSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/section-text-lines-recognition.md) (`ST_TEXT_LINE_RECOGNITION`)
  * Designed to recognize the text from the text-line areas identified in the previous `TextLineLocalizationSection` section.
