Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Orbbec SDK v1&v2 Pre-Compiled Repo

License

NotificationsYou must be signed in to change notification settings

orbbec/OrbbecSDK

Repository files navigation

stabilityversion

Important

Welcome to the Orbbec SDK. Before you begin using this version of Orbbec SDK, it's crucial to check the following device support list to verify the compatibility.

This main branch is based on Orbbec SDK v1 and it is compatible with Orbbec's original OpenNI protocol devices through built-in code, enabling developers to migrate to Orbbec SDK to support both new and old products with one set of code.

With the major update in 2024 October, Orbbec SDK becomes open-source with enhanced flexibility and scalability. This update ensures compatibility with all new Orbbec USB products that adhere to the UVC standard. However,Orbbec SDK v2 no longer supports Orbbec's legacy OpenNI protocol devices, which will continue to receive bug fixes support in the Orbbec SDK v1 branch. We encourage you to check out whether your devices is supported by Orbbec SDK v2 and use the new release if it is supported there.

If you are a user in China, it is recommended to use Gitee(gitee Repo).

Here is the device support list of main branch (v1.x) and Orbbec SDK v2 (v2.x):

Product SeriesProductOrbbec SDK V1Orbbec SDK v2
Gemini 435LeGemini 435Lenot supportedrecommended for new designs
Gemini 330Gemini 335Lenot supportedrecommended for new designs
Gemini 335full maintenancerecommended for new designs
Gemini 336full maintenancerecommended for new designs
Gemini 330full maintenancerecommended for new designs
Gemini 335Lfull maintenancerecommended for new designs
Gemini 336Lfull maintenancerecommended for new designs
Gemini 330Lfull maintenancerecommended for new designs
Gemini 335Lgnot supportedrecommended for new designs
Gemini 2Gemini 2full maintenancerecommended for new designs
Gemini 2 Lfull maintenancerecommended for new designs
Gemini 2 XLrecommended for new designsto be supported
Gemini 215not supportedrecommended for new designs
Gemini 210not supportedrecommended for new designs
FemtoFemto Boltfull maintenancerecommended for new designs
Femto Megafull maintenancerecommended for new designs
Femto Mega Ifull maintenancerecommended for new designs
AstraAstra 2full maintenancerecommended for new designs
Astra+limited maintenancenot supported
Astra Pro Pluslimited maintenancenot supported
Astra MiniAstra Mini Profull maintenancenot supported

Note: If you do not find your device, please contact our FAE or sales representative for help.

Definition:

  1. recommended for new designs: we will provide full supports with new features, bug fix and performance optimization;
  2. full maintenance: we will provide bug fix support;
  3. limited maintenance: we will provide critical bug fix support;
  4. not supported: we will not support specific device in this version;
  5. to be supported: we will add support in the near future.

Product support

Products ListMinimal Firmware Version
Gemini 3301.2.20
Gemini 330L1.2.20
Gemini 3351.2.20
Gemini 335L1.2.20
Gemini 3361.2.20
Gemini 336L1.2.20
Femto Bolt1.0.6
Femto Mega1.1.7
Femto Mega I2.0.2
Gemini 2 XLObox: V1.2.5 VL:1.4.54
Astra 22.8.20
Gemini 2 L1.4.32
Gemini 21.4.60
Astra+1.0.19
Femto1.6.7
Femto W1.1.8
DaBai2436
DaBai DCW2460
DaBai DW2606
Astra Mini Pro1007
Gemini E3460
Gemini E Lite3606
Gemini3018
Astra Mini S Pro1005

What is included in the repository

  • library : Orbbec SDK core library files and C/C++ header files.
  • examples : C/C++ samples project source code.
  • doc : API reference documentation and sample documentation.
  • driver : Windows device driver for OpenNI protocol devices (Dabai, Dabai DCW, Dabai DW, Astra mini Pro, Astra Pro Plus, A1 Pro, Gemini E, Gemini E Lite, Gemini). While modules that use the standard UVC protocol do not need to install drivers.
  • scripts : Linux udev rules for resolving permission issues and Windows timestamp registration scripts for resolving timestamp and metadata issues.

license structure

The current software license structure is as follows

SdkLicenseDiagram

