From b387f63534b692d3fc3f278ec12909121fb373a1 Mon Sep 17 00:00:00 2001 From: Oleksandr Yalynskyi <37076939+45uee@users.noreply.github.com> Date: Sun, 1 Sep 2024 23:27:52 +0300 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e30059b..41316c3 100644 --- a/README.md +++ b/README.md @@ -1 +1,17 @@ -# ComfyUI-Color_Transfer \ No newline at end of file +# ComfyUI-Color_Transfer + +Implementation of color transfer using KMeans algorithm + +## Installation + +Clone repo to your custom_nodes folder +```git clone https://github.com/45uee/ComfyUI-Color_Transfer.git``` + +## Usage + +1. Create a "Color Palette" node containing RGB values of your desired colors. Color must be defined in this format: [(Value, Value, Value), ...], for example [(30, 32, 30), (60, 61, 55), (105, 117, 101), (236, 223, 204)] +2. Create a "Palette Transfer" node, and connect your image and palette as input, that's all + +## Example + +![alt text](https://github.com/45uee/ComfyUI-Color_Transfer/blob/main/color_transfer_example.JPG)