Sapiens2 Pointmap → GLB:
The Sapiens2Pointmap node is designed to process and interpret 3D point maps from input images, specifically focusing on human pose estimation. This node leverages advanced deep learning techniques to extract and visualize keypoints from images, providing a detailed representation of human poses. It is particularly useful for applications that require precise human body tracking and analysis, such as animation, virtual reality, and augmented reality. By converting image data into a structured point map, the node facilitates the understanding and manipulation of human poses in a digital environment, enhancing the capabilities of AI artists in creating dynamic and interactive content.
Sapiens2 Pointmap → GLB Input Parameters:
keypoints
This parameter represents the 2D keypoints extracted from the input image, which are essential for generating the 3D point map. The keypoints are typically provided in a structured format, containing coordinates and confidence scores for each detected point. These keypoints serve as the foundation for the node's processing, influencing the accuracy and detail of the resulting point map.
draw_skeleton
This boolean parameter determines whether the skeleton should be drawn on the output image. When set to true, the node will connect the keypoints with lines to form a skeleton, providing a visual representation of the human pose. The default value is true, allowing users to easily visualize the pose structure.
draw_points
This boolean parameter controls whether individual keypoints should be drawn on the output image. Enabling this option highlights each detected keypoint, making it easier to identify specific parts of the pose. The default value is true, ensuring that keypoints are visible in the output.
draw_face
This boolean parameter specifies whether facial keypoints should be included in the visualization. When enabled, the node will draw keypoints related to facial features, enhancing the detail of the pose representation. The default value is true, providing a comprehensive view of the pose.
point_radius
This integer parameter defines the radius of the drawn keypoints on the output image. It allows users to adjust the size of the keypoints for better visibility, with a default value of 3 and a range from 1 to 20.
stick_width
This integer parameter sets the width of the lines used to draw the skeleton. Users can customize the thickness of the skeleton lines to suit their visualization needs, with a default value of 3 and a range from 1 to 20.
score_threshold
This float parameter determines the minimum confidence score required for a keypoint to be considered valid and drawn. It helps filter out low-confidence detections, ensuring that only reliable keypoints are visualized. The default value is 0.3, with a range from 0.0 to 1.0.
Sapiens2 Pointmap → GLB Output Parameters:
Image
The output is an image with the visualized 3D point map, including the drawn skeleton and keypoints if enabled. This image provides a clear representation of the detected human pose, allowing users to analyze and utilize the pose data for various creative and technical applications.
Sapiens2 Pointmap → GLB Usage Tips:
- Ensure that the input keypoints are accurate and well-structured to achieve the best results from the node.
- Adjust the
score_thresholdparameter to filter out unreliable keypoints, especially in images with complex backgrounds or low lighting. - Use the
draw_skeletonanddraw_pointsoptions to customize the visualization according to your project's needs, enhancing the clarity and detail of the output.
Sapiens2 Pointmap → GLB Common Errors and Solutions:
"loaded checkpoint is task='xyz', expected 'pointmap'"
- Explanation: This error occurs when the loaded model checkpoint does not match the expected task type for point map generation.
- Solution: Ensure that the correct model checkpoint is loaded, specifically one that is configured for the 'pointmap' task.
"KeyError: 'keypoints_2d'"
- Explanation: This error indicates that the input data does not contain the required 'keypoints_2d' field, which is necessary for processing.
- Solution: Verify that the input data includes the 'keypoints_2d' field with the appropriate structure and values before passing it to the node.
