International Peer-Reviewed Journal•Open Access•ISSN 2456-8880
irejournals@gmail.com•+91-7433024337

Home / Current Issue / Paper 1707891

1707891 Vol 8 · Issue 10 Download Paper

Real-Time Face Recognition with Occlusion Handling Using Facenet512 and Machine Learning

Chendo Chukwunonso Nnamdi Okeke Ogochukwu Mgbeafulike Ike Okafor Patrick

Subject area: Science,Engineering and Technology  ·  Area of research: Artificial Intelligence (AI) and Computer Vision

Abstract

This paper introduces a face recognition system designed to tackle the issue of occlusion, which can hinder the effectiveness of traditional facial recognition systems when parts of a face are obstructed. To address this, the system is built using object-oriented analysis and Design Methodology (OODAM), which promotes a modular and flexible development approach. The implementation is carried out in Python, utilizing the Deep Face library for face recognition.in particular, the system employs the ?Facenet512? Model with the ?Euclidean_12? distance metric to enhance accuracy in face identification, even in the presence of partial occlusions. Machine learning algorithms are integrated for feature extraction and matching, with a SQLite database used for storing and managing face efficiently. The architecture supports real-time detection and recognition of faces through OpenCV, while a kernelized correlation filters (KCF) tracker is used to ensure continuous tracking across video frames. The system also processes frames, addresses occlusions, and stores recognition outcomes in a well-organized database. Evaluation result highlights the system?s capacity to effectively mitigate the impact of occlusions, achieving improved recognition accuracy and reliability over traditional methods.

Keywords

Machine Learning, Face Recognition, Occlusion, Real-time Detection

References

[1] Alexey, A. B. (2019). OpenCV detection models. GitHub. Retrieved from https://github.com/AlexeyAB/OpenCV-detection-models/tree/master/haarcascades

[2] Bansal, A. (2019). A study of factors affecting face recognition systems. International Journal of Management and Engineering, 8. Retrieved from http://www.ijamtes.org/gallery/32.%20feb%20ijamtes%20-%20276.pdf

[3] Bento, C. (2021). Multilayer perceptron explained with a real-life example and Python code: Sentiment analysis. Towards Data Science. Retrieved from https://towardsdatascience.com/multilayer-perceptron-explained-with-a-real-life-example-and-python-code-sentiment-analysis-cb408ee93141

[4] Bernstein, C. (2020). Face detection. Techtarget. Retrieved from https://www.techtarget.com/searchenterpriseai/definition/face-detection

[5] Brownlee, J. (2016). Crash course on multi-layer perceptron neural networks. Machine Learning Mastery. Retrieved from https://machinelearningmastery.com/neural-networks-crash-course/

[6] Cen, F., & Wang, G. (2019). Dictionary representation of deep features for occlusion-robust face recognition. IEEE Access: Practical Innovations, Open Solutions, 7, 26595–26605. https://doi.org/10.1109/access.2019.2901376

[7] Cen, K. (n.d.). Study of Viola real-time face detector. Retrieved from https://web.stanford.edu/class/cs231a/prev_projects_2016/cs231a_final_report.pdf

[8] Chen, X., Qing, L., He, X., Su, J., & Peng, Y. (2019). From eyes to face synthesis: A new approach for human-centered smart surveillance. IEEE Access: Practical Innovations, Open Solutions, 6, 14567–14575. https://doi.org/10.1109/access.2019.2803787

[9] Dvornik, N., Mairal, J., & Schmid, C. (2019). On the importance of visual context for data augmentation in scene understanding. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(6), 2014–2028. https://doi.org/10.1109/TPAMI.2019.2901571

[10] Dwivedi, D. (2019). Face recognition for beginners. Towards Data Science. Retrieved from https://towardsdatascience.com/face-recognition-for-beginners-a7a9bd5eb5c2

[11] Educative Answers Team. (n.d.). What is a multi-layered perceptron? Educative.io. Retrieved from https://www.educative.io/answers/what-is-a-multi-layered-perceptron

[12] Esler, T. (2021). Facenet Pytorch: Pretrained Pytorch face detection and recognition models. PyPI. Retrieved from https://pypi.org/project/facenet-pytorch/

