Skip to main content

pyorbbecsdk is a python wrapper for the OrbbecSDK

Project description

Python Bindings for Orbbec SDK

the v2-main branch provides Python bindings for the Orbbec SDK v2.x, enabling developers to interface with Orbbec devices using Python. The Orbbec SDK v.2.x is an open-source cross-platform SDK library based on Orbbec RGB-D cameras. The differences between Orbbec SDK v2.x and Orbbec SDK v1.x can be found in the README.

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

[!IMPORTANT]

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

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

Product Series Product Branch main Branch v2-main
Gemini 435Le Gemini 435Le not supported recommended for new designs
Gemini 330 Gemini 335Le not supported recommended for new designs
Gemini 335 full maintenance recommended for new designs
Gemini 336 full maintenance recommended for new designs
Gemini 330 full maintenance recommended for new designs
Gemini 335L full maintenance recommended for new designs
Gemini 336L full maintenance recommended for new designs
Gemini 330L full maintenance recommended for new designs
Gemini 335Lg not supported recommended for new designs
Gemini 2 Gemini 2 full maintenance recommended for new designs
Gemini 2 L full maintenance recommended for new designs
Gemini 2 XL recommended for new designs to be supported
Gemini 215 not supported recommended for new designs
Gemini 210 not supported recommended for new designs
Femto Femto Bolt full maintenance recommended for new designs
Femto Mega full maintenance recommended for new designs
Femto Mega I full maintenance recommended for new designs
Astra Astra 2 full maintenance recommended for new designs
Astra+ limited maintenance not supported
Astra Pro Plus limited maintenance not supported
Astra Mini Astra Mini (S) Pro full maintenance recommended for new designs

Note:

  • If you do not find your device, please contact our FAE or sales representative for help.
  • Starting from October 2025 (Orbbec SDK v2.5.5), we will begin upgrading devices that use the OpenNI protocol to the UVC protocol, Already upgraded devices and future upgrade schedule and how to upgrade from openni protocol to uvc protocol,please refer to the document.

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.

Hardware Products Supported by Python SDK

Products List Minimal Firmware Version Recommended Firmware Version
Gemini 435Le 1.2.4 1.3.6
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
Femto Mega 1.3.0 1.3.1
Femto Mega I 2.0.4 2.0.4
Astra 2 2.8.20 2.8.20
Gemini 2 L 1.4.53 1.5.2
Gemini 2 1.4.92 1.4.98
Gemini 215 1.0.9 1.0.9
Gemini 210 1.0.9 1.0.9
Astra mini Pro 2.0.03 2.0.03
Astra mini S Pro 2.0.03 2.0.03

Supported Platforms

  • Windows: Windows 10 (x64)
  • Linux: 18.04/20.04/22.04 (x64)
  • Arm64: Ubuntu18.04/20.04/22.04

Supported Python Versions

python 3.8 to python 3.13

Environment Setup

Windows

For windows, you need to register the metadata associated with frames (this includes things like timestamps and other information about the video frame).

  • Connect the device and confirm that the device is online;

  • Open PowerShell with administrator privileges, then use the cd command to enter the directory where the obsensor_metadata_win10.ps1 script is located;

  • Execute the Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser command, and enter Y as prompted to confirm;

    Try to execute the Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser command if the previous command fails in some cases;

  • Execute .\obsensor_metadata_win10.ps1 -op install_all to complete the registration.

Notes: If the metadata is not registered, the device timestamp will be abnormal, thereby affecting the SDK's internal frame synchronization functionality.

Linux

For Linux, we have provided a script to help you set up the environment. You can run the script as follows:

  cd pyorbbecsdk/scripts/env_setup
  sudo chmod +x ./install_udev_rules.sh
  sudo ./install_udev_rules.sh
  sudo udevadm control --reload && sudo udevadm trigger

Notes: If this script is not executed, open the device will fail due to permission issues.

How to Use install package

To make Python more user-friendly, We provide two installation methods: online installation and offline installation.

Windows

We provide both online and offline installation packages for Python versions 3.8 to 3.13.

Follow the windows install documentation to install the SDK online or offline. Then verify the package and run the sample.

Linux

We provide online installation packages for Python versions 3.9 to 3.13 and provide offline installation packages for Python versions 3.8 to 3.13.

Follow the linux install documentation to install the SDK online or offline. Then verify the package and run the sample.

Documentation

Orbbec SDK V2 Python Wrapper User Guide provides an overview of the concepts and architecture of Orbbec SDK v2, details on the Python Wrapper installation packages and source compilation, an introduction to commonly used Python Wrapper interfaces, and a FAQ section. Please read it carefully.

License

This project is licensed under the Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyorbbecsdk2-2.0.18-cp313-cp313-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.13Windows x86-64

