This is a great tutorial. I have been working on an open source python library called SimpleCV that makes this trivially easy. Grabbing an image from a camera is one line of code. Applying the face detector in also a single line of code.
Check it out here:
http://simplecv.org/