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 Pro full maintenance not 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.

Hardware Products Supported by Python SDK

Products List Minimal Firmware Version Recommended FW Version
Gemini 435Le 1.2.4 1.3.2
Gemini 335Le 1.5.31 1.5.55
Gemini 330 1.2.20 1.5.55
Gemini 330L 1.2.20 1.5.55
Gemini 335 1.2.20 1.5.55
Gemini 335L 1.2.20 1.5.55
Gemini 336 1.2.20 1.5.55
Gemini 336L 1.2.20 1.5.55
Gemini 335Lg 1.3.46 1.5.55
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

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
  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 have created a Python installation package,we provide installation packages for Python versions 3.8 to 3.13.

First, you need to download the corresponding installation package based on your system's Python version. Then refer to this document for installation.

  • The file pyorbbecsdk-xxx-xxx-xxx-win_amd64.whl serves as the installation package for python wrapper On Win10.
  • The file pyorbbecsdk-xxx-xxx-xxx-linux_x86_64.whl serves as the installation package for python wrapper On Linux x64,likes ubuntu.
  • The file pyorbbecsdk-xxx-xxx-xxx-linux_aarch64.whl serves as the installation package for python wrapper on Arm64,likes Nvidia Jetson nano、Orin nano、Orin NX,AGX NX.

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.15-cp313-cp313-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.13Windows x86-64

pyorbbecsdk2-2.0.15-cp313-cp313-manylinux_2_27_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.15-cp313-cp313-manylinux_2_27_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.15-cp312-cp312-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.12Windows x86-64

pyorbbecsdk2-2.0.15-cp312-cp312-manylinux_2_27_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.15-cp312-cp312-manylinux_2_27_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.15-cp311-cp311-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.11Windows x86-64

pyorbbecsdk2-2.0.15-cp311-cp311-manylinux_2_27_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.15-cp311-cp311-manylinux_2_27_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.15-cp310-cp310-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.10Windows x86-64

pyorbbecsdk2-2.0.15-cp310-cp310-manylinux_2_27_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.15-cp310-cp310-manylinux_2_27_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.15-cp39-cp39-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.9Windows x86-64

