MBFrameGrabberRecognizer


@interface MBFrameGrabberRecognizer : MBRecognizer <NSCopying>

A recognizer that can returns success frame.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithFrameGrabberDelegate:(id<MBFrameGrabberRecognizerDelegate>)frameGrabberDelegate NS_SWIFT_NAME(init(frameGrabberDelegate:));

    Swift

    init(frameGrabberDelegate: MBFrameGrabberRecognizerDelegate)
  • Allow sending focused camera frames to MBFrameGrabberRecognizerDelegate.

    Default: YES

    Declaration

    Objective-C

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

    Swift

    var grabFocusedFrames: Bool { get set }
  • Allow sending unfocused camera frames to MBFrameGrabberRecognizerDelegate.

    Default: NO

    Declaration

    Objective-C

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

    Swift

    var grabUnfocusedFrames: Bool { get set }