Synopsis
Paleta is a programmatic color palette generator that uses k-means clustering to return the dominant color palette in an image. It also has user profiles with secure logins.
Stack
Python backend, PostgreSQL database, Flask server, SQLalchemy, Jinja templating
Features
-
Submit Image
-
User Profile
-
Image Gallery
-
Search for images by similar color
Installation
Install the dependencies and start the server.
$ cd paleta
$ pip install virtualenv
$ virtualenv env
$ source env/bin/activate
(env) $ pip install -r requirements.txt
(env) $ python server.py
Tests
There are tests covering all routes and the k-means computations.
Contributors
Please feel free to fork this project or to submit pull requests.
License
This project is licensed under the terms of the MIT license.