One more experiment, Colored Webcam

November 24th, 2007

The BitmapData class is very cool. In this experiment the was used threshold method to accomplish the coloring of the image received of the webcam.

In case you have a webcam, below the video I put the file for you to see the experiment working.

The code of the application it’s the end of the page, the code is commented on.

Read the rest of this entry »

Experiments with Motion Detection in the Flash

December 9th, 2006

Basically it was used BitmapData Class and the methods: draw, threshold, getColorBoundsRect and getPixel. In the first three samples the detection is accomplished by the coordinates x and y (getColorBoundsRect) and in the last two samples for detection by colors (getPixel).

Read the rest of this entry »