"Getting started with [Developing with] Microsoft Kinect"
- Posted: Feb 28, 2013 at 6:00AM
- 7,514 views
- 10 comments
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
Muhamad Umer is also back, continuing his series on developing with the Kinect.If you're just getting started, his guide will help guide you in the right direction...
In the first Part, I discussed about the fundamentals of Kinect hardware as well as technical details of the camera & microphone array.
Today in this part of my “Programming with Kinect” series I am going to guide you about how to setup the development environment for Kinect and writing code to get started with development using Kinect.
Installation of SDK
The Kinect SDK is a development toolkit that allows software developers to build applications using Kinect and expand the possibilities of application and user experience. Kinect Software development kit (SDK) provides interface to interact with Camera, Motors, Microphone array etc. It allows user to build applications through Visual C#, Visual Basic.Net and C++ language using Microsoft Visual Studio IDE.
Recent release of Kinect SDK (1.6) supports Visual Studio 2012 and Windows 8.
Before you begin with the installation, make sure you have the following components
- Microsoft Kinect Sensor
- USB cable of Kinect Sensor.
Make sure your Kinect sensor is unplugged and previous SDK of Kinect (if any) is uninstalled properly.
The installation procedure is very simple and wizard base.
- Go to Kinect for Windows developer’s page and download the latest SDK (v1.6) and Kinect Developer toolkit (I’ll discuss about it later).
- Install the SDK you just downloaded.
- After that Install the Kinect Toolkit.
After successful installation of both setup files you just downloaded, it’s time to connect the Kinect sensor with your PC.
Plug in your Kinect sensor with you PC and wait till the Windows install its driver.
Note: You may skip the “Searching Driver on Windows Update” part by clicking “Skip obtaining driver from Windows Update” while Windows is installing the driver. It will expedite the installation process and use the driver files that comes with the SDK you just downloaded.
Following components will be available after successful installation of Kinect SDK.
- Kinect Developer Browser.
- Kinect Studio.
- Kinect Drivers.
- Kinect Runtime.
- Kinect Speech Recognition Language Pack (en-US).
Kinect for Windows Architecture
Below is the architecture diagram of Kinect for Windows, You can access Kinect microphones array using your standard audio API.
I am not going to discuss this in details, but just for a quick view, we have
- Kinect Sensor (Physical Kinect Hardware)
- Kinect Driver
- Audio & Video Components
- Direct X Media Object
- Kinect API
More information regarding architecture can be found at http://msdn.microsoft.com/en-us/library/jj131023
Development Using Kinect
After we have our environment ready for software development using Kinect, let’s move towards using Kinect in our Project.
I’ll be using Windows Presentation Foundation (WPF) application type throughout my demos, but you can also use Win-Forms with Kinect.
Go ahead and start your Visual Studio.