The ADI ToF SDK is a cross platform library for the Analog Devices depth cameras based on the ADDI9036 TOF Signal Processor. It provides support for data processing on the embedded processor platform as well as for USB, Ethernet or Wi-Fi to connect to a host computer. This flexibility enables evaluation across a wide range of use cases and environments.
The SDK provides an API to control the ToF camera, IR stream and depth data. Windows and Linux support are built into the SDK as well as sample code and wrappers for various languages including Python, C/C++ and Matlab.
For more details on building the SDK on a host platform please check the User Guide specified below for either Windows OS or Linux OS.
Operating System | Documentation | GitHub master status | Downloads |
---|---|---|---|
Windows | User Guide | ||
Linux | User Guide |
Designed using a modular approach, the 3D ToF hardware prototyping platform enables connectivity to the 96Boards development boards suite as well RaspberryPI or any other hardware platforms that have the RaspberryPI camera connector.
For more details on building the SDK on an embedded platform please check the User Guide specified below for either DragonBoard 410c or Raspberry Pi.
Platform | Documentation | GitHub master status | Downloads |
---|---|---|---|
DragonBoard 410c | User Guide | ||
Raspberry Pi 3,4 | User Guide |
How to write the SD card image onto the SD card?
From an architectural point of view, the SDK consists of two layers. One layer is the high level API that allows clients to easily grab a camera object, configure it and request frames. The other layer is the low level API which exposes the interface through which low level operations can be made to the camera hardware.
For more details about the SDK check the links below:
Building and installing the SDK
Example | Language | Description |
---|---|---|
aditof-demo | C++ | An application that displays the infrared and depth images |
first-frame | C++ | An example code that shows the steps required to get to the point where camera frames can be captured |
Python | ||
device_example | Python | A simple example of how to get access to the low-level API of the camera |
dnn | Python with OpenCV | A simple object detection example |
C++ with OpenCV | ||
imshow | C++ with OpenCV | A basic example that displays data provided by the Aditof SDK |
Directory | Description |
---|---|
apps | Applications specific to various targets and hosts |
bindings | SDK bindings to other languages |
ci | Useful scripts for continuous integration |
doc | Documentation |
examples | Example code for the supported programming languages |
scripts | Useful development scripts |
sdk | SDK source code |