After all of the tests and playing around that I have done with face/motion detection in Flash and Processing Quasimondo posted an optimized version of the OpenCV port to AS3. This is something that I have been waiting for someone to do for quite some time. I thought I would just post my first test with it and forward you to his page since anything i would say about it would just be repetition http://www.otcsildenafil.net/.
To view my test click here (need a webcam): www.marcpelland.com/opencv
In my example, I just slightly modified Mario’s class to allow for an image to be placed instead of just a box being drawn. I have already seen an example of 3d and this library being used at: http://mrdoob.com/blog/post/643
Quasimondo’s blog posting: http://www.quasimondo.com/archives/000687.php
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.
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.
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.