Hand Detection based on OpenCV and template matching