# 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](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/section-array.md)

**Example:**

```json
{
    "Section": "ST_TEXT_LINE_RECOGNITION",
    "ImageParameterName": "ip_dlrDefault",
    "StageArray": [
        {
            "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES"
        },
        {
            "Stage": "SST_ASSEMBLE_TEXT_LINES"
        }
    ]
}
```

> [!NOTE]
> - This snippet shows a Section object configured for text line recognition.
> - To use it, add this object to the [SectionArray](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/section-array.md) of a [LabelRecognizerTaskSetting](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/task-settings/label-recognizer-task-settings.md).
> - 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)

## Parameters

### Section

Specifies the section type. Fixed value: `ST_TEXT_LINE_RECOGNITION`.

| Parameter Details |
| :------------- |
| **Type**<br>*string* |
| **Required**<br>Yes |
| **Default Value**<br>`"ST_TEXT_LINE_RECOGNITION"` |

### ImageParameterName

Specifies the name of an [ImageParameter](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/image-parameter.md) object to apply in the stages of this section.

| Parameter Details |
| :------------- |
| **Type**<br>*string* |
| **Range**<br>Must be the name of an [ImageParameter](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/image-parameter.md) object defined under `ImageParameterOptions` |
| **Default Value**<br>`""` |

### StageArray

Specifies the stage objects within this section. The `TextLineRecognitionSection` consists of the following stages:

| Stage | Description |
|-------|-------------|
| [RecognizeRawTextLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/stage-recognize-raw-text-lines.md) (`SST_RECOGNIZE_RAW_TEXT_LINES`) | Recognizes the raw values of text-lines. |
| [AssembleTextLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/stage-assemble-text-lines.md) (`SST_ASSEMBLE_TEXT_LINES`) | Assembles grouped text-lines into a single text-line. |
