kinect python exoskeleton 1

kinect python exoskeleton

kinect = nui.Runtime(),2,nui.ImageResolution.Resolution640x480,nui.ImageType.Color), 2, nui.ImageResolution.Resolution640x480, nui.ImageType.Depth)

kinect.skeleton_frame_ready += skeleton_frame_ready


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