# SectionArray

Parameter `SectionArray` defines which sections exist under the `DocumentNormalizerTask`. 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:**
```
DocumentNormalizerTaskSettingOptions[i]
    └── SectionArray
```

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

**Example:**

```json
{
    "SectionArray": [
        {
            "Section": "ST_REGION_PREDETECTION"
        },
        {
            "Section": "ST_DOCUMENT_DETECTION"
        },
        {
            "Section": "ST_DOCUMENT_DESKEWING"
        },
        {
            "Section": "ST_IMAGE_ENHANCEMENT"
        }
    ]
}
```

> [!NOTE]
> - This snippet shows only the `SectionArray` parameter.
> - To use it, embed this parameter within a [DocumentNormalizerTaskSetting](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/document-normalizer-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 `DocumentNormalizerTask` includes the following sections:

* [RegionPredetectionSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/document-normalizer-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.
* [DocumentDetectionSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/document-normalizer-task-settings/section-document-detection.md) (`ST_DOCUMENT_DETECTION`)
  * Designed to detect the edges of the document.
* [DocumentDeskewingSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/document-normalizer-task-settings/section-document-deskewing.md) (`ST_DOCUMENT_DESKEWING`)
  * Designed to correct perspective distortion.
* [ImageEnhancementSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/document-normalizer-task-settings/section-image-enhancement.md) (`ST_IMAGE_ENHANCEMENT`)
  * Designed to enhance the quality of the image.
