MediaPipeTasksVision Framework Reference

Enumerations

The following declarations are available globally.

  • The brush mode representing the intent of a user-drawn segmentation stroke.

    Declaration

    Swift

    enum BrushMode: Sendable, Equatable, Hashable, CaseIterable
  • Landmark connection topologies of the 478-point MediaPipe face mesh, exposed as [Connection] arrays of landmark index pairs.

    Declaration

    Swift

    enum FaceLandmarksConnections
  • Indices (0...20) for the 21 anatomical hand keypoints emitted by HandLandmarker (CMC = carpometacarpal, MCP = metacarpophalangeal, IP = interphalangeal, PIP = proximal interphalangeal, DIP = distal interphalangeal).

    Declaration

    Swift

    enum HandLandmark: Sendable, Equatable, Hashable, CaseIterable, RawRepresentable