Deface for flash10

I’ve updated the Deface face recognition library that I created last year to take advantage of the new Vector class and some other improvements.


google code page


It should be fast enough for some limited real-time use now. For instance, the demo below typically finds my face in < 80ms once it’s aquired it. That’s only about 12fps, but for certain applications that would be sufficient. And I’m sure that the tracking can be improved a lot. There’s no real prediction now as is, nor position averaging, etc.


Allow this to use your webcam if you have one. If you don’t, you’re out of luck.


source

———————————————————————————————

http://code.google.com/p/deface/


Based on ideas from OpenCV and the well-known Viola and Jones face detection paper, but NOT associated with either. Deface uses XML encoded classifiers to visually detect and track objects (especially faces) in BitmapData. Compatible with classifiers from OpenCV.

———————————————————————————————


Live Examples


You can see the code in action here:



Source code for the first demo is available on the download page. See DemoCode.

MariLena : OpenCV port to ActionScript 3 (AS3 / Flash)

I dreamed about it, they finally did it ^^.


A crazy guy named Ohtsuka Masakazu have ported the face detection part of OpenCV to AS3 and added the source code named Marilena to the Spark Project a few weeks ago (can’t believe I haven’t notice before today)


Mario Klingemann from Quasimondo.com already made some optimization (see his blog)


I made some test today with a stupid texture, starting from Mario’s webcam example and that’s just fun !!! Well yes, it’s still slow (15 fps on a good computer), but this is just the beginning as I believe that a lot of optimization can still be done, and so what anyway ? It’s flash, it’s everywhere, nothing to install, the fun is there without downloading anything. I really believe in it ! Now with this and FLARToolKit (ARToolKit port to AS3), augmented reality and computer vision is really getting into Flash for sure, and it’s going to give to the community some great opportunity !! I’m looking forward about it


Please, have a test at Mario’s example here


and take also a look at what they did at Squidder.com




Realtime Face Detection in Flash from squidder on Vimeo.


For more info, check out http://www.squidder.com/2009/02/26/realtime-face-detection-in-flash/