Looking for some examples / off the shelf stuff that can help with a project I am doing that will allow me to develop something in Adobe Flash (or similar technology) that I can use with a camera to detect something and then react to it. So for example if I was projecting some water on a floor and then a person walked over it the camera would notice the person and the water would react to it.
Hopefully their are some good examples out there and some code I borrow to help develop something similar. Thanks.
EDIT: Here is a good example: http://www.flash-filter.net/rain-drop-water-effect.phtml so for example if this was projected onto a floor, using a camera I would detect that person would be walking in a certain point and the flash would react in the same way as the mouse does currently.