So a little while ago, Halloween in fact, I threw together a demo of some face-detection stuff I'd been looking at. [Check out the original post here.] We originally had the demo on the MMT Digital homepage, but recently that's been updated and my demo got lost in the process, so I've restored it here, along with the Flex project for it.
So, here it is: the live demo and underneath, a link to the source code for it.
[kml_flashembed movie="//uploads.psyked.co.uk/2010/01/FaceDetector_Camera.swf" height="375" width="500" /]
The code itself I'm not going to try explaining, but it's a hack of other demos that are out there on the web.