Gemvid, an open source, modular, automated activity recording system for rats using digital video

Jean-Etienne Poirrier, Laurent Poirrier, Pierre Leprince, Pierre Maquet


Background: Measurement of locomotor activity is a valuable tool for analysing factors influencing behaviour and for investigating brain function. Several methods have been described in the literature for measuring the amount of animal movement but most are flawed or expensive. Here, we describe an open source, modular, low-cost, user-friendly, highly sensitive, non-invasive system that records all the movements of a rat in its cage.

Methods: Our activity monitoring system quantifies overall free movements of rodents without any markers, using a commercially available CCTV and a newly designed motion detection software developed on a GNU/Linux-operating computer. The operating principle is that the amount of overall movement of an object can be expressed by the difference in total area occupied by the object in two consecutive picture frames. The application is based on software modules that allow the system to be used in a high-throughput workflow. Documentation, example files, source code and binary files can be freely downloaded from the project website at gemvid/.

Results: In a series of experiments with objects of pre-defined oscillation frequencies and movements, we documented the sensitivity, reproducibility and stability of our system. We also compared data obtained with our system and data obtained with an Actiwatch device. Finally, to validate the system, results obtained from the automated observation of 6 rats during 7 days in a regular light cycle are presented and are accompanied by a stability test. The validity of this system is further demonstrated through the observation of 2 rats in constant dark conditions that displayed the expected free running of their circadian rhythm.

Conclusion: The present study describes a system that relies on video frame differences to automatically quantify overall free movements of a rodent without any markers. It allows the monitoring of rats in their own environment for an extended period of time. By using a low-cost, open source hardware/software solution, laboratories can greatly simplify their data acquisition and analysis pipelines and improve their workload.

View the full article: Full text PDF

How to cite: Poirrier, J, Poirrier, L, Leprince, P and Maquet, P 2006. Gemvid, an open source, modular, automated activity recording system for rats using digital video. Journal of Circadian Rhythms 4:10, DOI:

This is an Open Access article distributed under the terms of the Creative Commons Attribution License
(, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Copyright is retained by the author(s).

This article has been peer reviewed (journal peer review policy).

Published on 25 August 2006.

ISSN: 1740-3391 | Published by Ubiquity Press | Creative Commons License This work is licensed under a Creative Commons License.