Using a Kinect sensor, I am attempting to write an algorithm to detect a clenched fist. I am trying to achieve this by calculating the area occupied by the hand (since clenched fist area < non-clenched fist area).
Here's what I have so far:
I am having trouble figuring out how to get the depth data that corresponds to the hand. It's easy to get the depth data at the exact location that the Kinect gives for the hand, but I don't know how to get all the depth data for the hand. Any suggestions, pseudocode, and/or link to tutorials would help.
There are events from KinectInteractions that detect whenever the fist is in gripped mode or released mode as it's used for the KinectScrollViewer in the KinectRegion:
The HandPointGrip event The HandPointGripReleased event
Also this might be a duplicate of this post .