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
Swift
protocol FaceDetectorLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol FaceLandmarkerLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol GestureRecognizerLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol HandLandmarkerLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol ImageClassifierLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol ImageEmbedderLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol ImageSegmenterLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol ObjectDetectorLiveStreamDelegate : NSObjectProtocol -
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
Swift
protocol PoseLandmarkerLiveStreamDelegate : NSObjectProtocol