Hand Detection Opencv

Rahul galgali picture Rahul galgali · Aug 28, 2014 · Viewed 22.8k times · Source

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?

Answer

Gopal00005 picture Gopal00005 · Sep 8, 2014

You can find the best trained cascade xml file from the GitHub...

Here it is...

https://github.com/Aravindlivewire/Opencv/blob/master/haarcascade/aGest.xml