Using webcam to track hand gestures

2020-06-18 02:53发布

问题:

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.

回答1:

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/



回答2:

Something really similar already exists:

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



回答3:

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



回答4:

Take a look at OpenCV, search OpenCV Gesture recognition



回答5:

I think, by using the motion tracking in openCV examples, it is possible to achieve similar effects as the minority cube demonstrated.