Code SamplesΒΆ

Code samples are used for automated testing. They are also a great starting point for the DepthAI SDK, as different component functionalities are presented with code.

ColorCamera

Mixed

IMU

NN

Pointcloud

Recording

Replay

Stereo

  • Stereo Preview - Display WLS filtered disparity map

  • Auto IR Brightness - Demonstrates the use of auto IR brightness function

  • Stereo Control - Demonstrates stereo control (median filter, decimation factor, confidence threshold) from the host

  • Stereo Encoding - Demonstrates how to encode stereo stream and visualize it

Streaming

Trigger Action

Visualizer