FaceNet model is an implementation of the Siamese Neural Network, trained using a triplet loss function, which uses a similarity function to measure how similar are the images of two given individuals in order to recognise them. This particular implementation uses a Keras model for the Siamese Network to compute the embeddings and later a SVC classifier is trained on the embeddings to perform the actual face recognition.
Install the python packages mentioned in 'Requirements.txt' file via the command "pip install -r Requirements.txt"
Add your images to the faces-dataset folder for training via webcam, with the command "python Image_Dataset_Generator.py"
Train the dataset using the command "python TrainModel.py"
Test the model on any test image with the command "python PredictFaces.py --image 'path-to-the-test-image-here' "