Hand recognition & gesture use Camera and OpenCV
We can follow step to program an application for Hand recognition & gesture use Camera and OpenCV.
Firstly let see follow chart:
Step1: Face Detect: use Haar
Cascades method
Firstly let see follow chart:
facecad.detectMultiScale(frame_gray, faces, 1.1, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(30, 30));
for (int i = 0; i < faces.size(); i++) //consider the first face
{
cv::Point center(faces[i].x + faces[i].width*0.5, faces[i].y + faces[i].height*0.5);
maxareai = (faces[i].area() > maxarea) ? i : maxareai;
maxarea = (faces[i].area() > maxarea) ? faces[i].area() : maxarea;
ellipse(myframe, center, cv::Size(faces[i].width*0.5, faces[i].height*0.5), 0, 0, 360, cv::Scalar(255, 0, 255), 4, 8, 0);
}
Video:
Hand recognition & gesture use Camera and OpenCV
Reviewed by Unknown
on
December 09, 2016
Rating:

Dear Jacky Le,
ReplyDeleteI would like to mention this your work in an article. However, I was unable to find his article on Hand recognition & gesture use Camera and OpenCV. Could you send me the PDF or even the reference text?