DepthAI SDK
DepthAI SDK is a Python package, containing convenience classes and functions that help in most common tasks while using DepthAI API. It is created on top of the regular DepthAI API. The package was created to make your use of DepthAI easier. It consists of managers, which handle different aspects of development:
Helps in setting up processing pipeline |
|
Helps in setting up neural networks |
|
Helps in displaying preview from OAK cameras |
|
Helps in creating videos from OAK cameras |
|
Helps in downloading neural networks as MyriadX blobs |
|
For FPS calculations |
|
For frame handling |
|
For various most-common tasks |
Installation
To install this package, run the following command in your terminal window
python3 -m pip install depthai-sdk
Warning
If you’re using Raspberry Pi, providing a Pi Wheels extra package url can significantly speed up the installation process by providing prebuilt binaries for OpenCV
python3 -m pip install --extra-index-url https://www.piwheels.org/simple/ depthai-sdk
To help you understand and learn how to use the package and how the manager classes work, we created a few simple tutorials:
We recommend that you start with the Getting started with DepthAI SDK
Got questions?
We’re always happy to help with code or other questions you might have.