Last updated:
0 purchases
primesense 2.2.0.305
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()
Note
Refer to the C API for documentation
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.