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: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSCharacterResult : NSObject
    
  2. class CharacterResult: NSObject
    

Properties & Methods

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.
Methods Description
init Initializes a new instance of the DSCharacterResult class.
initWithCharacterH Initializes a new instance of the DSCharacterResult class.

characterH

The character with high confidence.

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

characterM

The character with medium confidence.

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

characterL

The character with low confidence.

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

location

The location of the character in a quadrilateral shape.

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

characterHConfidence

The confidence of the character with high confidence.

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

characterMConfidence

The confidence of the character with medium confidence.

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

characterLConfidence

The confidence of the character with low confidence.

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

init

  • Objective-C
  • Swift
  1. - (instancetype)init;
    
  2. init()
    

initWithCharacterH

  • Objective-C
  • Swift
  1. - (instancetype)initWithCharacterH:(unichar)characterH
                        characterM:(unichar)characterM
                        characterL:(unichar)characterL
              characterHConfidence:(DSQuadrilateral *)characterHConfidence
              characterMConfidence:(NSInteger)characterMConfidence
              characterLConfidence:(NSInteger)characterLConfidence
                          location:(NSInteger)location;
    
  2. init(characterH: unichar, characterM: unichar, characterL: unichar, characterHConfidence: Int, characterMConfidence: Int, characterLConfidence: Int, location: Int)
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: