DSCharacterResult
The DSCharacterResult
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.
Definition
Assembly: DynamsoftLabelRecognizer.xcframework
- Objective-C
- Swift
@interface DSCharacterResult : NSObject
class CharacterResult: NSObject
Properties
Property | Type | Description |
---|---|---|
characterH |
unichar | The character with high confidence. |
characterM |
unichar | The character with medium confidence. |
characterL |
unichar | The character with low confidence. |
location |
DSQuadrilateral * | The location of the character in a quadrilateral shape. |
characterHConfidence |
NSInteger | The confidence of the character with high confidence. |
characterMConfidence |
NSInteger | The confidence of the character with medium confidence. |
characterLConfidence |
NSInteger | The confidence of the character with low confidence. |
characterH
The character with high confidence.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) unichar characterH;
var characterH: unichar { get }
characterM
The character with medium confidence.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) unichar characterM;
var characterM: unichar { get }
characterL
The character with low confidence.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) unichar characterL;
var characterL: unichar { get }
location
The location of the character in a quadrilateral shape.
- Objective-C
- Swift
@property (nonatomic, nullable, readonly) DSQuadrilateral * location;
var location: Quadrilateral? { get }
characterHConfidence
The confidence of the character with high confidence.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) NSInteger characterHConfidence;
var characterHConfidence: Int { get }
characterMConfidence
The confidence of the character with medium confidence.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) NSInteger characterMConfidence;
var characterMConfidence: Int { get }
characterLConfidence
The confidence of the character with low confidence.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) NSInteger characterLConfidence;
var characterLConfidence: Int { get }