mp.tasks.vision.drawing_styles.face_landmarker.running_mode_lib.validate_running_mode

Validates the running mode of the mediapipe vision task.

running_mode The running mode of the mediapipe vision task.
packet_callback The user-defined result callback.

ValueError If packet callback is provided in image or video mode or missing in live stream mode.