MBDocumentFaceRecognizer

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 (nonatomic, strong, readonly)
        MBDocumentFaceRecognizerResult *_Nonnull result;

    Swift

    var result: MBDocumentFaceRecognizerResult { get }
  • Type of docment this recognizer will scan.

    Default: MBDocumentFaceDetectorTypeTD1

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        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 (nonatomic, assign, unsafe_unretained, readwrite)
        NSUInteger numStableDetectionsThreshold;

    Swift

    var numStableDetectionsThreshold: UInt { get set }