A Python-based face detection and recognition system using OpenCV and the face_recognition library.
- Face Detection: Locate human faces in images or video streams
- Face Recognition: Identify and verify individuals from a stored dataset
- Real-time Processing: Recognize faces from webcam input in real-time
- Dataset Support: Add and manage multiple faces for recognition
- Multiple Face Handling: Detect and recognize more than one face in the same frame
- Python 3.7 or higher
- pip (Python package manager)
- Clone the repository:
git clone https://github.com/Cracklings815/Face-recognition.git cd Face-recognition - Install the dependencies:
pip install -r requirements.txt- Run the face recognition script:
python main.py- Place the images of people you want to recognize inside the images/ folder.
- Run the program to start webcam-based face detection and recognition.
- Add new images to expand your recognition dataset.
Face-recognition/
│── images/ # Folder for training images
│── main.py # Entry point for running recognition
│── requirements.txt # Python dependencies
│── README.md # Project documentation- OpenCV
- face_recognition
- numpyy
This project is licensed under the MIT License. See the LICENSE file for details.