Skip to main content

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)

Metadata

Release files for dominant-color-detection 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dominant-color-detection 0.1.8
File Size Uploaded
dominant_color_detection-0.1.8.tar.gz 3.1 kB Details

Release files / dominant_color_detection-0.1.8.tar.gz

Download URL dominant_color_detection-0.1.8.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b9e7aa6c310213b48240d046fed0411b2e295b16225213908ece027a568358e7
BLAKE2b-256 checksum
How to use checksums
e3cac8a819f2175eb7b0ad6487f5a4affaa609b1d421fcff09e9e24db1f96338
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.1.8 This release

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page