Documentation
Table of contents

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
  1. @interface DSCharacterResult : NSObject
    
  2. 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
  1. @property (nonatomic, assign, readonly) unichar characterH;
    
  2. var characterH: unichar { get }
    

characterM

The character with medium confidence.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign, readonly) unichar characterM;
    
  2. var characterM: unichar { get }
    

characterL

The character with low confidence.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign, readonly) unichar characterL;
    
  2. var characterL: unichar { get }
    

location

The location of the character in a quadrilateral shape.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, readonly) DSQuadrilateral * location;
    
  2. var location: Quadrilateral? { get }
    

characterHConfidence

The confidence of the character with high confidence.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign, readonly) NSInteger characterHConfidence;
    
  2. var characterHConfidence: Int { get }
    

characterMConfidence

The confidence of the character with medium confidence.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign, readonly) NSInteger characterMConfidence;
    
  2. var characterMConfidence: Int { get }
    

characterLConfidence

The confidence of the character with low confidence.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign, readonly) NSInteger characterLConfidence;
    
  2. var characterLConfidence: Int { get }
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: