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
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-citationConsidering sex as a biological variable will require a global shift in science culture
Shansky, R. M., & Murphy, A. Z. (2021) · Nature Neuroscience · doi:10.1038/s41593-021-00806-8 · Cited by 428
Evaluation of 3D Markerless Motion Capture Accuracy Using OpenPose With Multiple Video Cameras
Nakano, N., Sakura, T., Ueda, K., Omura, L., Kimura, A., Iino, Y., Fukashiro, S., & Yoshioka, S. (2020) · Frontiers in Sports and Active Living · doi:10.3389/fspor.2020.00050 · Cited by 378
Artificial Neural Networks for Neuroscientists: A Primer
Yang, G. R., & Wang, X.-J. (2020) · Neuron · doi:10.1016/j.neuron.2020.09.005 · Cited by 376
Keep it real: rethinking the primacy of experimental control in cognitive neuroscience
Nastase, S. A., Goldstein, A., & Hasson, U. (2020) · NeuroImage · doi:10.1016/j.neuroimage.2020.117254 · Cited by 344
Large-scale two-photon calcium imaging in freely moving mice
Zong, W., Obenhaus, H. A., Skytøen, E. R., Eneqvist, H., de Jong, N. L., Vale, R., Jorge, M. R., Moser, M.-B., & Moser, E. I. (2022) · Cell · doi:10.1016/j.cell.2022.02.017 · Cited by 332
Anipose: A toolkit for robust markerless 3D pose estimation
Karashchuk, P., Rupp, K. L., Dickinson, E. S., Walling-Bell, S., Sanders, E., Azim, E., Brunton, B. W., & Tuthill, J. C. (2021) · Cell Reports · doi:10.1016/j.celrep.2021.109730 · Cited by 324
Two-dimensional video-based analysis of human gait using pose estimation
Stenum, J., Rossi, C., & Roemmich, R. T. (2021) · PLOS Computational Biology · doi:10.1371/journal.pcbi.1008935 · Cited by 321
B-SOiD, an open-source unsupervised algorithm for identification and fast prediction of behaviors
Hsu, A. I., & Yttri, E. A. (2021) · Nature Communications · doi:10.1038/s41467-021-25420-x · Cited by 298
Towards the fully automated monitoring of ecological communities
Besson, M., Alison, J., Bjerge, K., Gorochowski, T. E., Høye, T. T., Jucker, T., Mann, H. M. R., & Clements, C. F. (2022) · Ecology Letters · doi:10.1111/ele.14123 · Cited by 275
Deep learning as a tool for ecology and evolution
Borowiec, M. L., Dikow, R. B., Frandsen, P. B., McKeeken, A., Valentini, G., & White, A. E. (2022) · Methods in Ecology and Evolution · doi:10.1111/2041-210x.13901 · Cited by 249
“…OpenMonkeyStudio for macaques (Bala et al., 2020)) to generic frameworks applicable to any species (e.g., LEAP (Pereira et al., 2019, 2020), DeepLabCut (Mathis et al., 2018; Nath et al., 2019), DeepPoseKit (Graving et al., 2019)), some of which offer 3-dimensional and/or multiple animals tracking.”
MethodInternal state dynamics shape brainwide activity and foraging behaviour
Marques, J. C., Li, M., Schaak, D., Robson, D. N., & Li, J. M. (2020) · Nature · doi:10.1038/s41586-019-1858-z · Cited by 243
Demas, J., Manley, J., Tejera, F., Barber, K., Kim, H., Traub, F. M., Chen, B., & Vaziri, A. (2021) · Nature Methods · doi:10.1038/s41592-021-01239-8 · Cited by 233
A Primer on Motion Capture with Deep Learning: Principles, Pitfalls, and Perspectives
Mathis, A., Schneider, S., Lauer, J., & Mathis, M. W. (2020) · Neuron · doi:10.1016/j.neuron.2020.09.017 · Cited by 231
Self-citationKeypoint-MoSeq: parsing behavior by linking point tracking to pose dynamics
Weinreb, C., Pearl, J. E., Lin, S., Osman, M. A. M., Zhang, L., Annapragada, S., Conlin, E., Hoffmann, R., Makowska, S., Gillis, W. F., et al. (2024) · Nature Methods · doi:10.1038/s41592-024-02318-2 · Cited by 228
Self-citationDeepEthogram, a machine learning pipeline for supervised behavior classification from raw pixels
Bohnslav, J. P., Wimalasena, N. K., Clausing, K. J., Dai, Y. Y., Yarmolinsky, D. A., Cruz, T., Kashlan, A. D., Chiappe, M. E., Orefice, L. L., Woolf, C. J., et al. (2021) · eLife · doi:10.7554/elife.63377 · Cited by 220
“We used DeepLabCut ( Mathis, 2018 ) to identify the position of the four paws, the base of the tail, the tip of the tail, and the nose.”
InfluentialA review of 3D human pose estimation algorithms for markerless motion capture
Desmarais, Y., Mottet, D., Slangen, P., & Montesinos, P. (2021) · Computer Vision and Image Understanding · doi:10.1016/j.cviu.2021.103275 · Cited by 197
Real-time, low-latency closed-loop feedback using markerless posture tracking
Kane, G. A., Lopes, G., Saunders, J. L., Mathis, A., & Mathis, M. W. (2020) · eLife · doi:10.7554/elife.61909 · Cited by 187
Self-citationApplications of Pose Estimation in Human Health and Performance across the Lifespan
Stenum, J., Cherry-Allen, K. M., Pyles, C. O., Reetzke, R. D., Vignos, M. F., & Roemmich, R. T. (2021) · Sensors · doi:10.3390/s21217315 · Cited by 178
“Development of new pose estimation techniques for human performance applications have focused on achieving high accuracy with ‘in the wild’ pose estimations, given the importance of performing these measurements outside of the lab in these applications [11,103,104].”
BackgroundGut microbiota regulates stress responsivity via the circadian system
Tofani, G. S. S., Leigh, S.-J., Gheorghe, C. E., Bastiaanssen, T. F. S., Wilmes, L., Sen, P., Clarke, G., & Cryan, J. F. (2025) · Cell Metabolism · doi:10.1016/j.cmet.2024.10.003 · Cited by 173
Günel, S., Rhodin, H., Morales, D., Campagnolo, J., Ramdya, P., & Fua, P. (2019) · eLife · doi:10.7554/elife.48571 · Cited by 167
Brainstem neurons that command mammalian locomotor asymmetries
Cregg, J. M., Leiras, R., Montalant, A., Wanken, P., Wickersham, I. R., & Kiehn, O. (2020) · Nature Neuroscience · doi:10.1038/s41593-020-0633-7 · Cited by 154
Cerebellar Neurodynamics Predict Decision Timing and Outcome on the Single-Trial Level
Lin, Q., Manley, J., Helmreich, M., Schlumm, F., Li, J. M., Robson, D. N., Engert, F., Schier, A., Nöbauer, T., & Vaziri, A. (2020) · Cell · doi:10.1016/j.cell.2019.12.018 · Cited by 122
Spinal Interneurons as Gatekeepers to Neuroplasticity after Injury or Disease
Zholudeva, L. V., Abraira, V. E., Satkunendrarajah, K., McDevitt, T. C., Goulding, M. D., Magnuson, D. S. K., & Lane, M. A. (2021) · The Journal of Neuroscience · doi:10.1523/jneurosci.1654-20.2020 · Cited by 74
“…genetic tools with motor assays that use highspeed cameras, muscle recordings (Mayer and Akay, 2018), and machine learning (Wiltschko et al., 2015; Nath et al., 2019) will enable a deeper understanding of how specific spinal cord touch networks are wired to shape movement, and how sensory…”
Distributed control of motor circuits for backward walking in Drosophila
Feng, K., Sen, R., Minegishi, R., Dübbert, M., Bockemühl, T., Büschges, A., & Dickson, B. J. (2020) · Nature Communications · doi:10.1038/s41467-020-19936-x · Cited by 69
AcinoSet: A 3D Pose Estimation Dataset and Baseline Models for Cheetahs in the Wild
Joska, D., Clark, L., Muramatsu, N., Jericevich, R., Nicolls, F., Mathis, A., Mathis, M. W., & Patel, A. (2021) · 2021 IEEE International Conference on Robotics and Automation (ICRA) · doi:10.1109/icra48506.2021.9561338 · Cited by 66
“We previously released a set of about 900 Cheetah images in-the-wild [6] but none aimed towards a 3D benchmark animal pose in-the-wild benchmark, as we do in this paper.”
BackgroundMethodSelf-citationMovement science needs different pose tracking algorithms
Seethapathi, N., Wang, S., Saluja, R., Blohm, G., & Kording, K. P. (2019) · arXiv · doi:10.48550/arxiv.1907.10226 · Cited by 64
“However, the field has not yet, with the exception of DeepLabCut [91, 92], impacted movement science research because its algorithms do not prioritize the quantities that matter for movement science.”
BackgroundLa-Vu, M. Q., Sethi, E., Maesta-Pereira, S., Schuette, P. J., Tobias, B. C., Reis, F. M., Wang, W., Torossian, A., Bishop, A., Leonard, S. J., et al. (2022) · eLife · doi:10.7554/elife.77115 · Cited by 50
Basal ganglia-spinal cord pathway that commands locomotor gait asymmetries in mice
Cregg, J. M., Sidhu, S. K., Leiras, R., & Kiehn, O. (2024) · Nature Neuroscience · doi:10.1038/s41593-024-01569-8 · Cited by 48
“Behavioral tracking was performed offline using DeepLabCut (https:// github.com/DeepLabCut/) 74,75 .”
MethodPupil size reveals arousal level fluctuations in human sleep
Carro-Domínguez, M., Huwiler, S., Oberlin, S., Oesch, T. L., Badii, G., Lüthi, A., Wenderoth, N., Meissner, S. N., & Lustenberger, C. (2025) · Nature Communications · doi:10.1038/s41467-025-57289-5 · Cited by 41
Newton, K. C., Kacev, D., Nilsson, S. R. O., Saettele, A. L., Golden, S. A., & Sheets, L. (2023) · Communications Biology · doi:10.1038/s42003-023-04449-2 · Cited by 36
Sexual differentiation of neural mechanisms of stress sensitivity during puberty
Wright, E. C., Luo, P. X., Zakharenkov, H. C., Serna Godoy, A., Lake, A. A., Prince, Z. D., Sekar, S., Culkin, H. I., Ramirez, A. V., Dwyer, T., et al. (2023) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.2306475120 · Cited by 40
Miller, S. R., Luxem, K., Lauderdale, K., Nambiar, P., Honma, P. S., Ly, K. K., Bangera, S., Bullock, M., Shin, J., Kaliss, N., et al. (2024) · Cell Reports · doi:10.1016/j.celrep.2024.114870 · Cited by 24
“…Network analysis of motif transitions reveals increased randomness and altered behavioral sequences in App NL-G-F mice Deconstructing the full sequence of motif-motif transitions may ultimately provide a more sensitive measure of brain function than unitary motif analyses (Figures 2, 3, and 4).”
Transferring Dense Pose to Proximal Animal Classes
Sanakoyeu, A., Khalidov, V., McCarthy, M. S., Vedaldi, A., & Neverova, N. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00528 · Cited by 13
“Some recent papers have focused on designing pose estimation systems and benchmarks for particular animal species such as Amur tigers [28], cheetahs [38] or drosophila melanogaster flies [15].”
BackgroundRevealing abrupt transitions from goal-directed to habitual behavior
Moore, S., Wang, Z., Zhu, Z., Wang, J., Sun, R., Lee, Y. A., Charles, A., & Kuchibhotla, K. V. (2026) · Nature Communications · doi:10.1038/s41467-026-71048-0 · Cited by 3
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.