I have worked yesterday on a simple implementation of a mouse gesture recognition algorithm.
Here's a demonstration.
I'll probabaly publish a MouseGesture.as class soon, so stay tuned.
Mouse Gesture [ADD : 2007-05-17]
|This project is OPEN SOURCE under RPL License.
2007-05-17 v1.0 mouse_gesture_v1_0.zip
The zip file contains the MouseGesture class + the full code of sample demo above.
- Each letter is defined by a n ' 8-directions gesture sequence
- The mouse moves are saved with the same 8-directions sensibility
- A Levenshtein distance is calculated from each letter to the user moves
- The algorithm return the best candidate (lowest levenshtein cost)
Example for the B :
trace (e.datas+" matched !")