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
@interface DSRecognizedTextLinesResult : DSCapturedResultBaseclass 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
@property (nonatomic, nullable, readonly) NSArray<DSTextLineResultItem*>* items;var items: [TextLineResultItem]? { get }