Skip to main content
The SDPoseDrawKeypoints node takes pose estimation data (keypoints) and draws them as a visual skeleton on a blank canvas. It allows you to selectively draw different parts of the pose, such as the body, hands, face, and feet, with customizable line widths and point sizes. The resulting image can be used for visualization or as input for other nodes that require a pose image.

Inputs

ParameterDescriptionData TypeRequiredRange
keypointsThe pose keypoint data to be drawn. This data typically comes from a pose detection node.POSE_KEYPOINTYes-
draw_bodyControls whether the main body skeleton is drawn (default: True).BOOLEANNo-
draw_handsControls whether the hand keypoints are drawn (default: True).BOOLEANNo-
draw_faceControls whether the face keypoints are drawn (default: True).BOOLEANNo-
draw_feetControls whether the foot keypoints are drawn (default: False).BOOLEANNo-
stick_widthThe width of the lines used to draw the body skeleton (default: 4).INTNo1 to 10
face_point_sizeThe size of the points used to draw the face keypoints (default: 3).INTNo1 to 10
score_thresholdThe minimum confidence score a keypoint must have to be drawn. Keypoints with scores below this value are ignored (default: 0.3).FLOATNo0.0 to 1.0
Note: If the keypoints input is empty or None, the node will output a blank 64x64 image.

Outputs

Output NameDescriptionData Type
outputAn image with the drawn pose keypoints. The image dimensions match the canvas_height and canvas_width specified in the input keypoint data.IMAGE
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 09b91930bd88c64aefe32b2b742562537408a13882ad59398fb2e8bcd12fa4eb