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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8168854a58b001fe2e23a13e358a41bb077df25681bb438902026a7fa85d472 |
|
MD5 | a08bb52eba56cae23f137f37973bcb14 |
|
BLAKE2b-256 | 428c2fd9aa05c0cdf211e3bd940c818e3b85e540428014ae227b2f3ae217886c |