Skip to content
Project Prague Code Samples
C# ShaderLab C++ Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Camera3D Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
CarGestures Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
ConsoleCore Avoided Solution env variable since it does not evaluated to the sln … Oct 3, 2017
ConsoleNative Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
GesturesPowerPointPlugin Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
GrabAndPushUwpNative Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
RockPaperScissors Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
RotateSample Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
RotateSampleUwpManaged Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
RotateSampleUwpNative Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
Unity Fix some links to the Unity tutorials (#17) Aug 31, 2017
VideoPlayerGestureControl Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
VideoPlayerGestureControlUwpNative Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017
.gitignore * Added samples which demonstrate MSFT gestures API consumption from … Oct 3, 2017
LICENSE Initial commit Jun 26, 2017
Microsoft.Gestures.Samples.sln * Added samples which demonstrate MSFT gestures API consumption from … Oct 3, 2017
README.md Update main README.md (#21) Oct 3, 2017
common.targets Validated MicrosoftGesturesInstallDir env variable before each projec… Oct 3, 2017

README.md

Overview

This repository contains code samples demonstrating how to use the Project Prague hand gestures SDK. For a quick introduction to programming with our SDK, please visit our overview page on docs.microsoft.com. In order to build and run the code samples provided in this repository, you must first set up Project Prague on your machine. Note that you will need either an Intel® RealSense™ SR300 camera or a Kinect for Windows v2 camera to enable our gesture detection runtime.

Code Samples

After cloning this repository, please open the Microsoft.Gestures.Samples soulution in Visual Studio. You will find 12 projects in this solution. Each project is a stand-alone code sample that can be built and run independently of the other projects. The table below lists the samples ordered from the least to the most advanced:

Sample Use case What will you learn?
ConsoleCore, ConsoleNative Test gesture detection in a command-line window Create several simple gestures and register them to the Gestures Service
RotateSample, RotateSampleUwpManaged, RotateSampleUwpNative Rotate an image by 90° Create a simple gesture made up of two hand poses
VideoPlayerGestureControl, VideoPlayerGestureControlUwpNative Pause and rewind audio\video playback Create a simple gesture made up of multiple hand poses and a hand motion
RockPaperScissors Play Rock-Paper-Scissors against an invincible bot Create a gesture made up of multiple hand poses connected in a complex structure
GrabAndPushUwpNative Scale up\down a UWP control using gestures Create a simple gesture and consume hand skeleton stream
Camera3D Manipulate camera in a 3D scene Create a simple gesture and consume hand skeleton stream
GesturesPowerPointPlugin (requires Office Tools for Visual Studio) Create and present a slideshow in PowerPoint using gestures Create multiple simple gestures and wire them to activate various PowerPoint features
CarGestures Control a virtual car's infotainment-system with gestures Create a complete WPF UI with multiple gestures of varying complexity
Unity Package and Tutorial Projects Follow our Unity tutorial Integrate gestures and hand-skeleton input in your Unity games

Sample Projects - Naming Conventions

Suffix Meaning
No suffix Standard WPF project
*Native Native project complient with C++ 11 standard (portable to Linux)
*Core .NET Core 2.0 project (supported on Linux)
*UwpManaged Universal Windows Platform C# project
*UwpNative Universal Windows Platform C++/CX project

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

You can’t perform that action at this time.