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.6.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

dominant_color-0.0.6-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file dominant_color-0.0.6.tar.gz.

File metadata

  • Download URL: dominant_color-0.0.6.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for dominant_color-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a14f9ed7635c29b0a108da1e2ee214b784daeb8881e6d805b899f8087cf7d3f8
MD5 843ccfbb5ea44548846d9b66aa08e302
BLAKE2b-256 52d46664c879bbf61ebcb98ea9946aae2b5a05c0da5f826b3f147158593bd75d

See more details on using hashes here.

File details

Details for the file dominant_color-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for dominant_color-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d3b6c78a15cb2061d0f478f783bdf1bf7812fbfe62d9b5408d9d73676644e1f3
MD5 32d091570201dcd939c3a116437fb4b9
BLAKE2b-256 7d53b00392199e7ef1f1d609b705db05922730b66fe3e7bb11bd9e0c08f3a779

See more details on using hashes here.

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