Enumerations
The following declarations are available globally.
-
Execution modes for MediaPipe Audio Tasks.
Declaration
Swift
@frozen enum AudioRunningMode: Sendable, Equatable, Hashable, CaseIterable, RawRepresentable, BitwiseCopyable -
Utility namespace for computing cosine similarity between
Embeddingvalues.Declaration
Swift
enum CosineSimilarity -
Hardware acceleration delegates supported by MediaPipe Tasks.
Declaration
Swift
enum Delegate: Sendable, Equatable, Hashable, RawRepresentable -
Underlying source representation of an
MPImage.Declaration
Swift
@frozen enum MPImageSourceType: Sendable, Equatable, Hashable, CaseIterable, RawRepresentable, BitwiseCopyable -
Underlying element type of a MediaPipe segmentation mask.
Declaration
Swift
@frozen enum MaskDataType: Sendable, Equatable, Hashable, CaseIterable, RawRepresentable, BitwiseCopyable -
Mutually exclusive representations of a segmentation region of interest.
Declaration
Swift
@frozen enum Kind: Sendable, Equatable, Hashable -
Single modality item within a multimodal content sequence.
Declaration
Swift
enum TaskPart: Sendable, Equatable, Hashable -
Error codes thrown by the MediaPipe Tasks library.
Declaration
Swift
enum TasksErrorCode: Sendable, Equatable, Hashable, CaseIterable, RawRepresentable -
Execution modes for MediaPipe Vision Tasks.
Declaration
Swift
@frozen enum VisionRunningMode: Sendable, Equatable, Hashable, CaseIterable, RawRepresentable, BitwiseCopyable