MediaPipeTasksVision Framework Reference

RunningMode

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

MediaPipe vision task running mode. A MediaPipe vision task can be run with three different modes: image, video and live stream.

  • The mode for running a mediapipe vision task on single image inputs.

    Declaration

    Swift

    case image
  • The mode for running a mediapipe vision task on a live stream of input data, such as from the camera.

    Declaration

    Swift

    case liveStream
  • The mode for running a mediapipe vision task on the decoded frames of a video.

    Declaration

    Swift

    case video
  • Declaration

    Swift

    init?(rawValue: UInt)