Flash Motion Tracking
A Guide by Yaniv Steiner.
NOTE: Before you read and download the source file FLA take a look SmartRetina project controlling GoogleEarth
Using the new Flash BitmapData functions I started my exploration in order to achieve a fully controlled interface feeding on the user hand movement opposing to keyboard, mouse or joystick. The idea is to use pixel data from the WebCam and analyzing it by comparing old and new snaps to locate movement. So far I saw very little examples of tutorial or real use.
download the source file (.fla)
BakBako - flash 8 motion tracking game
At this point of my exploration I manage to create a small game that will demonstrate some of my insights regarding my real focus: Interactive games using a WebCam. I do believe that controlling a game with only your body movements and without using elements like mouse or keyboard can give a different “feeling” and better (or more fun) use of computer games as we know it.
keywords: BitmapData class, Blendmode, Geom,Edge Detection.