← See All Custom Node Packs

Inspire Pack

791
By Dr.Lt.Data
Updated 7 months ago
View on GitHub →See Common Issues →

Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

This extension provides various nodes to support Lora Block Weight, Regional Nodes, Backend Cache, Prompt Utils, List Utils and the Impact Pack.

Available Nodes

DWPreprocessor_Provider_for_SEGS //Inspire

DWPreprocessor_Provider_for_SEGS //Inspire Node Documentation

Overview

The DWPreprocessor_Provider_for_SEGS //Inspire node is part of the ComfyUI-Inspire-Pack and serves as a preprocessor within the SEGS (Stable Explicit Guidance System) framework. It is specifically designed to assist in preprocessing tasks that are integral to using the DW Preprocessor with ControlNet in the SEGS workflow.

Functionality

This node is responsible for estimating poses in images using the DW Preprocessor. It detects hands, bodies, and faces within images using configurable settings and outputs a preprocessor object suitable for downstream tasks in the ComfyUI environment.

Inputs

The DWPreprocessor_Provider_for_SEGS node accepts the following inputs:

  • detect_hand: A boolean input that allows the detection of hands in the image. Options are "enable" or "disable", with "enable" as the default.
  • detect_body: A boolean input that allows the detection of bodies in the image. Options are "enable" or "disable", with "enable" as the default.
  • detect_face: A boolean input that allows the detection of faces in the image. Options are "enable" or "disable", with "enable" as the default.
  • resolution_upscale_by: A float input that defines the factor by which to upscale the resolution of the image for processing. Default is 1.0, with a range from 0.5 to 100.
  • bbox_detector: A selection input that allows users to choose the bounding box detector model for processing. Available options are "yolox_l.torchscript.pt", "yolox_l.onnx", "yolo_nas_l_fp16.onnx", "yolo_nas_m_fp16.onnx", and "yolo_nas_s_fp16.onnx", with "yolox_l.onnx" as the default.
  • pose_estimator: A selection input for the pose estimation model, with choices including "dw-ll_ucoco_384_bs5.torchscript.pt", "dw-ll_ucoco_384.onnx", and "dw-ll_ucoco.onnx". The default is "dw-ll_ucoco_384_bs5.torchscript.pt".

Outputs

The node produces the following output:

  • SEGS_PREPROCESSOR: This is the preprocessor object configured with the provided input settings, ready for use in subsequent nodes within the ComfyUI workflow.

Usage in ComfyUI Workflows

  • Pose Estimation: The node is primarily used to prepare images for pose estimation tasks. In workflows where precise detection of body parts is required, this node can efficiently preprocess images to enhance the accuracy of pose estimation operations.
  • Integration with ControlNet: The output of this node is optimized for use with ControlNet in SEGS workflows, providing seamless integration for users looking to apply advanced guidance models in their image generation processes.
  • Configurable Detection: Users can easily customize which body parts (hands, bodies, faces) to detect, making this node flexible for different use cases.

Special Features and Considerations

  • Model Selection: The node supports multiple models for both bounding box detection and pose estimation. Users can choose models based on performance requirements or compatibility with other nodes in their workflow.
  • Resolution Upscaling: The ability to upscale image resolution before processing can significantly improve detection results, especially in images with small or fine details.
  • Dependency Requirements: The node requires the installation of "ComfyUI's ControlNet Auxiliary Preprocessors." Ensure these are installed to utilize the node fully.

This node is an integral part of workflows involving pose estimation and advanced guidance in image processing tasks, offering flexibility and precision in preprocessing operations.