Friday, March 27th, 2009, 349 days ago
Hand detection using openCV
Looks like i am a computer vision researcher rather than a great interaction researcher on these days — AndolIn this post, as the progress goes, the hand detection technologies using openCV is introduced. As the pictures inllustrated below, this detection method is independent with distance and background ( just not the background full of hands ), and the main segment method is color abstract which means getting the hand color pixels filtered. As the result tested within several environments, it workd well except slightly noise varying. But the noise is easy to take off.
The tested source code file is offered underneath the illustrations, feel free to use it.
SOURCE FILE HERE: handDetection.CPP







[...] Reference: http://www.vimeo.com/4026184 http://www.andol.info/hci/830.htm [...]
Hello, I need your help on hand detection in OpenCV, I am quite poor at computer programing and I want to use this technique to control a robot eye. I have successfully managed to acquire and capture the image from my web cam and now need to move on to the next step. I was told i have to use the Haar libraries and the same concept of Face detection by my professors. What should i do? Thank you
well, if haar is adopted to detect the hand’s gestures, the first thing you should do is to capture enough number of samples including positive and negative. Then you can train your application according to these samples you have gathered. for more details, it is possible to refer the machine learning part of openCV.
great….
i using EgmuCV, can you Hand detection using EgmuCV, my email:baonv2109@gmail.com
thank !!
great….
i using EgmuCV, can you send me Hand detection using EmguCV, my email:baonv2109@gmail.com
thank you!!
sorry, i am not using EmguCV, so the source code is based on openCV rather than EmguCV. You can refer to the code here: http://www.andol.info/hci/830.htm/attachment/handdetection-2
great….
i using EgmuCV, can you send me Hand detection using EmguCV code, my email:baonv2109@gmail.com
thank you!!
Please referring to here: http://www.andol.info/hci/830.htm/attachment/handdetection-2
hi i would like to control cursor movements by using hand so please help me to find coordinates of hand..please help me in this urgent
hi i need to get the coordinates of the hand while moving ….. please help me …its urgent
first, detecting the hand, and then finding a centre of detected hand as a rectangle, and at last connecting the cursor to coordinates of the hand.
hi thanks for this i had done still but i dont know how to proceed again (ie) to detect the gesture and perform mouse clicks help me please
once you segment clean hand contours, the next step would be detect the convexities by using a function in openCV called ‘CvConvexityDefect’ to get the hand’s features.
how can i perform left click and right click by my finger using webcam in open CV library plz help..
the way is to assign different gesture to left click and right click, e.g. four fingers means left click, full palm means right click.
Hi, i got your code.This is working well but i want to find the hand location.I have used contour but still can not find hand location.can your help me?plz
Hi Andol,
After detecting the hand, Is there a way to connect the mouse pointer to coordinate(x,y)? I am using Ubuntu. What command should I use to do so?
sorry, i just did some code projects in Windows, ubutun has not yet been tested.But i think, the codes would be mostly the same.
hi Andol
i have to control a robotic car by fingers i hv saw ur code.it working for hand exraction.nw i hve to count of fingers in a particular moment.plaese help me wat i do next..