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 Kommentar

deepali chakre
deepali chakre am 22 Dez. 2017
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 13 Mai 2016

Kommentiert:

am 22 Dez. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by