This is awesome, the best part is there is an SDK for developers to build Atari games using their SDK
The video explains how to obtain depth measurements from the depthFrame, but doesn't say what vector these measurements are along or how to convert them to world XYZ coordinates!
I looked but I see no function in the SDK for finding the XYZ values. I suppose if one knew the FOV of the depth camera an approximate function could be written. Ideal would be SDK call that checks the depth camera's firmware calibration and gives proper values.
Pointclouds are probably one of the most popular applications of the Kinect (for visuals anyway), but without this info most people are going to end up doing it the wrong way.
You can use the KinectSensor class MapDepthToSkeletonPoint method to convert a depth point to a SkeletonPoint.
A SkeletonPoint should be what you need given that it is meters from the camera
I see video coming from the camera, but nothing else, and the green light keeps flashing. Also the Kinect in sleep mode, meaning it's tilt down instead of raised up.
Does anyone know what's wrong?
If you see video, then the Kinect is working. Try using the samples that ship with the Kinect Developer toolkit, like Kinect Explorer. The download is available here http://www.microsoft.com/en-us/kinectforwindows/develop/developer-downloads.aspx
The "tilt down" is something you, as a developer can control. Using the Kinect Explorer sample, set the Tilt to 0 and, assuming the Kinect is on a flat table, that should give you the correct angle.
The sample code runs perfectly on my computer; however, when exiting the application, an exception happened on line 177 of KinectSkeletonViewer.xaml.cs where the line reads "ColorImagePoint colorPoint = depthFrame.MapToColorImagePoint(depthPoint.X, depthPoint.Y, this.Kinect.ColorStream.Format);".
The warning message is shown as "InvalidOperationException was unhandled
This API has returned an exception from an HRESULT: 0x80070015".
You may want to try the latest release of Kinect (1.5.2) as I think this should be fixed.
@terrajobst: LOL, yeah, I wasn't expecting that either
Jul 30, 2012 at 8:50 PM
@slaneyrw - For some context, when you submit a video to Channel 9, the video you submit is set as the "High Quality WMV" and the other versions are built off of that encoding, hence the disparity.
Jul 30, 2012 at 7:18 AM
@jongalloway: Thanks Jon for the clarification