ezTrack: An open-source video analysis pipeline for the investigation of animal behavior
- PMID: 31882950
- PMCID: PMC6934800
- DOI: 10.1038/s41598-019-56408-9
ezTrack: An open-source video analysis pipeline for the investigation of animal behavior
Abstract
Tracking animal behavior by video is one of the most common tasks in the life sciences. Although commercial software exists for executing this task, they often present enormous cost to the researcher and can entail purchasing hardware that is expensive and lacks adaptability. Additionally, the underlying code is often proprietary. Alternatively, available open-source options frequently require model training and can be challenging for those inexperienced with programming. Here we present an open-source and platform independent set of behavior analysis pipelines using interactive Python that researchers with no prior programming experience can use. Two modules are described. One module can be used for the positional analysis of an individual animal, amenable to a wide range of behavioral tasks. A second module is described for the analysis of freezing behavior. For both modules, a range of interactive plots and visualizations are available to confirm that chosen parameters produce the anticipated results. Moreover, batch processing tools for the fast analysis of multiple videos is provided, and frame-by-frame output makes alignment with biological recording data simple. Lastly, options for cropping video frames to mitigate the influence of fiberoptic/electrophysiology cables, analyzing specified portions of time, and defining regions of interest, are readily implemented.
Conflict of interest statement
The authors declare no competing interests.
Figures





Similar articles
-
ezTrack-A Step-by-Step Guide to Behavior Tracking.Curr Protoc. 2021 Oct;1(10):e255. doi: 10.1002/cpz1.255. Curr Protoc. 2021. PMID: 34610215 Free PMC article.
-
Open source modules for tracking animal behavior and closed-loop stimulation based on Open Ephys and Bonsai.J Neural Eng. 2018 Oct;15(5):055002. doi: 10.1088/1741-2552/aacf45. Epub 2018 Jun 27. J Neural Eng. 2018. PMID: 29946057
-
Implementation of ezTrack open-source pipeline for quantifying rat locomotor behavior: Comparison to commercially available software.Neurosci Lett. 2020 Apr 1;723:134839. doi: 10.1016/j.neulet.2020.134839. Epub 2020 Feb 14. Neurosci Lett. 2020. PMID: 32067987
-
Open-source tools for behavioral video analysis: Setup, methods, and best practices.Elife. 2023 Mar 23;12:e79305. doi: 10.7554/eLife.79305. Elife. 2023. PMID: 36951911 Free PMC article. Review.
-
EthoVision: a versatile video tracking system for automation of behavioral experiments.Behav Res Methods Instrum Comput. 2001 Aug;33(3):398-414. doi: 10.3758/bf03195394. Behav Res Methods Instrum Comput. 2001. PMID: 11591072 Review.
Cited by
-
HippoBellum: Acute Cerebellar Modulation Alters Hippocampal Dynamics and Function.J Neurosci. 2020 Sep 2;40(36):6910-6926. doi: 10.1523/JNEUROSCI.0763-20.2020. Epub 2020 Aug 7. J Neurosci. 2020. PMID: 32769107 Free PMC article.
-
Increased susceptibility to kainate-induced seizures in a mouse model of tuberous sclerosis complex: Importance of sex and circadian cycle.Epilepsia Open. 2024 Oct;9(5):1710-1722. doi: 10.1002/epi4.12955. Epub 2024 Jul 15. Epilepsia Open. 2024. PMID: 39010669 Free PMC article.
-
Cannabidiol and cannabis-inspired terpene blends have acute prosocial effects in the BTBR mouse model of autism spectrum disorder.Front Neurosci. 2023 Jun 16;17:1185737. doi: 10.3389/fnins.2023.1185737. eCollection 2023. Front Neurosci. 2023. PMID: 37397463 Free PMC article.
-
Sex Differences in the Anxiolytic Properties of Common Cannabis Terpenes, Linalool and β-Myrcene, in Mice.NeuroSci. 2024 Dec 3;5(4):635-649. doi: 10.3390/neurosci5040045. NeuroSci. 2024. PMID: 39728677 Free PMC article.
-
Neuromodulation modifies α-synuclein spreading dynamics in vivo and the pattern is predicted by changes in whole-brain function.Brain Stimul. 2024 Jul-Aug;17(4):938-946. doi: 10.1016/j.brs.2024.07.021. Epub 2024 Aug 2. Brain Stimul. 2024. PMID: 39096960 Free PMC article.
References
-
- Perez F, Granger BE. A System for Interactive Scientific Computing. Computing in Science & Engineering. 2007;9:21–29. doi: 10.1109/MCSE.2007.53. - DOI
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Miscellaneous