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
Metadata
Release files for dominant_color 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dominant_color-0.0.8.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dominant_color-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / dominant_color-0.0.8.tar.gz
| Download URL | dominant_color-0.0.8.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79dc1f35afbbb83b9f9bd9ffadca02837a74dfc3c0fc4664ac022695ba36b590
|
|
BLAKE2b-256 checksum How to use checksums |
8fc2ea8970c7e8ded4d967a8ebea33efe98744d4959e78a6846222333a79b221
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.22.0
|
Release files / dominant_color-0.0.8-py3-none-any.whl
| Download URL | dominant_color-0.0.8-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
592d048a3acb43c213a345b87bd349de9115a639c09efb121ebf17d11b1765c3
|
|
BLAKE2b-256 checksum How to use checksums |
cef00df41cbebce807db437910747fabde9afc78b49989dff0be83a30e1fc75b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.22.0
|