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
Close
Hashes for dominant_color_detection-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9e7aa6c310213b48240d046fed0411b2e295b16225213908ece027a568358e7 |
|
MD5 | b057930a64328b29248eb06a5f042172 |
|
BLAKE2b-256 | e3cac8a819f2175eb7b0ad6487f5a4affaa609b1d421fcff09e9e24db1f96338 |