This is a quick guide of how to get set up and running a robust real-time facial recognition system using the Pretraiend Facenet Model and MTCNN.
train_v2.py
.detect.py
for realtime face recognization.
As the Facenet model was trained on older versions of TensorFlow, the architecture.py file is used to define the model's architecture on newer versions of TensorFlow so that the pre-trained model's weight can be loaded.
Dowload pre-trained weight from Here.👈
For in depth explanation follow this amazingly expained article. 👈
This code was working properly on tensroflow 2.3.0.
Tensorflow 2.X
numpy
opencv-python
mtcnn
scikit-learn
scipy