pyorbbecsdk2-2.0.18-cp313-cp313-manylinux_2_27_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.18-cp313-cp313-manylinux_2_27_aarch64.whl (16.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.18-cp312-cp312-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.12Windows x86-64

pyorbbecsdk2-2.0.18-cp312-cp312-manylinux_2_27_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.18-cp312-cp312-manylinux_2_27_aarch64.whl (16.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.18-cp311-cp311-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.11Windows x86-64

pyorbbecsdk2-2.0.18-cp311-cp311-manylinux_2_27_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.18-cp311-cp311-manylinux_2_27_aarch64.whl (16.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.18-cp310-cp310-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.10Windows x86-64

pyorbbecsdk2-2.0.18-cp310-cp310-manylinux_2_27_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.18-cp310-cp310-manylinux_2_27_aarch64.whl (16.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.18-cp39-cp39-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.9Windows x86-64

pyorbbecsdk2-2.0.18-cp39-cp39-manylinux_2_27_x86_64.whl (16.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.18-cp39-cp39-manylinux_2_27_aarch64.whl (16.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.18-cp38-cp38-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.8Windows x86-64

File details

Details for the file pyorbbecsdk2-2.0.18-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 99dc5e133040c931d4a8ee88b7dd1f7d13be1b17357af41a4e2109b475d8affd
MD5 96e6d5eeb42605581aae4d7b4679b8db
BLAKE2b-256 7c7980f3adf310052e6bc89cffc66a320aad21692dccc82d7b823971bb10e294

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp313-cp313-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp313-cp313-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 0ec3dfea8d505ef5797d930f02468e54918802c24b68361f4cda1fdaa812231f
MD5 94c71660f2112cb0c9baf226f12ba69d
BLAKE2b-256 1d4efd416137d4dca0b8548b6bb89398e0b1141c77cf5c8d5286e8f6a63ec175

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp313-cp313-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp313-cp313-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 8a7910f2a969d6e8370d1eb60802a380cc2ce5a8e1652c0cbe98ec7f765946ad
MD5 fbb6d821cb5ac2c654764e3e4103bfca
BLAKE2b-256 6dd3f8572eb6aee11839171d06fe1421f8683107a269f1ba7d2a12f7c5c7f3b1

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6d9d7438009a91ec4a4876f777d7d857bb9fc457f074b082a8815619e6ac4433
MD5 70f7d5959dfb8f41bd0bfd9069b6922b
BLAKE2b-256 c6d6e4da32eec0da7dc6594dc25e4058db1d8cc833e707c9eb4e80b9b75202bb

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp312-cp312-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp312-cp312-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 3e90d2ff98948bce682374d3597da6aa293ba0cf7107d193a8515333279ffc2d
MD5 148a9f1a1c6987f011f055094c109128
BLAKE2b-256 dbb28ea3169dccef8fc214c1a5da6a3e308dd049fc99334a06187985438b4837

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp312-cp312-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp312-cp312-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 f28fd3f1c1628cb68edc8819e18ba4d4327d5e2346c3c7d19eb07db4e51ec7f2
MD5 323c2b732baa16954adc088cddb0041f
BLAKE2b-256 463a7ab48216b0c22db058d02c9f8532b93192c9da307094625ed1739c2d55f9

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c2fcba2621e42350fe9150b134257dc9fd2a7037a612bc30b9cc027445445bdf
MD5 93af4ca6a44dfbfa2c21aa76d54f6f29
BLAKE2b-256 f7b0fcfee76c89374487f5eb3fa4cf86f01fe440c6385b848b4a2d7d452003b4

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp311-cp311-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp311-cp311-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 7bb18e7e208fc2b8596e846c5766542ceb0b98ab5e10011a25f9ebfd2252643c
MD5 605f109d57281b208e8420802fbb4a9b
BLAKE2b-256 92e803c0e8738a98e234d2ee8594e05c0b9f48de80b36fcb7d49fb6f89abab9b

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp311-cp311-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp311-cp311-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 30c8a72db346f862f50f264be411a59248092437a10557f6954e4167071ca6ec
MD5 12eece62d8e0be109d7ec6dfc9b514e3
BLAKE2b-256 da6673137e9de76af5572a26a541c9b67eff9adc0fcea08f334de969076de29c

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1f8d2eeed33b5c85834f5cfe0f51df26d235a2d02c1c2a1747647cd8cebc824d
MD5 5b67e200f9ef5845370c99c81460a9fc
BLAKE2b-256 389fbaf4f165b016fa921e9fe8606fe34679d5c4b2403fd4ae73324f6359a5b0

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp310-cp310-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 bc5ca59b154f7264343cedcda2c5b10bcd76696d10627d4270cf6a5d46787c38
MD5 41ee69a1a99dd6b51aca4a163ba71368
BLAKE2b-256 6b725be4a957db6082c81121424d1278ec10a9b247920a9b35777a0a0e60c99c

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp310-cp310-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp310-cp310-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 2f0612809e162eff236f03ddd88f6f79e6d46038669e823ee315140f2bb540e1
MD5 b00b9f824459c18aa7d9e140c68cc9cc
BLAKE2b-256 1146f47747b7fd5024fcbeb34a882e3a67843da5a8e94986cebe8f41d6d79c13

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bd9e1f10b33ac22bdba4a01bbccd80712d1018571da256cc15c9182d778a93a8
MD5 32239f61e1e8dd79ba818f5a91a58af2
BLAKE2b-256 ddc16f4ce116a8dbcb1ee9ca4de9301d8830c642de582d1b952b8c1e86bf442d

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp39-cp39-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 e93475a396fb061d72f22cfc07c0bb794f5610d13dbec2c4cd6a0fe650887714
MD5 f816dc3be7e24f8e35688b797245ae7c
BLAKE2b-256 9d98c17bae9b9d94aa86ca7b28f3f0fda5461b514d0aeb2ee56418c41d902fe5

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp39-cp39-manylinux_2_27_aarch64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp39-cp39-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 912072923f56a704381000426227da505c7fea35f1ed5d3d9a242f86f580786c
MD5 f7ea227b6bd66b6b0390ddad6e8a3424
BLAKE2b-256 31d4a98f52730f43fb6bf23e11f697d0d3ecc4a4c79dfed6f47791f2c2e7aa5c

See more details on using hashes here.

File details

Details for the file pyorbbecsdk2-2.0.18-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.18-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 de4b46c47c4f44e1c9e513da25efd71def99e4f5a338539b300e9570c0192842
MD5 1efcc7d585fe847761f0fbe2d56308dc
BLAKE2b-256 9f8dcf77b2592ec522e3d3732a644a7a31c21b5358b1ba624e364f08a57e7e68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page