Nice write-up on OpenCV (computer vision) for telling a face or not. Could be useful for future robotic work. Me, I haven’t looked at OpenCV yet, been too busy with other things.
http://www.instructables.com/id/Face-Tracking-with-Processing-and-OpenCV/