Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Sapiens2-Easy > Sapiens2 Pose Advanced

ComfyUI Node: Sapiens2 Pose Advanced

Class Name

Sapiens2PoseAdvanced

Category
Sapiens2/Advanced
Author
Bogyie (Account age: 1906days)
Extension
ComfyUI-Sapiens2-Easy
Latest Updated
2026-06-22
Github Stars
0.02K

How to Install ComfyUI-Sapiens2-Easy

Install this extension via the ComfyUI Manager by searching for ComfyUI-Sapiens2-Easy
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Sapiens2-Easy 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 Pose Advanced Description

Sophisticated pose estimation tool with advanced control and customization for detailed human pose analysis.

Sapiens2 Pose Advanced:

The Sapiens2PoseAdvanced node is a sophisticated tool designed to enhance the capabilities of pose estimation using the Sapiens2 framework. This node is tailored for advanced users who require more control and customization over the pose detection process. It leverages the Sapiens2PoseInference class to perform detailed pose analysis on images, allowing for the detection and rendering of keypoints and skeletal structures. The node is particularly beneficial for AI artists and developers who need precise pose data for applications such as animation, virtual reality, and augmented reality. By providing advanced configuration options, the node enables users to fine-tune the pose detection process, ensuring high accuracy and adaptability to various scenarios. The main goal of the Sapiens2PoseAdvanced node is to offer a comprehensive and flexible solution for pose estimation, making it an essential tool for projects that demand detailed human pose analysis.

Sapiens2 Pose Advanced Input Parameters:

model

The model parameter expects an instance of Sapiens2PoseModel. This parameter is crucial as it defines the pose model to be used for inference. The model should be pre-trained and compatible with the Sapiens2 framework. It impacts the accuracy and efficiency of the pose detection process. There are no specific minimum or maximum values, but it must be a valid Sapiens2PoseModel instance.

image

The image parameter is the input image on which pose estimation will be performed. It should be a valid image file that the model can process. The quality and resolution of the image can significantly affect the results, with higher quality images generally yielding more accurate pose estimations. There are no specific constraints on the image size, but it should be compatible with the model's input requirements.

keypoint_threshold

The keypoint_threshold parameter determines the confidence threshold for detecting keypoints. It is a floating-point value that influences which keypoints are considered valid based on their detection confidence. A higher threshold may result in fewer keypoints being detected, but with higher confidence, while a lower threshold may detect more keypoints with varying confidence levels. The default value is typically set to balance accuracy and detection rate.

bbox_threshold

The bbox_threshold parameter sets the confidence threshold for bounding box detection. Similar to the keypoint threshold, it is a floating-point value that affects the detection of bounding boxes around detected poses. Adjusting this threshold can help in filtering out less confident detections, ensuring that only reliable bounding boxes are considered. The default value is chosen to optimize detection accuracy.

nms_threshold

The nms_threshold parameter is used for non-maximum suppression during pose detection. It is a floating-point value that helps in eliminating redundant bounding boxes by considering the overlap between them. A lower threshold may result in more bounding boxes being suppressed, while a higher threshold may retain more overlapping boxes. The default value is set to achieve a balance between precision and recall.

radius

The radius parameter defines the radius of the circles used to render keypoints on the output image. It is an integer value that affects the visual representation of keypoints, with larger values resulting in bigger circles. This parameter is important for visual clarity, especially when displaying the detected keypoints on the image. The default value is typically set to provide clear visibility without overwhelming the image.

thickness

The thickness parameter specifies the thickness of the lines used to draw the skeletal structure connecting the keypoints. It is an integer value that influences the visual representation of the skeleton, with larger values resulting in thicker lines. This parameter is crucial for ensuring that the skeletal structure is clearly visible on the output image. The default value is chosen to provide a good balance between visibility and aesthetics.

fallback_full_image_bbox

The fallback_full_image_bbox parameter is a boolean flag that determines whether to use the full image as a bounding box if no bounding boxes are detected. This parameter is useful in scenarios where the pose detection might fail to identify any bounding boxes, allowing the entire image to be considered for pose estimation. The default value is typically set to False, but it can be enabled to ensure that pose detection is attempted even in challenging conditions.

flip_test

