Skip to main content

pyorbbecsdk is a python wrapper for the OrbbecSDK

Project description

Python Bindings for Orbbec SDK

This project provides Python bindings for the Orbbec SDK, allowing developers to interface with Orbbec devices in Python.

Getting Started

Get the Source Code

Clone the repository to get the latest version of the Python bindings for Orbbec SDK.

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

Install Dependencies

Install the necessary Python development packages on Ubuntu.

sudo apt-get install python3-dev python3-venv python3-pip python3-opencv

Custom Python3 Path (Optional)

If you use Anaconda, set the Python3 path to the Anaconda path in pyorbbecsdk/CMakeLists.txt before the find_package(Python3 REQUIRED COMPONENTS Interpreter Development) line:

set(Python3_ROOT_DIR "/home/anaconda3/envs/py3.6.8") # Replace with your Python3 path
set(pybind11_DIR "${Python3_ROOT_DIR}/lib/python3.6/site-packages/pybind11/share/cmake/pybind11") # Replace with your Pybind11 path

Build the Project

Create a virtual environment and build the project.

cd pyorbbecsdk
python3 -m venv ./venv
source venv/bin/activate
pip3 install -r requirements.txt
mkdir build
cd build
cmake -Dpybind11_DIR=`pybind11-config --cmakedir` ..
make -j4
make install

Try the Examples

Set up your environment to run examples and install necessary system rules.

cd pyorbbecsdk
export PYTHONPATH=$PYTHONPATH:$(pwd)/install/lib/
sudo bash ./scripts/install_udev_rules.sh
sudo udevadm control --reload-rules && sudo udevadm trigger
python3 examples/depth_viewer.py
python3 examples/net_device.py # Requires ffmpeg installation for network device

Additional examples are available in the examples directory. Please see examples/README.md for further details.

Generate Stubs

Generate Python stubs for better IntelliSense in your IDE.

source env.sh
pip3 install pybind11-stubgen
pybind11-stubgen pyorbbecsdk

Building on Windows

For instructions on how to build and run the examples on Windows, please refer to docs/README.md.

Making a Python Wheel

Generate a wheel package for easy distribution and installation.

