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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9b2416ef5caf29dacb84b4b1c0b143486b3dacccf42843486e7fe9b6c020b22
|
|
| MD5 |
d78753a997c37bbb478eb527cd71148c
|
|
| BLAKE2b-256 |
80c611d645b5834a146a230f944c2008dd80196241dbd54076513c27c831c5d3
|
File details
Details for the file color_extractor-1.0.0-py3-none-any.whl.
File metadata
- Download URL: color_extractor-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dd08b8843792a4cc8479fa60cc0263c88d1b2c2b64cfce6ca2d1af8bc8a36fb
|
|
| MD5 |
87f5dbc6aff81667205b1a99a318b08a
|
|
| BLAKE2b-256 |
fa6430ee401b0a97619921ff83a4eb0861af0993754e93dfe4da97514d984325
|