DeepLabCut: markerless pose estimation for animal behavior
Official implementation of DeepLabCut: Markerless pose estimation of user-defined features with deep learning for all animals incl. humans
At a glance
- What is it?
- DeepLabCut is a Python toolbox for markerless pose estimation of user-defined features with deep learning, for all animals including humans. Version 3 runs on PyTorch with pretrained SuperAnimal models, offers a GUI alongside the API, and is developed by the Mathis labs under an LGPL licence.
- Who is it for?
- Use DeepLabCut when you need markerless tracking of animal behavior and want a toolbox with a GUI, worked examples and pretrained models rather than a from-scratch pipeline. Consider SLEAP, the other well-known open source animal pose tracking project, when comparing research-group lineages before committing.
- Can I use it commercially?
- Yes, with conditions. LGPL-3.0 is a weak copyleft licence: you can use it inside commercial and closed-source software, but if you distribute changes to its own files, you must publish those changes under the same licence.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on September 29, 2026, and from our analysis. They are not legal advice.
Editorial analysis
Label what you can see, track anything
DeepLabCut's framing is refreshingly literal: as long as you can see and label what you want to track, you can use the toolbox, because it is animal and object agnostic. The target audience is dual, computer vision researchers who want state-of-the-art models and frameworks, and life scientists who get what the README calls best-guess defaults, served through both a GUI and an API. Development comes from the Mathis labs, credited in setup.py as A. and M. Mathis Labs, and the workflow is documented in a Nature Protocols paper with a step-by-step project management guide. The repository is under active current development, with the last push on 2026-09-29, the same day as this writing.
PyTorch first, TensorFlow on a deprecation clock
The quick start installs the engine before the toolbox. PyTorch comes first, plain or CUDA-flavored:
pip install torch torchvisionconda install pytorch cudatoolkit=11.3 -c pytorchThen the toolbox itself, with the GUI or headless:
pip install --pre "deeplabcut[gui]"Python 3.10 or newer is the supported floor, with conda environment files in the repository for guidance. A TensorFlow engine still exists through the tf extras, including CUDA-targeted variants like deeplabcut[tf-cu11] and deeplabcut[tf-cu12], but the README states plainly that the TensorFlow backend is aimed for deprecation in version 3.2, release date to be determined. New projects should read that as a one-way sign toward PyTorch, and existing TF pipelines should budget for the migration.
SuperAnimal: pretrained quadrupeds and top-view mice
Not every user trains from scratch. Two foundation pretrained models ship with the project, SuperAnimal-Quadruped and SuperAnimal-TopViewMouse, and their evaluation methodology is documented in detail: the quadruped model was trained on its own dataset with the AP-10K collection held out for out-of-domain testing, the top-view model with the DLC-openfield dataset held out, per a 2024 paper in Nature Communications by Ye et al. Model weights are published through Hugging Face for reproducing the numbers, while the full models are distributed through the project's own dlclibrary. For a lab starting pose estimation, the practical effect is that a pretrained quadruped model can be evaluated on new footage before anyone labels a single frame, which changes the cost of finding out whether the tool fits the data.
Benchmark tables you can read before choosing
The README carries concrete accuracy numbers, which most research toolboxes hide in papers. On the held-out AP-10K benchmark, top_down_resnet_50 reaches 54.9 mAP and top_down_resnet_101 reaches 55.9, while top_down_hrnet_w48 reaches 55.3 and top_down_hrnet_w32 52.5. On lab mouse open-field data the same models score far higher, 93.5, 94.1, 93.8 and 92.4 mAP respectively, the difference between wild photographs and a fixed camera in a controlled box. The spread between the two benchmarks is the useful lesson: architecture choice matters less than domain match, and the project directs users to an architectures guide in the documentation before selecting among the many models available in DeepLabCut 3.0. Tooling for training custom models with various backbones is provided alongside.
Colab, Jupyter, Docker and a demo dataset
The examples directory is a runnable curriculum. A Colab notebook walks through pose tracking of a single mouse in an open field, and further demos cover running DeepLabCut from scratch on your own data. Demo datasets are checked in directly, Reaching-Mackenzie-2018-08-30 and openfield-Pranav-2018-10-30, so an installation can be verified against known data before real footage is touched. The test scripts enumerate the capability matrix by filename: single and multi-animal workflows in both PyTorch and TensorFlow, SuperAnimal inference, adaptation and transfer learning, and a transreid script for identity tracking. Docker support and Google Colab round out the deployment options, which matters for shared lab machines where installing CUDA stacks by hand is the usual failure point.
A dependency list that mirrors a working lab
The runtime dependencies read like an inventory of a functioning vision lab. torch at 2 or newer with torchvision and timm for backbones, einops, and albumentations pinned at <=1.4.3 for augmentation, opencv-python-headless for image work, numba and filterpy for filtering, pycocotools for evaluation, and huggingface-hub for model distribution. The pandas dependency is pinned to >=2.2,<3 with the hdf5 and performance extras, and the pyproject comment links the pandas 3.0 migration to a tracked issue, the kind of note that tells you maintenance is managed rather than reactive. Pydantic v2 holds configuration. The licence is LGPL-3.0-or-later, weak copyleft, meaning modifications to the library itself must be shared while applications using it as a library face fewer obligations, with the LICENSE and NOTICE.yml files as the reference.
Version 3.0.x, a forum and a residency
Release history shows a project mid-rewrite settling down: v3.0.0, the major version, arrived 2026-05-22, followed by v3.0.1 on 2026-07-28 and v3.0.2 on 2026-09-23, with a changelog directory tracking the details. Community infrastructure spans the scientific image analysis forum at image.sc under a deeplabcut tag, a Gitter channel, and a presence on X, plus contribution and code-of-conduct documents. Funding includes a Chan Zuckerberg Initiative Essential Open Source Software grant, and there is an AI Residency program alongside free workshop materials for the course-inclined. An AGENTS.md in the tree means agent-assisted contribution is anticipated here too. What ties it together is longevity: this is a maintained research tool with a decade-shaped support structure, not a paper's companion repository.
Editorial conclusion
Use DeepLabCut when you need markerless tracking of animal behavior and want a toolbox with a GUI, worked examples and pretrained models rather than a from-scratch pipeline. Consider SLEAP, the other well-known open source animal pose tracking project, when comparing research-group lineages before committing. Verify first that your Python is 3.10 or newer, decide PyTorch versus the TensorFlow engine knowing the TF backend is slated for deprecation in version 3.2, and check the architectures guide before choosing a model, since the benchmark tables reward that half hour of reading.
Frequently asked questions
What is DeepLabCut used for?
DeepLabCut is used for markerless pose estimation: tracking user-defined body parts of animals, including humans, in videos without physical markers. It serves computer vision researchers and life scientists studying animal behavior.
How do you install DeepLabCut?
Install PyTorch first, for example pip install torch torchvision, then run pip install --pre "deeplabcut[gui]" for the GUI version or pip install --pre "deeplabcut" for the headless one. Python 3.10 or newer is required, and full instructions are in the installation documentation.
Is DeepLabCut free?
Yes, it is free and open source under the LGPL-3.0-or-later licence. Development has been supported in part by a Chan Zuckerberg Initiative Essential Open Source Software grant.
Is DeepLabCut machine learning?
Yes. DeepLabCut performs pose estimation with deep learning, supporting custom model training with various high-performance backbones as well as pretrained SuperAnimal foundation models for quadrupeds and top-view mice.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/deeplabcut-deeplabcut)