kinect python exoskeleton 1

kinect python exoskeleton

kinect = nui.Runtime()

kinect.video_stream.open(nui.ImageStreamType.Video,2,nui.ImageResolution.Resolution640x480,nui.ImageType.Color)



kinect.depth_stream.open(nui.ImageStreamType.Depth, 2, nui.ImageResolution.Resolution640x480, nui.ImageType.Depth)


kinect.skeleton_frame_ready += skeleton_frame_ready

kinect.skeleton_engine.enabled=True

Here is what the above code is Doing:
1. We’re creating a new instance of the Kinect Runtime class.
2. We’re opening the video stream and setting the resolution to 640×480.
3. We’re opening the depth stream and setting the resolution to 640×480.
4. We’re telling the Kinect to call the skeleton_frame_ready function when it has a new skeleton frame.
5. We’re enabling the skeleton engine.

Similar Posts