Documentation
Table of contents

Thanks for downloading Dynamsoft Label Recognizer Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSRecognizedTextLineElement

The DSRecognizedTextLineElement class represents a line of recognized text in an image. It inherits from the DSRegionObjectElement class.

Definition

Assembly: DynamsoftLabelRecognizer.xcframework

  • Objective-C
  • Swift
  1. @interface DSRecognizedTextLineElement: DSRegionObjectElement
    
  2. class RecognizedTextLineElement: RegionObjectElement
    

Inheritance: DSRegionObjectElement -> DSRecognizedTextLineElement

Property Summary

Property Type Description
text NSString The recognized text.
confidence NSInteger The confidence level of the recognized text.
characterResults NSArray<DSCharacterResult> All the characters contained by the textline.
rowNumber NSInteger The row number of the text line within the image.

text

The recognized text.

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

confidence

The confidence level of the recognized text.

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

characterResults

All the characters contained by the textline in an array of DSCharacterResult.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, readonly) NSArray<DSCharacterResult *>* characterResults;
    
  2. var text: [CharacterResult]? { get }
    

rowNumber

The row number of the text line within the image.

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

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.2.20
    • Version 2.0.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support