Exctract color scheme from given PNG or JPG file using Kmeans algorithm
Clone the repo
git clone https://github.com/zereaykut/Extract-Color-Scheme
cd Extract-Color-Scheme
Create python environment
python -m venv venv
Activate environment in Mac/Linux
source venv/bin/activate
Activate environment in Windows
.\venv\Scripts\activate
Install required packages
pip install -r requirements.txt
Run application
-c : number of color outputs
-i : image path
-n : name of json output file
python exctract_color_scheme.py -c 6 -i sample.jpg -n sample