HHH
HHH

Reputation: 177

Getting a specific joint position in C++ and kinect

How do I get the position data of a specific joint (i.e. hip joint) from Kinect using C++? I spent hours reading docs and source code but I can't figure out how to specify the joint I would like to get the data from.

Upvotes: 1

Views: 518

Answers (1)

Hayko Koryun
Hayko Koryun

Reputation: 1244

Take a look at the following source which explains how to lookup the right joint in the Skeleton Stream.

For example, to get the hip joint, you would use the NUI_SKELETON_POSITION_HIP_CENTER index.

Upvotes: 1

Related Questions