I am a Flash beginner and as part of a college project I am trying to use a webcam to detect people's movements on a street and then use that input to create, manipulate and direct the movement of animations (created in Flash). I have found a number of tutorials which check for a change in a pixels colour to detect movement, however, I can't figure out what valuable is provided (i.e. pixel number etc). In other words, how do I use the information provided by the webcam to affect my animations?
The examples that I have seen usually just measure movement. Usually returning a value depicting how -much- movement there was, or basically, how many pixels changed colors, or they would change the picture to a black and white image with a difference map.