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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c80889d5ec478cbee67447d443ab6c6a17691ca1854dd42728f1e7ce0cd2733 |
|
MD5 | d45c88138beea7148004862d61132234 |
|
BLAKE2b-256 | 6ed5f599a02dbe68ca78bfcec7df330a8c52c3b07961fc0896094fbe56d127b4 |