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 comentario

deepali chakre
deepali chakre el 22 de Dic. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 13 de Mayo de 2016

Comentada:

el 22 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by