Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using webcam to track hand gestures

I wanted to develop a program which uses the webcam to track four colours and which are going to be on my index finger and thumb of both my hands and according to the gestures of my hand the computer will interpret these gestures and carry out a command. For example if I have a website open, all I have to do is pinch with my fingers and the webpage will zoom. I wanted the advice of the stackoverflow community as to where to start and whether anyone has any advice for me. Thanks in advance.

like image 389
Omar Avatar asked Feb 16 '10 19:02

Omar


3 Answers

You could look at Johnny Chung Lee's work with the Wii Remote:

http://www.youtube.com/watch?v=0awjPUkBXOU

You could base your code off the Wiimote library:

http://www.codeplex.com/WiimoteLib

Another angle might be the Aforge Library:

http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx

Code: http://code.google.com/p/aforge/

like image 64
Shane Castle Avatar answered Nov 05 '22 07:11

Shane Castle


Something really similar already exists:

http://incubator.quasimondo.com/flash/minority_cube.php

like image 25
Roberto Aloi Avatar answered Nov 05 '22 08:11

Roberto Aloi


You will certainly want to use OpenCV in one form or another.

like image 1
Jonathan Feinberg Avatar answered Nov 05 '22 07:11

Jonathan Feinberg