Using DeepLabCut for 3D markerless pose estimation across species and behaviors
Open accessThe DOI matches its Crossref record; 64 of the 64 references it cites were found in a registry or an index.
Abstract
Noninvasive behavioral tracking of animals during experiments is critical to many scientific pursuits. Extracting the poses of animals without using markers is often essential to measuring behavioral effects in biomechanics, genetics, ethology, and neuroscience. However, extracting detailed poses without markers in dynamically changing backgrounds has been challenging. We recently introduced an open-source toolbox called DeepLabCut that builds on a state-of-the-art human pose-estimation algorithm to allow a user to train a deep neural network with limited training data to precisely track user-defined features that match human labeling accuracy. Here, we provide an updated toolbox, developed as a Python package, that includes new features such as graphical user interfaces (GUIs), performance improvements, and active-learning-based network refinement. We provide a step-by-step procedure for using DeepLabCut that guides the user in creating a tailored, reusable analysis pipeline with a graphical processing unit (GPU) in 1–12 h (depending on frame size). Additionally, we provide Docker environments and Jupyter Notebooks that can be run on cloud resources such as Google Colaboratory. This protocol describes how to use an open-source toolbox, DeepLabCut, to train a deep neural network to precisely track user-defined features with limited training data. This allows noninvasive behavioral tracking of movement.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474
LeCun, Y., Bengio, Y., & Hinton, G. (2015) · Nature · doi:10.1038/nature14539 · Cited by 84,126
ImageNet Large Scale Visual Recognition Challenge
Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M., et al. (2015) · International Journal of Computer Vision · doi:10.1007/s11263-015-0816-y · Cited by 39,380 · cited 2×
“Due to the initial pre-training of the ResNet (i.e. the ResNet is first pre-trained on ImageNet [51]), as we have shown in our original study [12], DeepLabCut does not typically require many labeled frames to train on.”
MethodMatplotlib: a 2D graphics environment
Hunter, J. D. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.55 · Cited by 39,249
(1981) · Cited by 11,963
TensorFlow: A system for large-scale machine learning
Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M., et al. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1605.08695 · Cited by 11,822
(2016) · Cited by 11,679
Data Structures for Statistical Computing in Python
McKinney, W. (2010) · Proceedings of the Python in Science Conference · doi:10.25080/majora-92bf1922-00a · Cited by 11,032
Biomechanics and motor control of human movement
(1990) · Choice Reviews Online · doi:10.5860/choice.28-2135 · Cited by 8,451
Realtime Multi-person 2D Pose Estimation Using Part Affinity Fields
Cao, Z., Simon, T., Wei, S.-E., & Sheikh, Y. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.143 · Cited by 7,539
Statsmodels: Econometric and Statistical Modeling with Python
Seabold, S., & Perktold, J. (2010) · Proceedings of the Python in Science Conference · doi:10.25080/majora-92bf1922-011 · Cited by 6,465
Biomechanics and Motor Control of Human Movement
Winter, D. A. (2009) · Wiley eBooks · doi:10.1002/9780470549148 · Cited by 6,066
How transferable are features in deep neural networks?
Yosinski, J., Clune, J., Bengio, Y., & Lipson, H. (2014) · arXiv · doi:10.48550/arxiv.1411.1792 · Cited by 6,061
DeepLabCut: markerless pose estimation of user-defined body parts with deep learning
Mathis, A., Mamidanna, P., Cury, K. M., Abe, T., Murthy, V. N., Mathis, M. W., & Bethge, M. (2018) · Nature Neuroscience · doi:10.1038/s41593-018-0209-y · Cited by 5,187
Self-citationDeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognition
Donahue, J., Jia, Y., Vinyals, O., Hoffman, J., Zhang, N., Tzeng, E., & Darrell, T. (2013) · arXiv · doi:10.48550/arxiv.1310.1531 · Cited by 4,019
Python for scientific computing
Oliphant, T. E. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.58 · Cited by 3,303 · cited 1×
“The code is written in Python 3 [38] and TensorFlow [39] for the feature detectors [10].”
MethodTime Series Analysis by State Space Methods: Second Edition
Durbin, J., & Koopman, S. J. (2012) · doi:10.1093/acprof:oso/9780199641178.001.0001 · Cited by 3,301
Docker: lightweight Linux containers for consistent development and deployment
Merkel, D. (2014) · Linux journal · Cited by 3,191
DeepPose: Human Pose Estimation via Deep Neural Networks
Toshev, A., & Szegedy, C. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2014.214 · Cited by 3,185
FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
Ilg, E., Mayer, N., Saikia, T., Keuper, M., Dosovitskiy, A., & Brox, T. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.179 · Cited by 3,152
Wei, S.-E., Ramakrishna, V., Kanade, T., & Sheikh, Y. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.511 · Cited by 2,966
2D Human Pose Estimation: New Benchmark and State of the Art Analysis
Andriluka, M., Pishchulin, L., Gehler, P., & Schiele, B. (2014) · 2014 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2014.471 · Cited by 2,688
Advances in Neural Information Processing Systems 27 (NIPS 2014)
Zhong, M., Goddard, N., & Sutton, C. A. (2014) · Cited by 2,636
Pictorial Structures for Object Recognition
Felzenszwalb, P. F., & Huttenlocher, D. P. (2005) · International Journal of Computer Vision · doi:10.1023/b:visi.0000042934.15159.49 · Cited by 2,180
Levine, S., Pastor, P., Krizhevsky, A., Ibarz, J., & Quillen, D. (2018) · The International Journal of Robotics Research · doi:10.1177/0278364917710318 · Cited by 1,971
Terrestrial animal tracking as an eye on life and planet
Kays, R., Crofoot, M. C., Jetz, W., & Wikelski, M. (2015) · Science · doi:10.1126/science.aaa2478 · Cited by 1,638
Sikweyiya, Y., & Jewkes, R. (2012) · PLoS ONE · doi:10.1371/journal.pone.0035495 · Cited by 1,310
DeeperCut: A Deeper, Stronger, and Faster Multi-person Pose Estimation Model
Insafutdinov, E., Pishchulin, L., Andres, B., Andriluka, M., & Schiele, B. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-46466-4_3 · Cited by 1,130
Hand Keypoint Detection in Single Images Using Multiview Bootstrapping
Simon, T., Joo, H., Matthews, I., & Sheikh, Y. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.494 · Cited by 1,119
Being Sensitive to Uncertainty
Arriola, L. M., & Hyman, J. M. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.27 · Cited by 953
Human motion tracking for rehabilitation-A survey
Zhou, H., & Hu, H. (2008) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2007.09.001 · Cited by 813
Mapping Sub-Second Structure in Mouse Behavior
Wiltschko, A. B., Johnson, M. J., Iurilli, G., Peterson, R. E., Katon, J. M., Pashkovski, S. L., Abraira, V. E., Adams, R. P., & Datta, S. R. (2015) · Neuron · doi:10.1016/j.neuron.2015.11.031 · Cited by 760 · cited 1×
“The outputs from DeepLabCut can also interfaced with behavioral clustering tools such as JAABA [43], MotionMapper [44], MoSeq [45], or other clustering approaches such as iterative denoising tree (IDT) methods [46, 47], and more [48].”
MethodFast animal pose estimation using deep neural networks
Pereira, T. D., Aldarondo, D. E., Willmore, L., Kislin, M., Wang, S. S.-H., Murthy, M., & Shaevitz, J. W. (2019) · Nature Methods · doi:10.1038/s41592-018-0234-5 · Cited by 687
JAABA: Interactive machine learning for automatic annotation of animal behavior
Kabra, M., Robie, A. A., Rivera-Alba, M., Branson, S., & Branson, K. (2013) · Nature Methods · doi:10.1038/nmeth.2281 · Cited by 644
Colyer, S. L., Evans, M., Cosker, D. P., & Salo, A. I. T. (2018) · Sports Medicine - Open · doi:10.1186/s40798-018-0139-y · Cited by 629
Wainberg, M., Merico, D., Delong, A., & Frey, B. J. (2018) · Nature Biotechnology · doi:10.1038/nbt.4233 · Cited by 585
Mapping the stereotyped behaviour of freely moving fruit flies
Berman, G. J., Choi, D. M., Bialek, W., & Shaevitz, J. W. (2014) · Journal of The Royal Society Interface · doi:10.1098/rsif.2014.0672 · Cited by 565
Dollar, P., Welinder, P., & Perona, P. (2010) · 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2010.5540094 · Cited by 528
Toward a Science of Computational Ethology
Anderson, D. J., & Perona, P. (2014) · Neuron · doi:10.1016/j.neuron.2014.09.005 · Cited by 508
Automated image-based tracking and its application in ecology
Dell, A. I., Bender, J. A., Branson, K., Couzin, I. D., de Polavieja, G. G., Noldus, L. P. J. J., Pérez-Escudero, A., Perona, P., Straw, A. D., Wikelski, M., et al. (2014) · Trends in Ecology & Evolution · doi:10.1016/j.tree.2014.05.004 · Cited by 492
Locomotion dynamics of hunting in wild cheetahs
Wilson, A. M., Lowe, J. C., Roskilly, K., Hudson, P. E., Golabek, K. A., & McNutt, J. W. (2013) · Nature · doi:10.1038/nature12295 · Cited by 392
OpenCV: Open Source Computer Vision Library
Uranishi, Y. (2018) · The Journal of The Institute of Image Information and Television Engineers · doi:10.3169/itej.72.736 · Cited by 372
Understanding Low- and High-Level Contributions to Fixation Prediction
Kummerer, M., Wallis, T. S. A., Gatys, L. A., & Bethge, M. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.513 · Cited by 282
Self-citationArtTrack: Articulated Multi-Person Tracking in the Wild
Insafutdinov, E., Andriluka, M., Pishchulin, L., Tang, S., Levinkov, E., Andres, B., & Schiele, B. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.142 · Cited by 237
DeepGaze II: Reading fixations from deep features trained on object recognition
Kümmerer, M., Wallis, T. S. A., & Bethge, M. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1610.01563 · Cited by 236
Self-citationDiscovery of brainwide neural-behavioral maps via multiscale unsupervised structure learning
Vogelstein, J. T., Park, Y., Ohyama, T., Kerr, R. A., Truman, J. W., Priebe, C. E., & Zlatic, M. (2014) · Science · doi:10.1126/science.1250298 · Cited by 218 · cited 1×
“The outputs from DeepLabCut can also interfaced with behavioral clustering tools such as JAABA [43], MotionMapper [44], MoSeq [45], or other clustering approaches such as iterative denoising tree (IDT) methods [46, 47], and more [48].”
MethodA protocol and calibration method for accurate multi-camera field videography
Theriault, D. H., Fuller, N. W., Jackson, B. E., Bluhm, E., Evangelista, D., Wu, Z., Betke, M., & Hedrick, T. L. (2014) · Journal of Experimental Biology · doi:10.1242/jeb.100529 · Cited by 210
Magnetoelectric materials for miniature, wireless neural stimulation at therapeutic frequencies
Singer, A., Dutta, S., Lewis, E., Chen, Z., Chen, J. C., Verma, N., Avants, B., Feldman, A. K., O’Malley, J., Beierlein, M., et al. (2020) · Neuron · doi:10.1016/j.neuron.2020.05.019 · Cited by 202
Computational Analysis of Behavior
Egnor, S. E. R., & Branson, K. (2016) · Annual Review of Neuroscience · doi:10.1146/annurev-neuro-070815-013845 · Cited by 201
Somatosensory Cortex Plays an Essential Role in Forelimb Motor Adaptation in Mice
Mathis, M. W., Mathis, A., & Uchida, N. (2017) · Neuron · doi:10.1016/j.neuron.2017.02.049 · Cited by 193
Self-citationSharing Features among Dynamical Systems with Beta Processes
Fox, E. B., Sudderth, E. B., Jordan, M. I., & Willsky, A. S. (2010) · Cited by 132
Jackson, B. E., Evangelista, D., Ray, D. D., & Hedrick, T. L. (2016) · Biology Open · doi:10.1242/bio.018713 · Cited by 108
Ben-Shaul, Y. (2017) · BMC Biology · doi:10.1186/s12915-017-0377-3 · Cited by 90
A 3D-Video-Based Computerized Analysis of Social and Sexual Interactions in Rats
Matsumoto, J., Urakawa, S., Takamura, Y., Malcher-Lopes, R., Hori, E., Tomaz, C., Ono, T., & Nishijo, H. (2013) · PLoS ONE · doi:10.1371/journal.pone.0078460 · Cited by 86
Arrival of Paleo-Indians to the Southern Cone of South America: New Clues from Mitogenomes
de Saint Pierre, M., Gandini, F., Perego, U. A., Bodner, M., Gómez-Carballa, A., Corach, D., Angerhofer, N., Woodward, S. R., Semino, O., Salas, A., et al. (2012) · PLoS ONE · doi:10.1371/journal.pone.0051311 · Cited by 84
Gomez-Marin, A., Partoune, N., Stephens, G. J., & Louis, M. (2012) · PLoS ONE · doi:10.1371/journal.pone.0041642 · Cited by 80
Systematic exploration of unsupervised methods for mapping behavior
Todd, J. G., Kain, J. S., & de Bivort, B. L. (2017) · Physical Biology · doi:10.1088/1478-3975/14/1/015002 · Cited by 68
TensorLayer: A Versatile Library for Efficient Deep Learning Development
Dong, H., Supratak, A., Mai, L., Liu, F., Oehmichen, A., Yu, S., & Guo, Y. (2017) · Proceedings of the 25th ACM international conference on Multimedia · doi:10.1145/3123266.3129391 · Cited by 61
Uhlmann, V., Ramdya, P., Delgado-Gonzalo, R., Benton, R., & Unser, M. (2017) · PLOS ONE · doi:10.1371/journal.pone.0173433 · Cited by 40
On the inference speed and video-compression robustness of DeepLabCutPreprint
Mathis, A., & Warren, R. (2018) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/457242 · Cited by 38
Self-citationWei, K.-L., & Kording, K. P. (2018) · Nature Neuroscience · doi:10.1038/s41593-018-0215-0 · Cited by 33
Gómez-Marín, À., Partoune, N., Stephens, G. J., & Louis, M. (2012) · PLoS ONE · doi:10.1371/annotation/5bef5b0a-9b48-4e85-8df5-a46793f6c701 · Cited by 9
Integrated Sensing and Processing for Statistical Pattern Recognition
Priebe, C. E., Marchette, D. J., & Healy, D. M. (2004) · Cambridge University Press eBooks · doi:10.1017/9781009701297.010 · Cited by 5
Stabilizing Speech Production through Gesture-Speech CoordinationPreprint
Pouw, W. T. J. L., de Jonge‐Hoekstra, L., & Dixon, J. A. (2018) · PsyArXiv (OSF Preprints) · doi:10.31234/osf.io/arzne · Cited by 3
Cited by
Multi-animal pose estimation, identification and tracking with DeepLabCut
Lauer, J., Zhou, M., Ye, S., Menegas, W., Schneider, S., Nath, T., Rahman, M. M., Di Santo, V., Soberanes, D., Feng, G., et al. (2022) · Nature Methods · doi:10.1038/s41592-022-01443-0 · Cited by 647
Self-citationSurvey of spiking in the mouse visual system reveals functional hierarchy
Siegle, J. H., Jia, X., Durand, S., Gale, S., Bennett, C., Graddis, N., Heller, G., Ramirez, T. K., Choi, H., Luviano, J. A., et al. (2021) · Nature · doi:10.1038/s41586-020-03171-x · Cited by 634
DeepPoseKit, a software toolkit for fast and robust animal pose estimation using deep learning
Graving, J. M., Chae, D., Naik, H., Li, L., Koger, B., Costelloe, B. R., & Couzin, I. D. (2019) · eLife · doi:10.7554/elife.47994 · Cited by 547
Computational Neuroethology: A Call to Action
Datta, S. R., Anderson, D. J., Branson, K., Perona, P., & Leifer, A. (2019) · Neuron · doi:10.1016/j.neuron.2019.09.038 · Cited by 453
Deep learning tools for the measurement of animal behavior in neuroscience
Mathis, M. W., & Mathis, A. (2020) · Current Opinion in Neurobiology · doi:10.1016/j.conb.2019.10.008 · Cited by 450
Self-citation
Metadata
- Authors
- Nath, T., Mathis, A., Chen, A. C., Patel, A., Bethge, M., & Mathis, M. W.
- Venue
- Nature Protocols
- Published
- 2019-06-21
- Volume
- 14
- Issue
- 7
- Pages
- 2152-2176
- ISSN
- 1750-2799 (ISSN-L)
- 1754-2189
- OpenAlex
- W2950100524
- Cited by
- 1,505
- References
- 64
- FWCI
- 52.62
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.