Package Summary
| Version | 3.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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.9.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/luxonis/depthai-core.git |
| VCS Type | git |
| VCS Version | ros-devel |
| Last Updated | 2026-08-17 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Aljaž Sebastjan Ahtik
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
Beta features
The beta namespace is a staging area for experimental DepthAI features. It
allows new features to be developed and iterated on quickly before they are
promoted to the main depthai namespace.
Beta features are well-developed, but minor API and behavioral changes may occur between DepthAI releases without notice.
In C++, beta nodes are available under dai::beta::node:
auto node = pipeline.create<dai::beta::node::ImgDetectionsFilter>();
In Python, they are available under dai.beta.node:
node = pipeline.create(dai.beta.node.ImgDetectionsFilter)
On-device execution of Beta nodes is supported only on RVC4. If running Beta nodes on RVC2, DepthAI automatically configures beta nodes to run on the host.
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].
File truncated at 100 lines see the full file
Changelog for package depthai
3.9.0 (2026-08-17)
## Features
-
Beta features namespace
- Staging area for experimental DepthAI nodes and features
- Enables faster support for features whose public API may change without prior notice
- All nodes run natively on RVC4 and on the host for RVC2
- All parsers and unique messages from [depthai_nodes]{.title-ref} are ported over and have native support
- Parsers have exposed runtime configuration changes via config messages
- [Python](https://github.com/luxonis/depthai-core/tree/main/examples/python/Beta) and [C++ examples](https://github.com/luxonis/depthai-core/tree/main/examples/cpp/Beta) are available
-
[_RVC2_] PoE Bootloader update
- Embedded Bootloader version updated to v0.0.29
- Greatly improves RVC2 PoE device discoverability by fixing stale connection information that could result in [X_LINK_DEVICE_NOT_FOUND]{.title-ref} errors
- The bootloader is backward- and forward-compatible and independent of the DepthAI version
- Updating the recoverable _user bootloader is recommended for devices with frequent discovery failures. For full integration, we recommend flashing the _factory bootloader.
- The following three flashing paths are available:
- For a GUI experience, use [device_manager.py](https://github.com/luxonis/depthai-core/blob/main/utilities/device_manager.py). The update function is accessible within the "danger zone" section
- Using the provided [flash_network_bootloader.py](https://github.com/luxonis/depthai-core/blob/main/utilities/flash_network_bootloader.py) script. By default, the script flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- Using the CLI command [depthai --flash <device_ip>]{.title-ref}. By default, the command flashes the _user bootloader; use the [-f]{.title-ref} flag to enable factory flashing
- For more information, follow the [tutorial](https://docs.luxonis.com/software-v3/depthai/depthai-components/bootloader) in our docs
-
[_RVC4_] Alpha parameter for image undistortion
- StereoDepth node now properly handles alpha scaling of undistortion on RVC4
- Camera output requests now accept an optional [alphaScaling]{.title-ref} value for controlling the balance between cropping and retaining the full field of view
-
Depth colorization utility
- Added [dai::utility::colorizeDepthFrame]{.title-ref} in C++ and [dai.utility.colorizeDepthFrame]{.title-ref} in Python
- Supports [ImgFrame]{.title-ref}, OpenCV matrices, configurable depth ranges and color maps, and logarithmic or linear scaling
- Can automatically derive visualization bounds from valid depth pixels and render invalid pixels as black
-
[*RVC4*] VideoEncoder improvements
- Improved latency for 4000 x 3000 H.264, H.265, and MJPEG encoding
- Fixed an issue where [setKeyframeFrequency]{.title-ref} had no effect on RVC4
## Bug fixes
-
[*RVC4*] 480 FPS mode
- Fixed a regression from 3.7.1 where the ImageManip pool size was too small to properly support 480 FPS HFR mode
- ImageManip can now grow its output pool when it is running low on frames
- Added [setMaxPoolSize]{.title-ref} to cap the maximum output-pool size
- [_RVC2] Added a total power limit for DOT and FLOOD projectors to avoid power resets on the RVC2 ToF 63D sensor
- [RVC2] SpatialLocationCalculator now remaps regions of interest correctly when the depth input is not aligned
- Fixed YOLOv6 and YOLOv6-R1 decoding, including stride-based box reconstruction and confidence handling
- Rectification now uses the transformations carried by its input frames and reinitializes when those transformations change
- Fixed ImageManip four-point transform did not account for normalized coordinates
- Fixed colorization flicker and inconsistent frame rates in the ToF examples
- ReplayVideo now reports a runtime error when FFmpeg cannot open a video instead of relying on an assertion
## Misc
- Added a [getConnectedCameras(CameraSensorType)]{.title-ref} overload for filtering connected cameras by sensor type
- Reworked stereo-pair discovery to consider only connected and
calibrated cameras with compatible sensors, valid extrinsics, and
suitable orientation
- Stereo pairs are now ordered by descending baseline length
- [cam_test.py]{.title-ref} now selects supported resolutions from the connected camera features instead of assuming 1280 x 800
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