Skip to content

R4j4n/Face-recognition-Using-Facenet-On-Tensorflow-2.X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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