MBTemplatingRecognizer


@interface MBTemplatingRecognizer : MBRecognizer

Base of all recognizers that support Templating API.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Templating recognizer result

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly)
        MBTemplatingRecognizerResult *_Nonnull templatingResult;

    Swift

    var templatingResult: MBTemplatingRecognizerResult { get }
  • Defines if glare detection should be turned on/off for Templating Recognizer.

    Default: YES

    Declaration

    Objective-C

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

    Swift

    var useGlareDetector: Bool { get set }
  • Returns all available templating classes

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable)
        NSArray<__kindof MBTemplatingClass *> *templatingClasses;

    Swift

    var templatingClasses: [MBTemplatingClass]? { get }