depthai
DepthAI Python Library
Decision gist · record as of 2026-08-14
Yes, if you own or plan to use an OAK camera or compatible Luxonis depth hardware. The library is actively maintained, has no known vulnerabilities, and offers permissive licensing. Install friction is moderate due to compiled bindings and system dependencies, but prebuilt wheels mitigate most friction for standard platforms. Not worth installing without the hardware.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a connected OAK camera or compatible depth hardware; building from source requires cmake ≥ 3.4 and a C++14 compiler.
- Medium install friction due to compiled C++ bindings and platform-specific wheels.
- Prebuilt wheels available for Python 3.9–3.14 on macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows (amd64).
License · maintenance · safety
MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2026-07-10 (35 days) · last repo commit 2026-08-14 · 353 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 182,146 downloads/mo, #10,107 on PyPI
Alternatives
Verify before relying
pip install depthai
import depthai as dai
pipeline = dai.Pipeline()
cam = pipeline.createColorCamera()
device = dai.Device(pipeline)- Specific OAK camera models and hardware versions supported by version 3.8.0
- Performance characteristics (latency, throughput) for typical depth/spatial AI workloads
- Whether prebuilt wheels include all optional features or if some require source build
What it is and what it does
DepthAI is a Python wrapper around the DepthAI C++ core library, providing direct access to Luxonis OAK depth cameras and spatial AI accelerators. It exposes a high-level API for configuring camera pipelines, capturing depth and RGB frames, and running on-device neural network inference. The library depends only on numpy and is distributed as prebuilt wheels for modern Python versions across Windows, macOS, and Linux.
Typical workflows involve creating a pipeline (defining camera nodes, neural networks, and data flows), connecting it to a device, and then streaming frames or inference results back to Python. The package is designed for real-time 3D vision tasks where depth sensing and spatial awareness are primary requirements. Building from source is supported but adds significant complexity due to C++ compilation and external dependencies like libusb.
Use it for
- Real-time depth sensing and 3D reconstruction from OAK stereo cameras in robotics or autonomous systems.
- On-device spatial AI inference (object detection, pose estimation) without sending frames to a remote server.
- Prototyping computer vision pipelines that combine depth, RGB, and neural network outputs on embedded or edge hardware.
- Building augmented reality or spatial mapping applications that require low-latency depth data.
- Integrating OAK cameras into Python-based research or educational projects in computer vision.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you own or plan to use an OAK camera or compatible Luxonis depth hardware.
The library is actively maintained, has no known vulnerabilities, and offers permissive licensing. Install friction is moderate due to compiled bindings and system dependencies, but prebuilt wheels mitigate most friction for standard platforms. Not worth installing without the hardware.
Install
depthai on PyPI
Before you install
Medium install friction due to compiled C++ bindings and platform-specific wheels. Prebuilt wheels available for Python 3.9–3.14 on macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows (amd64). Building from source requires cmake ≥ 3.4, a C++14 compiler, and depthai-core dependencies (including libusb); common issues include missing system libraries and Hunter cache conflicts.
Requires a connected OAK camera or compatible depth hardware; building from source requires cmake ≥ 3.4 and a C++14 compiler.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install depthai
import depthai as dai
pipeline = dai.Pipeline()
cam = pipeline.createColorCamera()
device = dai.Device(pipeline)
Verify before relying
- Specific OAK camera models and hardware versions supported by version 3.8.0
- Performance characteristics (latency, throughput) for typical depth/spatial AI workloads
- Whether prebuilt wheels include all optional features or if some require source build
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagenumpy |
| Maintenance | Actively maintained 35 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 182,146 / month, #10,107 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Scientific/EngineeringTopic :: Software Development |
Evidence: depthai-3.8.0-cp39.cp310.cp311.cp312.cp313.cp314-cp39.cp310.cp311.cp312.cp313.cp314-macosx_11_0_arm64.whl; depthai-3.8.0-cp39.cp310.cp311.cp312.cp313.cp314-cp39.cp310.cp311.cp312.cp313.cp314-macosx_11_0_x86_64.whl; depthai-3.8.0-cp39.cp310.cp311.cp312.cp313.cp314-cp39.cp310.cp311.cp312.cp313.cp314-manylinux_2_28_aarch64.whl; depthai-3.8.0-cp39.cp310.cp311.cp312.cp313.cp314-cp39.cp310.cp311.cp312.cp313.cp314-manylinux_2_28_x86_64.whl; depthai-3.8.0-cp39.cp310.cp311.cp312.cp313.cp314-cp39.cp310.cp311.cp312.cp313.cp314-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “depth camera python bindings”
- depthaiPython bindings for the DepthAI C++ library, enabling programmatic…
- pyrealsense2Python wrapper for Intel RealSense SDK 2.0 that enables depth and…
- pycolmapPyCOLMAP exposes Python bindings to COLMAP's Structure-from-Motion…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pyrealsense2 · dlib · aiopvapi · akracer · blinkpy · dyNET38 · gtsam · reolink-aio · systemd-python