Skip to main content

ColorStats

Python package for processing color data from images.

Installation

Install colorstats with:

pip3 install colorstats

Overview

ColorStats allows users to process pixel data from images in order to determine various statistics/attributes of the color composition of images. It also allows users to determine the similarity of a set of images using these statistics.

Functionality/Features

Single Image
  • generate the average shade of each general color (red, blue, etc. ) present in an image and their standard deviations
  • calculate average saturation and lightness
  • calculate the percentage color composition of the image
Sets of Images
  • calculate average and standard deviation of saturation and lightness across all images
  • calculate similarity based on:
    1. average shades of colors
    2. percentage color composition
    3. average saturation and lightness
    4. weighted some of the above values

Metadata

Release files for colorstats 1.2.0

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

Source distribution (sdist)

Source distribution for colorstats 1.2.0
File Size Uploaded Provenance Actions
colorstats-1.2.0.tar.gz 4.7 kB Without provenance Details for colorstats-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for colorstats 1.2.0
File Interpreter ABI Platform Actions
colorstats-1.2.0-py3-none-any.whl Python 3 none any Details for colorstats-1.2.0-py3-none-any.whl

Total release size: 11.0 kB

Release files / colorstats-1.2.0.tar.gz

Download URL colorstats-1.2.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f8c5f5edda3788a618ed517324ddeddd16d6dcbec5ab341552623c38be21cb4
BLAKE2b-256 checksum
How to use checksums
a87ea7c8132dd4f4d2ba68d14597ab587d081efa7a719b216de9e5baf0836ed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

Release files / colorstats-1.2.0-py3-none-any.whl

Download URL colorstats-1.2.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
926e9a1fb9e07beb60c7e6acba1a717eac9e707cb2a0ce8521170df107e001dc
BLAKE2b-256 checksum
How to use checksums
7b2a9b055601dcd3c46dfe0c676b3bdd260744ccb4ec0d42286081efeb9919a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

Security for colorstats 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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