MediaPipeTasksVision Framework Reference

MaskDataType

enum MaskDataType : UInt, @unchecked Sendable

The underlying type of the segmentation mask.

  • Represents the native UInt8 * type.

    Declaration

    Swift

    case uInt8 = 0
  • Represents the native float * type.

    Declaration

    Swift

    case float32 = 1