Ask Your Question
0

Hand Detection

asked 2014-08-28 05:14:49 -0500

rahulvg gravatar image

I am trying to detect hand using opencv and c++.

I am able to find the contour of the hand(Positive image)with person hand present in the image.Basically I am finding largest contour and consider it as hand contour.Lets say in the given image the hand is not present then i will take any contour and consider it as the hand.

So I started thinking can I use the haar cascade to determine the rectangle of the hand and focus on that area,but I tried searching online for the xml but I think it is not available like face detection.

So given a image how can I determine from the set of contour which one is of hand?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-08-29 13:18:42 -0500

fedor gravatar image

Hi, rahulvg ! How you finding largest contur ? Edge detection ? For this taks you can use skin detection (CvAdaptiveSkinDetector) and find largest contur of skin, if you not doing it now. After that you can crop largest cotur (bounding rect) and use HaarDetector on it. Or use HaarDetection for all image and calc how math skin on detected object. For hand hard to train haar cascade, because it can be in many different pose, but, you can try to do it. But, better, search some differen algoritm. Try to serch papers about it, its popular task. like finger-detection-in-human-hand or Palm position tracking,Hand and finger Tracking using OpenCV Computer Vision

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2014-08-28 05:14:49 -0500

Seen: 2,643 times

Last updated: Aug 29 '14