Finding the depth of the body with KinectPV2 library

Can anyone help me with finding the depth of the body with KinectPV2?
I mean I can track the body positions and I can track the depth data but I have no idea how to get the depth data of for example just the hands or even the whole body?

would joint.getZ() work?

thanks, I had tried it before but the getZ() value is always returned as 0.0, do you have any idea about it?

example "SkeletonColor" why joints[jointType].getZ() always zero · Issue #60 · ThomasLengeling/KinectPV2 · GitHub I found the solution!

1 Like