Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 2.3 KB

README.md

File metadata and controls

63 lines (42 loc) · 2.3 KB

DepthAI Python Library

License: MIT PyPI Downloads

Luxonis OAK camera

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

Need help?

Ask Luxonis Chat or the forum, or open a GitHub issue.

Luxonis MCP server

Connect your AI coding agent to the Luxonis MCP server at https://mcp.luxonis.com/mcp. It gives the agent current Luxonis documentation, examples and model information. For setup steps, see the Luxonis Agent Toolkit.

Happy building!