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.

Example:

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()
depth_stream.start()
frame = depth_stream.read_frame()
frame_data = frame.get_buffer_as_uint16()
depth_stream.stop()

openni2.unload()

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

primesense-2.2.0.30-4.zip (40.8 kB view hashes)

Uploaded Source

primesense-2.2.0.30-4.tar.gz (36.7 kB view hashes)

Uploaded Source

Supported by

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