Project Description
A simple "WPF4 Touch Device" using Kinect with OpenNI & NITE (written in C#).

This project makes it easy to transform your WPF4 touch application in "touch less" with the Kinect with little change : replace "Window" base class by "KinectWindow".

Currently the Touch Down and Touch Up is determined by the distance of the hand from the Kinect. A possible change would be to detect if the hand is open or closed to enable the Touch Down or Touch Up.

This project was initially published in December 2010 on Youtube :

Sample based on the "PDC 2009 - WPF 4 Manipulation Demo" (just replace "Window" by "KinectMultipointWindow" in the XAML and C# code)
<mpd:KinectMultipointWindow x:Class="Manipulations_1.MainWindow"
        Title="Demo2 - Manipulations" WindowState="Maximized" Height="600" Width="800" Background="Beige">
    <Canvas x:Name="_canvas" 
        <Image IsManipulationEnabled="True" Width="600" Source="/Manipulations_1;component/Images/Koala.jpg">
                <MatrixTransform Matrix="1 0 0 1 200 200" />

Screenshot :

Last edited Jun 20, 2011 at 9:17 AM by SebastienWarin, version 10