Hand gesture recognition from image

Hello! I'm working on the hand gestures recognition. I have trained cascades from OpenCV for each hand gesture (such as palm, fist, victory, thumbs up..) and now I'm trying to figure out how to make all these classifiers could detect my five gestures together in Matlab, not separately. For example, I load a picture of a fist or palm, and I get type of gesture: fist or palm.
Sample of code which working with cascade with ONE gesture
detector = vision.CascadeObjectDetector('cascade.xml');
img = imread('gesture.jpg');
bbox = step(detector,img);
detectedImg = insertObjectAnnotation(img,'rectangle',bbox,'palm sign');
figure;
imshow(detectedImg);

댓글 수: 1

deepali chakre
deepali chakre 2017년 12월 22일
Try using your webcam feed and use a loop for detection. Can you please share your XML files? I'm trying the thumbs up and victory gestures.

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2016년 5월 13일

댓글:

2017년 12월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by