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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for colorevo-1.0.1.tar.gz
Algorithm Hash digest
SHA256 968b1c08cddc09ac036309fec6b40d86ef683e287386073f309f7d3bd190796c
MD5 0d886b95b51e0bf7b022da026aab6a16
BLAKE2b-256 566c08ec42b05c42a31ebc5ad5022096c5ccce9120a541ef79a5e1a0383ab3aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colorevo-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00b2dde71c25f5716f2ff1a410b7017455e38e1e52474d9cbfc1d979848a3495
MD5 72011224b99744237c8e564ec0db0c2f
BLAKE2b-256 18a0258fbb7969be94d9d442e303ebf421edbd00c8c35835234d54a638608e61

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