/comfyui_bmab

BMAB for ComfyUI

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

comfyui_bmab

BMAB is an custom nodes of ComfyUI and has the function of post-processing the generated image according to settings. If necessary, you can find and redraw people, faces, and hands, or perform functions such as resize, resample, and add noise. You can composite two images or perform the Upscale function.

You can download sample.json.

https://github.com/portu-sim/comfyui_bmab/blob/main/resources/examples/example.json

Gallery

instagram
facebook

Hand Detailing Sample

BMAB detects and enlarges the upper body of a person and performs Openpose at high resolution to fix incorrectly drawn hands.

Installation

You can install comfyui_bmab using ComfyUI-Manager easily.
You will need to install a total of three custom nodes.

Grounding DINO Installation

Transfomer v4.40.0 has Grounding DINO implementation.
https://github.com/huggingface/transformers/releases/tag/v4.40.0 Now BMAB use transformer for detecting object. No installation required.

Install Manually

I can't describe about your python environment. I will write the installation instructions assuming you have some knowledge of Python.

Windows portable User

cd ComfyUI/custom_nodes
git clone https://github.com/portu-sim/comfyui_bmab.git
cd comfyui_bmab
python_embeded\python.exe -m pip install -r requirements.txt
cd ..

You will need to install two additional custom nodes required by comfyui_bmab.

cd ComfyUI/custom_nodes
git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git
cd comfyui_controlnet_aux
python_embeded\python.exe -r pip install requirements.txt
cd ..
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
cd ComfyUI_IPAdapter_plus
python_embeded\python.exe -m pip install -r requirements.txt
cd ..

Other python environment

cd ComfyUI/custom_nodes
git clone https://github.com/portu-sim/comfyui_bmab.git
cd comfyui_bmab
pip install -r requirements.txt
cd ..

You will need to install two additional custom nodes required by comfyui_bmab.

cd ComfyUI/custom_nodes
git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git
cd comfyui_controlnet_aux
pip install -r requirements.txt
cd ..
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
cd ComfyUI_IPAdapter_plus
pip install -r requirements.txt
cd ..

Run ComfyUI