Webcam Motion Tracking Fun v1

I have been doing some recent experiments in ActionScript 3 so I thought that I would start posting them. Most of my recent work has been client work using Papervision, but I found a little time to play with my webcam over the weekend.

I have a couple of uses planned for this and will post them when they are done but here is the first iteration.

[kml_flashembed movie=”” height=”240″ width=”320″ /]

With the help of a diff equation from Forrest Briggs, I managed to capture the specific area of movement within the webcam frame. I will continue working and post source once it is complete. This little project is helping me understand the workings of the bitmap data objects in as3.