MediaPipeTasksVision Framework Reference

MaskDataType

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

The underlying type of the segmentation mask.

  • Represents the native float * type.

    Declaration

    Swift

    case float32
  • Represents the native UInt8 * type.

    Declaration

    Swift

    case uInt8
  • Declaration

    Swift

    init?(rawValue: UInt)