Protocols
The following protocols are available globally.
-
This protocol defines an interface for the delegates of
FaceDetector
face to receive results of performing asynchronous face detection on images (i.e, whenrunningMode
=.liveStream
).The delegate of
FaceDetector
must adoptFaceDetectorLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol FaceDetectorLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
FaceLandmarker
face to receive results of performing asynchronous face detection on images (i.e, whenrunningMode
=.liveStream
).The delegate of
FaceLandmarker
must adoptFaceLandmarkerLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol FaceLandmarkerLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
GestureRecognizer
object to receive results of performing asynchronous gesture recognition on images (i.e, whenrunningMode
=.liveStream
).The delegate of
GestureRecognizer
must adoptGestureRecognizerLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol GestureRecognizerLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
HandLandmarker
object to receive results of performing asynchronous hand landmark detection on images (i.e, whenrunningMode
=.liveStream
).The delegate of
HandLandmarker
must adoptHandLandmarkerLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol HandLandmarkerLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
ImageClassifier
object to receive results of asynchronous classification of images (i.e, whenrunningMode
=.liveStream
).The delegate of
ImageClassifier
must adoptImageClassifierLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol ImageClassifierLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
ImageEmbedder
object to receive results of asynchronous embedding extraction on images (i.e, whenrunningMode
=.liveStream
).The delegate of
ImageEmbedder
must adoptImageEmbedderLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol ImageEmbedderLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
ImageSegmenter
object to receive results of performing asynchronous segmentation on images (i.e, whenrunningMode
=liveStream
).The delegate of
ImageSegmenter
must adoptImageSegmenterLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol ImageSegmenterLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
ObjectDetector
object to receive results of performing asynchronous object detection on images (i.e, whenrunningMode
=.liveStream
).The delegate of
ObjectDetector
must adoptObjectDetectorLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol ObjectDetectorLiveStreamDelegate : NSObjectProtocol
-
This protocol defines an interface for the delegates of
PoseLandmarker
to receive results of performing asynchronous pose landmark detection on images (i.e, whenrunningMode
=.liveStream
).The delegate of
PoseLandmarker
must adoptPoseLandmarkerLiveStreamDelegate
protocol. The methods in this protocol are optional.Declaration
Swift
protocol PoseLandmarkerLiveStreamDelegate : NSObjectProtocol