You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
16
+
17
+
## Definition
18
+
19
+
*Namespace:* com.dynamsoft.dlr
20
+
21
+
*Assembly:* DynamsoftLabelRecognizer.aar
22
+
23
+
```java
24
+
classCharacterResult
25
+
```
26
+
27
+
## Methods
28
+
29
+
| Method | Description |
30
+
| ------ | ----------- |
31
+
| [`getCharacterH`](#getcharacterh) | Returns the highest confidence character recognized. |
32
+
| [`getCharacterM`](#getcharacterm) | Returns the medium confidence character recognized. |
33
+
| [`getCharacterL`](#getcharacterl) | Returns the lowest confidence character recognized. |
34
+
| [`getLocation`](#getlocation) | Returns the location of the recognized character within the image. |
35
+
| [`getCharacterHConfidence`](#getcharacterhconfidence) | Returns the confidence score for the highest confidence character. |
36
+
| [`getCharacterMConfidence`](#getcharactermconfidence) | Returns the confidence score for the medium confidence character. |
37
+
| [`getCharacterLConfidence`](#getcharacterlconfidence) | Returns the confidence score for the lowest confidence character. |
38
+
39
+
### getCharacterH
40
+
41
+
Returns the highest confidence character recognized.
42
+
43
+
```java
44
+
char getCharacterH();
45
+
```
46
+
47
+
### getCharacterM
48
+
49
+
Returns the medium confidence character recognized.
50
+
51
+
```java
52
+
char getCharacterM();
53
+
```
54
+
55
+
### getCharacterL
56
+
57
+
Returns the lowest confidence character recognized.
58
+
59
+
```java
60
+
char getCharacterL();
61
+
```
62
+
63
+
### getLocation
64
+
65
+
Returns the location of the recognized character within the image.
66
+
67
+
```java
68
+
Quadrilateral getLocation();
69
+
```
70
+
71
+
### getCharacterHConfidence
72
+
73
+
Returns the confidence score for the highest confidence character.
74
+
75
+
```java
76
+
int getCharacterHConfidence();
77
+
```
78
+
79
+
### getCharacterMConfidence
80
+
81
+
Returns the confidence score for the medium confidence character.
82
+
83
+
```java
84
+
int characterMConfidence();
85
+
```
86
+
87
+
### getCharacterLConfidence
88
+
89
+
Returns the confidence score for the lowest confidence character.
Copy file name to clipboardExpand all lines: programming/android/api-reference/character-result.md
+74-1Lines changed: 74 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,30 @@ class CharacterResult
28
28
29
29
| Method | Description |
30
30
| ------ | ----------- |
31
+
| [`CharacterResult`](#characterresult) | The constructor. |
31
32
| [`getCharacterH`](#getcharacterh) | Returns the highest confidence character recognized. |
33
+
| [`setCharacterH`](#setcharacterh) | Sets the highest confidence character recognized. |
32
34
| [`getCharacterM`](#getcharacterm) | Returns the medium confidence character recognized. |
35
+
| [`setCharacterM`](#setcharacterm) | Sets the medium confidence character recognized. |
33
36
| [`getCharacterL`](#getcharacterl) | Returns the lowest confidence character recognized. |
34
-
| [`getLocation`](#getlocation) | Returns the location of the recognized character within the image. |
37
+
| [`setCharacterL`](#setcharacterl) | Sets the lowest confidence character recognized. |
38
+
| [`getLocation`](#getlocation) | Returns the location of the recognized character within the image. |
39
+
| [`setLocation`](#setlocation) | Sets the location of the recognized character within the image. |
35
40
| [`getCharacterHConfidence`](#getcharacterhconfidence) | Returns the confidence score for the highest confidence character. |
41
+
| [`setCharacterHConfidence`](#setcharacterhconfidence) | Sets the confidence score for the highest confidence character. |
36
42
| [`getCharacterMConfidence`](#getcharactermconfidence) | Returns the confidence score for the medium confidence character. |
43
+
| [`setCharacterMConfidence`](#setcharactermconfidence) | Sets the confidence score for the medium confidence character. |
37
44
| [`getCharacterLConfidence`](#getcharacterlconfidence) | Returns the confidence score for the lowest confidence character. |
45
+
| [`setCharacterLConfidence`](#setcharacterlconfidence) | Sets the confidence score for the lowest confidence character. |
46
+
47
+
### CharacterResult
48
+
49
+
The constructor.
50
+
51
+
52
+
```java
53
+
CharacterResult(char characterH, char characterM, char characterL, int characterHConfidence, int characterMConfidence, int characterLConfidence, Quadrilateral location);
54
+
```
38
55
39
56
### getCharacterH
40
57
@@ -44,6 +61,14 @@ Returns the highest confidence character recognized.
44
61
char getCharacterH();
45
62
```
46
63
64
+
### setCharacterH
65
+
66
+
Sets the highest confidence character recognized.
67
+
68
+
```java
69
+
setCharacterH(char characterH);
70
+
```
71
+
47
72
### getCharacterM
48
73
49
74
Returns the medium confidence character recognized.
@@ -52,6 +77,14 @@ Returns the medium confidence character recognized.
52
77
char getCharacterM();
53
78
```
54
79
80
+
### setCharacterM
81
+
82
+
Sets the medium confidence character recognized.
83
+
84
+
```java
85
+
setCharacterM(char characterM);
86
+
```
87
+
55
88
### getCharacterL
56
89
57
90
Returns the lowest confidence character recognized.
@@ -60,6 +93,14 @@ Returns the lowest confidence character recognized.
60
93
char getCharacterL();
61
94
```
62
95
96
+
### setCharacterL
97
+
98
+
Sets the lowest confidence character recognized.
99
+
100
+
```java
101
+
setCharacterL(char characterL);
102
+
```
103
+
63
104
### getLocation
64
105
65
106
Returns the location of the recognized character within the image.
@@ -68,6 +109,14 @@ Returns the location of the recognized character within the image.
68
109
Quadrilateral getLocation();
69
110
```
70
111
112
+
### setLocation
113
+
114
+
Sets the location of the recognized character within the image.
115
+
116
+
```java
117
+
setLocation(Quadrilateral location);
118
+
```
119
+
71
120
### getCharacterHConfidence
72
121
73
122
Returns the confidence score for the highest confidence character.
@@ -76,6 +125,14 @@ Returns the confidence score for the highest confidence character.
76
125
int getCharacterHConfidence();
77
126
```
78
127
128
+
### setCharacterHConfidence
129
+
130
+
Sets the confidence score for the highest confidence character.
0 commit comments