MBCombinedRecognizerResult

@protocol MBCombinedRecognizerResult

@required

/**
 * Returns MBDataMatchResultSuccess if data from scanned parts/sides of the document match,
 * MBDataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side
 * of the document and values do not match, this method will return MBDataMatchResultFailed. Result will
 * be MBDataMatchResultSuccess only if scanned values for all fields that are compared are the same.
 */
@property (nonatomic, readonly, assign) MBDataMatchResult documentDataMatch;

/**
 * Returns YES if recognizer has finished scanning first side and is now scanning back side,
 * NO if it's still scanning first side.
 */
@property (nonatomic, readonly, assign) BOOL scanningFirstSideDone;

@end

Undocumented

  • Returns MBDataMatchResultSuccess if data from scanned parts/sides of the document match, MBDataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side of the document and values do not match, this method will return MBDataMatchResultFailed. Result will be MBDataMatchResultSuccess only if scanned values for all fields that are compared are the same.

    Declaration

    Objective-C

    @required
    @property (nonatomic, assign, unsafe_unretained, readonly)
        MBDataMatchResult documentDataMatch;

    Swift

    var documentDataMatch: Int32 { get }
  • Returns YES if recognizer has finished scanning first side and is now scanning back side, NO if it’s still scanning first side.

    Declaration

    Objective-C

    @required
    @property (nonatomic, assign, unsafe_unretained, readonly)
        BOOL scanningFirstSideDone;

    Swift

    var scanningFirstSideDone: Int32 { get }