A Flask app that scans an uploaded image and returns a palette of the most prevalent colours.
Using the following Bash commands, you can install the app and it run it at http://localhost:8000 (requirements.txt is yet to be made as this project is incomplete)
# 1. clone the repo:
$ git clone https://github.com/jacobrussell-eng/flask-image-palette-reader.git
$ cd flask-image-palette-reader
# 2. install Python packages:
$ pip install -r requirements.txt
# 3. run:
$ python app.py
- Numpy
- Pillow (PIL)
- Relative Luminance Formula - Wikipedia\