Just a demo of different dominant color extraction algorithms
Currently implemented:
- kmeans
- median cut quantization
Usage
usage: image_palette.py [-h] image {kmeans,mediancut} ...
Test different color extraction algorithms.
positional arguments:
image
{kmeans,mediancut} Algorithms
kmeans Using K-Means clustering
mediancut Using a median cut quantization
optional arguments:
-h, --help show this help message and exit
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dominant_color-0.0.8.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dominant_color-0.0.8.tar.gz.
File metadata
- Download URL: dominant_color-0.0.8.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-requests/2.22.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79dc1f35afbbb83b9f9bd9ffadca02837a74dfc3c0fc4664ac022695ba36b590
|
|
| MD5 |
8fa6a91bcdbf3a2c6e2718c7f9ef64cd
|
|
| BLAKE2b-256 |
8fc2ea8970c7e8ded4d967a8ebea33efe98744d4959e78a6846222333a79b221
|
File details
Details for the file dominant_color-0.0.8-py3-none-any.whl.
File metadata
- Download URL: dominant_color-0.0.8-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-requests/2.22.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
592d048a3acb43c213a345b87bd349de9115a639c09efb121ebf17d11b1765c3
|
|
| MD5 |
58761df676bfa70dbdfbb15a9a495443
|
|
| BLAKE2b-256 |
cef00df41cbebce807db437910747fabde9afc78b49989dff0be83a30e1fc75b
|