Motmot, an open-source toolkit for realtime video acquisition and analysis
Open Access
- 22 July 2009
- journal article
- Published by Springer Nature in Source Code for Biology and Medicine
- Vol. 4 (1) , 5
- https://doi.org/10.1186/1751-0473-4-5
Abstract
Video cameras sense passively from a distance, offer a rich information stream, and provide intuitively meaningful raw data. Camera-based imaging has thus proven critical for many advances in neuroscience and biology, with applications ranging from cellular imaging of fluorescent dyes to tracking of whole-animal behavior at ecologically relevant spatial scales. Here we present 'Motmot': an open-source software suite for acquiring, displaying, saving, and analyzing digital video in real-time. At the highest level, Motmot is written in the Python computer language. The large amounts of data produced by digital cameras are handled by low-level, optimized functions, usually written in C. This high-level/low-level partitioning and use of select external libraries allow Motmot, with only modest complexity, to perform well as a core technology for many high-performance imaging tasks. In its current form, Motmot allows for: (1) image acquisition from a variety of camera interfaces (package motmot.cam_iface), (2) the display of these images with minimal latency and computer resources using wxPython and OpenGL (package motmot.wxglvideo), (3) saving images with no compression in a single-pass, low-CPU-use format (package motmot.FlyMovieFormat), (4) a pluggable framework for custom analysis of images in realtime and (5) firmware for an inexpensive USB device to synchronize image acquisition across multiple cameras, with analog input, or with other hardware devices (package motmot.fview_ext_trig). These capabilities are brought together in a graphical user interface, called 'FView', allowing an end user to easily view and save digital video without writing any code. One plugin for FView, 'FlyTrax', which tracks the movement of fruit flies in real-time, is included with Motmot, and is described to illustrate the capabilities of FView. Motmot enables realtime image processing and display using the Python computer language. In addition to the provided complete applications, the architecture allows the user to write relatively simple plugins, which can accomplish a variety of computer vision tasks and be integrated within larger software systems. The software is available atKeywords
This publication has 11 references indexed in Scilit:
- High-throughput ethomics in large groups of DrosophilaNature Methods, 2009
- TrackFly: Virtual reality for a behavioral system analysis in free-flying fruit fliesJournal of Neuroscience Methods, 2008
- A Simple Vision-Based Algorithm for Decision Making in Flying DrosophilaCurrent Biology, 2008
- The role of visual and mechanosensory cues in structuring forward flight inDrosophila melanogasterJournal of Experimental Biology, 2007
- Analysis of the Trajectory of Drosophila melanogaster in a Circular Open Field ArenaPLOS ONE, 2007
- Characterization of animal behavior through the use of audio and video signal processingIEEE MultiMedia, 2007
- A comparison of visual and haltere-mediated feedback in the control of body saccades inDrosophila melanogasterJournal of Experimental Biology, 2006
- Visual stimulation of saccades in magnetically tetheredDrosophilaJournal of Experimental Biology, 2006
- A real-time low-latency hardware light-field rendererPublished by Association for Computing Machinery (ACM) ,1999
- Processing of Artificial Visual Feedback in the Walking Fruit Fly Drosophila MelanogasterJournal of Experimental Biology, 1997