MediaPipeTasksVision Framework Reference

MPPRunningMode

enum MPPRunningMode : NSUInteger {}

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

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    MPPRunningModeLiveStream