Skip to main content

OpenNI2 and NiTE2 python bindings

Project description

Python-bindings for OpenNI2 and NiTE2.

This package provides only the Python bindings; be sure to install OpenNI2 (and optionally NiTE2) first.

Example:

from openni import openni2

openni2.initialize()     # can also accept the path of the OpenNI redistribution

dev = openni2.Device.open_any()
print dev.get_device_info()

depth_stream = dev.create_depth_stream()
depth_stream.start()
frame = depth_stream.read_frame()
frame_data = frame.get_buffer_as_uint16()
depth_stream.stop()

openni2.unload()

Note

Refer to the OpenNI2/NiTE2 C API for complete documentation

Project details


Download files

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

Files for openni, version 2.3.0
Filename, size File type Python version Upload date Hashes
Filename, size openni-2.3.0-py2-none-any.whl (39.4 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size openni-2.3.0.tar.gz (37.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page