Visit ComfyUI Online for ready-to-use ComfyUI environment
Extract specific body parts from images based on pose estimation data for precise manipulation in AI art and development.
The tri3d-extract_pose_part
node is designed to facilitate the extraction of specific body parts from an image based on pose estimation data. This node is particularly useful for AI artists and developers who need to isolate and manipulate certain regions of an image, such as the torso, arms, or legs, for further processing or artistic effects. By leveraging pose estimation data, the node can accurately identify and extract regions around body parts, allowing for precise control over the image manipulation process. This capability is beneficial for applications in animation, virtual reality, and augmented reality, where understanding and manipulating human poses is crucial. The node's functionality is enhanced by its ability to define extraction regions as a percentage of the image size, providing flexibility in how much of the surrounding area is included in the extraction.
The image
parameter is the input image from which body parts will be extracted. It serves as the primary source for the node's operations, and its quality and resolution can impact the accuracy of the extraction process. This parameter is required and must be provided in a compatible image format.
The pose_json
parameter is a string that specifies the path to a JSON file containing pose estimation data. This data is crucial for identifying the locations of body parts within the image. The default value is "dwpose/keypoints/input.json"
, and it should be formatted correctly to ensure accurate extraction.
The width_pad
parameter is a float that determines the horizontal padding around the extracted body part, expressed as a percentage of the image width. This allows for additional context to be included in the extraction. The default value is 1.0
, with a minimum of 0.0
and a maximum of 100.0
, adjustable in increments of 0.01
.
The height_pad
parameter is a float that specifies the vertical padding around the extracted body part, expressed as a percentage of the image height. Similar to width_pad
, it provides flexibility in the amount of surrounding area included. The default value is 1.0
, with a range from 0.0
to 100.0
, adjustable in increments of 0.01
.
The shoulders
parameter is a boolean that indicates whether the shoulder region should be included in the extraction. By default, this is set to False
. Enabling this option can be useful when the shoulder area is of particular interest for the task at hand.
The image
output parameter provides the resulting image after the specified body parts have been extracted. This image will contain only the regions of interest, as defined by the input parameters, allowing for further processing or analysis.
The coords
output parameter is a string that contains the coordinates of the extracted region in the format "xmin, xmax, ymin, ymax"
. These coordinates can be used to understand the location of the extracted parts within the original image or to reposition them later.
pose_json
file is correctly formatted and contains accurate pose data to improve the precision of the extraction process.width_pad
and height_pad
parameters to include more or less of the surrounding area, depending on the specific requirements of your project.shoulders
parameter to include the shoulder region if it is relevant to your task, such as in fashion design or virtual try-on applications.pose_json
path is correct and that the file exists at the specified location. Ensure the file is accessible and properly formatted.width_pad
or height_pad
values are set outside the allowed range.0.0
to 100.0
.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.