SBSDKGenericTextLineRecognizerResult
@interface SBSDKGenericTextLineRecognizerResult : NSObject
A class describing the result of the generic text line recognizer.
-
YES, if the validation was successful. NO otherwise
Declaration
Objective-C
@property (nonatomic) BOOL validationSuccessful;
Swift
var validationSuccessful: Bool { get set }
-
The recognized text.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull text;
Swift
var text: String { get set }
-
The recognition confidence value.
Declaration
Objective-C
@property (nonatomic) double confidenceValue;
Swift
var confidenceValue: Double { get set }
-
An array of the recognized word boxes.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<SBSDKGenericTextLineRecognizerResultWordBox *> *_Nonnull wordBoxes;
Swift
var wordBoxes: [SBSDKGenericTextLineRecognizerResultWordBox] { get set }