# SectionArray

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

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

**Example:**

```json
{
    "SectionArray": [
        {
            "Section": "ST_REGION_PREDETECTION"
        },
        {
            "Section": "ST_BARCODE_LOCALIZATION"
        },
        {
            "Section": "ST_BARCODE_DECODING"
        }
    ]
}
```

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

* [RegionPredetectionSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/barcode-reader-task-settings/section-region-predetection.md) (`ST_REGION_PREDETECTION`)
  * Designed to find regions of interest (ROIs) and thus ignore other parts of the image during subsequent processing.
* [BarcodeLocalizationSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/barcode-reader-task-settings/section-barcode-localization.md) (`ST_BARCODE_LOCALIZATION`)
  * Designed to detect the exact locations of barcodes.
* [BarcodeDecodingSection](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/barcode-reader-task-settings/section-barcode-decoding.md) (`ST_BARCODE_DECODING`)
  * Designed to decode the barcode from the localized barcode areas identified in the previous `BarcodeLocalizationSection` section.
