Wednesday, March 11th, 2009, 1067 days ago
Hand guesture recognition using openCV
When i was searching in google for openCV’s hand guesture recognition, i found one library which is called HandVu by accident. On its demoes showed on webpage, the functionalities seems indeen powerful, interacting with virtual 3D objects, controlling virtual menu and the most important thing is that it is background independant.
However, i think, openCV’s default functions which are included in its library maybe probably have this abilities. As a result, today i found a openCV function called
CvConvexityDefect
-Structure describing a single contour convexity detect
and there isĀ a illustration picture on the side of the instruction like below:
[http://opencv.willowgarage.com/wiki/CvReference#Gradients.2CEdgesandCorners] So, on the positive side, that means once the hand contour is extracted, it is possible to detect what guesture the hand has. And that, would be a big step of object recognition.POSTS MAY BE OF INTEREST
- Doing openCV in pandaboard 3 – successful installation
- Doing openCV in Pandaboard
- Hand gesture recognition for HCI
- Hand detection and image recognition
- Coming soon: A review of openCV detection & recognition
- Pattern recognition and applications
- Object tracking using AS3
- Interactive table
- Touchable holography
- About the codes sharing
- Usability of comsumer electronic products
- Rules of memory management of openCV
- Color recognition using openCV 2
- Recognizing circles accurately
- Do we need more novel interaction methods?

[...] Related Posts: Hand guesture recognition using openCV [...]
Hi!
First of all congrates for doing such wonderful an motivating works. May be you are so havituated to all those, bu for me you are a rock-star. Presently I am involved in a project of “Controlling Robot Motion by Hand Gesture”, and your suggestions are really proving helpful to me. Keep doing good jobs.
Thanks,
Deb, India
Hi!
In hurry I did some spelling mistakes in the reply…Whatever leave it. I want to know; have you done any project for hand gesture matching in OpenCV?
Thanks Deb. i am not doing such project currently, but my colleague is doing that kind stuff.
hi will you tell briefly how to detect the gesture of hands to perform action from it
i found this may be helpful to you:
http://n2.nabble.com/demo-of-handGestures-and-detection-of-fingertips-td3918028.html
Hi Andol,
I am a beginner in openCV, what should i learn in openCV to make interactive programs for my projects.
thank you
Hello Junaid, you could refer here: openCV group as a discussing group in Yahoo!, have a look, i believe there are huge documents for both new and experienced.
hello Ando, if u were to summarise how to do hand gesture recognition, how do u think i should approach it? i am doing a project on that and i know how to find contours, please direct me what to do next.
@Onty as method shown in this post, the main function is such like:
CvSeq* cvConvexityDefects(const CvArr* contour, const CvArr* convexhull, CvMemStorage* storage=NULL)
This method finds all convexities of input contours, in other words, if you input hand contours as the picture shows, you will be returned sequences of convexity structures, via which you can tell how many fingers are detected.
More information can be referred here: http://opencv.willowgarage.com/documentation/structural_analysis_and_shape_descriptors.html?highlight=cvconvexitydefect#cvConvexityDefects
thank you Ando, will do that..I really needed guidance on this one. Hope i will figure it all out today and have a working version by tonight. cheers
Onty
Cheers, good luck
hi again Ando, i managed to find the hand and draw a box around it thanx to you, now i want to control the mouse by setting its coordinates to say the center of the box. do u have any idea on how to go about it? just to get the x,y coordinates of the mouse and change them. Thank you so much
@Onty please refer to this http://www.andol.info/research/1756.htm
thank you so much for communicating. will study the program
hello Andol could you please help me on hand detection I did the skin color detection part what can i do next to now the hand
@Randah extracting the contours, an detecting the shapes
thanx Andol, will check it out
Verry good!
But I can’t open it. Can you send to me your code?
Thank you very much.
please check this http://www.andol.info/downloads
Andol I am doing a fingertip detection (from wbcam) project using opencv , I am trying to use cvConvexHull2 and cvConvexityDefects , but It is not working , can you please get me source code of finger detection . I just badly need it. Please help me.
Andol I am doing a fingertip detection project using opencv , I am trying to use cvConvexHull2 and cvConvexityDefects , but It is not working , can you please get me source code of finger detection . I just badly need it. Please help me.
http://www.youtube.com/watch?v=kQxiFaZbOfA
can anyone tell me how to use haartraining xml file in a code every time i run program using xml file i made it shows command window and then closes immidiately.pls advise me on this
Hy everyone
I am facing an issue that although it seems to b out of the above discussion but don’t mind as i m a beginner in DIGITAL IMAGE PROCESSING…….
The issue is that “Whenever i try to install openCV 2.2.0 it asks be where to extract the files instead of initializing the Setup…..”
Can anybody plz tell me what’s Wrong???????
Sorry the Version is 2.3.1 and file name is
“OpenCV-2.3.1-win-superpack_2.exe”
@Khurram
Hi Khurram, the .exe file extraction is a normal part of installation, through which the installation file unzips rough files into a folder as you specify. In the folder a number of .cmake files can be compiled.
Thanks Andol…….
I’hv got your point and also searched for the solution……….
But now i m stuck at another point……….
How to configure Microsoft Visual Studio 2010 for OpenCV????
In Visual Studio 2010 i couldn’t find the proper Stuff to modify under visual c++ directories category??………….
like going to tools>options>projects and solutions>visual C++ Directories
@Khurram Shehzad
have you sorted out the vs2010 configuration of openCV2.3.1, if not, I would like to post a tutorial about that topic, for your convenience.
Cheers
@Khurram
my visual studio is 2008 version, so, I am afraid, no simple answer could be given. But it should be similar as vs 2008 in configuring libraries, head files and other resources.
Keep moving, Cheers