Documentation
Table of contents

DSRecognizedTextLinesResult

The DSRecognizedTextLinesResult class represents the overall result(s) of a text recognition process. It provides access to information about the recognized text lines, the original image, and any errors that occurred during the recognition process.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSRecognizedTextLinesResult : DSCapturedResultBase
    
  2. class RecognizedTextLinesResult: CapturedResultBase
    

Properties

Property Type Description
items NSArray<DSTextLineResultItem *> * All the text line result items that recognized from the image in an array of DSTextLineResultItem.

The following attributes are inherited from DSCapturedResultBase:

Attributes Type Description
originalImageHashId NSString * The hash id of the original image.
originalImageTag DSImageTag * The DSImageTag of the original image.
rotationTransformMatrix CGAffineTransform The rotation transformation matrix of the original image relative to the rotated image.
errorCode NSInteger Get the error code of this result.
errorMessage NSString * Get the error message of this result.

items

All the text line result items that recognized from the image in an array of DSTextLineResultItem.

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

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: