Buttoning up the Kinect - A Kinect Button compatible with the Kinect for Windows SDK v1.5
- Posted: Jul 19, 2012 at 6:00 AM
- 5,948 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
It's been a long time since we've highlight a Kinect Button project. The Kinect for Windows SDK API has past by the previous examples, so when I saw Sandeep's project on CodePlex I know it was one that I had to highlight ASAP. And best of all, he's released the source for his project too!
Months ago, when the beta version of the Kinect SDK came out, people had recreated the Xbox Kinect Hub in WPF. Here are a few articles that I came across:
- Xbox Kinect Hub Remake – An Introduction To Natural User Interfaces
- Kinect SDK for Windows – Hover Button/Hover Control
In particular, the craze was the hoverbutton or hand cursor or whatever its official name is. It is that hand image that appears on the screen and updates its position by tracking your hand. When you have to select an option, you hover the hand over it, and a little timer ring appears around it indicating how much longer it would take to select that button. I guess it is about 2 seconds. Anyways, since the Kinect SDK got updated to v1.0 (and then subsequently to v1.5), these articles had outdated code (there was a slight change in the API). So, I created an updated version and presto: Kinect Button.
To use the application, first make sure you have the latest version of the Kinect SDK(currently, v1.5) installed on your PC. Then download the source code of Kinect Button from here. Extract it and open the solution in Visual Studio. Ensure that the following two assemblies are being referenced(you might have to delete and add them again):
- Microsoft.Kinect
- Coding4Fun.Kinect.Wpf
Plug in the Kinect sensor to your PC and power it on. Then hit that green triangle button to run the application. Watch a demonstration below:
Project Information URL: http://sandreddy.wordpress.com/2012/07/12/kinect-button/
Project Source URL: http://kinectbutton.codeplex.com/SourceControl/list/changesets
Contact Information:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
buenas tardes
como se crean los botones, donde puedo encontrar una plantilla para hacerlo, necesito solo esta pedazo de código, si me podes colaborar muchas gracias.
@alexander: To create buttons, just drag and drop a normal WPF button onto the designer, and then add it to the array mentioned in the code.
Buen día!
Hello!!! in this project when the user is over button 1 or two, the Click event is called once, how can I create an event or method that allows me called the event as many times as the user have the cursor over the button, the idea is one of the buttons increases a counter, if I want to Increase the counter 20ty times I have to move my hand 20ty times over the button, What method can I use to increase the counter constantly while the user have the cursor over the button?? Thank you
Remove this comment
Remove this thread
close