Unzip the contents into your ComfyUI\custom_nodes
folder and restart ComfyUI and refresh your browser. The new node should show up under image
in the UI. This node will take the provided image
and combines a few of the other nodes I have to make it a single step process to make a contrast mask from it. This can be used for background replacement if you have an image with a good depth mask applied such as one that came from MiDaS or just a normal high contrast background.
These are a collection of nodes I have made to help me in my workflows. None of the nodes here require any external dependencies or packages that aren't part of the base ComfyUI install so they should be plug and play.
Download the node's .zip file
Extract it into your ComfyUI\custom_nodes
folder
Restart your ComfyUI server instance
Refresh the browse you are using for ComfyUI
Have fun!
Let me know if you see any issues.