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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35fe4007807d7e9c0482be56ba8664c86e16bdc49e44b35ec7f45c28bcfaf763 |
|
MD5 | b1d79e06d18aeea11a99f3b932ca1011 |
|
BLAKE2b-256 | 2010e4de41473e227637c9d4926f1a1973c9771a848b422ebb4c6e010c3032e8 |