Start Coding for the Kinect

by Alan Berman

I'm intrigued by all the interesting industry apps being developed for the Kinect.  I started wondering how easy it is to start programming the Kinect using Visual Studio on a PC.  It is very easy to get started, especially since the Kinect SDK has sample applications with sample code.

Because I had bought a Kinect bundled with my Xbox and not a standalone Kinect, I needed to buy a Kinect Sensor Power Supply, which can be purchased online.  This product has a cable with a USB connector that can be plugged into a PC.

I downloaded the Kinect SDK from the Kinect for Windows download site.  After installation of the Kinect SDK, this appears in Start / All Programs.

When you choose "Kinect SDK Sample Browser", the following Sample Browser window appears.  You can run the samples and download the associated C# projects from the window.

Here's what the Kinect Explorer looks like.

In the above window, the image at the left demonstrates skeletal tracking. The same image also shows Norm Estabrook as seen from the RGB camera.  For the image at the right, depth camera data with the distance from the Kinect is translated into an image with different colors.

You can change settings by clicking the arrow at the lower left.

Here's what the Shape Game looks like.  Norm is trying to change the direction of shapes falling from the sky.  The app also supports vocal commands.

The Kinect Audio Demo looks like this.  It shows the direction of the sound source and recognizes spoken colors.

The Kinect SDK includes the C# code for these sample apps, which will help you start coding.

Another important resource is the phenomenal Getting Started videos at the Kinect for Windows Quickstart Series.  Happy coding!

Comments

  • Anonymous
    June 02, 2012
    Wonderful post! Really a nice discussion is done by you. The information related to above article is off-course very important to those .Net developer who are want to develop the application  .I am seriously waiting for your next related article and i also enjoy your webinar  on telerik TV. <a href="ecommercesoftwarereviewss.com/">ecommerce reviews</a> Thanks for sharing the information.

  • Anonymous
    September 15, 2013
    Very nice post, i ll think about developping for Kinect :)

  • Anonymous
    January 27, 2014
    Bem interessante este SDK, muitas vezes vemos os códigos fechados, mas neste caso é de total interesse da microsoft que mais e mais pessoas possam contribuir ! Sem dúvida esta tecnologia no futuro vai ser uma julgadora de modos, palavras das pessoas, pelo reconhecimento e isto mudará a sociedade.