DeepLabCut-Live-GUI 
GUI to run DeepLabCut-Live on a video feed, preview and record from one or multiple cameras, and optionally record external timestamps and processor outputs.
Update
The GUI has been modernized and is now built with PySide6 (Qt) (replacing tkinter).
The new interface supports multi-camera preview with a tiled display, PyTorch models, and features improved interactive workflows for experimental use.
Documentation
Find the full documentation at the DeepLabCut docs website
System requirements (quick summary)
- Python 3.10, 3.11 or 3.12
- One inference backend (choose at least one):
- PyTorch (recommended for best performance & compatibility)
- TensorFlow (for backwards compatibility with existing models; Windows installs are no longer available for Python > 3.10)
- A supported camera backend (OpenCV webcams by default; additional backends supported)
Installation
deeplabcut-live-gui 2.0 is now available on PyPI.
To get the latest version, please follow the instructions below.
Option A — Install with uv
1) Create & activate a new virtual environment
uv venv -p 3.12 dlclivegui
# Linux/macOS:
source dlclivegui/bin/activate
# Windows (Command Prompt):
.\dlclivegui\Scripts\activate.bat
# Windows (PowerShell):
.\dlclivegui\Scripts\Activate.ps1
2) Choose inference backend and install
You may install PyTorch or TensorFlow extras (or both), but you must choose at least one to run inference.
- PyTorch (recommended):
uv pip install --pre deeplabcut-live-gui[pytorch]
- TensorFlow (backwards compatibility):
uv pip install --pre deeplabcut-live-gui[tf]
Option B — Install with mamba / conda
1) Create & activate a new conda environment
conda create -n dlclivegui python=3.12 # or mamba
conda activate dlclivegui
2) Install with your inference backend
- PyTorch (recommended):
pip install --pre deeplabcut-live-gui[pytorch]
- TensorFlow:
pip install --pre deeplabcut-live-gui[tf]
Run the application
After installation, start the application with:
dlclivegui # in conda/mamba
# OR:
uv run dlclivegui
Typical workflow
The new GUI supports one or more cameras.
Typical workflow:
- Configure Cameras (choose backend and devices)
- Adjust camera settings (serial, exposure, ROI/cropping, etc.)
- Start Preview
- Adjust visualization settings (keypoint color map, bounding boxes, etc.)
- Start inference
- Choose a DeepLabCut Live model
- Choose which camera to run inference on (currently one at a time)
- Start recording
- Adjust recording settings (codec, output format, etc.)
- Record video and timestamps to organized session folders
Current limitations
- Pose inference runs on one selected camera at a time (even in multi-camera mode)
- Camera features support and availability depends on backend capabilities and hardware
- OpenCV controls for resolution/FPS are best-effort and device-driver dependent
- DeepLabCut-Live models must be exported and compatible with the chosen backend
- Performance depends on resolution, frame rate, GPU availability, and codec choice
References
If you use this code, we kindly ask you to please cite:
- Kane et al., eLife 2020
- If preferred, see the Preprint
Contributing / Feedback
This project is under active development — feedback from real experimental use is highly valued.
Please report issues, suggest features, or contribute here on GitHub.
Metadata
Release files for deeplabcut-live-gui 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deeplabcut_live_gui-2.0.0.tar.gz | 744.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deeplabcut_live_gui-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / deeplabcut_live_gui-2.0.0.tar.gz
| Download URL | deeplabcut_live_gui-2.0.0.tar.gz |
|---|---|
| Size | 744.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c740ee2be59a36870662ac86d796596ab2a500d9c12244b5b181453cb7fbdaa0
|
|
BLAKE2b-256 checksum How to use checksums |
77d6747f2f50ccc10640cef3f3802a10d5f743ab7f72c4e8050f3a36e8009a29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / deeplabcut_live_gui-2.0.0-py3-none-any.whl
| Download URL | deeplabcut_live_gui-2.0.0-py3-none-any.whl |
|---|---|
| Size | 654.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e03cda79284af400de4bb7902af824cd5a5973df226c0c1462607e599eb42b11
|
|
BLAKE2b-256 checksum How to use checksums |
880906e4eaeaa27ccc97d8583ed493499aa83dc26025f2550f9a4b4bbf54ca32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|