|
| 1 | +--- |
| 2 | +layout: default-layout |
| 3 | +title: SimplifiedLabelRecognizerSettings - Dynamsoft Capture Vision Flutter Edition API Reference |
| 4 | +description: The SimplifiedLabelRecognizerSettings contains label recognition setting of Dynamsoft Capture Vision Flutter edition |
| 5 | +keywords: Flutter, SimplifiedLabelRecognizerSettings |
| 6 | +needAutoGenerateSidebar: true |
| 7 | +needGenerateH3Content: true |
| 8 | +--- |
| 9 | + |
| 10 | +# SimplifiedLabelRecognizerSettings |
| 11 | + |
| 12 | +The `SimplifiedLabelRecognizerSettings` class contains settings for label recognition. It is a sub-parameter of `SimplifiedCaptureVisionSettings` |
| 13 | + |
| 14 | +## Definition |
| 15 | + |
| 16 | +*Assembly:* dynamsoft_capture_vision_flutter |
| 17 | + |
| 18 | +```dart |
| 19 | +class SimplifiedLabelRecognizerSettings |
| 20 | +``` |
| 21 | + |
| 22 | +## Properties |
| 23 | + |
| 24 | +| Property | Types | Description | |
| 25 | +| -------- | ----- | ----------- | |
| 26 | +| [`grayscaleTransformationModes`](#grayscaletransformationmodes) | *EnumGrayscaleTransformationMode[]* | The grayscale transformation modes in an array of [`EnumGrayscaleTransformationMode`]({{ site.dcv_flutter_api}}core/enum/grayscale-transformation-mode.html). | |
| 27 | +| [`grayscaleEnhancementModes`](#grayscaleenhancementmodes) | *EnumGrayscaleEnhancementMode[]* | The grayscale enhancement modes in an array of [`EnumGrayscaleEnhancementMode`]({{ site.dcv_flutter_api}}core/enum/grayscale-enhancement-mode.html). | |
| 28 | +| [`characterModelName`](#charactermodelname) | *String* | Specify a character model by its name. | |
| 29 | +| [`lineStringRegExPattern`](#linestringregexpattern) | *String* | The RegEx pattern of the text line string to filter out the unqualified results. | |
| 30 | +| [`maxThreadsInOneTask`](#maxthreadsinonetask) | *int* | The maximum available threads count in one label recognition task. | |
| 31 | +| [`scaleDownThreshold`](#scaledownthreshold) | *int* | The threshold for image shrinking when dealing with large images. | |
| 32 | + |
| 33 | +### grayscaleTransformationModes |
| 34 | + |
| 35 | +The grayscale transformation modes in an array of [`EnumGrayscaleTransformationMode`]({{ site.dcv_flutter_api }}core/enum/grayscale-transformation-mode.html). |
| 36 | + |
| 37 | +```dart |
| 38 | +List<EnumGrayscaleTransformationMode> grayscaleTransformationModes; |
| 39 | +``` |
| 40 | + |
| 41 | +**Remarks** |
| 42 | + |
| 43 | +View the parameter reference page of [`GrayscaleTransformationMode`]({{ site.dcv_parameter_reference }}image-parameter/grayscale-transformation-modes.html) for more detail about how to set grayscale transformation modes. |
| 44 | + |
| 45 | +### grayscaleEnhancementModes |
| 46 | + |
| 47 | +The grayscale enhancement modes in an array of [`EnumGrayscaleEnhancementMode`]({{ site.dcv_flutter_api }}core/enum/grayscale-enhancement-mode.html). |
| 48 | + |
| 49 | +```dart |
| 50 | +List<EnumGrayscaleEnhancementMode> grayscaleEnhancementModes; |
| 51 | +``` |
| 52 | + |
| 53 | +**Remarks** |
| 54 | + |
| 55 | +View the reference page of [`GrayscaleEnhancementMode`]({{ site.dcv_parameter_reference }}image-parameter/grayscale-enhancement-modes.html) for more detail about how to set grayscale enhancement modes. |
| 56 | + |
| 57 | +### characterModelName |
| 58 | + |
| 59 | +Specify a character model by its name. |
| 60 | + |
| 61 | +```dart |
| 62 | +String? characterModelName; |
| 63 | +``` |
| 64 | + |
| 65 | +**Remarks** |
| 66 | + |
| 67 | +View the parameter reference of [`CharacterModelName`]({{ site.dcv_parameter_reference }}text-line-specification/character-model-name.html) for more details about how to use the parameter. |
| 68 | + |
| 69 | +### lineStringRegExPattern |
| 70 | + |
| 71 | +The RegEx pattern of the text line string to filter out the unqualified results. |
| 72 | + |
| 73 | +```dart |
| 74 | +String? lineStringRegExPattern; |
| 75 | +``` |
| 76 | + |
| 77 | +**Remarks** |
| 78 | + |
| 79 | +### maxThreadsInOneTask |
| 80 | + |
| 81 | +The maximum available threads count in one label recognition task. |
| 82 | + |
| 83 | +```dart |
| 84 | +int maxThreadsInOneTask; |
| 85 | +``` |
| 86 | + |
| 87 | +**Remarks** |
| 88 | + |
| 89 | +### scaleDownThreshold |
| 90 | + |
| 91 | +The threshold for image shrinking when dealing with large images. |
| 92 | + |
| 93 | +```dart |
| 94 | +int scaleDownThreshold; |
| 95 | +``` |
0 commit comments