MBCBlinkCardRecognizer
Objective-C
@interface MBCBlinkCardRecognizer
: MBCRecognizer <NSCopying, MBCCombinedRecognizer, MBCFullDocumentImage,
MBCEncodeFullDocumentImage, MBCFullDocumentImageDpi,
MBCFullDocumentImageExtensionFactors>
Swift
class MBCBlinkCardRecognizer : MBCRecognizer, NSCopying, MBCCombinedRecognizer, MBCFullDocumentImage, MBCEncodeFullDocumentImage, MBCFullDocumentImageDpi, MBCFullDocumentImageExtensionFactors
Recognizer used for scanning credit/debit cards.
-
Result of scanning Payment Card Front Recognizer
Declaration
Objective-C
@property (nonatomic, strong, readonly) MBCBlinkCardRecognizerResult *_Nonnull result;
Swift
var result: MBCBlinkCardRecognizerResult { get }
-
The object that acts as the delegate of the recognizer
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<MBCBlinkCardRecognizerDelegate> delegate;
Swift
weak var delegate: (any MBCBlinkCardRecognizerDelegate)? { get set }
-
Should extract the card owner information
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL extractOwner;
Swift
var extractOwner: Bool { get set }
-
Should extract the payment card’s month of expiry
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL extractExpiryDate;
Swift
var extractExpiryDate: Bool { get set }
-
Should extract CVV
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL extractCvv;
Swift
var extractCvv: Bool { get set }
-
Should extract the payment card’s IBAN
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL extractIban;
Swift
var extractIban: Bool { get set }
-
Defines whether blured frames filtering is allowed
Default: YES
Declaration
Objective-C
@property (nonatomic) BOOL allowBlurFilter;
Swift
var allowBlurFilter: Bool { get set }
-
Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case padding edge and image edge are the same. Recommended value is 0.02f.
Default: 0.0f
Declaration
Objective-C
@property (nonatomic) CGFloat paddingEdge;
Swift
var paddingEdge: CGFloat { get set }
-
Defines whether sensitive data should be redacted from the result.
Default: See MBCBlinkCardAnonymizationSettings for default settings
Declaration
Objective-C
@property (nonatomic, strong) MBCBlinkCardAnonymizationSettings *_Nonnull anonymizationSettings;
Swift
var anonymizationSettings: MBCBlinkCardAnonymizationSettings { get set }
-
Hand scale is calculated as a ratio between area of hand mask and document mask.
Default: 0.15
Declaration
Objective-C
@property (nonatomic) CGFloat handScaleThreshold;
Swift
var handScaleThreshold: CGFloat { get set }
-
This parameter is used to adjust heuristics that eliminate cases when the hand is present.
Default: 0.05
Declaration
Objective-C
@property (nonatomic) CGFloat handDocumentOverlapThreshold;
Swift
var handDocumentOverlapThreshold: CGFloat { get set }
-
Screen analysis match level - higher if stricter.
Default: Level5
Declaration
Objective-C
@property (nonatomic) MBCMatchLevel screenAnalysisMatchLevel;
Swift
var screenAnalysisMatchLevel: MBCMatchLevel { get set }
-
Photocopy analysis match level - higher if stricter.
Default: Level5
Declaration
Objective-C
@property (nonatomic) MBCMatchLevel photocopyAnalysisMatchLevel;
Swift
var photocopyAnalysisMatchLevel: MBCMatchLevel { get set }
-
Whether invalid card number is accepted.
Default: NO
Declaration
Objective-C
@property (nonatomic) BOOL allowInvalidCardNumber;
Swift
var allowInvalidCardNumber: Bool { get set }