Protocols
The following protocols are available globally.
-
This protocol defines an interface for the delegates of
FaceDetectorface to receive results of performing asynchronous face detection on images (i.e, whenrunningMode=.liveStream).The delegate of
FaceDetectormust adoptFaceDetectorLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPFaceDetectorLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
FaceLandmarkerface to receive results of performing asynchronous face detection on images (i.e, whenrunningMode=.liveStream).The delegate of
FaceLandmarkermust adoptFaceLandmarkerLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPFaceLandmarkerLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
GestureRecognizerobject to receive results of performing asynchronous gesture recognition on images (i.e, whenrunningMode=.liveStream).The delegate of
GestureRecognizermust adoptGestureRecognizerLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPGestureRecognizerLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
HandLandmarkerobject to receive results of performing asynchronous hand landmark detection on images (i.e, whenrunningMode=.liveStream).The delegate of
HandLandmarkermust adoptHandLandmarkerLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPHandLandmarkerLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
ImageClassifierobject to receive results of asynchronous classification of images (i.e, whenrunningMode=.liveStream).The delegate of
ImageClassifiermust adoptImageClassifierLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPImageClassifierLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
ImageEmbedderobject to receive results of asynchronous embedding extraction on images (i.e, whenrunningMode=.liveStream).The delegate of
ImageEmbeddermust adoptImageEmbedderLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPImageEmbedderLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
ImageSegmenterobject to receive results of performing asynchronous segmentation on images (i.e, whenrunningMode=liveStream).The delegate of
ImageSegmentermust adoptImageSegmenterLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPImageSegmenterLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
ObjectDetectorobject to receive results of performing asynchronous object detection on images (i.e, whenrunningMode=.liveStream).The delegate of
ObjectDetectormust adoptObjectDetectorLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPObjectDetectorLiveStreamDelegate <NSObject> -
This protocol defines an interface for the delegates of
PoseLandmarkerto receive results of performing asynchronous pose landmark detection on images (i.e, whenrunningMode=.liveStream).The delegate of
PoseLandmarkermust adoptPoseLandmarkerLiveStreamDelegateprotocol. The methods in this protocol are optional.Declaration
Objective-C
@protocol MPPPoseLandmarkerLiveStreamDelegate <NSObject>