DeepLabCut-live-GUI supports multiple camera backends for different platforms and camera types:
- OpenCV - Universal webcam and USB camera support (all platforms)
- GenTL - Industrial cameras via GenTL producers (Windows, Linux)
- Aravis - GenICam/GigE Vision cameras (Linux, macOS)
- Basler - Basler cameras via pypylon (all platforms)
You can select the backend in the GUI from the "Backend" dropdown, or in your configuration file:
{
"camera": {
"backend": "aravis",
"index": 0,
"fps": 30.0
}
}- OpenCV compatible cameras: Best for webcams and simple USB cameras. OpenCV is installed with DeepLabCut-live-GUI.
- GenTL backend: Recommended for industrial cameras (The Imaging Source, Basler, etc.) via vendor-provided CTI files.
- Basler cameras: Can use either GenTL or pypylon backend.
- OpenCV compatible cameras: Good for webcams via Video4Linux drivers. Installed with DeepLabCut-live-GUI.
- Aravis backend: Recommended for GenICam/GigE Vision industrial cameras (The Imaging Source, Basler, Point Grey, etc.)
- Easy installation via system package manager
- Better Linux support than GenTL
- See Aravis Backend Documentation
- GenTL backend: Alternative for industrial cameras if vendor provides Linux CTI files.
- OpenCV compatible cameras: For webcams and compatible USB cameras.
- Aravis backend: For GenICam/GigE Vision cameras (requires Homebrew installation).
sudo apt-get install gir1.2-aravis-0.8 python3-gibrew install aravis
pip install pygobjectInstall vendor-provided camera drivers and SDK. CTI files are typically in:
C:\Program Files\The Imaging Source Europe GmbH\IC4 GenTL Driver\bin\
| Feature | OpenCV | GenTL | Aravis | Basler (pypylon) |
|---|---|---|---|---|
| Exposure control | No | Yes | Yes | Yes |
| Gain control | No | Yes | Yes | Yes |
| Windows | ✅ | ✅ | ❌ | ✅ |
| Linux | ✅ | ✅ | ✅ | ✅ |
| macOS | ✅ | ❌ | ✅ | ✅ |
- Aravis Backend - GenICam/GigE cameras on Linux/macOS
- GenTL Backend - Industrial cameras via vendor CTI files
- OpenCV Backend - Universal webcam support