Skip to content

knockknockyoo/real-time-deep-face-recognition

 
 

Repository files navigation

Live Face Recogniton

Inspiration

Dependencies

Pre-trained models

Face alignment using MTCNN

How to use

  • First, we need align face data. So, if you run 'Make_aligndata.py' first, the face data that is aligned in the 'output_dir' folder will be saved.
  • Second, we need to create our own classifier with the face data we created.
    (In the case of me, I had a high recognition rate when I made 30 pictures for each person.)
    Your own classifier is a ~.pkl file that loads the previously mentioned pre-trained model ('20180402-114759') and embeds the face for each person.
    All of these can be obtained by running 'Make_classifier.py'.
  • Finally, we load our own 'my_classifier.pkl' obtained above and then open the sensor and start recognition.
    (Note that, look carefully at the paths of files and folders in all .py)

Result Video Link (Running Man Face Recognition Video)

https://www.youtube.com/watch?v=bei4PLm1OiE&feature=youtu.be

runningman1.png runningman2.png

Arduino Door Lock

arduino1.png arduino2.png https://www.amazon.com/ARCELI-ESP8266-Development-Compatible-Arduino/dp/B07J2QKNHB

Result Video Link (Face Recognition Door Lock Video)

https://youtu.be/JDSLfVQpbV0 door_screenshot.png

About

using facenet algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • C++ 1.1%