I am using a web cam to get video feed and then performing motion tracking on this video feed. The motion tracker returns (x,y)
co-ordinates continuously.
I want to use these (x,y)
to recognize gestures such as "swipe left", "swipe right", "swipe up" or "swipe down".
How do i make and store templates of these gestures and how do i figure out/recognize if one of the gestures has happened ?
Thank you in advance :)
PS: I am using Flex 4 and ActionScript 3.0. If someone could help me out with the logic, i can write it in ActionScript.