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
BMAB now supports Flux 1.
![](https://private-user-images.githubusercontent.com/141602933/356139296-dfa36eb1-6978-47e7-a0d0-67c82639cf52.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTM5MDQsIm5iZiI6MTcyNDQxMzYwNCwicGF0aCI6Ii8xNDE2MDI5MzMvMzU2MTM5Mjk2LWRmYTM2ZWIxLTY5NzgtNDdlNy1hMGQwLTY3YzgyNjM5Y2Y1Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QxMTQ2NDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMzhkY2Y0MDIyZGU4OGEzZDQzM2Y2MjViOWU1NjVhNzViODJlOGZjYTlkNWEzYWU3YThmNmMxNjZhNzY4Y2U2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.S8AdRXG_e9Byo9D3ShszCeVZ-FvkmJg0innd_eaWn_0)
BMAB detects and enlarges the upper body of a person and performs Openpose at high resolution to fix incorrectly drawn hands.
You can install comfyui_bmab using ComfyUI-Manager easily.
You will need to install a total of three custom nodes.
- comfyui_bmab
- comfyui_controlnet_aux
- https://github.com/Fannovel16/comfyui_controlnet_aux.git
- Fannovel16, Thanks for excellent code.
- ComfyUI_IPAdapter_plus
- https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
- cubiq, Thanks for excellent code.
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.
I can't describe about your python environment. I will write the installation instructions assuming you have some knowledge of Python.
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 ..
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