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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ee76bfe4b8f94cf8d5334b1b24d6afe575b878aa21cb0ee89464d8863c63180 |
|
MD5 | 442697b727f2fce3964e7807d5582495 |
|
BLAKE2b-256 | b4a56814fead4a27da37f81cf7f827da43bfe2f18cf2744c33bb2a9ff4638034 |