Measurement with the kinect and different part of the body

physmodoben's icon

If I have the distance of my right elbow from the kinect and the distance of my right shoulder, is it possible to find the distance in between my right elbow and my right shoulder.... Is pythagore is accurate or I need a different formula....

Thanx a lot,

Benoit

dtr's icon

You're missing angle information to use pythagoras. But if you have the kinect's 3D joint coordinates you use this formula to calculate distance: http://freespace.virgin.net/hugo.elias/routines/r_dist.htm

physmodoben's icon

Thank you very much....

Benoit