Detects dominant color of an image
Project description
Dominant color detection
Simple package which detects colors in a provided image. Works best with already segmented images.
Usage
from dominant_color_detection import detect_colors
k = 3
img_path = '/path/to/your/image.jpg'
colors, ratios = detect_colors(img_path, k)
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
File details
Details for the file dominant_color_detection-0.1.8.tar.gz.
File metadata
- Download URL: dominant_color_detection-0.1.8.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9e7aa6c310213b48240d046fed0411b2e295b16225213908ece027a568358e7
|
|
| MD5 |
b057930a64328b29248eb06a5f042172
|
|
| BLAKE2b-256 |
e3cac8a819f2175eb7b0ad6487f5a4affaa609b1d421fcff09e9e24db1f96338
|