Skip to main content

Just a demo of different dominant color extraction algorithms

Project description

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

Project details


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 hashes)

Uploaded Source

Built Distribution

dominant_color-0.0.8-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page