Gestures in Python
Brian Kelley
bkelley at wi.mit.edu
Wed Dec 4 09:55:28 EST 2002
Back in the day I did gesture recognition using a floating vector
strokes and a neural network for classification.
Essentially you trap strokes and put them into a vector like:
[(angle, distance), (angle, distance) ...]
new strokes come in the end and disappear off of the beginning.
We then trained the neural network on various gestures like circles,
stars etc.
If a gesture was recognized, the floating window of strokes was cleared
and sat waiting for a new gesture.
The nice thing is that the classification was only taking 3-5% cpu on a
pentium 200 so we had plenty of time do do other stuff.
Brian
More information about the Python-list
mailing list