Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <code>Skeleton</code> data is just a series of <code>Joint</code> collections, containing X/Y/Z coordinates. You can save them and write them just like any other type of object.</p> <p>Getting the value of a <code>Joint</code> is shown in multiple examples provided by Microsoft for the <a href="http://kinectforwindows.codeplex.com/" rel="nofollow">Kinect for Windows Samples</a>. Please explore those examples to gain a basis for working with the latest Kinect SDK.</p> <p>Here is a basic callback to parse the <code>SkeletonFrame</code> and work with individual skeletons:</p> <pre><code>private void OnSkeletonFrameReady(object sender, SkeletonFrameReadyEventArgs e) { using (SkeletonFrame skeletonFrame = e.OpenSkeletonFrame()) { if (skeletonFrame == null || skeletonFrame.SkeletonArrayLength == 0) return; // resize the skeletons array if needed if (_skeletons.Length != skeletonFrame.SkeletonArrayLength) _skeletons = new Skeleton[skeletonFrame.SkeletonArrayLength]; // get the skeleton data skeletonFrame.CopySkeletonDataTo(_skeletons); foreach (var skeleton in _skeletons) { // skip the skeleton if it is not being tracked if (skeleton.TrackingState != SkeletonTrackingState.Tracked) continue; // print the RightHand Joint position to the debug console Debug.Writeline(skeleton.Joints[JointType.HandRight]); } } } </code></pre> <p>Additionally, the <a href="http://kinecttoolbox.codeplex.com/" rel="nofollow">Kinect Toolbox</a> comes with functions that allow you to record and replay all 3 of the streams.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload