Face recognition system
Introduction
This repository is a face recognition system. The face detection part is the implementation of MTCNN algorithm and the recognition part using tensorflow c++ api is the implementation of facenet algorithm.
Dependencies
- opencv3
- openblas
- tensorflow(C++ shared library)
Usage(Demo)
- cd root_directory
- vim CMakeLists.txt
- change the path of tensorflow/opencv/openblas according to your machine
- Download the "Facenet model" and put it in the model/
- cmake . ( or cmake -DCMAKE_BUILD_TYPE = RELEASE . if you care about the speed performance)
- make
- ./main xxxx.jpg "yourname" (xxx.jpg must be a photo of your face)
Inspiration
- Facenet part : the model file is taken from here
- MTCNN part : the code is taken from here