Microsoft’s Kinect allows a gamer to use his body to play without a controller. But, actually, it is more than a virtual remote: Kinect is a step forward in controlling technology with natural gestures. It allows to interact with a PC without touching the mouse, keyboard or touchscreen.
The Kinect SDK enables developers to create applications that support gesture and voice recognition.There are lots of step-by-step tutorials (and videotutorials), so in this post I will try to summarize the main ones.
Installing the Kinect
- Kinect SDK: It includes the drivers to use on Windows.
- Kinect Developer Toolkit: Contains code samples and sources to simplify developing applications.
- Visual Studio Express 2010: IDE for developing on Windows.
- .NET Framework 4: developer platform to build apps for Windows.
For C++ SkeletalViewer samples:
Speech Recognition software:
Kinect SDK Sample Applications
The Developer Toolkit includes applications and samples to provide a starting point for working with the SDK: skeletal and face tracking, speech recognition, the kinect explorer, the shape game… To start using it, you just have to load the project on Visual Studio and start playing.
Creating a new Project
- Create a new Windows Based application project.
- Add references to the Kinect library by right-click on References menu in the Explorer Pannel.
Kinect must be initialized before it can begin producing data for the application. The initializing process consists on three steps:
Writing the source code
Once Kinect is started and a stream is enabled, the application extracts frame data from the stream and processes it as long as a new stream is available. For each frame of data:
- Register an event which fires when data is ready
- Implement an event handler
- Allocate storage for the data
- Get the data
Loading and recording data
Kinect Studio is a tool to read and write depth and color streams. It is used to create scenarios for testing and analyze performance.