DominantColors
A graphical tool for retrieving images by dominating colors
Main Steps
- Select a folder (containing subfolders) with images
- Extract the dominant colors & save them as index (*.csv)
- Enter the color as hex or use the color picker
- Find images dominated by that color
Installation
The application is based on pyqt 5.12
and clusters the images by color using sklearn
. It was developed with python 3.8
but any python version > 3 should be fine!
Simply clone this repository ...
git clone https://github.com/ch-sa/DominantColors.git
... and install the dependencies using pip
or conda
:
pip install -r requirements.txt
The gui is started by executing python3 setup.py
Possible Future Features
- Improve index updating
- Also consider second & third dominant color
- Speed up index generation process
Credits
- Image Gallery [modified] (https://codepen.io/vhanla/pen/PxjZvj)
- Color Clustering [modified] (tba.)
- Test Images (https://www.pexels.com/)