ComfyUI > Nodes > ComfyUI-SAM3DBody > SAM 3D Body: Process Image

ComfyUI Node: SAM 3D Body: Process Image

Class Name

SAM3DBodyProcess

Category
SAM3DBody/processing
Author
pznodes (Account age: 2240days)
Extension
ComfyUI-SAM3DBody
Latest Updated
2025-12-21
Github Stars
0.22K

How to Install ComfyUI-SAM3DBody

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

SAM 3D Body: Process Image Description

Transforms 2D images into 3D body models, enhancing digital art with human detection and segmentation.

SAM 3D Body: Process Image:

The SAM3DBodyProcess node is designed to facilitate the processing of 3D body models from images containing human subjects. This node leverages advanced machine learning models to detect and segment human figures within an image, providing a robust solution for AI artists who wish to incorporate 3D body modeling into their creative workflows. By utilizing this node, you can efficiently transform 2D images into detailed 3D representations, enhancing the depth and realism of your digital art projects. The node's primary goal is to streamline the process of human detection and segmentation, making it accessible even to those without extensive technical expertise. It offers a range of configurable parameters that allow you to tailor the processing to your specific needs, ensuring high-quality results that align with your artistic vision.

SAM 3D Body: Process Image Input Parameters:

model

This parameter represents the loaded SAM 3D Body model, which is essential for processing the input image. It is typically obtained from a preceding load node and serves as the foundation for the 3D body processing tasks.

image

The image parameter is the input image containing the human subject you wish to process. This image serves as the source material from which the node will detect and segment the human figure, transforming it into a 3D model.

bbox_threshold

The bbox_threshold parameter is a floating-point value that sets the confidence threshold for human detection within the image. It ranges from 0.0 to 1.0, with a default value of 0.8. A higher threshold means the node will only consider detections with higher confidence, potentially reducing false positives but also possibly missing less obvious detections.

nms_threshold

This parameter, also a floating-point value, determines the non-maximum suppression threshold for detection. It ranges from 0.0 to 1.0, with a default value of 0.3. It helps in refining the detection results by suppressing overlapping bounding boxes, ensuring that only the most relevant detections are retained.

inference_type

The inference_type parameter allows you to choose the mode of inference: "full" (body and hand), "body" only, or "hand" only. The default setting is "full," which provides a comprehensive analysis of both the body and hands, but you can adjust it based on your specific requirements.

detector_name

This parameter specifies the human detector to use, with options including "none" and "vitdet." The default is "none," meaning no additional detector is used unless specified. If you choose "vitdet," ensure that the appropriate detector path is provided.

segmentor_name

The segmentor_name parameter allows you to select the segmentation model, with options "none" and "sam2." The default is "none," indicating no segmentation model is applied unless specified. If you opt for "sam2," ensure the segmentor path is correctly set.

SAM 3D Body: Process Image Output Parameters:

3D_model

The primary output of the SAM3DBodyProcess node is the 3D_model, which is a detailed 3D representation of the human subject detected and segmented from the input image. This output is crucial for artists looking to integrate realistic 3D models into their digital creations, providing a foundation for further artistic manipulation and enhancement.

SAM 3D Body: Process Image Usage Tips:

  • To achieve optimal results, ensure that the input image is clear and well-lit, as this will improve the accuracy of human detection and segmentation.
  • Experiment with different bbox_threshold and nms_threshold values to find the best balance between detection accuracy and false positive reduction for your specific images.

SAM 3D Body: Process Image Common Errors and Solutions:

"Model not loaded"

  • Explanation: This error occurs when the SAM 3D Body model is not properly loaded before processing the image.
  • Solution: Ensure that the model is correctly loaded using the appropriate load node before executing the SAM3DBodyProcess node.

"Invalid image input"

  • Explanation: This error indicates that the input image is either missing or not in a supported format.
  • Solution: Verify that the input image is correctly specified and is in a compatible format such as JPEG or PNG.

"Detection confidence too low"

  • Explanation: This error suggests that the confidence threshold is set too high, resulting in no detections.
  • Solution: Lower the bbox_threshold value to allow for more detections, especially in images where the subject is less prominent.

SAM 3D Body: Process Image Related Nodes

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