cd pyorbbecsdk
python3 -m venv ./venv
source venv/bin/activate
pip3 install -r requirements.txt
mkdir build
cd build
cmake -Dpybind11_DIR=`pybind11-config --cmakedir` ..
make -j4
make install
cd ..
pip3 install wheel
python3 setup.py bdist_wheel
pip3 install dist/*.whl

Documentation

For detailed documentation, please refer to docs/README.md.

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.

pyorbbecsdk-1.3.2-cp311-cp311-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.11Windows x86-64

pyorbbecsdk-1.3.2-cp311-cp311-win32.whl (68.2 MB view details)

Uploaded CPython 3.11Windows x86

pyorbbecsdk-1.3.2-cp311-cp311-manylinux1_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.11

pyorbbecsdk-1.3.2-cp311-cp311-macosx_13_0_universal2.whl (21.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ universal2 (ARM64, x86-64)

pyorbbecsdk-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pyorbbecsdk-1.3.2-cp310-cp310-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.10Windows x86-64

pyorbbecsdk-1.3.2-cp310-cp310-win32.whl (68.2 MB view details)

Uploaded CPython 3.10Windows x86

pyorbbecsdk-1.3.2-cp310-cp310-manylinux1_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.10

pyorbbecsdk-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl (21.4 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pyorbbecsdk-1.3.2-cp39-cp39-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.9Windows x86-64

pyorbbecsdk-1.3.2-cp39-cp39-win32.whl (68.2 MB view details)

Uploaded CPython 3.9Windows x86

pyorbbecsdk-1.3.2-cp39-cp39-manylinux1_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.9

pyorbbecsdk-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pyorbbecsdk-1.3.2-cp38-cp38-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.8Windows x86-64

pyorbbecsdk-1.3.2-cp38-cp38-win32.whl (68.2 MB view details)

Uploaded CPython 3.8Windows x86

pyorbbecsdk-1.3.2-cp38-cp38-manylinux1_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.8

pyorbbecsdk-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

pyorbbecsdk-1.3.2-cp37-cp37-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.7Windows x86-64

pyorbbecsdk-1.3.2-cp37-cp37-win32.whl (68.2 MB view details)

Uploaded CPython 3.7Windows x86

pyorbbecsdk-1.3.2-cp37-cp37-manylinux1_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.7

pyorbbecsdk-1.3.2-cp37-cp37-macosx_10_9_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.7macOS 10.9+ x86-64

pyorbbecsdk-1.3.2-cp36-cp36-win_amd64.whl (68.2 MB view details)

Uploaded CPython 3.6Windows x86-64

pyorbbecsdk-1.3.2-cp36-cp36-win32.whl (68.2 MB view details)

Uploaded CPython 3.6Windows x86

pyorbbecsdk-1.3.2-cp36-cp36-manylinux1_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.6

pyorbbecsdk-1.3.2-cp36-cp36-macosx_10_9_x86_64.whl (68.2 MB view details)

Uploaded CPython 3.6macOS 10.9+ x86-64

File details

Details for the file pyorbbecsdk-1.3.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ee64d0f7cbcecaea0359e8048677aa1fd8b57ab9bebc4ce620de4c8534c6b8f3
MD5 75e14eb2a59e68c73f8f4a5adaf562ec
BLAKE2b-256 a03e810be43f6c0283da9f9444f9d38ee3d975faa49ef8546319bee881adaa1b

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 fc2945741fb03acfc3377f74619b03116fb0522509274d2651bdcd32c4c1259b
MD5 b7682cf13f386ebbc23d102adb0d3220
BLAKE2b-256 3c77386f91d4b2044dcc3b0d0df0109896e0b2eee49cb7972a9bcf287252f6dd

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 08126ce13ec103c09dd2efe2f2165b433dce4b3e8f5c7afbc75ad22327be52de
MD5 4ea6538de3c7a27f1cab4d2a5653fca0
BLAKE2b-256 1356947b0488552d63c1e72524a62648d59fefb33e5953c67026dee7857fa707

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp311-cp311-macosx_13_0_universal2.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp311-cp311-macosx_13_0_universal2.whl
Algorithm Hash digest
SHA256 67f045bdd51da45bfde6e86c7fe62fc6f461747c9a2fc1ab63feb87c22c82b1f
MD5 e9ce93271cad185dbef88caad8e3b031
BLAKE2b-256 c8a4400c0f0505eb7cb9ece78924d95985ed8b61fdca78ddf3d4e597333dbebd

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7c2633304d0ee40d2ab18768e06747a6d8df8381555e4e2c7fbf8390fd7b9fb9
MD5 36887de66461844ed66c8a3f4a13bfaa
BLAKE2b-256 176261e5e623f4623b62f47ace7a6e85a9d251348cb4cb89a97d0bdca20fc190

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 69f94a27b719b257da8324636077183729a6746ebc609f0c0ac4acea67e05c29
MD5 8f90a23c5ea12e292b273c7ad6079242
BLAKE2b-256 536e9277654664d72d76d110f7379017da7df1c8a2ce2870e5a819812b43e96c

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp310-cp310-win32.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 faf6c7e7c3b75258e821ed54e0fd7b06be7b4b249033f0126eac6301eb187e27
MD5 d866a6f6812af8c6f65daa7ca40069b4
BLAKE2b-256 ccc6581dd8595b631b289186b31a2777e0a523847adec057ad384bbee7292d7c

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6d0d72853d70e8389beca809874e2df109fbf266f5f68a5169e717240097c631
MD5 3e22c1b685d257caa3b5f02f3539d455
BLAKE2b-256 943b1a1be5cdc058609171e9642022e2e838e38b4a9680ef639f31f766ed726a

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b30f71a6df2a6ca62a9331ccb80fbcb1a74b0c621f1d7e51f19c16b903ed8949
MD5 1793da18b095c1d2dae32f5997a0b671
BLAKE2b-256 4d634fcd06707735a930a8d6f4d6c9906c571561222162ec00678770ffbbf0cd

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5e6dcd7628f9fe7a7a9222020ed0c1a9da917fd4cc4c05ea09ea1c81763e9864
MD5 4b3ea3e370c33d0195667ead08b2f301
BLAKE2b-256 c2561c6185a7c6c4532ac0adb07152cd734087257dba543c18d172781f703cec

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 7a460e7bc5d6c76ab3270b087a8a252b4ce13fc0fb65cb8e03cd2e9d73c641ee
MD5 3f6b1f8e317c52581b787f7a335623ad
BLAKE2b-256 9328dd7fb3fbf20460b08cb00726435708f118693c81b94b5d73485921de9260

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp39-cp39-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2fac761b2d1527a1147cfe55856d58f47e040ffa4f71374e3572c568e75d3ca3
MD5 e09b9de4171f2403aee39c69c180a538
BLAKE2b-256 a4a4d9e7325860f02ae40d37bb7e8f6254da6b6fd3bc7407b8ac0c15aa131f49

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4f59507fab73aed48758e86948f1a971e0fcef5bec5085b825cc97da0ff6fbef
MD5 bae478861e4dec9ae68c752408518db7
BLAKE2b-256 a2afccf7a4cefd45c52ae8ff4e23e860141ca4f025d66886dfa7800c10548327

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ad4b83c231664d6bb382d467e0cc943c6308547cf673ffe3408e308ef6e2abba
MD5 2a0e62197325b006fb5772f08efeab9c
BLAKE2b-256 28c3d7cf65cc9ca398a820fb656c202fae8c5d01a46ce97376560a5ad1253476

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 c436cf04d8bf893dc508df6372dac285095da753635dbe068a1e3bb987627a9c
MD5 4094919cbda023221c3ae672d19d453f
BLAKE2b-256 34c67df4d98b2619cea5bc50d596225b2ecd103c5982d2acaaeb48788ae43ba2

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9f0a23ed821253739a8a258f6239dae96e5acb3e56bc3647fa6c0cb3f1a9d9af
MD5 cef10990169edc24b7bac27e77a8af96
BLAKE2b-256 c7a30a103e59838554da3563b59528bce2eca308dc0ce765c33828d44a44356a

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e72a126cc84dde262e2c62b98d5280f27c675b11aff7387c182c16d233efe2c4
MD5 ae85d14c8b4899715f52ae46c4d64da8
BLAKE2b-256 f80e9a1e329910d5af7a4244543d485936db86b04c42e880dcc6dc47830f45ac

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp37-cp37-win_amd64.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp37-cp37-win_amd64.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp37-cp37-win_amd64.whl
Algorithm Hash digest
SHA256 e22bf0f446c77461825fe61c2462c893355287ea738bb9f73e8959dcfacbf74d
MD5 398d626dd764308178942e9d08e437de
BLAKE2b-256 8b2e86d457fd4ccd32833494adb724fb0852e4cec070d573313a9dd48f609599

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp37-cp37-win32.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp37-cp37-win32.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.7, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp37-cp37-win32.whl
Algorithm Hash digest
SHA256 b0f25edcabd1e42f32264b1fc93cf43c50f9bd33448ed98f2b3b5a2439ca9d71
MD5 bd6366a14c794f84e14ea89ae28ec866
BLAKE2b-256 2729737cd12bfd011ccc4e20ba36533f1f1a0706cb5daf09045501e97c282295

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp37-cp37-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp37-cp37-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 95abe7c84ad9928932e99975e710f89efa606baeba4a24020476fee4b38f9409
MD5 186f861bc4a35b2065d3c63a491d2317
BLAKE2b-256 66842d568d1add673d1057adb5338329cc522d40bfe0de22613c328ac52fc28d

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp37-cp37-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp37-cp37-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 321bd96af868b3e91e4d06a9d8c13eff9fcf4a242804555ec7fe34d4b7a7bf23
MD5 0bea41cfd87277cd1f5b51d2827d2f18
BLAKE2b-256 d0703fcdd372313f7198a0c572fc33c5850b4fe119a243f24dbfeb037434821b

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp36-cp36-win_amd64.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp36-cp36-win_amd64.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.6, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp36-cp36-win_amd64.whl
Algorithm Hash digest
SHA256 6712de95af4122e141c375a0f4429edea6777b7f9063f4ca5f42ca725feedbe0
MD5 76b53ff378d49243dc6f34e791f206b6
BLAKE2b-256 e5306c388e14017b6a997e23ec74f0fd961ab21397eb860ab64aed8ff4b37dc8

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp36-cp36-win32.whl.

File metadata

  • Download URL: pyorbbecsdk-1.3.2-cp36-cp36-win32.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: CPython 3.6, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyorbbecsdk-1.3.2-cp36-cp36-win32.whl
Algorithm Hash digest
SHA256 99b4212796e601f57352d43bb4948025bc6da54574eafcb79f48342cef6efd47
MD5 cc4129edf6986fda1d7b9ee1982346ee
BLAKE2b-256 f4b6444727150faa9c95dab554cf3eb2afe51a8df0a33893bd53fa9c6a604bc3

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp36-cp36-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp36-cp36-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 91ae90cfdce698bb8c638c2e2ee03a492d62b7882d795bb3c3a21171539e9c4b
MD5 b916c1915ddca7391f09e5da1219aa49
BLAKE2b-256 994294b9afea3ab72c72b85cbee08eafed8e92039be9ebf9dab969472b41f76f

See more details on using hashes here.

File details

Details for the file pyorbbecsdk-1.3.2-cp36-cp36-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyorbbecsdk-1.3.2-cp36-cp36-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e554848c7efe22e685fdfd322da3bf5c7030340b2bbcbcad1588b932653298c6
MD5 c132fad1d0f508324054d8c3260eba4e
BLAKE2b-256 dda24bf4fb6f22301cc8d537b19bc7105864684b49b1a4770129b214ff9b407c

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