[13] Etemad, K., & Chellappa, R. (2019). Discriminant analysis for recognition of human face images. Lecture Notes in Computer Science, 1206(8), 125–142.

[14] Feng, Y., Yu, S., Peng, H., Li, Y., & Zhang, J. (2022). Detect faces efficiently: A survey and evaluations. IEEE Transactions on Biometrics, Behaviour and Identity Science, 4(1), 1–18. https://doi.org/10.1109/TBIBS.2021.3065631

[15] Gao, Y., Xiong, N., Yu, W., & Lee, H. (2019). Learning identity-aware face features across poses based on deep Siamese networks. IEEE Access. https://doi.org/10.1109/ACCESS.2019.2932760

[16] Georghiades, A., Belhumeur, P., & Kriegman, D. (2021). From few to many: Illumination cone models for face recognition under variable lighting and pose. PAMI.

[17] He, K., Zhang, X., Ren, S., & Sun, J. (2019). Deep residual learning for image recognition. arXiv. https://arxiv.org/abs/1512.03385

[18] Huang, B., Wang, Z., Wang, G., Jiang, K., Zeng, K., Han, Z., Tian, X., & Yang, Y. (2021). When face recognition meets occlusion: A new benchmark. ICASSP, IEEE International Conference on Acoustics, Speech and Signal Processing Proceedings, 2021-June, 4240–4244.

[19] Huang, G., Ramesh, M., Berg, T., & Learned-Miller, E. (2019). Labelled faces in the wild: A database for studying face recognition in unconstrained environments. University of Massachusetts, Amherst Technical Report, 07-49.

[20] IBM Cloud Education. (2021). Overfitting. IBM. Retrieved from https://www.ibm.com/cloud/learn/overfitting

[21] Iliadis, M., Wang, H., Molina, R., & Katsaggelos, A. K. (2019). Robust and low-rank representation for fast face identification with occlusions. IEEE Transactions on Image Processing, 26(5), 2203–2218. https://doi.org/10.1109/TIP.2018.2886983

[22] Ismail, N., & Sabri, M. I. M. (2009). Review of existing algorithms for face detection and recognition. Proceedings of the 8th WSEAS International Conference on Signal Processing, Computational Geometry, and Artificial Vision, 30–39.

[23] Jean. (2019). Skin detection algorithm. GitHub. Retrieved from https://github.com/Jeanvit/PySkinDetection

[24] Jetbrains. (n.d.). PyCharm. JetBrains. Retrieved from https://www.jetbrains.com/pycharm/

[25] Jia, H., & Martinez, A. M. (2019). Face recognition with occlusions in the training and testing sets. 2019 8th IEEE International Conference on Automatic Face and Gesture Recognition (FG 2019), 1–6. https://doi.org/10.1109/FG.2019.00017

[26] Khan, M., Harous, S., Hassan, S., Khan, M., Iqbal, R., & Mumtaz, S. (2019). Deep unified model for face recognition based on convolution neural network and edge computing. IEEE Access. https://doi.org/10.1109/ACCESS.2019.291827

[27] Mao, L., Sheng, F., & Zhang, T. (2019). Face occlusion recognition with deep learning in security framework for the IoT. IEEE Access, 7, 174531–174540. https://doi.org/10.1109/ACCESS.2019.2965698

[28] Min, R., Hadid, A., & Dugelay, J. (2019). Efficient detection of occlusion prior to robust face recognition. The Scientific World Journal, 2019. https://doi.org/10.1155/2014/519158

[29] Qi, R., Jia, R., Mao, Q., Sun, H., & Zuo, L. (2019). Face detection method based on cascaded convolutional networks. IEEE Access. https://doi.org/10.1109/ACCESS.2019.2934563

[30] Santonkar, S., Kurhe, B., & Khanale, B. (2021). Challenges in face recognition: A review. International Journal of Advanced Research in Computer Science, 2(4).

[31] Song, L., Gong, D., Li, Z., Liu, C., & Liu, W. (2019). Occlusion-robust face recognition based on mask learning with pairwise differential Siamese network. Proceedings of the IEEE International Conference on Computer Vision, 773–782. https://doi.org/10.1109/ICCV.2019.00095

