Microsoft released Kinect for Windows samples under an open source license.  You can find everything on CodePlex: http://kinectforwindows.codeplex.com/.  There are total of 22 unique samples in C#, C++, and Visual Basic.

Few reasons behind this release are:

  1. Easy Access -> we will continue to release our sample applications as part of our Developer Toolkit.  However, that’s a large download & install that can be cumbersome if you just want to quickly view or access code on the web
  2. Reuse The Code -> we’re releasing all the samples under an Apache 2.0 license so that you can take the code and reuse, remix, etc.  Also, we’re using a Git repository so it’s easy clone & fork if you want
  3. Get Feedback -> we will use CodePlex's built-in feedback & discussion tools to get community input on the samples.  We want to hear from you to understand what we can do better with the samples
  4. Faster Updates -> we will be able to update samples more quickly on CodePlex (compared to Toolkit releases).  CodePlex also has a “Subscribe” feature that enables you to follow the project and get notified when something changes, a bug gets fixed, someone says something smart in the discussions, etc.  (note:  the subscription feature doesn’t actually track the smartness of a post but one can dream :-))

Browse K4W sample code right in your browser...

List of Samples

This is the list of all samples included in the latest Developer Toolkit release. The table lists the name of the sample, in which languages it’s available and what technologies and additional SDKs are used.

Sample

C#

C++

VB

WPF

DirectX

Additional information

Audio Basics

Yes

Yes

Yes

Yes

Yes

Available in 1.6.0

Audio Capture Raw

No

Yes

No

No

No

Available in 1.6.0

Audio Explorer

No

Yes

No

No

Yes

Available in 1.6.0

Basic Interactions

Yes

No

No

No

No

Available in 1.6.0

Color Basics

Yes

Yes

Yes

Yes

Yes

Available in 1.6.0

Depth Basics

Yes

Yes

Yes

Yes

Yes

Available in 1.6.0

Depth

No

Yes

No

No

Yes

Available in 1.6.0

Depth with Color

No

Yes

No

No

Yes

Available in 1.6.0

Face Tracking

Yes

No

No

Yes

No

Available in 1.6.0, Require Face Tracking

Face Tracking Basics

Yes

No

No

Yes

No

Available in 1.6.0, Require Face Tracking

Face Tracking Visualization

No

Yes

No

No

Yes

Available in 1.6.0, Require Face Tracking

Green Screen

Yes

Yes

No

Yes

Yes

Available in 1.6.0

Infrared Basics

Yes

Yes

No

Yes

Yes

Available in 1.6.0

Kinect Explorer

Yes

No

No

Yes

No

Available in 1.6.0

Shape Game

Yes

No

No

Yes

No

Available in 1.6.0

Skeletal Viewer

No

Yes

No

No

Yes

Available in 1.6.0

Skeleton Basics

Yes

Yes

Yes

Yes

Yes

Available in 1.6.0

Slideshow Gestures

Yes

No

No

Yes

No

Available in 1.6.0

Speech Basics

Yes

Yes

Yes

Yes

Yes

Available in 1.6.0

Tic Tac Toe

Yes

No

No

Yes

No

Available in 1.6.0

WPF D3D Interop

Yes

Yes

No

Yes

Yes

Available in 1.6.0

XNA Basics

Yes

No

No

Yes

No

Available in 1.6.0 Require XNA

 

Requirements

  • Visual Studio 2010 or 2012, .NET 4.0 or 4.5
  • Kinect for Windows SDK and Kinect for Windows Toolkit.
  • Some samples require additional toolkit components (e.g. Face Tracking).
  • Some samples make use of additional SDKs such as DirectX, XNA etc.
  • Note: See the full List of Samples to see if any additional SDKs are required.

 

Useful Links