# 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.
- `
  ### [image](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/RunningMode.md.txt#/c:_E_MPPRunningMode_MPPRunningModeImage)

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

  #### Declaration

  Swift

      case image

- `
  ### [liveStream](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/RunningMode.md.txt#/c:_E_MPPRunningMode_MPPRunningModeLiveStream)

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

  #### Declaration

  Swift

      case liveStream

- `
  ### [video](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/RunningMode.md.txt#/c:_E_MPPRunningMode_MPPRunningModeVideo)

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

  #### Declaration

  Swift

      case video

- `
  ### [init(rawValue:)](https://developers.google.com/edge/api/mediapipe/swift/vision/Enums/RunningMode.md.txt#/s:So14MPPRunningModeV8rawValueABSgSu_tcfc)

  `

  #### Declaration

  Swift

      init?(rawValue: UInt)