I could’ve put this in the interface controlling project but I think it deserved his own thread.
It has already been done, but I haven’t seen any sources for me available yet. If you know please reply.
The link I provided is a flash file of a gesture recognition algorithm used in flash.
I also saw it in the Tangent project, if someone could get hold of their thesis document it should be described there somewhere.