My First REAL Touch of Processing

For several years now (since seeing the presentation at FITC in Toronto), I have had an interest in the capabilities of Processing. I have only ever had time to dabble in it and just get a feel for what other people have done.

Last week I was able to find some time for playing with a couple of the libraries that interest me in order to see what they can do. I grabbed the OpenCV Processing library and a couple others and started playing with my video camera. I don’t know if the issues that I had are related to the fact that I am on a Macbook Pro with Windows Vista on it but for the life of me I couldn’t get my webcam to work with the OpenCV capture methods. But I managed to get it up and running with a different library and then grabbed the incoming image with OpenCV to process it.

Take a look and let me know what you think: www.marcpelland.com/application.windows.zip (you need a webcam). It isn’t much, but it was good to finally get in there and write some code in Processing. I don’t really know if I am going to pursue this much further after discovering that I cannot access the webcam VIA a java applet. If there is anyone out there with more java / processing experience that may have a way to use this type of app online I would be very greatful.

thanks, marc

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=”http://www.marcpelland.com/wp-content/uploads/2008/05/camera_motion_test1.swf” 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.