pyorbbecsdk2-2.0.15-cp39-cp39-manylinux_2_27_x86_64.whl (14.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64

pyorbbecsdk2-2.0.15-cp39-cp39-manylinux_2_27_aarch64.whl (14.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ ARM64

pyorbbecsdk2-2.0.15-cp38-cp38-win_amd64.whl (3.0 MB view details)

Uploaded CPython 3.8Windows x86-64

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3adab1d1499ebcffcb436185067ea95c52f4b70c8865ee240ad8ec8d7922b6e2
MD5 2cead7d751b33d7d850055c4990e6531
BLAKE2b-256 552f6e9208d91eba96051e74277362e5043fce023e4f0910f58ca5d38c3b8011

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp313-cp313-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 25521802db39b061ae0216e4ba37fd40630b0e93a7ab4d9af8a5ab891b5ad90f
MD5 e9d1fd0a9bfa6e87cec9479fe9ca82e2
BLAKE2b-256 8d837042fb6ca0c254a85b53401397c960a3d5b3a4a7a2bdb6fa30fbcd5f03cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp313-cp313-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 6c9523ad296d3cd4fd7c1909d42fbf70cc6ef15b94cc9394179012c4e188b215
MD5 e9a94cc4aa1fbbab6c6a8a38f56cfa84
BLAKE2b-256 37d1297b3ef65e1491c8617aefd4f3051c34bc77d51207cec23ff0f11210b1c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c6256c1f0dbce6461faa1fde599d6f580dda420ba66298f23c4e769aef14b3df
MD5 ead15714e630bde4b554644af4546464
BLAKE2b-256 570feb09e4c4bab549414356f1c9fc78151ab7a991043a3d0fffbb831d8be4cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp312-cp312-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 3a157e8c985117fedf771206aeb720b1767e2fe60f32676c36ec054e13b22f69
MD5 61a06b5e64005df0300846f0cc57f1bd
BLAKE2b-256 f2bf740e47bcf5e3a1a22b9d13dd3805a78ffc32db6bece9e1cf973079bb77ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp312-cp312-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 afc9516ccdc83639a306439640df6b75bbea9de325934c38c2334c8b62214e9f
MD5 7dc322b22278b3c24f689f97b98491c1
BLAKE2b-256 8bccd0081ea8a0f1390d9e517543862fa21bd22ad127c440dbe4061a641754d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8159dd9114a96f1df6762024306d11e933390ca7dd1dfe1bd5bea951fffcfa61
MD5 071a474d7592e9b235dcac256593268d
BLAKE2b-256 0ef14ea31f426fbe9cc31af85a8a8bf68042ca3971cf0ef9b49f61e70fabd6da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp311-cp311-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 6085b1945ef92abd757171f1f7844299297dcc6a105b0f85bfd2cb2d6edf85d4
MD5 9a25945cb159f3950576022499df6ca0
BLAKE2b-256 86ff128e652bdee9306d9d1f3b8167aa406221b2fbbe66fe3f7d6ff5a0e64f79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp311-cp311-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 9a37c2fa0493c5ab62425403940f3672d5258191e4f07848df7a8817f43507e8
MD5 de53276d5f541c114519b56e80c0286c
BLAKE2b-256 6a2f97317392b1b390684bb25583ec5bb3cacc7040f4ce2999a35ef278e13813

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f7b1bdae68132db9ab200cd7f55a444bd25e0061c05f921f61c4aa398c762962
MD5 c83886617191b63e63a12bc86f4a654c
BLAKE2b-256 11b7db851beeadf2e411dafc7cc638aacef03efd792edfe9d9f6d9e9a962536d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 956d0b41539fce017c4c100d568ff566afee29aeee0bb39bea6639cc300d74e6
MD5 f7716f8b48fa7a10e13f22630a86b30f
BLAKE2b-256 24d46fc6dfe5de8ed8ccea5391c705440e9aa6bd3f1316c84a5dacb1aa27128a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp310-cp310-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 e21434a30291f4abfc5377c6f4ce1a2f6fe06aec85ad9aef6540f3339754e7a4
MD5 54696a2dd23585be8c1f2ca86d087685
BLAKE2b-256 5be08a2e34c733c8e9109b8384e045cd8b2c5ac2fbe97dde2d5322ab8e17399b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 47af618bf4f350278f0e67efbb45406ce010d633497c0119843f62f6e81ca33c
MD5 220e659eee99890d730296e382ced2a1
BLAKE2b-256 3d5ccfd64a4b7f64af95c550b253d3f99b1c1cfa5cc93976b844a8664d59f279

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 685f5ec93a09411931a38720207df211860ac0ec2e82e0ee739d6d83b2361c8a
MD5 778e00e47a4e80e8b86813450caa31f1
BLAKE2b-256 3dbc6f64cb8d676fbe24e64b7bbf216ff7a22f3e56b1c40d0824e73af6691cc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp39-cp39-manylinux_2_27_aarch64.whl
Algorithm Hash digest
SHA256 85ac3408ada9505fe296e68835b1443e8d2add84f1aa5226802db7882ae27f9c
MD5 0c9bfd7de39e3e1724d461b0fef49c98
BLAKE2b-256 942b380652fc228a3fc8c066f5cbfaa3b2f690e969e76ad05dc0f6287e75acf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyorbbecsdk2-2.0.15-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 23360034206f539fcf5807dc76bede0cb9e40694d5f7fa3e76ffeec22ec086f6
MD5 3821ce442411c467e83c8405f659f34f
BLAKE2b-256 3ac658fee78aa3124e0ff0bf950c2db783954779dff0eae85ae2162e99ffd7b9

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