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

Motion Tracking and Papervision

A couple of days ago I posted my first attempt at motion tracking in AS3 using a webcam and promised that I would play a little bit more with it. Well, I got a little bit anxious and before refining the tracking code I decided to put it to use.

You may have seen the video of head tracking using the Nintendo Wii. That video inspired me to try my hand at the same concept using Flash, Papervision 3d, and my newly discovered love for trying to get motion tracking / facial recognition into Flash.

Motion Tracking and Papervision

As such, I have created this example which is my first step in creating some sort of tracking interaction with a 3d scene. if you would care to see a little bit more detail about what is going on, hit X to see the video and W to see the framerate. Stay tuned for more updates as I update the tracking code. Once again, I will post the source when it is a little further along.

** please note that you require a webcam to take advantage of the motion tracking, if you do not have a camera the scene’s camera is simply controlled by the mouse.