Skip to content

Commit e51af8a

Browse files
Merge pull request #43 from dynamsoft-docs/preview
update to internal commit b5b98d87
2 parents a6306c3 + 1649e31 commit e51af8a

File tree

5 files changed

+399
-0
lines changed

5 files changed

+399
-0
lines changed
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
layout: default-layout
3+
title: CharacterResult - Dynamsoft Capture Vision MAUI Edition
4+
description: The class CharacterResult of Dynamsoft Capture Vision MAUI edition represents the result of a character recognition process.
5+
keywords: Character result
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
breadcrumbText: CharacterResult
10+
---
11+
12+
# CharacterResult
13+
14+
The `CharacterResult` class represents the result of a character recognition process. It contains the characters recognized (high, medium, and low confidence), their respective confidences, and the location of the character in a quadrilateral shape.
15+
16+
## Definition
17+
18+
*Namespace:* Dynamsoft.LabelRecognizer.Maui
19+
20+
*Assembly:* Dynamsoft.LabelRecognizer.Maui
21+
22+
```csharp
23+
class CharacterResult
24+
```
25+
26+
## Properties
27+
28+
| Property | Type | Description |
29+
| -------- | ---- | ----------- |
30+
| [`CharacterH`](#characterh) | *char* | Returns the highest confidence character recognized. |
31+
| [`CharacterM`](#characterm) | *char* | Returns the medium confidence character recognized. |
32+
| [`CharacterL`](#characterl) | *char* | Returns the lowest confidence character recognized. |
33+
| [`Location`](#location) | *Quadrilateral* | Returns the location of the recognized character within the image. |
34+
| [`CharacterHConfidence`](#characterhconfidence) | *int* | Returns the confidence score for the highest confidence character. |
35+
| [`CharacterMConfidence`](#charactermconfidence) | *int* | Returns the confidence score for the medium confidence character. |
36+
| [`CharacterLConfidence`](#characterlconfidence) | *int* | Returns the confidence score for the lowest confidence character. |
37+
38+
### CharacterH
39+
40+
Returns the highest confidence character recognized.
41+
42+
```csharp
43+
char CharacterH { get; }
44+
```
45+
46+
### CharacterM
47+
48+
Returns the medium confidence character recognized.
49+
50+
```csharp
51+
char CharacterM { get; }
52+
```
53+
54+
### CharacterL
55+
56+
Returns the lowest confidence character recognized.
57+
58+
```csharp
59+
char CharacterL { get; }
60+
```
61+
62+
### Location
63+
64+
Returns the location of the recognized character within the image.
65+
66+
```csharp
67+
Quadrilateral Location { get; }
68+
```
69+
70+
### CharacterHConfidence
71+
72+
Returns the confidence score for the highest confidence character.
73+
74+
```csharp
75+
int CharacterHConfidence { get; }
76+
```
77+
78+
### CharacterMConfidence
79+
80+
Returns the confidence score for the medium confidence character.
81+
82+
```csharp
83+
int CharacterMConfidence { get; }
84+
```
85+
86+
### CharacterLConfidence
87+
88+
Returns the confidence score for the lowest confidence character.
89+
90+
```csharp
91+
int CharacterLConfidence { get; }
92+
```
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: default-layout
3+
title: LabelRecognizerModule - Dynamsoft Capture Vision MAUI Edition
4+
description: The LabelRecognizerModule class of Dynamsoft Capture Vision MAUI edition defines general functions of the DynamsoftLabelRecognizer module.
5+
keywords: label recognizer module, MAUI
6+
needAutoGenerateSidebar: true
7+
needGenerateH3Content: true
8+
breadcrumbText: LabelRecognizerModule
9+
---
10+
11+
# LabelRecognizerModule
12+
13+
The `LabelRecognizerModule` class defines general functions of the `DynamsoftLabelRecognizer` module.
14+
15+
## Definition
16+
17+
*Namespace:* Dynamsoft.LabelRecognizer.Maui
18+
19+
*Assembly:* Dynamsoft.LabelRecognizer.Maui
20+
21+
```csharp
22+
class LabelRecognizerModule
23+
```
24+
25+
## Methods
26+
27+
| Method | Description |
28+
| ------ | ----------- |
29+
| [GetVersion](#getversion) | Get the version of the `DynamsoftLabelRecognizer` module. |
30+
31+
## getVersion
32+
33+
Get the version of the `DynamsoftLabelRecognizer` module.
34+
35+
```csharp
36+
static string GetVersion();
37+
```
38+
39+
**Return Value**
40+
41+
Returns a string representing the version of the `DynamsoftLabelRecognizer` module.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
layout: default-layout
3+
title: RecognizedTextLinesResult - Dynamsoft Capture Vision MAUI Edition
4+
description: The class RecognizedTextLinesResult of Dynamsoft Capture Vision MAUI edition represents the result of a text recognition process.
5+
keywords: Recognized text lines result
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
breadcrumbText: RecognizedTextLinesResult
10+
---
11+
12+
# RecognizedTextLinesResult
13+
14+
The `RecognizedTextLinesResult` class represents the overall result(s) of a text recognition process. It provides access to information about the recognized text lines, the original image, and any errors that occurred during the recognition process.
15+
16+
## Definition
17+
18+
*Namespace:* Dynamsoft.LabelRecognizer.Maui
19+
20+
*Assembly:* Dynamsoft.LabelRecognizer.Maui
21+
22+
```csharp
23+
class RecognizedTextLinesResult
24+
```
25+
26+
## Properties
27+
28+
| Property | Type | Description |
29+
| -------- | ---- | ----------- |
30+
| [`OriginalImageHashId`](#originalimagehashid) | *String* | Gets the hash ID of the original image. |
31+
| [`Items`](#items) | *IList<TextLineResultItem>* | Gets the text line result item at the specified index. |
32+
| [`RotationTransformMatrix`](#rotationtransformmatrix) | *Matrix* | Get the rotation transformation matrix of the original image relative to the rotated image.|
33+
| [`ErrorCode`](#errorcode) | *int* | Gets the error code of the recognition result, if an error occurred. |
34+
| [`ErrorMessage`](#errormessage) | *String* | Gets the error message of the recognition result, if an error occurred. |
35+
36+
### OriginalImageHashId
37+
38+
Get the hash id of the original image. You can use this ID to get the original image via the [`IntermediateResultManager`]({{ site.dcv_maui_api }}core/intermediate-results/intermediate-result-manager.html) class.
39+
40+
```csharp
41+
String OriginalImageHashId { get; }
42+
```
43+
44+
**Return value**
45+
46+
Returns the hash ID of the original image as a string.
47+
48+
### Items
49+
50+
Gets all the text line result(s) recognized from the image/frame in an array of [`DSTextLineResultItem`](text-line-result-item.md).
51+
52+
```csharp
53+
IList<TextLineResultItem> Items { get; }
54+
```
55+
56+
**Return value**
57+
58+
Returns an array of `TextLineResultItem` that contains all text line recognition results.
59+
60+
### RotationTransformMatrix
61+
62+
Get the rotation transformation matrix of the original image relative to the rotated image.
63+
64+
```csharp
65+
Matrix RotationTransformMatrix { get; }
66+
```
67+
68+
**Return Value**
69+
70+
A `Matrix` which represents the rotation transform matrix.
71+
72+
### ErrorCode
73+
74+
Gets the error code of the recognition result, if an error occurred.
75+
76+
```csharp
77+
int ErrorCode { get; }
78+
```
79+
80+
**Return value**
81+
82+
Returns the error code of the recognition result, or 0 if no error occurred.
83+
84+
### ErrorMessage
85+
86+
Gets the error message of the recognition result, if an error occurred.
87+
88+
```csharp
89+
String ErrorMessage { get; }
90+
```
91+
92+
**Return value**
93+
94+
Returns a string that describes the error message.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
layout: default-layout
3+
title: SimplifiedLabelRecognizerSettings - Dynamsoft Capture Vision MAUI Edition API Reference
4+
description: The SimplifiedLabelRecognizerSettings contains label recognition setting of Dynamsoft Capture Vision MAUI edition
5+
keywords: MAUI, SimplifiedLabelRecognizerSettings
6+
needAutoGenerateSidebar: true
7+
needGenerateH3Content: true
8+
breadcrumbText: SimplifiedLabelRecognizerSettings
9+
---
10+
11+
# SimplifiedLabelRecognizerSettings
12+
13+
The `SimplifiedLabelRecognizerSettings` class contains settings for label recognition. It is a sub-parameter of `SimplifiedCaptureVisionSettings`
14+
15+
## Definition
16+
17+
*Namespace:* Dynamsoft.LabelRecognizer.Maui
18+
19+
*Assembly:* Dynamsoft.LabelRecognizer.Maui
20+
21+
```csharp
22+
class SimplifiedLabelRecognizerSettings
23+
```
24+
25+
## Properties
26+
27+
| Property | Type | Description |
28+
| --------- | ---- | ----------- |
29+
| [`GrayscaleTransformationModes`](#grayscaletransformationmodes) | *EnumGrayscaleTransformationMode[]* | Set the grayscale transformation modes with an array of enumeration [`GrayscaleTransformationMode`]({{ site.dcv_enumerations}}core/grayscale-transformation-mode.html). |
30+
| [`GrayscaleEnhancementModes`](#grayscaleenhancementmodes) | *EnumGrayscaleEnhancementMode[]* | Set the grayscale enhancement modes with an array of enumeration [`GrayscaleEnhancementMode`]({{ site.dcv_enumerations}}core/grayscale-enhancement-mode.html). |
31+
| [`CharacterModelName`](#charactermodelname) | *String* | Specify a character model by its name. |
32+
| [`LineStringRegExPattern`](#linestringregexpattern) | *String* | Set the RegEx pattern of the text line string to filter out the unqualified results. |
33+
| [`MaxThreadsInOneTask`](#maxthreadsinonetask) | *int* | Set the maximum available threads count in one label recognition task. |
34+
| [`ScaleDownThreshold`](#scaledownthreshold) | *int* | Set the threshold for image shrinking when dealing with large images. |
35+
36+
### GrayscaleTransformationModes
37+
38+
Set the grayscale transformation modes with an array of enumeration [`GrayscaleTransformationMode`]({{ site.dcv_enumerations}}core/grayscale-transformation-mode.html).
39+
40+
```csharp
41+
EnumGrayscaleTransformationMode[] GrayscaleTransformationModes { get; set ; }
42+
```
43+
44+
**Remarks**
45+
46+
View the parameter reference page of [`GrayscaleTransformationMode`]({{ site.dcv_parameter_reference }}image-parameter/grayscale-transformation-modes.html){:target="_blank"} for more detail about how to set grayscale transformation modes.
47+
48+
### GrayscaleEnhancementModes
49+
50+
Set the grayscale enhancement modes with an array of enumeration [`GrayscaleEnhancementMode`]({{ site.dcv_enumerations}}core/grayscale-enhancement-mode.html).
51+
52+
```csharp
53+
EnumGrayscaleEnhancementMode[] GrayscaleEnhancementModes { get; set; }
54+
```
55+
56+
**Remarks**
57+
58+
View the reference page of [`GrayscaleEnhancementMode`]({{ site.dcv_parameter_reference }}image-parameter/grayscale-enhancement-modes.html){:target="_blank"} for more detail about how to set grayscale enhancement modes.
59+
60+
### CharacterModelName
61+
62+
Specify a character model by its name.
63+
64+
```csharp
65+
String CharacterModelName { get; set ; }
66+
```
67+
68+
**Remarks**
69+
70+
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.
71+
72+
### LineStringRegExPattern
73+
74+
Set the RegEx pattern of the text line string to filter out the unqualified results.
75+
76+
```csharp
77+
String LineStringRegExPattern { get; set ; }
78+
```
79+
80+
### MaxThreadsInOneTask
81+
82+
Set the maximum available threads count in one label recognition task.
83+
84+
```csharp
85+
int MaxThreadsInOneTask { get; set ; }
86+
```
87+
88+
**Remarks**
89+
90+
### ScaleDownThreshold
91+
92+
Set the threshold for image shrinking when dealing with large images.
93+
94+
```csharp
95+
int ScaleDownThreshold { get; set ; }
96+
```

0 commit comments

Comments
 (0)