Click here to Skip to main content
15,879,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, i was able to find both the hands using findcontour function in opencv and able to draw the contours as well.but when i close my two hands it becomes one contour.so i cannot draw them separately.how can i separate these two contours? hope my question is clear.Need guidance...Thanks in advance...
Posted

1 solution

You cannot do it in general case, unless your code is aware of human anatomy.

Imagine an intellectual person from an extraterrestrial civilization who sees a human for the very first time, in pure lighting condition, and that human holds two hands close together (if you have a good imagination, I guess it's easy to imagine, isn't it? :-)). I'm afraid that creature also would have trouble to recognize two separate limbs.

The problem is inherently not well defined, and this is not your fault. It is inherently difficult, resembles one of those ill-posed problems. Sorry for not giving you a solution. Just think about it.

—SA
 
Share this answer
 
v3
Comments
Dilan Shaminda 21-May-13 11:44am    
Hi,thank you very much for the answer..:-) i am working on BSL(British sign language) recognizing project(i am an undergraduate). in BSL it uses both the hands to show the English alphabet. For the classification part i must extract the features of both the hands even they are close..I am really stuck in there.Any luck sir ? Thank you...
Sergey Alexandrovich Kryukov 21-May-13 12:18pm    
I know what you mean and I have an idea on how BSL works. Hard to say what else could you do. Is it possible that you improve the contrast (I hate to say it, but it might need to tighten up requirements for lighting; I do understand that it may not be accessible) and trace to contour of a hand even on the background of another hand? But even that might not be helpful if the hands are interlaced.

Another possibility is to classify gestures into letters without separation of hands, just based on overall contour. Do you use teaching of the system? This could resolve the problem but only because a very small set of symbols (just letters, as I can understand) you aim to recognize. But if you solve this problem, what are you going to do with the non-letter part of the language?

Did you read the research works on sign language recognitions? I saw just a few, they are quite complex and the whole field is problematic, despite the success. Very interesting problem, I must say.

—SA
Dilan Shaminda 21-May-13 12:34pm    
we are 4 group of undergraduate students and we have read more than 30 research papers sir.but all of them are for ASL not for BSL. As i think researches go for ASL because of the above problem.ASL uses only one hand for represent all 26 letters in the English alphabet. i am using HSV color format to detect the skin color sir. then i got two biggest contours and they are the hands.sir is it possible to get both the hands in to two different masks (left hand for one mask and right hand for another) and process them individually ?
Sergey Alexandrovich Kryukov 21-May-13 14:12pm    
Oh, that was my mistake: I certainly got just a bit familiar with ACL, but not BCL. Are they considerably different?
—SA
Dilan Shaminda 21-May-13 12:39pm    
we hope to use SVM for the classification part sir. we hope to develop the system for recognizing alphabet and numbers only.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900