VII. CONCLUSION AND FUTURE WORK
Improvement to this system can be done using the OpenFace and the classifier it offers. OpenFace helps us to get the 128 measurements of the face and that is sent as an input to the classifier. Looking at all the measurements of the images which are measured before and the classifier will check with the closest match of the face. This can be further enhanced using the FaceNet model of Google which can produce better results. FaceNet was able to produce an accuracy of about 99.63%. The loss function used to minimize the error is as follows- The above function represents the embedding in a multidimensional space, where x represents the image in the function. The loss is calculated according to the nearest neighbor classifier. This loss function here tries to reduce the distance between the similar images xa i and xp i and away from the other images xn i. Here Į is the margin enforced between the positive and negative images.
The algorithm can be further improved using the blob detection algorithm which aims to detect the areas in images that differ in any property or similar in property. The system can be further enhanced using a new way of memorizing the faces of the people that newly visit the area to be secured which would result in the neural network model to be automatically retrained to adapt to the changes that result during the addition of new images. This also avoids the need for deployment on a server with extremely high computational power since the cost of training after the initial setup is much lesser than initial cost.