MBMrtdRecognizer

Deprecated

MBMrtdRecognizer is deprecated. Use MBBlinkIdRecognizer with mrz_id, mrz_visa, mrz_passport rights.


@interface MBMrtdRecognizer
    : MBTemplatingRecognizer <NSCopying, MBFullDocumentImage,
                              MBEncodeFullDocumentImage, MBFullDocumentImageDpi,
                              MBFullDocumentImageExtensionFactors,
                              MBGlareDetection>

Recognizer that can recognizer Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD)

  • Detector recognizer results

    Declaration

    Objective-C

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

    Swift

    var result: MBMrtdRecognizerResult { get }
  • Whether returning of unparsed results is allowed

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL allowUnparsedResults;

    Swift

    var allowUnparsedResults: Bool { get set }
  • Whether returning of unverified results is allowed Unverified result is result that is parsed, but check digits are incorrect.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL allowUnverifiedResults;

    Swift

    var allowUnverifiedResults: Bool { get set }
  • Whether special characters are allowed

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL allowSpecialCharacters;

    Swift

    var allowSpecialCharacters: Bool { get set }
  • Get the mrtd specifications.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable)
        NSArray<__kindof MBMrtdSpecification *> *mrtdSpecifications;

    Swift

    var mrtdSpecifications: [MBMrtdSpecification]? { get }
  • Filter for MRTDs (Machine Readable Travel Documents) that is used to determine which documents will be processed. If document is filtered out by this filter, its data cannot be returned as recognition result.

    Declaration

    Objective-C

    @property (nonatomic, weak, readwrite, nullable) id<MBMrzFilter>
        mrzFilterDelegate;

    Swift

    weak var mrzFilterDelegate: MBMrzFilter? { get set }