Python - Security Cam

In this project I implemented a simple security cam. As long as the progam has a video feed from the camera, it checks every frame in order to determine whether a face or a body is present or not. If a face or a body is detected it starts recording until there are no faces or bodies in the frame, at which moment starts a ountdown of 3 seconds and then, if still no faces or bodies are in the frame, it stops recording and saves the file with the exact date as file name, otherwise it keeps recording.
It also recognizes the faces in the frame using haarcascade to detect the face and LBPH, Eigenfaces or Fisherfaces to recognize it.
At the moment it only recognizes me, but you can add any folder containing several pictures of the person you want the program to identificate.

Check it out at my github repo.

python computer-vision opencv face-recognition haarcascade lbph eigenfaces