Search code examples
c#kinectkinect-sdk

kinect SDK skeleton head cordinates


I'm new to c#, wpf and the kinect SDK.

I have a project where I can track multiple skeletons.

Now I need to take a picture of the area around the users head. So I want to know where on the kinect's view field the top of the skeleton is located.

I don't want to use face tracking because I think its to complicated for the what I want to accomplish.

So is there an easy way to know where the head is located using only the skeleton? Preferably a set of coordinates where its located on the entire view field of the kinect.

thanks in advance!


Solution

  • Vector location = data.Joints[JointID.Head].Position;

    If you need more context info for this line http://www.i-programmer.info/programming/hardware/3503-getting-started-with-microsoft-kinect-sdk-skeletons.html?start=1