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
@interface DSRecognizedTextLineElement: DSRegionObjectElement
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
@property (nonatomic, nullable, readonly) NSString* text;
var text: String? { get }
confidence
The confidence level of the recognized text.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) NSInteger confidence;
var confidence: String? { get }
characterResults
All the characters contained by the textline in an array of DSCharacterResult
.
- Objective-C
- Swift
@property (nonatomic, nullable, readonly) NSArray<DSCharacterResult *>* characterResults;
var text: [CharacterResult]? { get }
rowNumber
The row number of the text line within the image.
- Objective-C
- Swift
@property (nonatomic, assign, readonly) NSInteger rowNumber;
var rowNumber: Int { get }