This Face Recognition project is based on MTCNN, MXNet and Keras. This project performs following tasks:
-
Capture images of person's face using MTCNN from the webcam for training
-
Extract features of face from the stored images using MXNET based Insightface
-
Train the Keras based model for face recognition using captured face embeddings and stored images
-
Using the model generated, predict the person's face from webcam feed.
- Online Account Verification
- Attendance System
- Office Security Clearance
- Pension and Visa verification
- Criminal suspect identification
-
MTCNN for face detection
-
MXNet based Insightface for capturing facial features
-
Keras for creating Face Recognition model
-
OpenCV for image processing
-
DLib for face tracking
-
Clone the repository:
git clone https://github.com/coolmunzi/face_recognition.git
-
Navigate to the downloaded directory and install the dependencies:
pip install -r requirements.txt
-
Start the project:
python main.py
-
Enter your name when prompted in the console.
-
Focus on webcam while our images are captured. Webcam will stop once 10 images are captured. You can increase this number if you want to improve the model accuracy.
-
The project will train a face recognition model based on the images captured and facial embeddings generated from these captured images
-
Once model is trained, webcam will start, and you can now face the webcam to check the model prediction.