Click here to Skip to main content
13,096,399 members (55,577 online)
Rate this:
Please Sign up or sign in to vote.
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 i cannot draw them can i separate these two contours? hope my question is clear.Need guidance...Thanks in advance...
Posted 21-May-13 4:14am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

Hard_Rockz 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.

Hard_Rockz 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?
Hard_Rockz 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.
Hard_Rockz 21-May-13 14:22pm
yes sir..sign language is different country wise and might be state wise also...:-)
Sergey Alexandrovich Kryukov 21-May-13 14:29pm
I knew that those language it's very, very different between cultures, but I kinda hoped British and American could be somewhat close. Are they not? Even the letters are different, aren't they?
Hard_Rockz 21-May-13 14:41pm
i haven't looked at all the words sir..but for the English alphabet they are really different..
below is the ASL and BSL alphebet signs sir.

I googled and found this statement "BSL has few signs that combines with the ASL, and BSL is very similar to AUSLAN, here. AUSLAN has few signs that are the same in ASL. BSL and AUSLAN uses two hands in fingerspelling, and ASL uses one hand to fingerspell but ASL uses two hands to sign, not fingerspelling." in website....
Sergey Alexandrovich Kryukov 21-May-13 14:42pm
Amazing... different culture... isolation. Anyway, wish you the best in your work...
Hard_Rockz 21-May-13 14:43pm
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:46pm
Not sure... How, if you cannot separate one hand from another? A mask use useful when you can build a mask area...
Hard_Rockz 21-May-13 14:52pm
Thank you very much sir...Thanks a lot for your valuable time :-)
Sergey Alexandrovich Kryukov 21-May-13 15:08pm
You are welcome.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100