Skip to main content

A Python package to extract main colors from images.

Project description

ColorExtractor

ColorExtractor is a Python package that allows you to extract main colors from an image using clustering techniques and visualize them along with their ratios.

Installation

You can install ColorExtractor via pip:

pip install color-extractor

Features

  • Extract main colors from an image using K-means clustering.
  • Calculate color ratios based on the number of pixels.
  • Visualize main colors along with their ratios.
  • Support for both RGB and HSV color spaces.

License

This format maintains the consistency and readability of the README.md file.

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

color-extractor-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

color_extractor-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file color-extractor-1.0.0.tar.gz.

File metadata

  • Download URL: color-extractor-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.6

File hashes

Hashes for color-extractor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d9b2416ef5caf29dacb84b4b1c0b143486b3dacccf42843486e7fe9b6c020b22
MD5 d78753a997c37bbb478eb527cd71148c
BLAKE2b-256 80c611d645b5834a146a230f944c2008dd80196241dbd54076513c27c831c5d3

See more details on using hashes here.

File details

Details for the file color_extractor-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for color_extractor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dd08b8843792a4cc8479fa60cc0263c88d1b2c2b64cfce6ca2d1af8bc8a36fb
MD5 87f5dbc6aff81667205b1a99a318b08a
BLAKE2b-256 fa6430ee401b0a97619921ff83a4eb0861af0993754e93dfe4da97514d984325

See more details on using hashes here.

Supported by

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