In this project you can have face detection using 'haarcascade_frontalface_default.xml' file python code. you can run 'face.py' access faces thurough USB camera.
To do face Recognition part first you have to create 'train.yml' file it's like a 'haarcascade_frontalface_default.xml' file.In that file have specific faces data.After generate 'train.yml' file you can run 'recognizer.py' file, in this file can do recognition part.