luxonis/oak-examples

Example projects we've done with OAK cameras

What it solves

Developers using Luxonis OAK devices and DepthAI need practical, working examples to understand how to build applications, control cameras, run AI models, and stream data. This repository provides ready-to-use demonstrations and tutorials to bridge that gap.

How it works

The repository organizes examples into clear domains like Python and C++ code, camera controls, neural networks, and streaming protocols. Developers can clone the repository, install the recommended Python environment or C++ dependencies, and run specific sample applications for their hardware.

Who it’s for

This project is for developers and engineers working with Luxonis DepthAI hardware and OAK devices who want to implement computer vision, spatial depth measurement, and neural network applications.

Highlights

  • Ready-to-use applications demonstrating real-world use cases and conference demos
  • C++ examples and host build guides for DepthAIv3
  • Camera control examples for focus, exposure, and white balance parameters
  • Integrations with tools like Luxonis Hub, Foxglove, Rerun, and Roboflow
  • Custom frontend development tutorials using React and DepthAI viewer packages
  • Depth measurement demonstrations including spatial calculations and pointclouds
  • Neural network collections covering object detection, classification, and segmentation
  • Streaming capabilities supporting MJPEG, H.264, H.265, MQTT, TCP, RTSP, and WebRTC

Related

  • Project
  • Project
  • Project
  • Project
  • Project