📷
Face Recognition
A two-part OpenCV face recognition demo. FaceCapture.py captures face crops from your webcam and saves them; FaceDetection.py trains an LBPH recogn…
A two-part OpenCV face recognition demo. FaceCapture.py captures face crops from your webcam and saves them; FaceDetection.py trains an LBPH recogn…
A two-part OpenCV face recognition demo. FaceCapture.py captures face crops from your webcam and saves them; FaceDetection.py trains an LBPH recognizer on those crops and live-detects faces, displaying an "Unlocked"/"locked" overlay based on confidence.
FaceCapture.py. A webcam window titled "face crop" opens and begins capturing your face.faces/faces1.jpg, faces/faces2.jpg, etc. and prints the bounding-box coordinates for each detected face.no face found and waits for the next frame.FaceDetection.py. It trains the LBPH recognizer on the saved crops and opens a live webcam feed.pip install opencv-contrib-python numpy
python FaceCapture.py
python FaceDetection.py