A three channel BGR image represented as numpy ndarray.
landmark_list
A list of normalized landmarks to be annotated on the image.
connections
A list of landmark index tuples that specifies how landmarks to
be connected in the drawing.
landmark_drawing_spec
Either a DrawingSpec object or a mapping from hand
landmarks to the DrawingSpecs that specifies the landmarks' drawing
settings such as color, line thickness, and circle radius. If this
argument is explicitly set to None, no landmarks will be drawn.
connection_drawing_spec
Either a DrawingSpec object or a mapping from hand
connections to the DrawingSpecs that specifies the connections' drawing
settings such as color and line thickness. If this argument is explicitly
set to None, no landmark connections will be drawn.
is_drawing_landmarks
Whether to draw landmarks. If set false, skip drawing
landmarks, only contours will be drawed.
Raises
ValueError
If one of the followings:
a) If the input image is not three channel BGR.
b) If any connetions contain invalid landmark index.
[[["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-11-05 UTC."],[],[]]