Posts may be of interest to you
- Hand gesture recognition for HCI
- A review of openCV of detection and recognition
- Using openCV in MFC
- Hand detection by using cvSnakeImage
- “Secret Powers”: A finger detection demonstration
- Tracking a hand manipulating objects
- OpenCV with VS2008
- Quoted: Switching to OpenCV 2.0 with VS2005
- Approaches for hands detection using openCV
- Coming soon: A review of openCV detection & recognition
Friday, April 3rd, 2009, 518 days ago
Hand gesture detection and recognition using openCV
Related Posts: Hand guesture recognition using openCV
Clicking the pictures and the detailed previews will display which show the hand contours extracting from video capture. These pictures illustrate the results of color based segmentation for hand gesture detection ( not recognition yet ). it is a real time programme, however, in this demonstration, the programme still depends on environments’ light , because of the color based segmentation method. If, combinned with motion detection and background substraction, it supposes to be robuster.








Hi andol. Great work! How did you finally manage to detect the contour of your hand with the noise and stuff? From an older post it reads “But the noise is easy to take off”… how did you do that?
Well, i used two steps to get the noises away which include using blur to smooth big contours and to melt numerous small contours, secondly, according to the hand characters, select largest contour as target.
Hi. Will you be posting your code for this as you did for the circle detect? In the circle detect, there are two includes for math.h. Not being a C++ coder, I wonder what the differences in syntax between ” and < are for the math.h include files. Cheers.
Oh, the twice includes of math.h in circle detection codes was a mistake. You can delete one of them and debug it again, that would be fine, no different. About the code, yeah, i ll update it soon.
can u share the source code for this?
The codes have been published.
The codes are here: codes
hi li,in the page http://www.andol.info/hci/1097.htm
I dont find the gesture recognition code , I have download hsv.cpp in the “sharing code” page which is not the one showing in this page.
Oops, sorry for that some posts were lost by mistake couple days ago while debugging. So that post number is not previous one with source code. Big apologies.
Me podrias ayudar, estoy tratando de hacer algo parecido, mas segun yo voy en la segmentacion
plz Andol
i do a project that detect the hands in a difference states so w need ur advice how do this ??/
sure i would like to.
Thank you,
very interesting article
you welcome
hi would you please show this code ,i need this kind of code for my implementation
fantasfic work ..really helpfull.
hi i need this codes ,the codes u specified is not avilable woud u helo me
sorry the previous codes are indeed invalid. New codes refer here: http://download.andol.info/hsv.cpp
Hi Andol! I’m new to opencv…lately i’ve been trying to do hand detection (detect hand and place a circle around it)…can you please help me? do i need to use haar classifier?
Thank You
haar classifier is used to detect specified and predefined gestures, it is stable and effective once the training is finished. If you can get sufficient examples both positive and negative it would be very recommended to do so.
I m doing the exact project in my engineering final year project but i have not used HAAR cascades but i have used skin segmentation to filter hand skin…. wud be glad if u can share ur email address so that i can clarify my doubts….. need some guidance in hand gesture recognition.
contact can be found in http://www.andol.info/about
Sir i have mailed u on ur hotmail account with some screenies and our exact problem…. we r anxiously waiting for ur reply…
thank you…
So far you have been very helpful with your recent articles and I would like you to know that I am grateful for your sharing.
Hi! I was wondering if you might have any insight as to how I might go about identifying each finger and the thumb. Do you know what I could do next?
Well Alex, i have not yet done finger recognitions, but haar may be a choice.
I can share finger detection with you guys if you want.
@Dhruv would you like to share your codes here for guys who need that?
@Dhruv it’d be wonderful if you could share it here! i’m pretty bad at programming but i need a finger/hand detection with tracking, any of u could help me out? my emails jona_lim87@hotmail.com any help is really really appreciated
http://www.openframeworks.cc/gallery/secret-powers
hi,Andol, when i test the program you wrote in http://download.andol.info/hsv.cpp I cannot get any boundary shown above, is the program latest, my circumstance is vc++ 6.0 opencv1.0, looking forward to your reply, thanks.
@Mzy, my thinking is the parameters of H, S, and V should have some adjustments according to your environments.
Hi Andol, I couldn’t find the source code for the gestures !!! I found just a code for Hand Detection.
Please I need a link for it.
Thank you Sir for your code.it helps me a lot.But my problem is i have to find the trajectory of the moving hand.please help me
@Kutu thought the motion detection might help, an example of that can be found in openCV’s example folder.
hi,sir.i am able to find the centroid of hand in real time.Now i have to find the trajectory of the moving centroid.please tell me how can i draw the trajectory
Hi Kutu, i recommend a motion detection example in openCV’s installation folder ‘examples’, check it out, the source code should be included there.
hi andol ….will u please tell me can hand gesture recognition be possible with what you have stated can it be useful for controlling applications like office, media players……..
.
@Sarang it is possible to use hand gestures to control applications like media players but still long way to go, here what i ve done is only to detect the hand shapes and the key point is of the gesture segmentations and recognitions.
is openCV that powerful
@Sarang well, this depends on what you want to do with openCV
what if we compare matlab and openCV which is better for hand gesture detection…..
will you please tell me the prerequisites one need to know to implement hand gesture recognition system
@Sarang openCV is a open library for computer vision and Matlab is an application environment such like Visual studio for algorithm designs and validations, that means, openCV can be used in Matlab as long as including relevant files, also, openCV can be used in Eclipse and other development environments.To recognise accurate hand gestures, in my opinion, first of all you should extract every hand gesture, and then give each detected gesture a trigger of certain operations.
with what platform is openCV suited best….
I am using Visual studio 2008, it works fine
hi,,! sir,, do you have some experience on sign language detection..can you please share your knowledge,, just want to know how will i recognize the different sign language.. is there a code in opencv for it sir? thanks a lot.!:)
@Naj would you provide more explanations of what types of sign language detection you use?
Sir,i will be using this approach,http://sandarenu.blogspot.com/2008/06/opencv-computer-vision-library.html
,the problem is i dont know how will i recognize the different sign languages, for example i use sign language letter “B”, how will i recognize it as letter B or how will i use the algorithm to recognize the sign language letter as “B”. thank you sir.:) thanks for repyling too:)
@Naj Your chosen method to detect signs is understood as Haar Classifier which requires huge trainings with both positive images and negative images. You need to use these sample images to train your system, such like 100 sample images with the letter B and another 100 images without the sign B. Hope this helps.
Sir..i see..ok sir.. thanks for the great info..
ohh..btw sir, just another question, for example. ill use sign language letter “B”, how will i make an output of it. for example, an output text “B” on a textbox.
@Naj about openCV output, there are functions in openCV library to out put the texts, images, and even writing the results into a .txt file. Check the openCV manual this will be found easily.
ohh..ok sir.. thanks for helping me again:) gotta check it out ..:)