<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/vision/drawing_utils.py) |

MediaPipe solution drawing utils.

## Classes

[`class DrawingSpec`](https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/DrawingSpec)

## Functions

[`draw_axis(...)`](https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/draw_axis): Draws the 3D axis on the image.

[`draw_detection(...)`](https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/draw_detection): Draws the detction bounding box and keypoints on the image.

[`draw_landmarks(...)`](https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/draw_landmarks): Draws the landmarks and the connections on the image.

[`plot_landmarks(...)`](https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/drawing_utils/plot_landmarks): Plot the landmarks and the connections in matplotlib 3d.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| BLACK_COLOR | `(0, 0, 0)` |
| BLUE_COLOR | `(255, 0, 0)` |
| GREEN_COLOR | `(0, 128, 0)` |
| RED_COLOR | `(0, 0, 255)` |
| WHITE_COLOR | `(224, 224, 224)` |

<br />