A simple face recognition system using OpenCV and Python.
- Python 3
- OpenCV
- NumPy
Install dependencies with:
pip install opencv-python numpyRun facething.py to capture face data using your webcam.
python facething.py- Enter a name when prompted.
- Press q to stop data collection.
- Data is saved as .npy files in ./data/.
Run face_recog.py to recognize faces in real-time.
python face_recog.py
- Detected faces will display with their associated name.
- Press q to exit.