A Kinect Player Radar, a top down view of Player locations relative to the Kinect Device.
- Posted: Aug 09, 2012 at 6:00 AM
- 4,363 Views
Today's project is one that's an example of something I don't believe I've seen before for the Kinect.
The example app is simple, but that's great since that helps keep the noise level down and yet clearly highlights the example's intent.
In this post i'm going to explain how to make a simple top down player radar for the Kinect using wpf and c#
The radar provides a top down view of user locations relative to the Kinect sensor.
I needed something like this for part of a larger r&d project i'm working on, but wasn't able to find any examples of how to do it. Turns out it's actually pretty simple.
The Kinect's SkeletonStream allows us to track the position of a user infront of the Kinect, and also the positions of up to 20 joints on the user's body.
SkeletonStream provides position tracking for up to six users. Full skeletal tracking is only possible for two users, however for the purposes of this project i only needed the global position of each user.
The Kinect SDK provides a Skeleton Class (Microsoft.Kinect.Skeleton) which is used to contain the data for a tracked user skeleton.
There are three members of the Skeleton Class that we are interested in.
- TrackingState : this property tells us the tracking state of the skeleton, either Tracked, PositionOnly, or NotTracked
- TrackingId : a unique id for each tracked skeleton
- Position : provides the 3d position of a tracked user
Position data is represented by the SkeletonPoint structure which...
Project Information URL: http://3amcode.blogspot.com/2012/07/kinect-player-radar-using-c-and-wpf.html
Project Source URL: https://github.com/rikleigh/KinectPlayerRadar/tree/master/KinectPlayerRadar