DepthAI Python Library
Actively maintained. Last release 11 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install depthaiDepthAI Python Library

Python bindings for the DepthAI C++ SDK, for building vision pipelines with Luxonis OAK cameras.
This README describes DepthAI v3. For existing v2 applications, use
depthai<3 and the v2 documentation.
See the v2 to v3 porting guide
when migrating.
Installation
Install the released package from PyPI in a Python 3.9 or newer environment:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade depthai
Verify the installed version and discover connected devices:
python3 -c "import depthai as dai; print(dai.__version__); print(dai.Device.getAllAvailableDevices())"
Run all camera streams of a connected OAK device. cam_test uses OpenCV,
so install it first:
python3 -m pip install opencv-python
depthai cam_test
Next steps
- DepthAI v3 documentation: guides, API reference and node descriptions
- Python examples: short examples for each node and feature
- OAK examples: complete applications that you can run and change
- Model Zoo: ready-to-use neural network models for OAK cameras
- depthai-nodes: Python host nodes, such as parsers for Model Zoo models
Need help?
Ask Luxonis Chat or the forum, or open a .