Skip to content

Commit f9fd0c2

Browse files
update to internal commit 246a90f7
1 parent f464d88 commit f9fd0c2

13 files changed

+1184
-163
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ repository: Dynamsoft-Docs/label-recognition-docs-mobile
33
docFullPath: https://www.dynamsoft.com/label-recognition/docs/mobile/
44
firstLevelUrl: /label-recognition/docs/mobile/
55
docHomePage: /label-recognition/docs/mobile/introduction/
6+
needSearchIndex: true
7+
searchNeedFilter: true
68

79
enumerations: /label-recognition/docs/core/parameters/enum/
810
parameters-reference: /label-recognition/docs/core/parameters/reference/
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
layout: default-layout
3+
title: CharacterResult - Dynamsoft Label Recognizer Android Edition
4+
description: The class CharacterResult of Dynamsoft Label Recognizer Android 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+
permalink: /programming/android/api-reference/character-result.html
11+
---
12+
13+
# CharacterResult
14+
15+
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+
class CharacterResult
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.
90+
91+
```java
92+
int characterLConfidence();
93+
```

programming/android/api-reference/character-result.md

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,30 @@ class CharacterResult
2828

2929
| Method | Description |
3030
| ------ | ----------- |
31+
| [`CharacterResult`](#characterresult) | The constructor. |
3132
| [`getCharacterH`](#getcharacterh) | Returns the highest confidence character recognized. |
33+
| [`setCharacterH`](#setcharacterh) | Sets the highest confidence character recognized. |
3234
| [`getCharacterM`](#getcharacterm) | Returns the medium confidence character recognized. |
35+
| [`setCharacterM`](#setcharacterm) | Sets the medium confidence character recognized. |
3336
| [`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. |
3540
| [`getCharacterHConfidence`](#getcharacterhconfidence) | Returns the confidence score for the highest confidence character. |
41+
| [`setCharacterHConfidence`](#setcharacterhconfidence) | Sets the confidence score for the highest confidence character. |
3642
| [`getCharacterMConfidence`](#getcharactermconfidence) | Returns the confidence score for the medium confidence character. |
43+
| [`setCharacterMConfidence`](#setcharactermconfidence) | Sets the confidence score for the medium confidence character. |
3744
| [`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+
```
3855

3956
### getCharacterH
4057

@@ -44,6 +61,14 @@ Returns the highest confidence character recognized.
4461
char getCharacterH();
4562
```
4663

64+
### setCharacterH
65+
66+
Sets the highest confidence character recognized.
67+
68+
```java
69+
setCharacterH(char characterH);
70+
```
71+
4772
### getCharacterM
4873

4974
Returns the medium confidence character recognized.
@@ -52,6 +77,14 @@ Returns the medium confidence character recognized.
5277
char getCharacterM();
5378
```
5479

80+
### setCharacterM
81+
82+
Sets the medium confidence character recognized.
83+
84+
```java
85+
setCharacterM(char characterM);
86+
```
87+
5588
### getCharacterL
5689

5790
Returns the lowest confidence character recognized.
@@ -60,6 +93,14 @@ Returns the lowest confidence character recognized.
6093
char getCharacterL();
6194
```
6295

96+
### setCharacterL
97+
98+
Sets the lowest confidence character recognized.
99+
100+
```java
101+
setCharacterL(char characterL);
102+
```
103+
63104
### getLocation
64105

65106
Returns the location of the recognized character within the image.
@@ -68,6 +109,14 @@ Returns the location of the recognized character within the image.
68109
Quadrilateral getLocation();
69110
```
70111

112+
### setLocation
113+
114+
Sets the location of the recognized character within the image.
115+
116+
```java
117+
setLocation(Quadrilateral location);
118+
```
119+
71120
### getCharacterHConfidence
72121

73122
Returns the confidence score for the highest confidence character.
@@ -76,6 +125,14 @@ Returns the confidence score for the highest confidence character.
76125
int getCharacterHConfidence();
77126
```
78127

128+
### setCharacterHConfidence
129+
130+
Sets the confidence score for the highest confidence character.
131+
132+
```java
133+
setCharacterHConfidence(int characterHConfidence);
134+
```
135+
79136
### getCharacterMConfidence
80137

81138
Returns the confidence score for the medium confidence character.
@@ -84,10 +141,26 @@ Returns the confidence score for the medium confidence character.
84141
int characterMConfidence();
85142
```
86143

144+
### setCharacterMConfidence
145+
146+
Sets the confidence score for the medium confidence character.
147+
148+
```java
149+
setCharacterMConfidence(int characterMConfidence);
150+
```
151+
87152
### getCharacterLConfidence
88153

89154
Returns the confidence score for the lowest confidence character.
90155

91156
```java
92157
int characterLConfidence();
93158
```
159+
160+
### setCharacterLConfidence
161+
162+
Sets the confidence score for the lowest confidence character.
163+
164+
```java
165+
setCharacterLConfidence(int characterLConfidence);
166+
```

0 commit comments

Comments
 (0)