none
How to get Skeleton tracking working Kinect v2 SDK 2.0 RRS feed

  • Question

  • Hi,

    I had a working program with the Xbox 360 Kinect using Visual Studio 2010. Now  I have tried to put the code over to Visual Studio 2013 and plan to use the Newer Xbox One sensor. I have downloaded the SDK 2.0. Now when I run the program - it obviously does not work. This seems to be due to the fact that I used the NuiApi.h, NuiImageCamera.h,NuiSkeleton.h, NuiSensor.h. Everything associated with this, is now no longer working.

    so things like initialising.

    HRESULT hr;

    hr = NuiInitialize(NUI_INITIALIZE_FLAG_USES_SKELETON......)

    etc - > there is so much more of the Nui, NUI_SKELETON_FRAME, list goes on

    So for this new SDK 2.0 - there is none of this NuiApi that I can see in the include folder.

    So what is the equivalent ? How can I make this work, all I see are things like Kinect.h or Kinect.face.h

    How can I make the program do what it used to.

    Thanks in advance

    Sunday, May 3, 2015 6:41 AM

All replies

  • Hey Hazel,

    did you already check out the demos provided by the SDK browser? Have a look at BodyBasics example. There you can see how to detect bodies etc. I didn't work with V1, so I hope that's what you are looking for.

    Best regards,

    Alex

    Sunday, May 3, 2015 12:54 PM
  • Yea, I checked the body basics sample but this does not help me figure out the newer equivalent of what I had previously.

    The identifiers I had previously seem to have no meaning in the newest SDK 2.0

    Monday, May 4, 2015 11:35 PM
  • body = skeleton

    joint collection property can be indexed using the Kinect.JointType enum. Joint index values are the same as provided by v1, just we added 5 new joints that are at the end of the collect. for an in-depth tutorial on body see the tutorial: http://kinect.github.io/tutorial/


    Carmine Sirignano - MSFT

    Tuesday, May 5, 2015 7:19 PM