MBUsdlCombinedRecognizer

USDL Combined Recognizer.

USDL Combined recognizer is used for scanning both front and back side of US Driver’s License.

  • Result of scanning both sides of USDL

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        MBUsdlCombinedRecognizerResult *_Nonnull result;

    Swift

    var result: MBUsdlCombinedRecognizerResult { get }
  • Set this to YES to scan even barcode not compliant with standards For example, malformed USDL barcodes which were incorrectly encoded

    Use only if necessary because it slows down the recognition process

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL scanUncertain;

    Swift

    var scanUncertain: Bool { get set }
  • Set this to YES to scan barcodes which don’t have quiet zone (white area) around it

    Use only if necessary because it slows down the recognition process

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allowNullQuietZone;

    Swift

    var allowNullQuietZone: Bool { get set }
  • Type of document this recognizer will scan.

    Default: MBDocumentFaceDetectorTypeTD1

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) MBDocumentFaceDetectorType type;

    Swift

    var type: 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 }
  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()