Real-time, low-latency closed-loop feedback using markerless posture tracking
- PMID: 33289631
- PMCID: PMC7781595
- DOI: 10.7554/eLife.61909
Real-time, low-latency closed-loop feedback using markerless posture tracking
Abstract
The ability to control a behavioral task or stimulate neural activity based on animal behavior in real-time is an important tool for experimental neuroscientists. Ideally, such tools are noninvasive, low-latency, and provide interfaces to trigger external hardware based on posture. Recent advances in pose estimation with deep learning allows researchers to train deep neural networks to accurately quantify a wide variety of animal behaviors. Here, we provide a new <monospace>DeepLabCut-Live!</monospace> package that achieves low-latency real-time pose estimation (within 15 ms, >100 FPS), with an additional forward-prediction module that achieves zero-latency feedback, and a dynamic-cropping mode that allows for higher inference speeds. We also provide three options for using this tool with ease: (1) a stand-alone GUI (called <monospace>DLC-Live! GUI</monospace>), and integration into (2) <monospace>Bonsai,</monospace> and (3) <monospace>AutoPilot</monospace>. Lastly, we benchmarked performance on a wide range of systems so that experimentalists can easily decide what hardware is required for their needs.
Keywords: DeepLabCut; any animal; computational biology; low-latency; mouse; neuroscience; pose-estimation; real-time tracking; systems biology.
© 2020, Kane et al.
Conflict of interest statement
GK, JS, AM, MM No competing interests declared, GL Gonçalo Lopes is director at NeuroGEARS Ltd.
Figures
Comment in
-
Real-time behavioral analysis.Nat Methods. 2021 Feb;18(2):123. doi: 10.1038/s41592-021-01072-z. Nat Methods. 2021. PMID: 33542504 No abstract available.
Similar articles
-
Real-Time Selective Markerless Tracking of Forepaws of Head Fixed Mice Using Deep Neural Networks.eNeuro. 2020 Jun 15;7(3):ENEURO.0096-20.2020. doi: 10.1523/ENEURO.0096-20.2020. Print 2020 May/Jun. eNeuro. 2020. PMID: 32409507 Free PMC article.
-
The natverse, a versatile toolbox for combining and analysing neuroanatomical data.Elife. 2020 Apr 14;9:e53350. doi: 10.7554/eLife.53350. Elife. 2020. PMID: 32286229 Free PMC article.
-
Real-Time Closed-Loop Feedback in Behavioral Time Scales Using DeepLabCut.eNeuro. 2021 Apr 16;8(2):ENEURO.0415-20.2021. doi: 10.1523/ENEURO.0415-20.2021. Print 2021 Mar-Apr. eNeuro. 2021. PMID: 33547045 Free PMC article.
-
Automated pose estimation in primates.Am J Primatol. 2022 Oct;84(10):e23348. doi: 10.1002/ajp.23348. Epub 2021 Dec 2. Am J Primatol. 2022. PMID: 34855257 Free PMC article. Review.
-
A two-joint human posture control model with realistic neural delays.IEEE Trans Neural Syst Rehabil Eng. 2012 Sep;20(5):738-48. doi: 10.1109/TNSRE.2012.2199333. Epub 2012 Jun 6. IEEE Trans Neural Syst Rehabil Eng. 2012. PMID: 22692939 Review.
Cited by
-
New Open-Source Tools: Using Bonsai for Behavioral Tracking and Closed-Loop Experiments.Front Behav Neurosci. 2021 Mar 31;15:647640. doi: 10.3389/fnbeh.2021.647640. eCollection 2021. Front Behav Neurosci. 2021. PMID: 33867952 Free PMC article.
-
GoFish: A low-cost, open-source platform for closed-loop behavioural experiments on fish.Behav Res Methods. 2024 Jan;56(1):318-329. doi: 10.3758/s13428-022-02049-2. Epub 2023 Jan 9. Behav Res Methods. 2024. PMID: 36622558 Free PMC article.
-
Open-MAC: A low-cost open-source motorized commutator for electro- and opto-physiological recordings in freely moving rodents.HardwareX. 2023 May 16;14:e00429. doi: 10.1016/j.ohx.2023.e00429. eCollection 2023 Jun. HardwareX. 2023. PMID: 37250189 Free PMC article.
-
Cortico-thalamic communication for action coordination in a skilled motor sequence.bioRxiv [Preprint]. 2024 Oct 30:2023.10.25.563871. doi: 10.1101/2023.10.25.563871. bioRxiv. 2024. PMID: 37961483 Free PMC article. Preprint.
-
Estimation of skeletal kinematics in freely moving rodents.Nat Methods. 2022 Nov;19(11):1500-1509. doi: 10.1038/s41592-022-01634-9. Epub 2022 Oct 17. Nat Methods. 2022. PMID: 36253644 Free PMC article.
References
-
- Abadi M, Barham P, Chen J, Davis A, Dean J, Devin M, Ghemawat S, Irving G, Isard M, Chen Z. Tensorflow: a system for large-scale machine learning. 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16); 2016. pp. 265–283.
-
- Alted F, Haenel V, Team BD. Python-blosc. d08c8a1Github. 2020 http://github.com/blosc/python-blosc
-
- Andriluka M, Iqbal U, Insafutdinov E, Pishchulin L, Milan A, Gall J, Schiele B. Posetrack: a benchmark for human pose estimation and tracking. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; 2018. pp. 5167–5176. - DOI
-
- Bazarevsky V, Kartynnik Y, Vakunov A, Raveendran K, Grundmann M. Blazeface: sub-millisecond neural face detection on mobile gpus. arXiv. 2019 https://arxiv.org/abs/1907.05047
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Medical
Miscellaneous
