Gestures in Python
Simon Wittber (Maptek)
Simon.Wittber at perth.maptek.com.au
Wed Dec 4 00:26:24 EST 2002
>> I've been playing a lot of Black & White recently, and after I got
the
>> hang of things, it struck me that Gesture's are an excellent and
>> under-utilised interface / input paradigm.
>>
>> I've decide to have a go at implementing a minimal gesture
recognition
>> framework on top of pygame, using Python at first, then moving to C++
>> if speed becomes an issue.
>>
>> Does anyone have any idea how to implement gestures? I had a look at
>> libStroke <http://www.etla.net/libstroke/> and have some ideas of my
>> own, but am interested to see if anyone has experience or other takes
>> on the subject.
>Wrapping libstroke would be nice, and potentially a lot easier than
>implementing your own system. And the pygame crowd would definitely
find it
>interesting (I know I would :)
The libStroke implementation seems a bit flawed. It grabs the stroke and
normalizes the pattern into a 3x3 grid of points, which it uses to
generate
a string (the gesture identifier). I can't imagine this is very accurate
or
reliable.
More information about the Python-list
mailing list