Structures
The following declarations are available globally.
-
Configuration options for initializing a MediaPipe
FaceDetectortask.Does not conform to
EquatableorHashablebecauseliveStreamResultHandleris a closure.Declaration
Swift
struct FaceDetectorOptions: Sendable -
Detection results produced by
FaceDetectorfor a single image or frame.Declaration
Swift
struct FaceDetectorResult: Sendable, Equatable, Hashable -
Options for configuring a
FaceLandmarkertask (notEquatablebecauseliveStreamResultHandleris a closure).Declaration
Swift
struct FaceLandmarkerOptions: Sendable -
Face landmarks, blendshapes, and transformation matrixes produced by
FaceLandmarker, with one element per detected face.Declaration
Swift
struct FaceLandmarkerResult: Sendable, Equatable, Hashable -
Configuration for initializing a
GestureRecognizer.Not
EquatableorHashablebecauseliveStreamResultHandleris a closure.Declaration
Swift
struct GestureRecognizerOptions: Sendable -
Hand gesture, handedness, and 3D landmark predictions produced by
GestureRecognizer.Declaration
Swift
struct GestureRecognizerResult: Sendable, Equatable, Hashable -
Configuration options for the MediaPipe
HandLandmarkertask.Declaration
Swift
struct HandLandmarkerOptions: Sendable -
Hand landmarks, 3D world landmarks, and handedness classifications produced by
HandLandmarker.Declaration
Swift
struct HandLandmarkerResult: Sendable, Equatable, Hashable -
Configuration options for initializing a MediaPipe
HolisticLandmarkertask.Not
EquatableorHashablebecauseliveStreamResultHandleris a closure.Declaration
Swift
struct HolisticLandmarkerOptions: Sendable -
Holistic face, pose, and hand landmarks detected by
HolisticLandmarker(notHashablebecauseMPMaskconforms only toEquatable).Declaration
Swift
struct HolisticLandmarkerResult: Sendable, Equatable -
Configuration for initializing an
ImageClassifier.Not
EquatableorHashablebecauseliveStreamResultHandleris a closure.Declaration
Swift
struct ImageClassifierOptions: Sendable -
Output of an
ImageClassifierinference pass on a single image or video frame.Declaration
Swift
struct ImageClassifierResult: Sendable, Equatable, Hashable -
Configuration for an
ImageEmbedderinstance.Not
EquatableorHashablebecauseliveStreamResultHandleris a closure.Declaration
Swift
struct ImageEmbedderOptions: Sendable -
Feature vectors produced across all output heads of an image embedding model.
Declaration
Swift
struct ImageEmbedderResult: Sendable, Equatable, Hashable -
Options for configuring an
ImageSegmentertask.Not
EquatableorHashablebecauseliveStreamResultHandleris a closure.Declaration
Swift
struct ImageSegmenterOptions: Sendable -
Segmentation masks and quality scores produced by
ImageSegmenter.Not
HashablebecauseMPMaskis onlyEquatable.Declaration
Swift
struct ImageSegmenterResult: Sendable, Equatable -
Options for configuring an
InteractiveSegmenterLegacytask.Declaration
Swift
struct InteractiveSegmenterLegacyOptions: Sendable, Equatable, Hashable -
Options for configuring an
InteractiveSegmentertask.Declaration
Swift
struct InteractiveSegmenterOptions: Sendable, Equatable, Hashable -
Configuration options for the MediaPipe
ObjectDetectortask.Conforms to
Sendable(EquatableandHashableare omitted becauseliveStreamResultHandleris an escaping closure).Declaration
Swift
struct ObjectDetectorOptions: Sendable -
Bounding-box detections and categories produced by
ObjectDetector.Declaration
Swift
struct ObjectDetectorResult: Sendable, Equatable, Hashable -
Configuration options for initializing a
PoseLandmarker.Not
EquatableorHashablebecauseliveStreamResultHandleris an escaping closure.Declaration
Swift
struct PoseLandmarkerOptions: Sendable -
Pose landmarks, world landmarks, and optional segmentation masks produced by
PoseLandmarker.Declaration
Swift
struct PoseLandmarkerResult: Sendable, Equatable -
A single user-drawn stroke for interactive image segmentation.
Declaration
Swift
struct Stroke: Sendable, Equatable, Hashable -
A dense matrix of
Floatvalues stored in column-major order.Declaration
Swift
struct TransformMatrix: Sendable, Equatable, Hashable