A Kinect Player Radar, a top down view of Player locations relative to the Kinect Device.

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.

Kinect Player Radar Using C# and WPF

In this post i'm going to explain how to make a simple top down player radar for the Kinect using wpf and c#

image

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.

SkeletonStream

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.

  1. TrackingState : this property tells us the tracking state of the skeleton, either Tracked, PositionOnly, or NotTracked
  2. TrackingId : a unique id for each tracked skeleton
  3. 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

image

image

Contact Information:

Tags:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
    Unsubscribing
    Subscribing

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.