[32] Vijayalakshmi, A. (2021). Recognizing faces with partial occlusion using inpainting. International Journal of Computer Applications, 168(13), 20–24.

[33] Wang, M., Hu, Z., Sun, Z., Zhao, S., & Sun, M. (2020). Varying face occlusion detection and iterative recovery for face recognition. Journal of Electronic Imaging, 26(3), 033009. https://doi.org/10.1117/1.JEI.26.3.033009

[34] Wu, C. Y., & Ding, J. J. (2019). Occluded face recognition using low-rank regression with generalized gradient direction. Pattern Recognition, 80, 256–268. https://doi.org/10.1016/j.patcog.2018.12.017

[35] Yang, M., Wang, X., Zeng, G., & Shen, L. (2021). Joint and collaborative representation with local adaptive convolution feature for face recognition with single sample per person. Pattern Recognition, 66, 117–128. https://doi.org/10.1016/j.patcog.2017.06.013

[36] Zeng, D., Veldhuis, R., & Spreeuwers, L. (2021). A survey of face recognition techniques under occlusion. IET Biometrics. https://doi.org/10.1049/bme2.12029

[37] Zhang, L., Verma, B., Tjondronegoro, D., & Chandran, V. (2019). Facial expression analysis under partial occlusion: A survey. arXiv. https://doi.org/10.48550/arXiv.1802.08784

How to cite this paper

Chendo Chukwunonso Nnamdi, Okeke Ogochukwu, Mgbeafulike Ike, Okafor Patrick "Real-Time Face Recognition with Occlusion Handling Using Facenet512 and Machine Learning" Iconic Research And Engineering Journals Volume 8 Issue 10 2025 Page 526-534
Chendo Chukwunonso Nnamdi, Okeke Ogochukwu, Mgbeafulike Ike, Okafor Patrick "Real-Time Face Recognition with Occlusion Handling Using Facenet512 and Machine Learning" Iconic Research And Engineering Journals, vol. 8, no. 10, Apr. 2025
Chendo Chukwunonso Nnamdi, Okeke Ogochukwu, Mgbeafulike Ike, Okafor Patrick (2025). Real-Time Face Recognition with Occlusion Handling Using Facenet512 and Machine Learning. Iconic Research And Engineering Journals, 8(10).
Chendo Chukwunonso Nnamdi, Okeke Ogochukwu, Mgbeafulike Ike, Okafor Patrick "Real-Time Face Recognition with Occlusion Handling Using Facenet512 and Machine Learning" Iconic Research And Engineering Journals, vol. 8, no. 10, Apr. 2025.
@article{1707891,
      author = {Chendo Chukwunonso Nnamdi, Okeke Ogochukwu, Mgbeafulike Ike, Okafor Patrick},
      title = {Real-Time Face Recognition with Occlusion Handling Using Facenet512 and Machine Learning},
      journal = {Iconic Research And Engineering Journals},
      year = {2025},
      volume = {8},
      number = {10},
      pages = {526-534},
      issn = {2456-8880},
      url = {https://www.irejournals.com/formatedpaper/1707891.pdf},
      abstract = {This paper introduces a face recognition system designed to tackle the issue of occlusion, which can hinder the effectiveness of traditional facial recognition systems when parts of a face are obstructed. To address this, the system is built using object-oriented analysis and Design Methodology (OODAM), which promotes a modular and flexible development approach. The implementation is carried out in Python, utilizing the Deep Face library for face recognition.in particular, the system employs the ?Facenet512? Model with the ?Euclidean_12? distance metric to enhance accuracy in face identification, even in the presence of partial occlusions. Machine learning algorithms are integrated for feature extraction and matching, with a SQLite database used for storing and managing face efficiently. The architecture supports real-time detection and recognition of faces through OpenCV, while a kernelized correlation filters (KCF) tracker is used to ensure continuous tracking across video frames. The system also processes frames, addresses occlusions, and stores recognition outcomes in a well-organized database. Evaluation result highlights the system?s capacity to effectively mitigate the impact of occlusions, achieving improved recognition accuracy and reliability over traditional methods.},
      keywords = {Machine Learning, Face Recognition, Occlusion, Real-time Detection},
      month = {April},
  }