Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV detect hand and comparison images

Purpose of my application is to take a photo hand (gesture) and comparing it with a picture that is in the database. The first option I was use is background subtraction on images:

http://docs.opencv.org/trunk/doc/tutorials/video/background_subtraction/background_subtraction.html.

The solution works, but sometimes, depending on the first picture is not properly cut hand.

The second option is to detect skin color: http://bytefish.de/blog/opencv/skin_color_thresholding/

Or is it better to use a hand detection based on xml files? To compare the images I wanted to use this method:http://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_comparison/histogram_comparison.html

Let me remind you that I'm talking about comparing the images to which they are gestures. I also read about the possibility of making the histogram is not the entire image only on the subject of the photo and then the data is more reliable, but do not know how to do it.