More information about the license of each module can be found in thelicense file.

Platform support

Operating systemRequirementDescription
Windows- Windows 10 April 2018 (version 1803, operating system build 17134) release (x64) or higher ,windows 11The generation of the VS project depends on the installation of the VS version and the cmake version, and supports VS2015/vs2017/vs2019
Linux- Linux Ubuntu 16.04/18.04/20.04/22.04 (x64)Support GCC 7.5
Arm32- Linux Ubuntu 16.04/18.04/20.04Support GCC 7.5
Arm64- Linux Ubuntu 18.04/20.04/22.04Support GCC 7.5
MacOS- M series chip, 11.0 and above; Intel x86 chip, 10.15 and above.supported hardware products: Gemini 2, Gemini 2 L, Astra 2, Gemini 2 XL, Femto Mega, Gemini 330 series
  • Note: supported Arm platforms: NVIDIA Jetson AGX Orin (arm64), NVIDIA Jetson Orin NX (arm64), NVIDIA Jetson Orin Nano (arm64), NVIDIA Jetson AGX Xavier (arm64), NVIDIA Jetson Xavier NX (arm64), NVIDIA Jetson Nano (arm64), A311D (arm64), Raspberry Pi 4 (arm64), Raspberry Pi 3 (arm32), RK3399 (arm64), other Arm platforms, may need to Cross-compile.

OrbbecViewer

OrbbecViewer is a useful tool based on Orbbec SDK, that can be used to view the data stream from the Orbbec camera and control the camera.OrbbecViewer

Supported platforms: Windows x64, Linux x64 & ARM64, MacOS M series chip & Intel x86 chip

Download link:Releases

OrbbecViewer User Manual:OrbbecViewer User Manual

Getting started

Get source code

git clone https://github.com/orbbec/OrbbecSDK.git

Alternatively, you can install via binary packages, please refer toinstallation guidance for more information.

Environment setup

  • Linux:

If you installed via a debian package, you can skip the installation of the udev rules file. If not, please install it using the following commands:

cd OrbbecSDK/misc/scriptssudo chmod +x ./install_udev_rules.shsudo ./install_udev_rules.shsudo udevadm control --reload&& sudo udevadm trigger

Examples

The sample code is located in the./examples directory and can be built using CMake.

Build

cd OrbbecSDK&& mkdir build&&cd build&& cmake ..&& cmake --build. --config Release

Run example

To connect your Orbbec camera to your PC, run the following steps:

cd OrbbecSDK/build/bin# build output dir./OBMultiStream# OBMultiStream.exe on Windows

Notes: On MacOS, sudo privileges are required.

# MacOScd OrbbecSDK/build/bin# build output dircp ../../lib/macOS/*.# copy lib to output dirsudo ./OBMultiStream

The following image is the result of running MultiStream on the Gemini2 device. Other Devices run result maybe different.

Multistream

Notes:On the Linux/Arm platform ,this sample requires users to compile with Opencv4.2 or above,otherwise, it cannot be rendered.

Use Orbbec SDK in your CMake project

Find and link Orbbec SDK in your CMakeLists.txt file like this:

cmake_minimum_required(VERSION 3.1.15)project(OrbbecSDKTest)add_executable(${PROJECT_NAME} main.cpp)# find Orbbec SDKset(OrbbecSDK_DIR"/your/path/to/OrbbecSDK")find_package(OrbbecSDK REQUIRED)# link Orbbec SDKtarget_link_libraries(${PROJECT_NAME} OrbbecSDK::OrbbecSDK)

Documents

Overview

Tutorials

API Reference

Multi Camera Sync

Frequently Asked Questions

No Data Stream from Multiple Cameras

Insufficient Power Supply:

  • Ensure that all cameras are not connected to the same hub.
  • Use a powered hub to provide sufficient power to each camera.

High Resolution:

  • Try lowering the resolution to resolve data stream issues.

Increase usbfs_memory_mb Value:

  • Increase theusbfs_memory_mb value to 128MB by running the following command:
    echo 128| sudo tee /sys/module/usbcore/parameters/usbfs_memory_mb
  • For making this change permanent, checkthis link.

Related links


[8]ページ先頭

©2009-2025 Movatter.jp