Extract color palette from an image with k-means and k-NN // Project for the AI/ML class at Hanyang University
Last updated Jun 11, 2026
31
Stars
9
Forks
0
Issues
0
Stars/day
Attention Score
16
Language breakdown
No language data available.
▸ Files
click to expand
README
Palette
Palette is a website where you can upload an image and get the dominant colors (using k-means clustering) as well as the associated color names (using k-nearest neighbor).
This is a project for the Introduction to Artificial Intelligence at Hanyang University under professor Youngjoon Won.
Motivation, technical details and methodology cam be found in our so-called "blog post" as part the assignment.

Setup
Requirements: Python 3
git clone git@github.com:angristan/palette.git
cd palette
pip install -r requirements.txt
flask run
Palette is running on http://localhost:5000/.
🔗 More in this category