Nodes Browser
ComfyDeploy: How ComfyUI Color Detection Nodes works in ComfyUI?
What is ComfyUI Color Detection Nodes?
A collection of nodes for detecting color in images, leveraging RGB and LAB color spaces. These nodes aim to distinguish colored images from black and white, including those with color tints.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI Color Detection Nodes
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI Color Detection Nodes
A collection of nodes for detecting color in images, leveraging RGB and LAB color spaces. These nodes aim to distinguish colored images from black and white, including those with color tints.
Installation
- Git clone the repo into
ComfyUI/custom_nodes
. - Or, install with ComfyUI Manager.
- Alternatively, download the
.py
files into yourComfyUI/custom_nodes
folder. Ensurerequirements.txt
is installed for full functionality.
Limitations
Both RGB and LAB color detection methods have challenges in reliably differentiating between color-tinted black and white pictures and fully colored images. RGB Color Detection tends to be more reliable for detecting color tints but operates slower. In contrast, LAB Color Detection offers faster processing times but may not be as effective for nuanced tint detection.
Features
RGB Color Detection
Analyzes RGB color space deviations to determine image coloration. Offers customizable pixel percentage consideration for enhanced accuracy, especially useful for tinted images.
LAB Color Detection
Utilizes LAB color space, focusing on A and B channels differences to identify colored images, providing quicker analysis times.