Skip to content

Exctract color scheme from given PNG or JPG file using Kmeans algorithm

License

Notifications You must be signed in to change notification settings

zereaykut/Extract-Color-Scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extract Color Scheme

Exctract color scheme from given PNG or JPG file using Kmeans algorithm

Run Application

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

About

Exctract color scheme from given PNG or JPG file using Kmeans algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages