注册
节点库 › Color Image Detection

Color Image Detection

作者:Dr. Unreal版本:v1.0.0

A Python package for detecting whether images are colored or black and white using two different color spaces: RGB and LAB. The package includes two classes: - `ColorDetection`: Analyzes images in the RGB color space, calculating mean deviation from pixel color mean to determine color presence. - `LABColorDetection`: Analyzes images in the LAB color space, assessing color presence by analyzing differences between the A and B channels. Features: - Detects colored vs. black and white images. - Supports analysis of image tensors. - Adjustable thresholds for color detection. - Uses a percentage of highest deviations for more robust detection. - Efficient processing with PyTorch and OpenCV integration.

下载 WanAI 启动器 GitHub 仓库 ↗
提示:点击「一键安装」需本机已安装并注册 wanai:// 协议的 WanAI 启动器;未安装请先点击「下载 WanAI 启动器」。
安装方式一:插件仓库地址
https://github.com/DrMWeigand/ComfyUI_ColorImageDetection
安装方式二:git clone 安装
git clone https://github.com/DrMWeigand/ComfyUI_ColorImageDetection
安装方式三:命令行安装
comfy node install colorimagedetection