DepthAI USB3 with onboard cameras
BW1098OBC
Use DepthAI on your existing host. Since the AI/vision processing is done on the Myriad X, a typical desktop could handle tens of DepthAIs plugged in (the effective limit is how many USB ports the host can handle).
Requirements
- Ubuntu 18.04 or Raspbian 10
- USB3C cable
- USB3C port on the host
- A supported Python version on the host
What’s in the box?
- DepthAI USB3 with onboard cameras Carrier Board
- USB3C cable (6 ft.)
- Power Supply
Setup
Follow the steps below to setup your DepthAI device.
Connect your host to the DepthAI USB carrier board
Connect the DepthAI USB power supply (included)
Install the Python DepthAI API
Calibrate Stereo Cameras
Use the DepthAI calibration script with the following argument:
-co '{"board_config": {"left_to_right_distance_cm": 7.5}}'
This sets the distance between the stereo cameras to their distance on the board.
Download and run DepthAI Python examples
We’ll execute a DepthAI example Python script to ensure your setup is configured correctly. Follow these steps to test DepthAI:
- Start a terminal session.
- Access your local copy of
depthai-python-extras
.cd [depthai-python-extras repo]
-
Run
python3 test.py -co '{"board_config": {"left_to_right_distance_cm": 7.5}}'
.
The script launches a window, starts the cameras, and displays a video stream annotated with object localization metadata: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 on GitHub.