I would like to track the first person, and use this person's right hand to navigate in the application that I made.
I can take over the cursor, now I just want only one person being tracked. So basically when one person is navigating in the program, and there are people walking behind him or are looking with this guy, if they move, the kinect shouldn't recognise anyone else.
How can I implement this, I know it's something with the trackingId
but what? :s
foreach (SkeletonData s in allSkeletons.Skeletons)
{
if (s.TrackingState == SkeletonTrackingState.Tracked)
{
if (s.TrackingID == 0)
{
foreach (Joint joint in s.Joints)
{
}
}
}
}