MediaPipeTasksDecision Framework Reference

Delegate

enum Delegate : UInt, @unchecked Sendable

The hardware delegate to run MediaPipe. If not set, the default CPU delegate is used.

  • CPU

    CPU execution.

    Declaration

    Swift

    case CPU = 0
  • GPU

    GPU execution.

    Declaration

    Swift

    case GPU = 1