This is a wrapper for the Orbbec SDK for DotNet. It supports .NET 8.0 and later versions, and is compatible with Windows and Linux platforms.
It provides a simple and easy-to-use interface for accessing the Orbbec camera and performing various operations such as capturing depth images, color images, and performing point cloud generation.
The v2-main branch is based the open source version of Orbbec SDK v2.
If you need to use .NET Framework, please use this repository. However, .NET Framework is maintained for bug fixes only, and no new features will be added. We recommend using Orbbec SDK DotNet Wrapper instead.
-
Windows: Windows 10 (x64), tested with .NET 8
-
Linux: Tested on Ubuntu 20.04, 22.04, and 24.04, with .NET 8
| Products List | Minimal Firmware Version | Recommended FW Version | Notes |
|---|---|---|---|
| Gemini 435Le | 1.2.4 | 1.3.2 | |
| Gemini 335Le | 1.5.31 | 1.6.00 | |
| Gemini 330 | 1.2.20 | 1.6.00 | |
| Gemini 330L | 1.2.20 | 1.6.00 | |
| Gemini 335 | 1.2.20 | 1.6.00 | |
| Gemini 335L | 1.2.20 | 1.6.00 | |
| Gemini 336 | 1.2.20 | 1.6.00 | |
| Gemini 336L | 1.2.20 | 1.6.00 | |
| Gemini 335Lg | 1.3.46 | 1.6.00 | |
| Femto Bolt | 1.1.2 | 1.1.2 | TODO: Linux is currently not supported due to issues with the depth engine. |
| Femto Mega | 1.3.0 | 1.3.1 | |
| Astra Mini Pro | 2.0.03 | 2.0.03 | |
| Astra Mini S Pro | 2.0.03 | 2.0.03 |
Please refer to this document for compilation instructions.
For windows, you need to register the metadata associated with frames (this includes things like timestamps and other information about the video frame).
- Metadata registration follow this:/scripts/obsensor_metadata_win10.md
Notes: If the metadata is not registered, the device timestamp will be abnormal, thereby affecting the SDK’s internal frame synchronization functionality.
For Linux, we have provided a script to help you set up the environment. You can run the script as follows:
cd scripts
sudo chmod +x ./install_udev_rules.sh
sudo ./install_udev_rules.sh
sudo udevadm control --reload && sudo udevadm triggerNotes: If this script is not executed, open the device will fail due to permission issues. You need to run the sample with sudo (administrator privileges).
For compilation and API reference, please refer to UserGuide documentation.
This project is licensed under the Apache License 2.0.