Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angristan/palette
Extract color palette from an image with k-means and k-NN // Project for the AI/ML class at Hanyang University
https://github.com/angristan/palette
color-palette flask kmeans knn opencv pandas python scikit-learn
Last synced: 3 months ago
JSON representation
Extract color palette from an image with k-means and k-NN // Project for the AI/ML class at Hanyang University
- Host: GitHub
- URL: https://github.com/angristan/palette
- Owner: angristan
- License: mit
- Created: 2019-12-03T15:50:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-21T17:57:22.000Z (over 1 year ago)
- Last Synced: 2024-10-14T04:43:24.692Z (3 months ago)
- Topics: color-palette, flask, kmeans, knn, opencv, pandas, python, scikit-learn
- Language: Python
- Homepage: https://palette.fly.dev
- Size: 164 KB
- Stars: 30
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](doc/blog)" as part the [assignment](doc/instructions-assignement-blog-post-video.pdf).
![](https://i.imgur.com/VhBKYdA.png)
## Setup
Requirements: Python 3
```sh
git clone [email protected]:angristan/palette.git
cd palette
pip install -r requirements.txt
flask run
```Palette is running on http://localhost:5000/.