Top Ad unit 728 × 90


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 
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);
}

Step2:Get skin color profile and remove face
Step3: Hand recognition

Video:


Hand recognition & gesture use Camera and OpenCV Reviewed by Unknown on December 09, 2016 Rating: 5

1 comment:

  1. Dear Jacky Le,
    I 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?

    ReplyDelete

All Rights Reserved by JackyLe © 2018 © 2017
Edit bởi: Jacky Le | Youtube Channel: JACKY LE

Send email form

Name

Email *

Message *

Powered by Blogger.