Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.33 KB

File metadata and controls

32 lines (22 loc) · 1.33 KB

forthebadge

Real-time face Recognition Using Facenet On Tensorflow 2.X

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.

  1. Make a directory of your name inside the Faces folder and upload your 2-3 pictures of you.
  2. Run train_v2.py.
  3. Then run detect.py for realtime face recognization.

Alt Text
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. 👈

Dependencies

This code was working properly on tensroflow 2.3.0.

Tensorflow 2.X
numpy
opencv-python
mtcnn
scikit-learn
scipy

visitors