MediaPipeTasksText Framework Reference

Delegate

enum Delegate : UInt, @unchecked Sendable

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

  • CPU

    Undocumented

    Declaration

    Swift

    case CPU = 0
  • GPU

    Undocumented

    Declaration

    Swift

    case GPU = 1