MBFrameGrabberRecognizer


@interface MBFrameGrabberRecognizer : MBRecognizer <NSCopying>

A recognizer that can returns success frame.

  • Unavailable

    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 (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL grabFocusedFrames;

    Swift

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

    Default: NO

    Declaration

    Objective-C

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

    Swift

    var grabUnfocusedFrames: Bool { get set }