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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Credit: https://github.com/Practical-AI/Face

visitors

About

License:MIT License


Languages

Language:Python 100.0%