To install all requirements run -
pip install -r requirements.txt
sudo apt-get install python python-dev festival festival-dev
To run the file ,type the following in terminal -
python facenet.py
1.Create an 'image' folder .
2.Make sure you place the faces you want to recognise in image folder , just one picture will be enough(Power of inception!!!).
Notes
fr_utils.py contains functions to feed images to the network and getting the encoding of images
inception_blocks_v2.py contains functions to prepare and compile the FaceNet network
Reference
https://medium.freecodecamp.org/making-your-own-face-recognition-system-29a8e728107c