# SimplifiedLabelRecognizerSettings

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

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
interface SimplifiedLabelRecognizerSettings
```

## Properties

| Property | Types | Description |
| -------- | ----- | ----------- |
| [`grayscaleTransformationModes`](#grayscaletransformationmodes) | *Array\<EnumGrayscaleTransformationMode\>* | The grayscale transformation modes in an array of [`EnumGrayscaleTransformationMode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/core/enum/grayscale-transformation-mode.md). |
| [`grayscaleEnhancementModes`](#grayscaleenhancementmodes) | *Array\<EnumGrayscaleEnhancementMode\>* | The grayscale enhancement modes in an array of [`EnumGrayscaleEnhancementMode`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/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/react-native/api-reference/core/enum/grayscale-transformation-mode.md).

```js
grayscaleTransformationModes?: Int32Array | Array<EnumGrayscaleTransformationMode>
```

**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/react-native/api-reference/core/enum/grayscale-enhancement-mode.md).

```js
grayscaleEnhancementModes?: Int32Array | Array<EnumGrayscaleEnhancementMode>
```

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

```js
characterModelName?: string
```

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

```js
lineStringRegExPattern?: string
```

**Remarks**

### maxThreadsInOneTask

The maximum available threads count in one label recognition task.

```js
maxThreadsInOneTask?: number
```

**Remarks**

### scaleDownThreshold

The threshold for image shrinking when dealing with large images.

```js
scaleDownThreshold?: number
```
