MBMrtdSpecification


@interface MBMrtdSpecification : NSObject <NSCopying>

Mrtd class describes a document which is being detected by MrtdDetector. We encurage users to create specifications with one of our presets, if possible.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Factory method which creates MRTD specification based on a preset

    Declaration

    Objective-C

    + (nonnull instancetype)createFromPreset:(MBMrtdSpecificationPreset)preset;

    Swift

    class func create(from preset: MBMrtdSpecificationPreset) -> Self

    Parameters

    preset

    mrtd preset

    Return Value

    new instance for a given mrtd preset