# SimplifiedLabelRecognizerSettings

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

## Definition

*Namespace:* Dynamsoft.LabelRecognizer.Maui

*Assembly:* Dynamsoft.LabelRecognizer.Maui

```csharp
class SimplifiedLabelRecognizerSettings
```

## Properties

| Property | Type | Description |
| --------- | ---- | ----------- |
| [`GrayscaleTransformationModes`](#grayscaletransformationmodes) | *EnumGrayscaleTransformationMode[]* | Set the grayscale transformation modes with an array of enumeration [`GrayscaleTransformationMode`](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/grayscale-transformation-mode.md). |
| [`GrayscaleEnhancementModes`](#grayscaleenhancementmodes) | *EnumGrayscaleEnhancementMode[]* | Set the grayscale enhancement modes with an array of enumeration [`GrayscaleEnhancementMode`](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/grayscale-enhancement-mode.md). |
| [`CharacterModelName`](#charactermodelname) | *String* | Specify a character model by its name. |
| [`LineStringRegExPattern`](#linestringregexpattern) | *String* | Set the RegEx pattern of the text line string to filter out the unqualified results. |
| [`MaxThreadsInOneTask`](#maxthreadsinonetask) | *int* | Set the maximum available threads count in one label recognition task. |
| [`ScaleDownThreshold`](#scaledownthreshold) | *int* | Set the threshold for image shrinking when dealing with large images. |

### GrayscaleTransformationModes

Set the grayscale transformation modes with an array of enumeration [`GrayscaleTransformationMode`](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/grayscale-transformation-mode.md).

```csharp
EnumGrayscaleTransformationMode[] GrayscaleTransformationModes { get; set ; }
```

**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

Set the grayscale enhancement modes with an array of enumeration [`GrayscaleEnhancementMode`](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/grayscale-enhancement-mode.md).

```csharp
EnumGrayscaleEnhancementMode[] GrayscaleEnhancementModes { get; set; }
```

**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.

```csharp
String CharacterModelName { get; set ; }
```

**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

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

```csharp
String LineStringRegExPattern { get; set ; }
```

### MaxThreadsInOneTask

Set the maximum available threads count in one label recognition task.

```csharp
int MaxThreadsInOneTask { get; set ; }
```

**Remarks**

### ScaleDownThreshold

Set the threshold for image shrinking when dealing with large images.

```csharp
int ScaleDownThreshold { get; set ; }
```
