DepthAI SDK

https://user-images.githubusercontent.com/18037362/142909472-eae7bed1-695b-48ec-8895-76982989de11.png

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:

depthai_sdk.managers.PipelineManager

Helps in setting up processing pipeline

depthai_sdk.managers.NNetManager

Helps in setting up neural networks

depthai_sdk.managers.PreviewManager

Helps in displaying preview from OAK cameras

depthai_sdk.managers.EncodingManager

Helps in creating videos from OAK cameras

depthai_sdk.managers.BlobManager

Helps in downloading neural networks as MyriadX blobs

depthai_sdk.fps

For FPS calculations

depthai_sdk.previews

For frame handling

depthai_sdk.utils

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.