We’re trying to find a user’s center of mass (CoM) using Open Kinect (which is based on libfreenect). OpenNI has a built-in function to do so, but it doesn’t look like FreeNect does. We have some thoughts, but I’d be curious to hear if someone had another/better idea.
Basically, we need to figure out the “average depth” of the person’s “body” so we can use that depth to set a threshold infront of it so we can detect a user’s hands anywhere within the frame. Our current approach/idea uses static thresholds for both body and hands, and we’re looking to make the hand part dynamic based on the body (which will likely still be a static depth threshold).