Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 2.31.1 |
| License | MIT |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-release |
| Last Updated | 2026-01-26 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI C++ Library
Core C++ library
Important — You’re viewing the
v2.x.ybranch.
- For the latest version with support for RVC4 devices, please switch to the
mainbranch.
Documentation
Documentation is available over at Luxonis DepthAI API
Disclaimer
DepthAI library doesn’t yet provide API stability guarantees. While we take care to properly deprecate old functions, some changes might still be breaking. We expect to provide API stability from version 3.0.0 onwards.
Dependencies
- CMake >= 3.10
- C/C++14 compiler
- [optional] OpenCV 4 (required if building examples)
- [optional] PCL (required for point cloud example)
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
ℹ️ On Linux distributions based on RPMs, you need to install
perl-corerequired by OpenSSL dependency.sudo yum install perl-coreAnother option is to disable CURL support by setting
DEPTHAI_ENABLE_CURL=OFFwhen configuring CMake.cmake -S. -Bbuild -D'DEPTHAI_ENABLE_CURL=OFF'Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S. -Bbuild
cmake --build build
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores](CMake >= 3.12). For older versions use: Linux/macOS:cmake --build build -- -j[num CPU cores], MSVC:cmake --build build -- /MP[num CPU cores]
⚠️ If any CMake commands error with
CMake Error: The source directory "" does not exist.replace argument-Swith-H
Dynamic library
To build dynamic version of library configure with following option added
cmake -S. -Bbuild -D'BUILD_SHARED_LIBS=ON'
cmake --build build
Android
Android is supported to some extent but not actively pursued nor tested. PRs with any improvements are welcome.
Steps:
- Install Android NDK (for example via Android Studio).
- Set the NDK path:
export ANDROID_HOME=$HOME/.local/lib/Android
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools
export NDK=$ANDROID_HOME/ndk/23.1.7779620/ # Check version
- Ensure a recent version of cmake (apt version is outdated, install snap install cmake –classic)
- Run cmake, set your ABI and Platform as needed:
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-25
cmake --build build
Running examples
To build the examples configure with following option added
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
File truncated at 100 lines see the full file
Changelog for package depthai
2.31.1 (2026-01-23)
- Minor bugfixes
2.31.0 (2025-12-03)
## Features * Add tuning for the IMX577 sensor, removing the previously present blue tint * Improve IMX678 support on RVC2 with better black level correction, improving brightness and color accuracy
## New devices support * Add support for a new revision of OAK-Thermal (R8) * Add support for OAK-ToF (R4) * Add support for a new revision of OAK-D-S2-[Pro]-Wide OV9728 variant (R8)
## Bug fixes and stability * Fix a rare issue of IMU preventing a device reboot * Fix a timestamp overflow bug on the BNO08x IMU * Fix an edge case where [dai.Device]{.title-ref} constructor could get stuck indefinitely if the device lost connection at the wrong time by adding a timeout internally * Turn on the watchdog early during discovery of RVC2 USB devices to avoid soft bricking the device along with handling the case where the device gets into that state to recover it on the next boot * Fully disable crashdump extraction when [DEPTHAI_CRASHDUMP=0]{.title-ref} is set
## Misc * Add support to explicitly remove tracklets in [ObjectTracker]{.title-ref} node * Remove limitation for the maximum watchdog frequency from 4.5 seconds to unlimited ("infinity") by adding a software watchdog in firmware
2.30.0 (2025-03-18)
- Features
- Add RVC4 discovery to point users to v3 version of the library for OAK4 devices
- Add support for a new VCM enabling autofocus on new IMX378 CCMs
- Bug fixes
- Fix an edge case in ImageManip to make https://github.com/geaxgx/depthai_hand_tracker run in edge mode again
- Fix an edge case when sending MessageGroup from host to device and using more than 4 messages
2.29.0 (2024-11-26)
-
Features
-
Add the ability to change the calibration on the device in runtime with the new [dai::Device.setCalibration()]{.title-ref} method and to retrieve it with the [dai::Device.getCalibration()]{.title-ref}.
-
- New [StereoDepth]{.title-ref} presets:
-
- [DEFAULT]{.title-ref}
- [FACE]{.title-ref}
- [HIGH_DETAIL]{.title-ref}
- [ROBOTICS]{.title-ref}
-
- Multiple camera improvements (more details in https://github.com/luxonis/depthai-core/pull/972):
-
- Expose more downsampling modes when picking a lower than native resolutions
- Expose more binning modes when binning is picked on IMX582/586 ([sum]{.title-ref} and [avg]{.title-ref})
- HDR on IMX582/586
- Option to bypass 3A for having manual expose/ISO take effect faster
- Initial support for new Sony 4K Starvis sensors: IMX678 and IMX715
- Option to set the main camera to drive auto-exposure and auto-white-balance in multi-camera configurations
-
- Improved StereoDepth filtering and an option to use a set a custom order of filters
-
- Disparity is first scaled to 13 bit before going through filtering, which results in filters being more effective.
-
Misc
-
Remove false reports on crashes that happened on device destruction
- Add [getWidth()]{.title-ref} and [getHeight()]{.title-ref} API to [EncodedFrame]{.title-ref}
2.28.0 (2024-08-21)
Features * Changed the automatic crashdump collection to always on unless DEPTHAI_DISABLE_CRASHDUMP_COLLECTION is set. * Added DEPTHAI_ENABLE_ANALYTICS_COLLECTION environment varialbe - when set, analytic data (pipeline schema) is sent to Luxonis which will be used to further improve the library. * Undistort both outputs of ToF by default. * Improved 3A syncing on OAK-D-LR * Added support for YoloV10 * Bug fixes * Fix Camera node to correctly allocate resources for
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| depthai-ros | |
| depthai_bridge | |
| depthai_examples |
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 2.31.1 |
| License | MIT |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-release |
| Last Updated | 2026-01-26 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI C++ Library
Core C++ library
Important — You’re viewing the
v2.x.ybranch.
- For the latest version with support for RVC4 devices, please switch to the
mainbranch.
Documentation
Documentation is available over at Luxonis DepthAI API
Disclaimer
DepthAI library doesn’t yet provide API stability guarantees. While we take care to properly deprecate old functions, some changes might still be breaking. We expect to provide API stability from version 3.0.0 onwards.
Dependencies
- CMake >= 3.10
- C/C++14 compiler
- [optional] OpenCV 4 (required if building examples)
- [optional] PCL (required for point cloud example)
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
ℹ️ On Linux distributions based on RPMs, you need to install
perl-corerequired by OpenSSL dependency.sudo yum install perl-coreAnother option is to disable CURL support by setting
DEPTHAI_ENABLE_CURL=OFFwhen configuring CMake.cmake -S. -Bbuild -D'DEPTHAI_ENABLE_CURL=OFF'Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S. -Bbuild
cmake --build build
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores](CMake >= 3.12). For older versions use: Linux/macOS:cmake --build build -- -j[num CPU cores], MSVC:cmake --build build -- /MP[num CPU cores]
⚠️ If any CMake commands error with
CMake Error: The source directory "" does not exist.replace argument-Swith-H
Dynamic library
To build dynamic version of library configure with following option added
cmake -S. -Bbuild -D'BUILD_SHARED_LIBS=ON'
cmake --build build
Android
Android is supported to some extent but not actively pursued nor tested. PRs with any improvements are welcome.
Steps:
- Install Android NDK (for example via Android Studio).
- Set the NDK path:
export ANDROID_HOME=$HOME/.local/lib/Android
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools
export NDK=$ANDROID_HOME/ndk/23.1.7779620/ # Check version
- Ensure a recent version of cmake (apt version is outdated, install snap install cmake –classic)
- Run cmake, set your ABI and Platform as needed:
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-25
cmake --build build
Running examples
To build the examples configure with following option added
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
File truncated at 100 lines see the full file
Changelog for package depthai
2.31.1 (2026-01-23)
- Minor bugfixes
2.31.0 (2025-12-03)
## Features * Add tuning for the IMX577 sensor, removing the previously present blue tint * Improve IMX678 support on RVC2 with better black level correction, improving brightness and color accuracy
## New devices support * Add support for a new revision of OAK-Thermal (R8) * Add support for OAK-ToF (R4) * Add support for a new revision of OAK-D-S2-[Pro]-Wide OV9728 variant (R8)
## Bug fixes and stability * Fix a rare issue of IMU preventing a device reboot * Fix a timestamp overflow bug on the BNO08x IMU * Fix an edge case where [dai.Device]{.title-ref} constructor could get stuck indefinitely if the device lost connection at the wrong time by adding a timeout internally * Turn on the watchdog early during discovery of RVC2 USB devices to avoid soft bricking the device along with handling the case where the device gets into that state to recover it on the next boot * Fully disable crashdump extraction when [DEPTHAI_CRASHDUMP=0]{.title-ref} is set
## Misc * Add support to explicitly remove tracklets in [ObjectTracker]{.title-ref} node * Remove limitation for the maximum watchdog frequency from 4.5 seconds to unlimited ("infinity") by adding a software watchdog in firmware
2.30.0 (2025-03-18)
- Features
- Add RVC4 discovery to point users to v3 version of the library for OAK4 devices
- Add support for a new VCM enabling autofocus on new IMX378 CCMs
- Bug fixes
- Fix an edge case in ImageManip to make https://github.com/geaxgx/depthai_hand_tracker run in edge mode again
- Fix an edge case when sending MessageGroup from host to device and using more than 4 messages
2.29.0 (2024-11-26)
-
Features
-
Add the ability to change the calibration on the device in runtime with the new [dai::Device.setCalibration()]{.title-ref} method and to retrieve it with the [dai::Device.getCalibration()]{.title-ref}.
-
- New [StereoDepth]{.title-ref} presets:
-
- [DEFAULT]{.title-ref}
- [FACE]{.title-ref}
- [HIGH_DETAIL]{.title-ref}
- [ROBOTICS]{.title-ref}
-
- Multiple camera improvements (more details in https://github.com/luxonis/depthai-core/pull/972):
-
- Expose more downsampling modes when picking a lower than native resolutions
- Expose more binning modes when binning is picked on IMX582/586 ([sum]{.title-ref} and [avg]{.title-ref})
- HDR on IMX582/586
- Option to bypass 3A for having manual expose/ISO take effect faster
- Initial support for new Sony 4K Starvis sensors: IMX678 and IMX715
- Option to set the main camera to drive auto-exposure and auto-white-balance in multi-camera configurations
-
- Improved StereoDepth filtering and an option to use a set a custom order of filters
-
- Disparity is first scaled to 13 bit before going through filtering, which results in filters being more effective.
-
Misc
-
Remove false reports on crashes that happened on device destruction
- Add [getWidth()]{.title-ref} and [getHeight()]{.title-ref} API to [EncodedFrame]{.title-ref}
2.28.0 (2024-08-21)
Features * Changed the automatic crashdump collection to always on unless DEPTHAI_DISABLE_CRASHDUMP_COLLECTION is set. * Added DEPTHAI_ENABLE_ANALYTICS_COLLECTION environment varialbe - when set, analytic data (pipeline schema) is sent to Luxonis which will be used to further improve the library. * Undistort both outputs of ToF by default. * Improved 3A syncing on OAK-D-LR * Added support for YoloV10 * Bug fixes * Fix Camera node to correctly allocate resources for
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 2.31.1 |
| License | MIT |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-release |
| Last Updated | 2026-01-26 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI C++ Library
Core C++ library
Important — You’re viewing the
v2.x.ybranch.
- For the latest version with support for RVC4 devices, please switch to the
mainbranch.
Documentation
Documentation is available over at Luxonis DepthAI API
Disclaimer
DepthAI library doesn’t yet provide API stability guarantees. While we take care to properly deprecate old functions, some changes might still be breaking. We expect to provide API stability from version 3.0.0 onwards.
Dependencies
- CMake >= 3.10
- C/C++14 compiler
- [optional] OpenCV 4 (required if building examples)
- [optional] PCL (required for point cloud example)
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
ℹ️ On Linux distributions based on RPMs, you need to install
perl-corerequired by OpenSSL dependency.sudo yum install perl-coreAnother option is to disable CURL support by setting
DEPTHAI_ENABLE_CURL=OFFwhen configuring CMake.cmake -S. -Bbuild -D'DEPTHAI_ENABLE_CURL=OFF'Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S. -Bbuild
cmake --build build
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores](CMake >= 3.12). For older versions use: Linux/macOS:cmake --build build -- -j[num CPU cores], MSVC:cmake --build build -- /MP[num CPU cores]
⚠️ If any CMake commands error with
CMake Error: The source directory "" does not exist.replace argument-Swith-H
Dynamic library
To build dynamic version of library configure with following option added
cmake -S. -Bbuild -D'BUILD_SHARED_LIBS=ON'
cmake --build build
Android
Android is supported to some extent but not actively pursued nor tested. PRs with any improvements are welcome.
Steps:
- Install Android NDK (for example via Android Studio).
- Set the NDK path:
export ANDROID_HOME=$HOME/.local/lib/Android
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools
export NDK=$ANDROID_HOME/ndk/23.1.7779620/ # Check version
- Ensure a recent version of cmake (apt version is outdated, install snap install cmake –classic)
- Run cmake, set your ABI and Platform as needed:
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-25
cmake --build build
Running examples
To build the examples configure with following option added
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
File truncated at 100 lines see the full file
Changelog for package depthai
2.31.1 (2026-01-23)
- Minor bugfixes
2.31.0 (2025-12-03)
## Features * Add tuning for the IMX577 sensor, removing the previously present blue tint * Improve IMX678 support on RVC2 with better black level correction, improving brightness and color accuracy
## New devices support * Add support for a new revision of OAK-Thermal (R8) * Add support for OAK-ToF (R4) * Add support for a new revision of OAK-D-S2-[Pro]-Wide OV9728 variant (R8)
## Bug fixes and stability * Fix a rare issue of IMU preventing a device reboot * Fix a timestamp overflow bug on the BNO08x IMU * Fix an edge case where [dai.Device]{.title-ref} constructor could get stuck indefinitely if the device lost connection at the wrong time by adding a timeout internally * Turn on the watchdog early during discovery of RVC2 USB devices to avoid soft bricking the device along with handling the case where the device gets into that state to recover it on the next boot * Fully disable crashdump extraction when [DEPTHAI_CRASHDUMP=0]{.title-ref} is set
## Misc * Add support to explicitly remove tracklets in [ObjectTracker]{.title-ref} node * Remove limitation for the maximum watchdog frequency from 4.5 seconds to unlimited ("infinity") by adding a software watchdog in firmware
2.30.0 (2025-03-18)
- Features
- Add RVC4 discovery to point users to v3 version of the library for OAK4 devices
- Add support for a new VCM enabling autofocus on new IMX378 CCMs
- Bug fixes
- Fix an edge case in ImageManip to make https://github.com/geaxgx/depthai_hand_tracker run in edge mode again
- Fix an edge case when sending MessageGroup from host to device and using more than 4 messages
2.29.0 (2024-11-26)
-
Features
-
Add the ability to change the calibration on the device in runtime with the new [dai::Device.setCalibration()]{.title-ref} method and to retrieve it with the [dai::Device.getCalibration()]{.title-ref}.
-
- New [StereoDepth]{.title-ref} presets:
-
- [DEFAULT]{.title-ref}
- [FACE]{.title-ref}
- [HIGH_DETAIL]{.title-ref}
- [ROBOTICS]{.title-ref}
-
- Multiple camera improvements (more details in https://github.com/luxonis/depthai-core/pull/972):
-
- Expose more downsampling modes when picking a lower than native resolutions
- Expose more binning modes when binning is picked on IMX582/586 ([sum]{.title-ref} and [avg]{.title-ref})
- HDR on IMX582/586
- Option to bypass 3A for having manual expose/ISO take effect faster
- Initial support for new Sony 4K Starvis sensors: IMX678 and IMX715
- Option to set the main camera to drive auto-exposure and auto-white-balance in multi-camera configurations
-
- Improved StereoDepth filtering and an option to use a set a custom order of filters
-
- Disparity is first scaled to 13 bit before going through filtering, which results in filters being more effective.
-
Misc
-
Remove false reports on crashes that happened on device destruction
- Add [getWidth()]{.title-ref} and [getHeight()]{.title-ref} API to [EncodedFrame]{.title-ref}
2.28.0 (2024-08-21)
Features * Changed the automatic crashdump collection to always on unless DEPTHAI_DISABLE_CRASHDUMP_COLLECTION is set. * Added DEPTHAI_ENABLE_ANALYTICS_COLLECTION environment varialbe - when set, analytic data (pipeline schema) is sent to Luxonis which will be used to further improve the library. * Undistort both outputs of ToF by default. * Improved 3A syncing on OAK-D-LR * Added support for YoloV10 * Bug fixes * Fix Camera node to correctly allocate resources for
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 3.6.1 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | kilted |
| Last Updated | 2026-05-05 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI Library
DepthAI library for interfacing with Luxonis DepthAI hardware. It’s written in C++ and offers Python bindings out of the box.
Important — You’re viewing the
v3.x.ybranch.
- For production projects that still rely on v2, check out the
v2_stablebranch.- Need to migrate? Follow the step-by-step v2 → v3 Porting Guide.
Documentation
Documentation is available over at Luxonis DepthAI API
Examples
Examples for both C++ and Python are available in the examples folder. To see how to build and run them see README.md for more information.
To build the examples in C++ configure with the following option added:
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
Dependencies
- CMake >= 3.20
- C/C++17 compiler
- [Linux] libudev >= 1.0.0
- [optional] OpenCV 4 (required if building examples and for record and replay)
- [optional] PCL (required for point cloud example)
To install libudev on Debian based systems (Ubuntu, etc.): sudo apt install libudev-dev
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
Windows: choco install opencv
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
Using Python bindings
Installing the latest pre-released version of the library can be done with:
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-release-local/ --pre -U depthai
or by running:
python3 examples/python/install_requirements.py on the branch you want to install
For more specific information about Python bindings, see Python README.
Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S . -B build
cmake --build build --parallel [num CPU cores]
On Windows it’s often required to specify the location of the OpenCV installation. In case you used chocolatey to install OpenCV, you can use the following command:
cmake -S . -B build -DOpenCV_DIR=C:/tools/opencv/build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel [num CPU cores]
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores].
Dynamic library
To build a dynamic version of the library configure with the following option added
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON'
cmake --build build --parallel [num CPU cores]
Installation and Integration
Installation of the DepthAI library is currently only available as a dynamic library. To install the library, use the following command:
cmake -S . -B build -D'BUILD_SHARED_LIBS=ON' -D'CMAKE_INSTALL_PREFIX=[path/to/install/dir]'
cmake --build build --target install --parallel [num CPU cores]
ℹ️ Make sure to check out our template C++ project.
Verifying installation
To verify the installation works as expected, you can test if the integration project compiles and runs. This is done by running the following command:
File truncated at 100 lines see the full file
Changelog for package depthai
3.6.1 (2026-05-04)
## Features * AutoCalibration is now turned on by default and can be turned off with [DEPTHAI_AUTOCALIBRATION=OFF]{.title-ref}. * Add support for IMU calibration and unify outputs with each sensor now having [RAW]{.title-ref}, [UNCALIBRATED]{.title-ref}, and [CALIBRATED]{.title-ref} outputs. * Important: [RAW]{.title-ref} used to be pre-rotated to the RDF coordinate system, but is now captured directly from the IMU. To keep the previous behavior, switch to the [UNCALIBRATED]{.title-ref} output. * Add Extrinsics tracking to ImgTransformations, along with utilities to remap/project points between images. * Each message tracks rotation and translation to the camera socket with the lowest index, for example [CAM_A]{.title-ref}. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Remapping/point_remapping.py]{.title-ref}. * Add YOLO26 support to DetectionParser. * Add support for new NeuralDepth models. * Existing model FPS improvements: * LARGE (768x480) from 10 FPS to 22 FPS. * MEDIUM (576x360) from 26 FPS to 38 FPS. * SMALL (480x300) from 42 FPS to 56 FPS. * NANO (384x240) from 60 FPS to 85 FPS. * New models: * 1248x780 at 8.5 FPS. * 1056x660 at 12.5 FPS. * 960x600 at 14 FPS. * 864x540 at 18 FPS. * LuxonisOS 1.30.1 or newer is required. * Add a new PointCloud node with support to select a custom coordinate system. * C++ examples in [examples/cpp/PointCloud]{.title-ref} and Python examples in [examples/python/PointCloud]{.title-ref}. * Improve Holistic record & replay support. * Record and replay device calibration. * Record and mock device capabilities, including [device.getConnectedCameraFeatures()]{.title-ref} and [device.getConnectedIMU()]{.title-ref}. * Auto-sync recordings for more robust stream playback when streams need to be synced. * Use [DEPTHAI_REPLAY={path to recording}]{.title-ref} for replay without changing the script. * Update Embedded Visualizer to 2.3.3. * Improved pipeline debugging pane. * Small UI fixes. * Improved device connection stability. * Improve automatic Camera sensor config selection and FPS selection. * Fall back to cropped configs when a full-resolution config cannot satisfy requested outputs. * Automatically put cameras that cannot be FSynced with other cameras into free-running mode. * Correctly track intrinsics for cropped sensor configs. * On RVC4, LuxonisOS 1.31 or newer is required. * Improve ObjectTracker with optional association in 3D and add velocity property to [dai.Tracklet]{.title-ref}. * [RVC4] Add support for PTP in Camera syncing on RVC4. * LuxonisOS 1.30.1 or newer is required. * Supported on IMX586 and OG05 sensors. * C++ example [examples/cpp/Remapping/point_remapping.cpp]{.title-ref} and Python example [examples/python/Misc/MultiDevice/multi_device_frame_sync.py]{.title-ref}.
## Misc * Add [LEFT]{.title-ref} and [RIGHT]{.title-ref} alignment to StereoDepth and correctly respect [RECTIFIED_LEFT]{.title-ref} and [RECTIFIED_RIGHT]{.title-ref} on RVC4. * [RVC2] Add support for IMX380. * [RVC4] Use [SNPE 2.41.0.251128]{.title-ref} if available for NeuralNetwork engine. * Automatically switch DetectionParser to run on host on RVC2 when the model contains a segmentation mask. * Add support for [MessageDemux]{.title-ref} to run on host. * Add ROS Kilted packaging support and build dynamic calibration in the ROS package.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.20.5, 1.27.1 and 1.30.1.
3.5.0 (2026-03-18)
## Features * Add AutoCalibration node which automatically performs dynamic calibration. * It can be turned on implicitly by setting [DEPTHAI_AUTOCALIBRATION=ON_START]{.title-ref} or [DEPTHAI_AUTOCALIBRATION=CONTINUOUS]{.title-ref}. * It can also be used explicitly; see [examples/cpp/AutoCalibration/auto_calibration_example.cpp]{.title-ref} and [examples/python/AutoCalibration/auto_calibration_example.py]{.title-ref}. * Merge v2.32.0, including RVC2 crashdump collection improvements and device state retrieval. * Add [device.getState]{.title-ref}, which returns the firmware state of the device at runtime. * Add [setProcessor]{.title-ref} to select the processor for [Sync]{.title-ref} and [Demux]{.title-ref} nodes. * Expand crashdump data in firmware with more context on what caused the crash. * Include v2.31.1 fixes for a hard-to-hit [MessageGroup]{.title-ref} cache coherency bug.
## Misc * Set tracked undistortion coefficients on legacy calibration to 0 when undistortion is turned on. * Add [eventManager.waitForPendingUploads()]{.title-ref} to avoid losing Snaps and Events waiting in the queue at script exit. * Expand the stability test to include [NeuralAssistedStereo]{.title-ref}, [FeatureTracker]{.title-ref}, and [ObjectTracker]{.title-ref}.
## [RVC4] Luxonis OS compatibility * Integration tested on Luxonis OS 1.14.1, 1.20.5 and 1.27.1.
3.4.0 (2026-03-09)
## Features * Add support for semantic segmentation. * C++ example [examples/cpp/Segmentation/semantic_segmentation.cpp]{.title-ref} and Python example [examples/python/Segmentation/semantic_segmentation.py]{.title-ref}. * Add support for ingesting instance segmentation in
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged depthai at Robotics Stack Exchange
Package Summary
| Version | 2.31.1 |
| License | MIT |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-release |
| Last Updated | 2026-01-26 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Adam Serafin
Authors
- Martin Peterlin
DepthAI C++ Library
Core C++ library
Important — You’re viewing the
v2.x.ybranch.
- For the latest version with support for RVC4 devices, please switch to the
mainbranch.
Documentation
Documentation is available over at Luxonis DepthAI API
Disclaimer
DepthAI library doesn’t yet provide API stability guarantees. While we take care to properly deprecate old functions, some changes might still be breaking. We expect to provide API stability from version 3.0.0 onwards.
Dependencies
- CMake >= 3.10
- C/C++14 compiler
- [optional] OpenCV 4 (required if building examples)
- [optional] PCL (required for point cloud example)
To install OpenCV:
MacOS: brew install opencv
Linux: sudo apt install libopencv-dev
To install PCL:
MacOS: brew install pcl
Linux: sudo apt install libpcl-dev
ℹ️ On Linux distributions based on RPMs, you need to install
perl-corerequired by OpenSSL dependency.sudo yum install perl-coreAnother option is to disable CURL support by setting
DEPTHAI_ENABLE_CURL=OFFwhen configuring CMake.cmake -S. -Bbuild -D'DEPTHAI_ENABLE_CURL=OFF'Building
Make sure submodules are updated
git submodule update --init --recursive
Then configure and build
cmake -S. -Bbuild
cmake --build build
ℹ️ To speed up build times, use
cmake --build build --parallel [num CPU cores](CMake >= 3.12). For older versions use: Linux/macOS:cmake --build build -- -j[num CPU cores], MSVC:cmake --build build -- /MP[num CPU cores]
⚠️ If any CMake commands error with
CMake Error: The source directory "" does not exist.replace argument-Swith-H
Dynamic library
To build dynamic version of library configure with following option added
cmake -S. -Bbuild -D'BUILD_SHARED_LIBS=ON'
cmake --build build
Android
Android is supported to some extent but not actively pursued nor tested. PRs with any improvements are welcome.
Steps:
- Install Android NDK (for example via Android Studio).
- Set the NDK path:
export ANDROID_HOME=$HOME/.local/lib/Android
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools
export NDK=$ANDROID_HOME/ndk/23.1.7779620/ # Check version
- Ensure a recent version of cmake (apt version is outdated, install snap install cmake –classic)
- Run cmake, set your ABI and Platform as needed:
cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-25
cmake --build build
Running examples
To build the examples configure with following option added
cmake -S. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON'
cmake --build build
File truncated at 100 lines see the full file
Changelog for package depthai
2.31.1 (2026-01-23)
- Minor bugfixes
2.31.0 (2025-12-03)
## Features * Add tuning for the IMX577 sensor, removing the previously present blue tint * Improve IMX678 support on RVC2 with better black level correction, improving brightness and color accuracy
## New devices support * Add support for a new revision of OAK-Thermal (R8) * Add support for OAK-ToF (R4) * Add support for a new revision of OAK-D-S2-[Pro]-Wide OV9728 variant (R8)
## Bug fixes and stability * Fix a rare issue of IMU preventing a device reboot * Fix a timestamp overflow bug on the BNO08x IMU * Fix an edge case where [dai.Device]{.title-ref} constructor could get stuck indefinitely if the device lost connection at the wrong time by adding a timeout internally * Turn on the watchdog early during discovery of RVC2 USB devices to avoid soft bricking the device along with handling the case where the device gets into that state to recover it on the next boot * Fully disable crashdump extraction when [DEPTHAI_CRASHDUMP=0]{.title-ref} is set
## Misc * Add support to explicitly remove tracklets in [ObjectTracker]{.title-ref} node * Remove limitation for the maximum watchdog frequency from 4.5 seconds to unlimited ("infinity") by adding a software watchdog in firmware
2.30.0 (2025-03-18)
- Features
- Add RVC4 discovery to point users to v3 version of the library for OAK4 devices
- Add support for a new VCM enabling autofocus on new IMX378 CCMs
- Bug fixes
- Fix an edge case in ImageManip to make https://github.com/geaxgx/depthai_hand_tracker run in edge mode again
- Fix an edge case when sending MessageGroup from host to device and using more than 4 messages
2.29.0 (2024-11-26)
-
Features
-
Add the ability to change the calibration on the device in runtime with the new [dai::Device.setCalibration()]{.title-ref} method and to retrieve it with the [dai::Device.getCalibration()]{.title-ref}.
-
- New [StereoDepth]{.title-ref} presets:
-
- [DEFAULT]{.title-ref}
- [FACE]{.title-ref}
- [HIGH_DETAIL]{.title-ref}
- [ROBOTICS]{.title-ref}
-
- Multiple camera improvements (more details in https://github.com/luxonis/depthai-core/pull/972):
-
- Expose more downsampling modes when picking a lower than native resolutions
- Expose more binning modes when binning is picked on IMX582/586 ([sum]{.title-ref} and [avg]{.title-ref})
- HDR on IMX582/586
- Option to bypass 3A for having manual expose/ISO take effect faster
- Initial support for new Sony 4K Starvis sensors: IMX678 and IMX715
- Option to set the main camera to drive auto-exposure and auto-white-balance in multi-camera configurations
-
- Improved StereoDepth filtering and an option to use a set a custom order of filters
-
- Disparity is first scaled to 13 bit before going through filtering, which results in filters being more effective.
-
Misc
-
Remove false reports on crashes that happened on device destruction
- Add [getWidth()]{.title-ref} and [getHeight()]{.title-ref} API to [EncodedFrame]{.title-ref}
2.28.0 (2024-08-21)
Features * Changed the automatic crashdump collection to always on unless DEPTHAI_DISABLE_CRASHDUMP_COLLECTION is set. * Added DEPTHAI_ENABLE_ANALYTICS_COLLECTION environment varialbe - when set, analytic data (pipeline schema) is sent to Luxonis which will be used to further improve the library. * Undistort both outputs of ToF by default. * Improved 3A syncing on OAK-D-LR * Added support for YoloV10 * Bug fixes * Fix Camera node to correctly allocate resources for
File truncated at 100 lines see the full file