简体   繁体   中英

How to recognize predefined gesture from feature points

I'm working on a hand gesture recognition project. Till now I'm able to detect the centre of the hand and able to track the hand for some consecutive frames and I'm able to get a list of points Like

1

在此处输入图片说明

2

在此处输入图片说明

Now I want to recognize the path as a gesture like for #1 RIGHT for #2 CIRCLE How should I do it ? and It should include a method to add other gestures to . Can I use SVM for this purpose? I feel it can be done by using FSM but I can't get how to implement it . I'm using Python and Opencv . Thanx in Advance!

There are various ways to approach this, but I believe that the easiest is to use a template matching approach.

For each gesture, have a sample that you compare to, and the result is simply the one most resembling the current sample.

For the comparison between a sample and a template, a good and simple to implement algorithm is the Dynamic Time Warping (DTW) https://en.wikipedia.org/wiki/Dynamic_time_warping

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM