Skip to main content

OpenNI2 and NiTE2 python bindings

Project description

Official PrimeSense Python-bindings for OpenNI2 and NiTE2.

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


from primesense import openni2

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

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

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



Refer to the C API for 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 primesense, version
Filename, size File type Python version Upload date Hashes
Filename, size primesense- (36.7 kB) File type Source Python version None Upload date Hashes View
Filename, size (40.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page