Skip to main content

Analyze 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.

Installation

With uv (recommended):

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

    (*) Tip: to install the latest development version, replace the previous command by

    uv tool install -U git+https://gitlab.com/c-p/colorevo.git@master
    

With pip

This is also a valid installation method, but you need to handle virtual environments manually:

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

Launching the GUI

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.3.tar.gz (71.9 kB view details)

Uploaded Source

Built Distribution

colorevo-1.0.3-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for colorevo-1.0.3.tar.gz
Algorithm Hash digest
SHA256 61a2185f665e021a4aafbb7311a414631f2c96b49745ad757c05a89550b8960d
MD5 e59f04143c80e663bdd902625cacb33a
BLAKE2b-256 9e0aa7a00bde5645931b4f999c428e6c125660124907c681acd5dc6b262038cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colorevo-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46ca1a695f7388cb5f3a4f2279aad7ed91dd241b1b0cb3877731b7949a2410a7
MD5 292c6c68d18cb1b94c5d645b2346fc26
BLAKE2b-256 35eb5b2b7ead9b9fd7ea103083ec1707aeef5c645a7d65fdfece7609526763f9

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