Skip to main content

Video coder for psychological experiments

Project description

ViCodePy – Video coder in Python for Experimental Psychology

PyPI Version License

ViCodePy is an application for doing video coding, written entirely in Python, meant essentially for use in Experimental Psychology. ViCodePy looks like a video editor, but it is not possible to alter the video file loaded into it. Instead, it is possible to add temporal annotations and save them as CSV (comma-separated value) files.

Installation

The application can be installed via:

python -m pip install vicodepy

Usage

Loading the video file

After launching the application (vicodepy.exe on Windows, vicodepy on Linux), a video file can be loaded via the menu entry File⇒Open…. Almost all popular video formats are supported.

Playing/stopping the video and moving around it

Once the video is loaded, it can be played and stopped using the space key. The left and right arrow keys can be used for going backward and forward, respectively, by one frame in the video. Positioning the cursor (a black triangle) with the mouse is also possible by clicking and dragging the cursor on the timeline.

Annotations

Annotations can be defined by pressing the enter key. This will mark one of the borders of the annotation. The other border can be defined by using the arrow keys or by clicking and dragging the cursor. Once the cursor is at the desired position, type enter again. This will open a dialog window for choosing the label and the color of the annotation. New labels can be defined in the dialog window by simply typing them. The new created labels will appear in the list of proposed labels when new annotations will be subsequently created.

Once an annotation is created, it is possible to change its borders by double-clicking on the annotation. Two handles will appear, one at the left border of the annotation and the other at the right border. Click on a border handle and move it with the left and right arrow keys.

The creation of an annotation can be aborted, once it is start by either typing the Escape key or by clicking on the Abort button in the pop-up window.

The timeline can be zoomed in and out by using the scroll wheel of the mouse.

The annotations can be saved as a CSV file via the menu item File⇒Export CSV….

Configuration

(more to come later)

Contributing

The source code will be available in a public repository at the Gitlab instance of the University of Grenoble Alpes.

Authors

Copyright (C) 2024 Esteban Milleret (esteban.milleret@etu.univ-grenoble-alpes.fr)

Copyright (C) 2024 Rafael Laboissière (rafael.laboissiere@cnrs.fr)

License

This project is licensed under the terms of the GPL 3.0 or later.

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

vicodepy-0.8.1.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

vicodepy-0.8.1-py3-none-any.whl (61.9 kB view details)

Uploaded Python 3

File details

Details for the file vicodepy-0.8.1.tar.gz.

File metadata

  • Download URL: vicodepy-0.8.1.tar.gz
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for vicodepy-0.8.1.tar.gz
Algorithm Hash digest
SHA256 ccc836a5fe1d3578b062f342af4743f14114ca080bda12e6cc287a4c09d84b59
MD5 0043732a1eba39cf2d9d336ea59f8db8
BLAKE2b-256 9ef36df11715f627c34e7271936f2e44650df1ca1f7dde80b0f6a70b4609ff37

See more details on using hashes here.

File details

Details for the file vicodepy-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: vicodepy-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 61.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for vicodepy-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bea95d1567f88630e65dc2a293fe4011ce026e2a6ca7745d43d4d15b687d6dd8
MD5 d3d3810310051f96292169bff7fc99a0
BLAKE2b-256 9b510d8e8853a9070dcf890ee306e59e41f8977d766ffc4c0acbb19fa7ddc5ab

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