An open API service indexing awesome lists of open source software.

https://github.com/kvantvs/get_most_used_colors

Gets most used color from image
https://github.com/kvantvs/get_most_used_colors

colors image-processing python

Last synced: 14 days ago
JSON representation

Gets most used color from image

Awesome Lists containing this project

README

          

# Get_most_used_colors
Gets most used color from image

### How to run
In script `get_most_colors.py` change variable `file` to your file path and run the script.

![scr1](screenshots/2021-09-27_23-35-55_dist125.png)
![scr2](screenshots/2021-09-28_00-05-03_dist125.png)

### Libs to install
`pip install Pillow`
`pip install PyQt5`

#### P.S. Script with average colors
`get_most_colors_with_average_colors.py` doesn't seems to be usefull. I experimenting there with calculating average color in each color group and output it as result. But the colors are issued faded.

![scr3](screenshots/2021-09-28_00-44-00_dist125_усредненные_цвета_.png)