DepthAI OAK-D with WiFi

OAK-D-WiFI

The DepthAI OAK-D WiFi (BW1098OBC_WiFi) is a modified version of the OAK-D with an added WiFi module. This board allows users to quickly prototype standalone embedded solutions.

Besides the standard DepthAI capabilites, the OAK-D WiFi gives users access to a lightweight processor with useful features such as Bluetooth, Bluetooth Low Energy (BTLE), and WiFi, and comes in a convenient FCC/CE-certified module.

Note

If you would like to find out more about ESP32, check the ESP32 tutorial.

Note

All tutorials / example codes (First steps with DepthAI, depthai-python code samples, depthai-experiments) are compatible with this device as well.

Requirements

  • PC to program ESP32.

What’s in the box?

  • BW1098OBC_WiFi

  • USB3C cable (6 in.) - To connect to the VPU (MyriadX)

  • Micro-USB - To connect to the ESP32

  • Power Supply

Setup

Install the Python API.

Verify installation

We’ll execute a DepthAI example Python script to ensure your setup is configured correctly. Follow these steps to test DepthAI:

  1. Start a terminal session.

  2. Clone the depthai example repository.

git clone https://github.com/luxonis/depthai.git
  1. Access your local copy of depthai.

cd [depthai repo]
  1. Install the example repository requirements.

python3 install_requirements.py
  1. Run demo script.

python3 depthai_demo.py

The script launches a window, starts the cameras, and displays a video stream annotated with object localization metadata:

Depth projection

In the screenshot above, DepthAI identified a TV monitor (1.286 m from the camera) and a chair (3.711 m from the camera).

See the list of object labels in our pre-trained OpenVINO model tutorial.

Using the ESP32/SPI Interface

A number of examples that show how to communicate with the OAK-D WiFi over SPI can be found here:

https://github.com/luxonis/depthai-experiments/tree/master/gen2-spi

All of these examples consist of two parts: An application that runs on the OAK-D WiFi and an application that runs on the MyriadX using the gen2 Pipeline Builder. More information on how to set up both of these can be found in that github’s README.

Got questions?

We’re always happy to help with code or other questions you might have.