# SimplifiedLabelRecognizerSettings

The `SimplifiedLabelRecognizerSettings` class contains settings for label recognition. It is a sub-parameter of `SimplifiedCaptureVisionSettings`

## Definition

*Assembly:* dynamsoft_capture_vision_flutter

```dart
class SimplifiedLabelRecognizerSettings
```

## Properties

| Property | Types | Description |
| -------- | ----- | ----------- |
| [`grayscaleTransformationModes`](#grayscaletransformationmodes) | *List\<EnumGrayscaleTransformationMode\>* | The grayscale transformation modes in an array of [`EnumGrayscaleTransformationMode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/flutter/api-reference/core/enum/grayscale-transformation-mode.md). |
| [`grayscaleEnhancementModes`](#grayscaleenhancementmodes) | *List\<EnumGrayscaleEnhancementMode\>* | The grayscale enhancement modes in an array of [`EnumGrayscaleEnhancementMode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/flutter/api-reference/core/enum/grayscale-enhancement-mode.md). |
| [`characterModelName`](#charactermodelname) | *String* | Specify a character model by its name. |
| [`lineStringRegExPattern`](#linestringregexpattern) | *String* | The RegEx pattern of the text line string to filter out the unqualified results. |
| [`maxThreadsInOneTask`](#maxthreadsinonetask) | *int* | The maximum available threads count in one label recognition task. |
| [`scaleDownThreshold`](#scaledownthreshold) | *int* | The threshold for image shrinking when dealing with large images. |

### grayscaleTransformationModes

The grayscale transformation modes in an array of [`EnumGrayscaleTransformationMode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/flutter/api-reference/core/enum/grayscale-transformation-mode.md).

```dart
List<EnumGrayscaleTransformationMode> grayscaleTransformationModes;
```

**Remarks**

View the parameter reference page of [`GrayscaleTransformationMode`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/image-parameter/grayscale-transformation-modes.md) for more detail about how to set grayscale transformation modes.

### grayscaleEnhancementModes

The grayscale enhancement modes in an array of [`EnumGrayscaleEnhancementMode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/flutter/api-reference/core/enum/grayscale-enhancement-mode.md).

```dart
List<EnumGrayscaleEnhancementMode> grayscaleEnhancementModes;
```

**Remarks**

View the reference page of [`GrayscaleEnhancementMode`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/image-parameter/grayscale-enhancement-modes.md) for more detail about how to set grayscale enhancement modes.

### characterModelName

Specify a character model by its name.

```dart
String? characterModelName;
```

**Remarks**

View the parameter reference of [`CharacterModelName`](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/text-line-specification/character-model-name.md) for more details about how to use the parameter.

### lineStringRegExPattern

The RegEx pattern of the text line string to filter out the unqualified results.

```dart
String? lineStringRegExPattern;
```

**Remarks**

### maxThreadsInOneTask

The maximum available threads count in one label recognition task.

```dart
int maxThreadsInOneTask;
```

**Remarks**

### scaleDownThreshold

The threshold for image shrinking when dealing with large images.

```dart
int scaleDownThreshold;
```
