ComfyUI > Nodes > ComfyUI-Sapiens2 > Sapiens2 Draw Pose

ComfyUI Node: Sapiens2 Draw Pose

Class Name

Sapiens2DrawPose

Category
Sapiens2
Author
kijai (Account age: 2864days)
Extension
ComfyUI-Sapiens2
Latest Updated
2026-05-06
Github Stars
0.05K

How to Install ComfyUI-Sapiens2

Install this extension via the ComfyUI Manager by searching for ComfyUI-Sapiens2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Sapiens2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Sapiens2 Draw Pose Description

Visualize human poses with keypoints and skeletons on images for AI artists and developers using Sapiens2 model.

Sapiens2 Draw Pose:

The Sapiens2DrawPose node is designed to visually represent human poses by drawing keypoints and skeletons on images. This node is particularly useful for AI artists and developers who want to visualize pose estimation results in a clear and aesthetically pleasing manner. By leveraging the capabilities of the Sapiens2 model, this node can draw detailed human poses, including body, face, and hand keypoints, on a given image. The node provides flexibility in terms of what elements to draw, such as skeletons, points, and facial features, allowing users to customize the output according to their needs. This visualization can be crucial for understanding pose estimation results, debugging models, or creating artistic renderings of human figures.

Sapiens2 Draw Pose Input Parameters:

keypoints

This parameter accepts the keypoints data that represents the human pose to be drawn. The keypoints are typically obtained from a pose estimation model and include coordinates for various body parts. The accuracy and detail of the drawn pose depend on the quality of these keypoints.

draw_skeleton

This boolean parameter determines whether the skeleton should be drawn on the image. When set to True, lines connecting keypoints are drawn to represent the human skeleton. This helps in visualizing the structure and orientation of the pose. The default value is True.

draw_points

This boolean parameter controls whether individual keypoints should be drawn as points on the image. Enabling this option provides a clearer view of each keypoint's location. The default value is True.

draw_face

This boolean parameter specifies whether facial keypoints should be included in the drawing. When enabled, it adds facial details to the visualization, which can be important for applications focusing on facial expressions or head orientation. The default value is True.

point_radius

This integer parameter sets the radius of the drawn keypoints. It allows users to adjust the size of the points for better visibility or aesthetic preference. The value ranges from 1 to 20, with a default of 3.

stick_width

This integer parameter defines the width of the lines used to draw the skeleton. Adjusting this value can enhance the clarity of the skeleton, especially in high-resolution images. The value ranges from 1 to 20, with a default of 3.

score_threshold

This float parameter sets the minimum confidence score required for a keypoint to be drawn. Keypoints with scores below this threshold are ignored, which helps in filtering out unreliable detections. The value ranges from 0.0 to 1.0, with a default of 0.3 and a step of 0.01.

Sapiens2 Draw Pose Output Parameters:

Image

The output is an image with the drawn pose, including keypoints and skeletons as specified by the input parameters. This visual output can be used for further analysis, presentation, or artistic purposes, providing a clear depiction of the estimated human pose.

Sapiens2 Draw Pose Usage Tips:

  • Ensure that the keypoints input is accurate and well-structured to achieve the best visualization results.
  • Adjust the point_radius and stick_width parameters to match the resolution and size of your input image for optimal clarity.
  • Use the score_threshold parameter to filter out low-confidence keypoints, which can improve the overall quality of the pose visualization.

Sapiens2 Draw Pose Common Errors and Solutions:

"Keypoints data is missing or invalid"

  • Explanation: This error occurs when the keypoints input is not provided or is incorrectly formatted.
  • Solution: Ensure that the keypoints data is correctly generated by the pose estimation model and is passed to the node in the expected format.

"OpenCV not installed"

  • Explanation: The node requires OpenCV for drawing operations, and this error indicates that OpenCV is not installed in your environment.
  • Solution: Install OpenCV using a package manager like pip (pip install opencv-python) to enable drawing capabilities.

"Invalid parameter value"

  • Explanation: This error arises when one or more input parameters are set to values outside their allowed range.
  • Solution: Double-check the parameter values to ensure they fall within the specified ranges and adjust them accordingly.

Sapiens2 Draw Pose Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Sapiens2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Sapiens2 Draw Pose