mp.tasks.vision.RunningMode

MediaPipe vision task running mode.

IMAGE The mode for running a mediapipe vision task on single image inputs.
VIDEO The mode for running a mediapipe vision task on the decoded frames of an input video.
LIVE_STREAM The mode for running a mediapipe vision task on a live stream of input data, such as from camera.

IMAGE <VisionTaskRunningMode.IMAGE: 'IMAGE'>
LIVE_STREAM <VisionTaskRunningMode.LIVE_STREAM: 'LIVE_STREAM'>
VIDEO <VisionTaskRunningMode.VIDEO: 'VIDEO'>