MBTemplatingRecognizer


@interface MBTemplatingRecognizer : MBRecognizer

Base of all recognizers that support Templating API.

  • Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • Templating recognizer result

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var templatingClasses: [MBTemplatingClass]? { get }