Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.

Re: Kinect 2 - Haro3D VI Library

Hi Andrew,

 

First, the Kinect will randomly assign an individual to one of the 6 possible bodies it is tracking. There is no way to force it to a specific skeleton. Also notice that if you have 2 individuals in front of the Kinect and that they pass in front of each other, the Kinect might swap the bodies assign to each one.

 

However, in the case there is only one individual, it is pretty easy to find which body the Kinect uses using the "Is Tracked" parameter of the body cluster (see example below).

 

Second, you can find the 25 joints in the Joints array that is another parameter of the body cluster. Each joint is a cluster that contains one enum that characterizes pretty clearly what it is. For each joint, you will also find Tracking state, Position, and Orientation. I recommend that you use "Unbundle by name" instead of just "Unbundle". It makes the code easier to understand. See below how to access those parameters and I also show the list (Joint type) of all the joints that are available.

 

Let me know if you have another question. 

 

By the way, next time you have a question, please start a new topic in the 3D Vision group instead of appending to this current topic that is already too long.

 

Good luck

Clipboard01.png

Marc Dubois
HaroTek LLC
www.harotek.com
0 Kudos
Message 71 of 71
(89 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.