SBSDKIDCardRecognizerResult
@interface SBSDKIDCardRecognizerResult : NSObject
The result of an ID card detection or recognition. Summarizes general information from the ID card scan and individual data fields.
-
YES, if the recognition was successful, No otherwise.
Declaration
Objective-C
@property (nonatomic) BOOL recognitionSuccessful;
Swift
var recognitionSuccessful: Bool { get set }
-
The exact status of the recognition.
Declaration
Objective-C
@property (nonatomic) SBSDKIDCardRecognitionStatus recognitionStatus;
Swift
var recognitionStatus: SBSDKIDCardRecognitionStatus { get set }
-
The type of the recognized ID card.
Declaration
Objective-C
@property (nonatomic) SBSDKIDCardType type;
Swift
var type: SBSDKIDCardType { get set }
-
An array containing all recognized data fields of the ID card.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<SBSDKIDCardRecognizerResultField *> *_Nonnull fields;
Swift
var fields: [SBSDKIDCardRecognizerResultField] { get set }
-
A perspective-corrected cropped image from the recognized ID card.
Declaration
Objective-C
@property (nonatomic, strong) UIImage *_Nonnull croppedImage;
Swift
var croppedImage: UIImage { get set }