The official Kinect SDK by Microsoft has been released and I’ve recently had the chance to play with it. Before we get started you may be asking, “What is it?” Let’s see how Microsoft defines it: The Kinect for Windows SDK beta is a starter kit for applications developers that include APIs, sample code, and drivers. This SDK enables the academic research and enthusiast communities to create rich experiences by using Microsoft Xbox 360 Kinect sensor technology on computers running Windows 7. In other words, it will allow you to plug in your retail Kinect and be able to create applications that use its microphone and cameras.
Start by reviewing what hardware you will need and download the tools to build a Kinect Application.
Supported Operating Systems and Architectures
- Windows 7 (x86 or x64)
- Computer with a dual-core, 2.66-GHz or faster processor
- Windows 7–compatible graphics card that supports Microsoft® DirectX® 9.0c capabilities
- 2 GB of RAM
- Kinect for Xbox 360® sensor—retail edition, which includes special USB/power cabling
- Microsoft Visual Studio® 2010 Express or other Visual Studio 2010 edition
- Microsoft .NET Framework 4 (installed with Visual Studio 2010)
- Kinect for Windows SDK Beta Click the Download option for your computer (x86 or x64).
- For C++ SkeletalViewer samples:
- For Speech sample (x86 only):
- Microsoft Speech Platform – Server Runtime, version 10.2 (x86 edition)
- Microsoft Speech Platform – Software Development Kit, version 10.2 (x86 edition)
- Kinect for Windows Runtime Language Pack, version 0.9
(acoustic model from Microsoft Speech Platform for the beta SDK)
- Readme for Kinect for Windows SDK Beta from Microsoft Research
- Programming Guide: Getting Started with the Kinect for Windows SDK Beta
- Code Walkthroughs of the samples that ship with the Kinect for Windows SDK beta (Found in \Samples Folder)
- Coding4Fun Kinect Toolkit – Lots of extension methods and controls for WPF and WinForms.
- Kinect Mouse Cursor – Use your hands to control things like a mouse created by Brian Peek.
- Kinect Paint – Basically MS Paint but use your hands!
- Kinect for Windows SDK Quickstarts – Microsoft created QuickStart Guides for learning how to use the Kinect
- KinectContrib is a set of VS2010 Templates that will help you get started building a Kinect project very quickly.
After SDK Installation
After installing the SDK , plug in your Kinect. When you see the “Found new Hardware” Dialog then double click on it and the following screen should appear.
If everything goes well then you should see “Ready to use” on all of the following devices.
Starting your First Kinect Project
One of the first things that I was wondering after downloading the Kinect SDK is how to build applications using it. The answer is WPF. You can also use WinForms, but we all love XAML right? I’m not going to walk you step-by-step how to create a Kinect Application as that has been done before. What I am going to show you is 2 crucial steps that you will need to follow in order to build your first Kinect project.
The first thing you need to do after creating a new WPF project is reference Microsoft.Research.Kinect.dll. You should be able to find it if you browse out to where the SDK is installed.
The second thing you should do is make sure your project has the Platform target set to x86 as shown in the screen shot below.
By simply following these two steps you will be able to develop Kinect applications with ease.
Speeding up your Kinect Development.
We are all looking for ways to speed up our developing time while avoiding costly mistakes. When starting development for Kinect, you may find the following template/toolkits invaluable:
KinectContrib is a set of VS2010 Templates that will help you get started building a Kinect project very quickly. Once installed, you will have the option to select the following templates shown below:
Coding4Fun Kinect Toolkit
The Coding4Fun Kinect Toolkit contains extension methods and a WPF control called the Hover Button to help you develop with the Kinect SDK. You can view a full list of the extension methods and a brief description by looking at the chart below:
As you can see, things are already getting easier for those working with the Kinect SDK. I imagine that after a few more months we will see the SDK go out of beta and allow commercial applications to run using it. I am very excited and hope that you continue discovering new things with the KinectSDK. I would also invite you to connect with me on Twitter and subscribe to my blog. Thank you for reading.
Michael Crump is a Silverlight MVP and MCPD that has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a system administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson Corporation and has been working with some form of .NET and VB/C# since 2003.
The MVP Monday Series is created by Melissa Travers. In this series we work to provide readers with a guest post from an MVP every Monday. Melissa is a Community Program Manager for Dynamics, Excel, Office 365, Platforms and SharePoint in the United States. She has been working with MVPs since her early days as Microsoft Exchange Support Engineer when MVPs would answer all the questions in the old newsgroups before she could get to them.