ComfyUI > Nodes > Human Parts Detector > 🧍 Human Parts mask generator

ComfyUI Node: 🧍 Human Parts mask generator

Class Name

HumanParts

Category
Metal3d
Author
Metal3d (Account age: 5731days)
Extension
Human Parts Detector
Latest Updated
2025-03-07
Github Stars
0.02K

How to Install Human Parts Detector

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

🧍 Human Parts mask generator Description

Generate precise human body masks for editing and segmentation tasks in digital artwork using DeepLabV3+ model.

🧍 Human Parts mask generator:

The HumanParts node is a powerful tool designed to generate masks for various human parts within an image. Utilizing the DeepLabV3+ model with a ResNet50 backbone, this node is adept at identifying and isolating different segments of the human body, such as the face, hair, arms, and clothing, among others. The model, trained by Keras-io and converted to ONNX format, ensures high accuracy and efficiency in segmentation tasks. This node is particularly beneficial for AI artists and designers who need to manipulate or analyze specific human features in their digital artwork. By providing precise masks, it allows for detailed editing and creative control over human elements in images, enhancing the overall quality and customization of visual projects.

🧍 Human Parts mask generator Input Parameters:

image

This parameter represents the input image that you want to process. It is the source from which the node will generate masks for the human parts. The image should be in a compatible format that the node can process effectively.

background

This boolean parameter determines whether the background should be included in the mask. By default, it is set to exclude the background, focusing only on human parts. Inverting this mask will highlight the human parts instead.

face

This boolean parameter, enabled by default, specifies whether the face, including features like eyes and mouth, should be included in the mask. It allows for detailed facial segmentation, which is crucial for portrait editing and facial recognition tasks.

hair

This parameter controls whether hair, including facial hair like beards and mustaches, should be part of the mask. It is useful for tasks that require hair styling or color changes in digital images.

glasses

This parameter indicates whether glasses, including sunglasses, should be included in the mask. It helps in scenarios where eyewear needs to be highlighted or modified separately from the face.

top-clothes

This parameter specifies whether top clothing items like shirts and T-shirts should be included in the mask. It is essential for fashion-related projects where clothing needs to be isolated for design or color adjustments.

bottom-clothes

This parameter determines whether bottom clothing items like pants and shorts should be part of the mask. It is useful for styling and fashion applications where lower body garments need to be edited.

torso-skin

This parameter controls whether the skin of the torso, excluding clothes but possibly including the neck, should be included in the mask. It is important for tasks that require skin tone adjustments or body art applications.

left-arm

This parameter specifies whether the left arm, excluding clothing but possibly including the hand, should be part of the mask. It is useful for tasks that involve arm tattoos or skin tone modifications.

right-arm

This parameter indicates whether the right arm, excluding clothing but possibly including the hand, should be included in the mask. It is similar to the left-arm parameter but focuses on the opposite limb.

left-leg

This parameter determines whether the left leg, excluding clothing but possibly including the foot, should be part of the mask. It is essential for tasks that involve leg tattoos or skin tone adjustments.

🧍 Human Parts mask generator Output Parameters:

mask

The output parameter mask is a binary or multi-channel image that represents the segmented human parts as specified by the input parameters. This mask is crucial for isolating specific areas of the human body in the input image, allowing for targeted editing and manipulation. The mask can be used to apply effects, change colors, or perform other modifications on the selected human parts, providing a high level of control and precision in digital artwork.

🧍 Human Parts mask generator Usage Tips:

  • To achieve the best results, ensure that the input image is clear and well-lit, as this will help the model accurately identify and segment the human parts.
  • Experiment with different combinations of input parameters to isolate specific features or clothing items, which can be particularly useful for fashion design or character customization tasks.

🧍 Human Parts mask generator Common Errors and Solutions:

"Model loading failed"

  • Explanation: This error may occur if the ONNX model file is missing or corrupted.
  • Solution: Ensure that the model file is correctly placed in the expected directory and is not corrupted. Re-download the model if necessary.

"Invalid image format"

  • Explanation: The input image is not in a supported format or is corrupted.
  • Solution: Convert the image to a supported format such as JPEG or PNG and ensure it is not corrupted before processing.

"Parameter not recognized"

  • Explanation: An input parameter name is incorrect or misspelled.
  • Solution: Double-check the parameter names and ensure they match the expected input parameters exactly as specified in the documentation.

🧍 Human Parts mask generator Related Nodes

Go back to the extension to check out more related nodes.
Human Parts Detector
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 Playground, enabling artists to harness the latest AI tools to create incredible art.