Getting Started with, and the most out of, the Kinect SDK
- Posted: Nov 08, 2011 at 6:00AM
- 7,023 views
- 1 comment
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
So you're all excited about yesterday's (well, Friday's) announcement about the updated SDK and want to start coding, but you're not really sure how or where to start?
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.
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.
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: