MediaPipeTasksVision Framework Reference

Enumerations

The following declarations are available globally.

  • Specifies the brush mode used for a stroke.

    Declaration

    Swift

    enum BrushMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • The delegate to run MediaPipe. If the delegate is not set, the default delegate CPU is used.

    Declaration

    Swift

    enum Delegate: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • The enum containing the 21 hand landmarks.

    Declaration

    Swift

    enum HandLandmark: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • Running mode of the MediaPipe task.

    Declaration

    Swift

    enum MPPCoreRunningMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • The underlying type of the segmentation mask.

    Declaration

    Swift

    enum MaskDataType: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • MediaPipe vision task running mode. A MediaPipe vision task can be run with three different modes: image, video and live stream.

    Declaration

    Swift

    enum RunningMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • This enum specifies error codes for errors thrown by iOS MediaPipe Task Library.

    Declaration

    Swift

    enum TasksErrorCode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable