Files
2023-04-02 20:12:19 -04:00

22 lines
702 B
Markdown

# [Rembg](https://github.com/danielgatis/rembg) Background Removal Node for [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
1. Clone to your `custom_nodes` folder in ComfyUI:
```
git clone https://github.com/Jcd1230/rembg-comfyui-node.git
```
2. Install `rembg[gpu]` (recommended) or `rembg`, depending on GPU support, to your ComfyUI virtual environment. E.g.:
```
pip install rembg[gpu]
```
To use, just look for the *Image Remove Background (rembg)* node.
![Demonstration of the rembg node](https://i.imgur.com/12NEuyx.png)
## Acknowledgements
Thanks to [WASasquatch's Node Suite](https://github.com/WASasquatch/was-node-suite-comfyui) for great examples and a couple helper functions.