Module: mp.tasks.vision.drawing_utils
MediaPipe solution drawing utils.
Modules
detections_module module: Detections data class.
face_landmarker module: MediaPipe face landmarker task.
landmark_module module: Landmark data class.
math module: This module provides access to the mathematical functions defined by the C standard.
Classes
class DrawingSpec
Functions
draw_axis(...): Draws the 3D axis on the image.
draw_detection(...): Draws the detction bounding box and keypoints on the image.
draw_landmarks(...): Draws the landmarks and the connections on the image.
plot_landmarks(...): Plot the landmarks and the connections in matplotlib 3d.
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)
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-05 UTC."],[],[]]