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:
- average shades of colors
- percentage color composition
- average saturation and lightness
- 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 details)
Built Distribution
File details
Details for the file colorstats-1.2.0.tar.gz
.
File metadata
- Download URL: colorstats-1.2.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8c5f5edda3788a618ed517324ddeddd16d6dcbec5ab341552623c38be21cb4 |
|
MD5 | 24c9c649604811608c7856ce3a27dfd5 |
|
BLAKE2b-256 | a87ea7c8132dd4f4d2ba68d14597ab587d081efa7a719b216de9e5baf0836ed5 |
File details
Details for the file colorstats-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: colorstats-1.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926e9a1fb9e07beb60c7e6acba1a717eac9e707cb2a0ce8521170df107e001dc |
|
MD5 | 4fbc02cc8000b2c00b6a3a6b1802270d |
|
BLAKE2b-256 | 7b2a9b055601dcd3c46dfe0c676b3bdd260744ccb4ec0d42286081efeb9919a4 |