Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPVR 2013 Tutorial. Native Managed Applications Toolkit Drivers Runtime Skeletal Tracking.

Similar presentations


Presentation on theme: "CPVR 2013 Tutorial. Native Managed Applications Toolkit Drivers Runtime Skeletal Tracking."— Presentation transcript:

1 CPVR 2013 Tutorial

2

3

4

5 Native Managed Applications Toolkit Drivers Runtime Skeletal Tracking

6 IR Emitter Color Sensor IR Depth Sensor Tilt Motor Microphone Array

7

8

9

10 KinectSensor kinect = null; void StartKinectST() { kinect = KinectSensor.KinectSensors.FirstOrDefault(s => s.Status == KinectStatus.Connected); // Get first Kinect Sensor kinect.SkeletonStream.Enable(); // Enable skeletal tracking skeletonData = new Skeleton[kinect.SkeletonStream.FrameSkeletonArrayLength]; // Allocate ST data kinect.SkeletonFrameReady += new EventHandler (kinect_SkeletonFrameReady); // Get Ready for Skeleton Ready Events kinect.Start(); // Start Kinect sensor } private void kinect_SkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e) { using (SkeletonFrame skeletonFrame = e.OpenSkeletonFrame()) // Open the Skeleton frame { if (skeletonFrame != null && this.skeletonData != null) // check that a frame is available { skeletonFrame.CopySkeletonDataTo(this.skeletonData); // get the skeletal in this frame... HANDLE SKELETAL DATA HERE... }

11

12


Download ppt "CPVR 2013 Tutorial. Native Managed Applications Toolkit Drivers Runtime Skeletal Tracking."

Similar presentations


Ads by Google