Module: mp.tasks.vision.drawing_styles.face_landmarker.mediapipe_c_utils

Common MediaPipe CTypes definitions and utilities.

Modules

atexit module: allow programmer to define multiple exit functions to be executedupon normal program termination.

Classes

class CFunction: Stores the ctypes signature information for a C function.

class CStatusFunction: Stores the ctypes signature for a status-returning C function.

class MpStatus: Status codes for MediaPipe C API functions.

Functions

convert_to_exception(...): Returns an exception based on the MpStatus code, or None if MP_OK.

handle_status(...): Checks the MpStatus and raises an error if not kMpOk.

is_shutdown(...)