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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dominant_color-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1b3daeac96ac35d596b446a499b96cdcee2480edf82a20cccd0f156ef28b8677
MD5 4ffaa4e2af0ef01c56defeb44b836a62
BLAKE2b-256 0afb9045dd000e1407fc01df4b592573ba71b51a08fee259510abc2fa6c652a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dominant_color-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac5934bb3c8e35099ac67db67e81bca298ad5ea6a734e7ce2e9eb3671209a5e
MD5 691a0eeb248cdf307c13291887d09f3b
BLAKE2b-256 3e4d990afe9a84cddde6b0ddafb2f15620eb45a4d770719290462fba9df6c57a

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