Skip to main content

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)

Source distribution for dominant_color 0.0.8
File Size Uploaded
dominant_color-0.0.8.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dominant_color 0.0.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page