1.facedetect.py:
this program captures the faces of the person and stores it with the corresponding id provided by the user
2.trainer.py:
this programs pulls the images of the person captured by the facedetect.py with their corresponding id number and trains the recognizer
3. detector.py:
finally after the recognizer is trained dectector.py detects the face of the person and makes a rectangular box around the face of the person and also shows his corresponding id