MBMrtdRecognizer

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

  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()
  • Detector recognizer results

    Declaration

    Objective-C

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

    Swift

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

    Default: NO

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) 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 (assign, readwrite, nonatomic) BOOL allowUnverifiedResults;

    Swift

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

    Default: NO

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, 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

    - (void)setMrzFilter:(nullable id<MBMrzFilter>)mrzFilter;

    Swift

    func setMrzFilter(_ mrzFilter: MBMrzFilter?)