Today Friend of the Gallery is back, today with a cool control you can use in your next Kinect for Windows WPF app.
Other recent Gallery Posts for Vangos Pterneas;
- Understanding the Kinect Coordinate Mapping, with a little help from Vangos Pterneas
- Looking at the Kinect for Windows v2
- Color, depth and infrared streams in the Kinect for Windows v2 world (here's how)
- Kinect gestures, an implementation walk through
- Put down the measuring tape. Using the Kinect to find your height
- Body Tracking with the Kinect for Windows v2
- Kinect for Windows v2 will make you green (with envy at its background removal features)
Navigating through a Natural User Interface using your palm is quite common – after all, it’s the primary navigation mechanism XBOX uses. Many Windows Kinect applications implement hand tracking for similar purposes. Today, I would like to share a Kinect hand cursor control I developed and you can use for your own apps. This hand cursor control will save you tons of time and you’ll be able to integrate it right into your existing WPF code!
Here is the final result of this handful user control:
Using the control in your project is fairly easy. Read on!
OK, let’s type some quick code now.
Step 1: Download the project from GitHub
Download the source code and build it using Visual Studio. Locate the assembly named KinectControls.dll.
Step 2: Import the assembly to your project ...
Step 3: Import the assembly to your XAML code ...
Step 4: Move the cursor using C# ...
You are free to use the user control as you wish for your personal and commercial projects, just by making a simple attribution in your project or buying me a beer.
PS: New Kinect book - 20% off
This blog post is part of a new book I am publishing a new ebook in a few days. The book is an in-depth developer guide about Kinect, using simple language and step-by-step examples. You'll learn usability tips, performance tricks and best practices for implementing robust Kinect apps. Please meet Kinect Essentials, the essence of my 3 years of teaching, writing and developing for the Kinect platform. Oh, did I mention that you'll get a 20% discount if you simply subscribe now? Hurry up
Project Information URL: http://pterneas.com/2014/06/06/kinect-cursor-for-hand-tracking/
Project Download URL: Download from GitHub
Project Source URL: Download from GitHub