The flip_test parameter is a boolean flag that indicates whether to perform a flip test during pose estimation. This test involves flipping the image and performing pose detection again to improve accuracy. The results from the flipped image are then combined with the original results. Enabling this parameter can enhance the robustness of the pose detection process, especially in cases where symmetry might affect the results. The default value is usually set to False to optimize processing time.

show_points

The show_points parameter is a boolean flag that determines whether to display the detected keypoints on the output image. Enabling this parameter allows for a visual representation of the keypoints, which can be useful for analysis and debugging. The default value is typically set to True to provide immediate visual feedback on the pose detection results.

show_skeleton

The show_skeleton parameter is a boolean flag that indicates whether to display the skeletal structure connecting the keypoints on the output image. This parameter is important for visualizing the overall pose and understanding the relationships between different keypoints. The default value is usually set to True to provide a comprehensive view of the detected pose.

bboxes

The bboxes parameter is an optional input that allows users to provide pre-detected bounding boxes for the pose estimation process. This can be useful in scenarios where bounding boxes are already available from another detection process, allowing the node to focus solely on pose estimation within those regions. There are no specific constraints on the format, but it should be compatible with the model's requirements.

Sapiens2 Pose Advanced Output Parameters:

pose_image

The pose_image output parameter provides the final image with the detected pose rendered on it. This image includes the keypoints and skeletal structure, if enabled, offering a visual representation of the pose estimation results. It is useful for immediate visual feedback and analysis of the detected pose.

preview

The preview output parameter is similar to the pose_image, but it includes additional overlays or enhancements for better visualization. This output is particularly useful for presentations or demonstrations where a more polished visual representation is required.

openpose_json

The openpose_json output parameter provides a JSON representation of the detected pose, including keypoints and their coordinates. This output is essential for further processing or integration with other systems that require pose data in a structured format. It allows for easy extraction and manipulation of pose information for various applications.

keypoint_mask

The keypoint_mask output parameter is a mask image that highlights the detected keypoints on the original image. This mask can be used for further image processing tasks or as a reference for understanding the distribution of keypoints across the image.

raw

The raw output parameter contains the raw data from the pose detection process, including keypoint coordinates and scores. This data is valuable for advanced users who need to perform custom analysis or processing on the pose estimation results.

Sapiens2 Pose Advanced Usage Tips:

  • Ensure that the input image is of high quality and resolution to improve the accuracy of pose detection.
  • Adjust the keypoint_threshold and bbox_threshold parameters to fine-tune the detection sensitivity based on your specific requirements.
  • Enable the flip_test parameter for improved accuracy in scenarios where symmetry might affect the results.
  • Use the fallback_full_image_bbox parameter to ensure pose detection is attempted even when no bounding boxes are detected.
  • Experiment with the radius and thickness parameters to achieve the desired visual representation of keypoints and skeletal structures.

Sapiens2 Pose Advanced Common Errors and Solutions:

Sapiens2 pose checkpoint not found: <checkpoint_path>

  • Explanation: This error occurs when the specified checkpoint file for the pose model is not found at the given path.
  • Solution: Verify that the checkpoint path is correct and that the file exists. Ensure that the path is accessible and that there are no typos in the file name or directory.

Sapiens2 pose detector not found: <detector_path>

  • Explanation: This error indicates that the specified detector file for the pose model is missing.
  • Solution: Check the detector path for accuracy and ensure that the file is present. Confirm that the path is correctly specified and that the file is not deleted or moved.

Only the official <POSE_KEYPOINT_COUNT>-keypoint Sapiens2 pose models are supported.

  • Explanation: This error occurs when the loaded model does not match the expected number of keypoints supported by the node.
  • Solution: Use a compatible Sapiens2 pose model that matches the expected keypoint count. Verify that the model configuration aligns with the node's requirements.

Checkpoint appears to be arch <detected_arch>, but <arch> was requested.

  • Explanation: This error arises when there is a mismatch between the architecture of the loaded checkpoint and the requested architecture.
  • Solution: Ensure that the correct checkpoint file is used for the desired architecture. Verify that the model's architecture matches the specified configuration.

Sapiens2 Pose Advanced Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Sapiens2-Easy
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 Pose Advanced