# LineAssemblyMode

Parameter `LineAssemblyMode` is for controlling how to assemble the lines.

## JSON Structure

**Location in template:**
```
ImageParameterOptions[i]
    └── ApplicableStages[j] (Stage object where Stage = "SST_ASSEMBLE_LINES")
        └── LineAssemblyMode
```

**Parent object:** [AssembleLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/image-parameter/stage-assemble-lines.md)

**Example:**

```json
{
    "LineAssemblyMode": {
        "Mode": "LAM_GENERAL",
        "Sensitivity": 3
    }
}
```

> [!NOTE]
> - This snippet shows only the `LineAssemblyMode` parameter.
> - To use it, embed this parameter within an [AssembleLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/image-parameter/stage-assemble-lines.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 `LineAssemblyMode` object includes the following parameters:

### Mode

Specifies the line assembly mode to use.

| Mode Parameter Details |
| :--------------------- |
| **Type**<br>*String* |
| **Value Range**<br>"LAM_GENERAL" |
| **Default Value**<br>"LAM_GENERAL" |

### Sensitivity

Specifies the sensitivity level used for line assembling. A higher value means the algorithm will be more sensitive when detecting and assembling lines.

| Sensitivity Parameter Details |
| :---------------------------- |
| **Type**<br>*int* |
| **Value Range**<br>[1, 9] |
| **Default Value**<br>3 for BarcodeReader Task<br>6 for DocumentNormalizer Task |
| **Valid For**<br>"LAM_GENERAL" |
