Skip to main content

Package for processing color data from images

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colorstats-1.2.0.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

colorstats-1.2.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page