Making mouse magic with the Kinect Magic Cursor
- Posted: Aug 22, 2012 at 6:00 AM
- 5,891 Views
- 1 Comment
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
Today's project come us via friend of the Gallery, David Renton and is another take on using the Kinect as a mouse pointer.
I’m releasing 2 very small applications for Windows that are nevertheless invaluable. There is already software out there that does these jobs, but this is my take it them using XNA4.
The first release came about as I was asked to do a magic wall thing using Kinect and I managed to put this together in about 5 hours (finished it at 2.30am), so it might not be perfect, but it’s worth a go. It basically allows you to use Kinect connected to a Windows 7 pc to control the windows mouse pointer and perform left clicks. Once you run the software you simply use your right hand to control the mouse pointer by standing in front of Kinect and moving your hand. To left-click you just raise your left hand above your shoulder. It certainly has plenty of uses, an interactive presentation projected onto a wall, which would then be controlled by users standing in front of the wall and controlling the pointer with their hand is our initial thoughts, but it could have so many other uses.
There are various keyboard controls to set things within the application.
ESC key Quits the application.
K key toggles between kinect and mouse control.
LEFT-ARROW & RIGHT-ARROW keys change the scale, which is basically how far you need to move your hand in each direction to move the pointer to the edge of the screen.
UP-ARROW & DOWN-ARROW keys allow you to adjust the angle of the Kinect camera.
SPACE key freezes the video feed into the application, which is useful if you are running on a slow PC.
S key starts the video feed again.
You will need a Windows7 PC, Kinect SDK v1.5 and XNA4 runtime installed and obviously a Kinect (XBOX360 Kinect or Windows Kinect).
Project Information URL: http://drenton72.wordpress.com/2012/08/16/kinect-magic-cursor-and-xremote/
Project Download URL: Kinect Magic Cursor version 1.1