C# Samples
Kinect for Windows 1.5, 1.6, 1.7, 1.8
Demonstrates how to implement Kinect for Windows in a variety of C# samples using Windows Presentation Foundation.
In This Section
Adaptive UI-WPF C# Sample
Demonstrates how to create an app that adapts its UI based on the user's field of view and distance from the screen.AudioBasics-WPF C# Sample
Captures audio data and displays the direction of the audio source on screen.Avateering C# Sample
Demonstrates how to use the Joint Orientation API to help avatar animation and retargeting using XNA Game Studio.Background Removal Basics-WPF C# Sample
Demonstrates how to use the Microsoft.Kinect.Toolkit.BackgroundRemoval API to separate people in the foreground from the background. This effect is similar to using a green screen technique to separate people from a green screen background.Color Basics-WPF C# Sample
Demonstrates capturing and displaying color data on screen.Controls Basics WPF-C# Sample
Describes how to use Kinect Controls, such as targeting and selecting with a cursor.Coordinate Mapping Basics-WPF C# Sample
Demonstrates how to use the ColorImageStream to separate people in the foreground from the background. This effect is similar to using a green screen technique to separate people from a green screen background.Note
Before Kinect for Windows SDK 1.8, this sample was named Green Screen-WPF C# Sample.
Depth Basics-WPF C# Sample
Captures and displays depth data on screen.Face Tracking 3D-WPF C# Sample
Demonstrates face tracking using Windows Presentation Foundation 3D rendering to draw the person's face in the tracked mask.Face Tracking Basics-WPF C# Sample
Demonstrates face tracking using Windows Presentation Foundation rendering.Infrared Basics-WPF C# Sample
Demonstrates how to enable the infrared stream and use it to display images.InteractionGallery-WPF C# Sample
Describes how to implement basic gestures such as targeting and selecting with a cursor, as well as appropriate feedback mechanisms for an optimal user experience.Kinect Explorer - WPF C# Sample
Demonstrates how to use the ColorImageStream, DepthImageStream, and SkeletonStream, to display color, depth, and skeleton data and KinectAudioSource to capture audio data.Kinect Fusion Basics-WPF C# Sample
Describes how to use Kinect Fusion for 3D reconstruction.Kinect Fusion Color Basics-WPF C# Sample
Demonstrates the basic use of the Kinect Fusion APIs for 3D reconstruction with the option of using color.Kinect Fusion Explorer-WPF C# Sample
Demonstrates additional features of Kinect Fusion for 3D reconstruction.Kinect Fusion Explorer Multi Static Cameras-WPF C# Sample
Demonstrates how to integrate multiple static Kinect cameras into the same reconstruction volume.Kinect Fusion Head Scanning-WPF C# Sample
Demonstrates how to leverage a combination of Kinect Fusion and Face Tracking to scan high resolution models of faces and heads.Shape Game C# Sample
Demonstrates a simple game that uses Kinect audio and skeletal tracking information.Skeleton Basics-WPF C# Sample
Captures and displays skeleton data on screen.Slideshow Gestures-WPF C# Sample
Demonstrates a simple slideshow application that watches for right and left swipe gestures to go to the next and previous slides. This sample does not ship in version 1.7.Speech Basics-WPF C# Sample
Performs speech recognition on user commands for moving an object on screen.Tic Tac Toe-WPF C# Sample
Demonstrates using audio sound source angle to identify different players using speech recognition to control a simple Tic-Tac-Toe game.WebServerBasics-WPF C# Sample
Demonstrates how to implement a Kinect-enabled user interface using HTML5 and JavaScript in a web browser.WPF D3D Interop C# and C++ Sample
Demonstrates DirectX 11 Interop with WPF, including full WPF composition of DirectX surfaces. Features a variation of the Depth Basics-WPF C# Sample.XNA Basics C# Sample
Captures color, depth, and skeleton data and displays them using XNA Game Studio. More specficially, the sample captures color and depth data, and uses a SpriteBatch class to render the data.