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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: colorevo-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 24f7e6162409e8f9db0ce087f899e9bb1d3a36812f3c3fb1f903c7e11f6a71b2
MD5 b71e75feb67c0fca099ba53273a950b3
BLAKE2b-256 a87344477985945700ac2268aa596608073c2561c70d659dc4fd1f4a6e4ec7d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colorevo-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fdb544ad89b82c9fd32de5196cd3a30e6febf8e739071de518aa000e79ae5eb
MD5 1406f2dc104f45e891bcdc35214753c1
BLAKE2b-256 e005d0966eeb73bcca796e3d948a75d5fdb062766cd16e0927fb3f8a4c816fe4

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