ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.91k stars 188 forks source link

Youtube Badge

ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.

NOTICE

Custom Nodes

Detector nodes

ControlNet, IPAdapter

Mask operation

Detailer nodes

SEGS Manipulation nodes

Pipe nodes

PK_HOOK

DETAILER_HOOK

Iterative Upscale nodes

TwoSamplers nodes

Image Utils

Switch nodes

Wildcards nodes

Regional Sampling

Impact KSampler

Batch/List Util

Logics (experimental)

HuggingFace nodes

Etc nodes

MMDet nodes (DEPRECATED) - Don't use these nodes

Feature

Deprecated

Ultralytics models

How to activate 'MMDet usage' (DEPRECATED)

Installation

Install via ComfyUI-Manager (Recommended)

Manual Install (Not Recommended)

  1. cd custom_nodes
  2. git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack.git
  3. cd ComfyUI-Impact-Pack
  4. (optional) git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack
    • Impact Pack will automatically download subpack during its initial launch.
  5. (optional) python install-manual.py
    • Impact Pack will automatically install its dependencies during its initial launch.
    • For the portable version, you should execute the command ..\..\..\python_embeded\python.exe install-manual.py to run the installation script.
  6. Restart ComfyUI

Package Dependencies (If you need to manual setup.)

Config example

Other Materials (auto-download on initial startup)

Troubleshooting page

How to use (DDetailer feature)

1. Basic auto face detection and refine exapmle.

simple

simple-orig simple-refined

2. 2Pass refine (restore a severely damaged face)

2pass-workflow-example

2pass-example-original 2pass-example-middle 2pass-example-result

3. Face Bbox(bounding box) + Person silhouette segmentation (prevent distortion of the background.)

combination-workflow-example combination-example-original combination-example-refined

4. Iterative Upscale

upscale-workflow-example

combination-example-original combination-example-refined

5. Interactive SAM Detector (Clipspace)

samdetector-dialog

samdetector-result

Others Tutorials

Credits

ComfyUI/ComfyUI - A powerful and modular stable diffusion GUI.

dustysys/ddetailer - DDetailer for Stable-diffusion-webUI extension.

Bing-su/dddetailer - The anime-face-detector used in ddetailer has been updated to be compatible with mmdet 3.0.0, and we have also applied a patch to the pycocotools dependency for Windows environment in ddetailer.

facebook/segment-anything - Segmentation Anything!

hysts/anime-face-detector - Creator of anime-face_yolov3, which has impressive performance on a variety of art styles.

open-mmlab/mmdetection - Object detection toolset. dd-person_mask2former was trained via transfer learning using their R-50 Mask2Former instance segmentation model as a base.

biegert/ComfyUI-CLIPSeg - This is a custom node that enables the use of CLIPSeg technology, which can find segments through prompts, in ComfyUI.

BlenderNeok/ComfyUI-TiledKSampler - The tile sampler allows high-resolution sampling even in places with low GPU VRAM.

BlenderNeok/ComfyUI_Noise - The noise injection feature relies on this function and slerp code for noise variation

WASasquatch/was-node-suite-comfyui - A powerful custom node extensions of ComfyUI.

Trung0246/ComfyUI-0246 - Nice bypass hack!