Asked by:
how to find out length using kinect sdk?
Question

I was wondering if it was possible to find out the length of a person using the Kinect SDK? If so how can I do it?
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.  "Sherlock holmes" "speak softly and carry a big stick"  theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering  Yoda. Blog  http://www.computerprofessions.co.nr
All replies

I think so. You can check the pinhole camera model. Basically first you need to convert the length in pixel into meters (by multiplying a constant provided in KinectSDK), and then times the depth to get the actual length.

I think so. You can check the pinhole camera model. Basically first you need to convert the length in pixel into meters (by multiplying a constant provided in KinectSDK), and then times the depth to get the actual length.
well I meant the length of a person from their side. But I know the depth image would be involved and the Kinect system color codes the bits of the person. I need to figure out the coordinates of points around the waist to figure out how much they weigh.
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.  "Sherlock holmes" "speak softly and carry a big stick"  theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering  Yoda. Blog  http://www.computerprofessions.co.nr
 Edited by The Thinker Monday, September 9, 2013 8:43 PM

You could try getting a pointcloud of the person, and based upon the number of points in their cloud apply a constant (that you'd probably have to come up with yourself) to that number to arrive at mass. It'd be a giant Kludge (people in trenchcoats would probably look overweight to the Kinect), but that's the best way I can think of going about it.
Bonus points for associating each area of the point cloud with a particular limb and joint (filtering out the background using the depth values associated with points near the person's skeleton), then using the average density of that particular area to further refine the estimation.
This article talks about generating a point cloud from the Kinect's data streams:
sirnumbskull
 Marked as answer by Carmine Si  MSFTMicrosoft employee Monday, September 23, 2013 9:38 PM
 Unmarked as answer by The Thinker Wednesday, October 2, 2013 8:24 PM