Skip to main content

Analize color evolution in ROIs of videos

Project description

DOI PyPI - License PyPI - Version

colorevo

A Graphical User Interface to register color changes in regions of interest (ROI) of a video source.

The data source can either be a pre-recorded video file or a live stream from an attached camera. The user can interactively define any number of ROIs of arbitrary shapes for which the evolution of their average Hue, Saturation and Brightness values will be independently computed and plotted as a function of time.

The data processing can take place live (i.e while the video is being acquired) and/or later on based on the saved video (which allows the user to re-analyze the same data with different ROIs, for example).

The code is Free Software under the GPL, and written in pure Python. It uses OpenCV for accessing the video source. The Graphical user interface is based on PyQt and PyqtGraph. The video sources are internally converted and stored with HDF5 and processed with numpy.

Install

Using uv (recommended):

  1. Install uv (follow the official installation instructions)
  2. Use uv to install the latest release of colorevo:
    uv tool install colorevo
    

Tip: to install the latest development version, replace colorevo by git+https://gitlab.com/c-p/colorevo.git@master in the previous command

Using pip

  1. Create a python virtual environment (e.g. with conda, or pyhon -m venv or ...) and activate it.
  2. Run pip install colorevo

Launch

Run:

colorevo

Credits

This software was originally developed for the CROMAPOC project (DPI2015-68917-R) of the Ministerio de Economia y Competitividad (MINECO, Spain)

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

colorevo-1.0.0.tar.gz (71.9 kB view details)

Uploaded Source

Built Distribution

colorevo-1.0.0-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file colorevo-1.0.0.tar.gz.

File metadata

  • Download URL: colorevo-1.0.0.tar.gz
  • Upload date:
  • Size: 71.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.17

File hashes

Hashes for colorevo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ef0d8a0953f11f9fc9589cc07fbc7a1a73c34f43c1f0434f9a2d638665835dc8
MD5 4b9be3990bbfaab8d71a40d557899031
BLAKE2b-256 6a078fda32e7753809a94f9f39face8488d164b5b822c5fcfc1cac4603cd6a89

See more details on using hashes here.

File details

Details for the file colorevo-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for colorevo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b0af6133a007dbd30cd84460835d699bd672598f51042348c54c12c798a0287
MD5 893e24a398d7f5b77e761ed3f023d08b
BLAKE2b-256 e31b874e71bbce259b1b4945ce7abb309c9770ae9031aed601448b55c4af2406

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page