MBDocumentFaceRecognizer
@interface MBDocumentFaceRecognizer
: MBRecognizer <NSCopying, MBFullDocumentImage, MBFullDocumentImageDpi,
MBFaceImage, MBFaceImageDpi,
MBFullDocumentImageExtensionFactors>
Class for configuring Document Face Recognizer Recognizer.
Document Face Recognizer recognizer is used for scanning documents containing face images.
-
Undocumented
Declaration
Objective-C
MB_INIT
Swift
init()
-
Result of scanning Document Face Recognizer
Declaration
Objective-C
@property (readonly, strong, nonatomic) MBDocumentFaceRecognizerResult *_Nonnull result;
Swift
var result: MBDocumentFaceRecognizerResult { get }
-
Type of docment this recognizer will scan.
Default: MBDocumentFaceDetectorTypeTD1
Declaration
Objective-C
@property (assign, readwrite, nonatomic) MBDocumentFaceDetectorType detectorType;
Swift
var detectorType: MBDocumentFaceDetectorType { get set }
-
Defines how many times the same document should be detected before the detector returns this document as a result of the deteciton
Higher number means more reliable detection, but slower processing
Default: 6
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSUInteger numStableDetectionsThreshold;
Swift
var numStableDetectionsThreshold: UInt { get set }