Feb 26, 2009 20
Real-time Face Detection in Flash

A couple of days ago we came across the AS3 library Marilena which is based off the Object Detection from the C library OpenCV. It’s an object detection library which is able to process an image and search for a particular type of object with a set of features. In this case it’s looking for faces (was provided with the library). See more about how it works here.
The input images are driven from the webcam. We added confidence and motion monitoring for the purpose of “snapping” a photo.
Check out the video below orĀ try out the demo.
Update 3.3.09: We’ve gotten a few requests for code examples using this technology and who are we to say no? Grab the source here.
