Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Samples

Kinect for Windows 1.5, 1.6, 1.7, 1.8

The SDK has a number of samples written in both managed and unmanaged code. The samples demonstrate the way to use the NUI APIs to access color, depth and skeleton data as well as to capture audio and perform speech recognition. The samples are written to perform well and have plenty of error checking in them.

In This Section

C# Samples
Demonstrates how to implement Kinect for Windows in a variety of C# samples.
C++ Samples
Demonstrates how to implement Kinect for Windows in a variety of C++ samples.
Visual Basic Samples
Demonstrates how to implement Kinect for Windows in a variety of Visual Basic samples.
Microsoft.Kinect.Toolkit Component
Contains the KinectSensorChooser reusable component.
Microsoft.Kinect.Toolkit.Controls Component
Toolkit controls for easy reuse within your WPF application to provide Kinect interactions.
Microsoft.Kinect.Toolkit.FaceTracking Component
Provides a managed wrapper API for the native FaceTracking library.
Microsoft.Kinect.Toolkit.Fusion Component
Allows your application to use the Fusion features.

Opening, Building, and Running Samples in Visual Studio

To Open the Sample in Visual Studio

  1. Click the Start button, select All Programs > Kinect for Windows SDK version number > Developer Toolkit Browser version number (Kinect for Windows). You can also click the Start button and type kinect toolkit.
  2. In the list of samples, find this sample and click the Install button.
  3. Select a location to install the sample to.
  4. Double-click the Solution file (.sln) that was installed.

To Build the Sample

In Visual Studio 2010 Ultimate:

  1. Start Visual Studio and from the menu, select File > Open > Open Project/Solution.
  2. Browse to the directory that contains the unzipped sample files. Double-click the Visual Studio Solution (.sln) file.
  3. From the menu, select Build > Build Solution.

In Visual C# 2010 Express:

  1. Start Visual C# and from the menu, select File > Open Project.
  2. Browse to the directory that contains the unzipped sample files. Double-click the Visual Studio Solution (.sln) file.
  3. From the menu, select Debug > Build Solution.

In Visual C++ 2010 Express:

  1. Start Visual C++ and from the menu, select File > Open > Project/Solution.
  2. Browse to the directory that contains the unzipped sample files. Double-click the Visual Studio Solution (.sln) file.
  3. From the menu, select Debug > Build Solution.

In Visual Studio Ultimate 2012:

  1. Start Visual 2012 and from the menu, select File > Open > Project/Solution.
  2. Browse to the directory that contains the unzipped sample files. Double-click the Visual Studio Solution (.sln) file.
  3. From the menu, select Build > Build Solution.

To Run the Sample

To run the sample in the Visual Studio debugger, from the menu select Debug > Start Debugging. To run the sample in Visual Studio 2010 Ultimate without debugging, from the menu select Debug > Start Without Debugging.

Community Additions

ADD
Show:
© 2015 Microsoft