Cover
Vol. 21 No. 2 (2025)

Published: December 16, 2025

Pages: 64-75

Original Article

Designing Face Detection Systems with Gray Wolf Optimization

Abstract

The main objective of this paper project was to create a state-of-the-art face identification technique that can handle the various difficulties caused by changes in illumination, occlusions, and facial emotions. Face detection is a cornerstone of computer vision, facilitating diverse applications ranging from surveillance systems to human-computer interaction. Throughout this paper, the comprehensive exploration of advancing face detection methodologies has been undertaken, culminating in developing and evaluating a novel approach. The challenges posed by variations in facial expressions, lighting conditions, and occlusions necessitated a multifaceted solution. Our proposed method, which consists of interconnected steps, works quite well to overcome these challenges. Using deep learning architectures to increase feature extraction and discrimination was beneficial in the initial stage of fine-tuning Residual Networks (ResNet-50) to serve as the Region-based Convolutional Neural Network (Faster R-CNN) framework classifier. The process of gradually optimizing thresholds, such as batch size, learning rate, and detection threshold, involved using the Gray Wolf optimization technique (GWO). The conversion process was accelerated and improved overall detection process efficiency and accuracy using a clever fusion of machine learning and metaheuristic optimization techniques. A key component of our methodology is the careful data processing, which was necessary to ensure. The suggested method was carefully examined on a particular dataset, and the 94% training accuracy that was attained together with an identical test dataset accuracy highlights the method’s resilience. These findings support the effectiveness of our approach in reducing false positives and negatives, resulting in unmatched recall and precision in the detection system. The discovery has significant significance as it can potentially improve face detection systems’ performance and reliability in various real-world applications, such as human-computer interaction and surveillance. Convolutional neural networks, deep learning architectures, and metaheuristic optimization approaches were synergized to produce a new and reliable solution

References

  1. P. J. Phillips, P. J. Flynn, T. Scruggs, K. W. Bowyer, J. Chang, K. Hoffman, J. Marques, J. Min, and W. Worek, “Overview of the face recognition grand challenge,” in 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), vol. 1, San Diego, USA, pp. 947–954, IEEE, 2005.
  2. E. Wright, “The future of facial recognition is not fully known: Developing privacy and security regulatory mechanisms for facial recognition in the retail sector,” Fordham Intell. Prop. Media & Ent. L.J., vol. 29, p. 611, 2018.
  3. R. Ranjan, A. Bansal, J. Zheng, H. Xu, J. Gleason, B. Lu, A. Nanduri, J.-C. Chen, C. D. Castillo, and R. Chellappa, “A fast and accurate system for face detection, identification, and verification,” IEEE Transactions on Biometrics, Behavior, and Identity Science, vol. 1, no. 2, pp. 82–96, 2019.
  4. Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015.
  5. Y. Guo, Y. Liu, A. Oerlemans, S. Lao, S. Wu, and M. S. Lew, “Deep learning for visual understanding: A review,” Neurocomputing, vol. 187, pp. 27–48, 2016.
  6. Y. Sun, X. Wang, and X. Tang, “Deep learning face representation from predicting 10,000 classes,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, USA, pp. 1891–1898, 2014.
  7. F. Schroff, D. Kalenichenko, and J. Philbin, “FaceNet: A unified embedding for face recognition and clustering,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, USA, pp. 815–823, 2015.
  8. J. P. C. Cardozo, “Next generation identification (NGI): Um novo conceito em biometria forense,” Acta de Ciências e Saúde, vol. 1, no. 1, pp. 1–5, 2016.
  9. D. Mainenti, “User perceptions of Apple’s Face ID,” Information Science, Human Computer Interaction, vol. DIS805, pp. 1–16, 2017.
  10. K. A. Gates, *Our Biometric Future: Facial Recognition Technology and the Culture of Surveillance*, vol. 2, New York, USA: NYU Press, 2011.
  11. I. D. Raji, T. Gebru, M. Mitchell, J. Buolamwini, J. Lee, and E. Denton, “Saving face: Investigating the ethical concerns of facial recognition auditing,” in Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, New York, USA, pp. 145–151, 2020.
  12. A. Cavoukian, “Privacy by design: Leadership, methods, and results,” in *European Data Protection: Coming of Age*, S. Gutwirth et al., Eds., Dordrecht: Springer Netherlands, pp. 175–202, 2013.
  13. W. Liu, S. Liao, W. Hu, X. Liang, and X. Chen, “Learning efficient single-stage pedestrian detectors by asymptotic localization fitting,” in Proceedings of the European Conference on Computer Vision (ECCV), pp. 618–634, 2018.
  14. S. Ren, K. He, R. Girshick, and J. Sun, “Faster R-CNN: Towards real-time object detection with region proposal networks,” Advances in Neural Information Processing Systems, vol. 28, pp. 1–9, 2015.
  15. S. Mirjalili, S. M. Mirjalili, and A. Lewis, “Grey wolf optimizer,” Advances in Engineering Software, vol. 69, pp. 46–61, 2014.
  16. J. Harikrishnan, A. Sudarsan, A. Sadashiv, and R. A. Ajai, “Vision-face recognition attendance monitoring system for surveillance using deep learning technology and computer vision,” in 2019 International Conference on Vision Towards Emerging Trends in Communication and Networking (ViTECoN), Vellore, India, pp. 1–5, IEEE, 2019.
  17. E. Winarno, I. H. Al Amin, H. Februariyanti, P. W. Adi, W. Hadikurniawati, and M. T. Anwar, “Attendance system based on face recognition system using CNN-PCA method and real-time camera,” in 2019 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, Indonesia, pp. 301–304, IEEE, 2019.
  18. F. Faisal and S. A. Hossain, “Smart security system using face recognition on Raspberry Pi,” in 2019 13th International Conference on Software, Knowledge, Information Management and Applications (SKIMA), Ulkulhas, Maldives, pp. 1–8, IEEE, 2019.
  19. H. Asil and J. Bagherzadeh, “Proposing a new method of image classification based on the AdaBoost deep belief network hybrid method,” TELKOMNIKA, vol. 17, no. 5, pp. 2650–2658, 2019.
  20. M. S. H. Al-Tamimi, “Combining convolutional neural networks and slantlet transform for an effective image retrieval scheme,” Int. J. Electr. Comput. Eng., vol. 9, no. 5, pp. 4382–4395, 2019.
  21. G. Saadouli, M. I. Elburdani, R. M. Al-Qatouni, S. Kunhoth, and S. Al-Maadeed, “Automatic and secure electronic gate system using fusion of license plate, car make recognition and face detection,” in 2020 IEEE International Conference on Informatics, IoT, and Enabling Technologies (ICIoT), Doha, Qatar, pp. 79–84, IEEE, 2020.
  22. K. Pranav and J. Manikandan, “Design and evaluation of a real-time face recognition system using convolutional neural networks,” Procedia Computer Science, vol. 171, pp. 1651–1659, 2020.
  23. M. A. Al-Jbaar, M. J. Zedan, M. T. Thameen, and O. A. Mahdi, “Face recognition security system based on convolutional neural networks,” International Journal of Advanced Science and Technology, vol. 29, no. 5, pp. 5177–5187, 2020.
  24. M. Shah, D. Shukla, and D. Pandya, “Smart gate: Intelligent security system based on face recognition,” International Journal of Innovative Technology and Exploring Engineering (IJITEE), vol. 9, no. 3, pp. 601–608, 2020.
  25. S. Kakarla, P. Gangula, M. S. Rahul, C. S. C. Singh, and T. H. Sarma, “Smart attendance management system based on face recognition using CNN,” in 2020 IEEE HYDCON, Hyderabad, India, pp. 1–5, IEEE, 2020.
  26. S. Kakarla, P. Gangula, M. S. Rahul, C. S. C. Singh, and T. H. Sarma, “Smart attendance management system based on face recognition using CNN,” in 2020 IEEE HYDCON, pp. 1–5, IEEE, 2020.
  27. N. Zhang, J. Luo, and W. Gao, “Research on face detection technology based on MTCNN,” in 2020 International Conference on Computer Network, Electronic and Automation (ICCNEA), Xi’an, China, pp. 154–158, IEEE, 2020.
  28. N. S. Irjanto and N. Surantha, “Home security system with face recognition based on convolutional neural network,” International Journal of Advanced Computer Science and Applications, vol. 11, no. 11, 2020.
  29. M. Geetha, R. Latha, S. Nivetha, S. Hariprasath, S. Gowtham, and C. Deepak, “Design of face detection and recognition system to monitor students during online examinations using machine learning algorithms,” in 2021 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, pp. 1–4, IEEE, 2021.
  30. A. H. Rashed and M. H. Hamd, “Robust detection and recognition system based on facial extraction and decision tree,” Journal of Engineering and Sustainable Development, vol. 25, no. 4, pp. 40–50, 2021.
  31. S. Pokhrel, A. Panta, S. Parajuli, S. Poudel, R. Adhikari, and M. Guragai, “Remote monitoring and face recognition security enabled smart home using IoT,” International Journal of Advanced Engineering, vol. 5, no. 1, pp. 47–52, 2022.
  32. T. H. Obaida, A. S. Jamil, and N. F. Hassan, “Realtime face detection in digital video based on Viola–Jones supported by convolutional neural networks,” International Journal of Electrical and Computer Engineering (IJECE), vol. 12, no. 3, p. 3083, 2022.
  33. H. Huo, Y. Yu, and Z. Liu, “Facial expression recognition based on improved depthwise separable convolutional network,” Multimedia Tools and Applications, vol. 82, no. 12, pp. 18635–18652, 2023.
  34. S. Saurav, P. Gidde, R. Saini, and S. Singh, “Dual integrated convolutional neural network for real-time facial expression recognition in the wild,” The Visual Computer, vol. 38, no. 3, pp. 1083–1096, 2022.
  35. K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, pp. 770–778, 2016.
  36. S. Xie, R. Girshick, P. Dollár, Z. Tu, and K. He, “Aggregated residual transformations for deep neural networks,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, pp. 1492–1500, 2017.
  37. J. Hu, L. Shen, and G. Sun, “Squeeze-and-excitation networks,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, pp. 7132–7141, 2018.
  38. X. Wang, R. Girshick, A. Gupta, and K. He, “Non-local neural networks,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, pp. 7794–7803, 2018.
  39. S. Ren, K. He, R. Girshick, and J. Sun, “Faster R-CNN: Towards real-time object detection with region proposal networks,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 39, no. 6, pp. 1137–1149, 2016.
  40. B. Singh, M. Najibi, and L. S. Davis, “SNIPER: Efficient multi-scale training,” Advances in Neural Information Processing Systems, vol. 31, pp. 1–11, 2018.
  41. P. Li, J. Xie, Q. Wang, and Z. Gao, “Towards faster training of global covariance pooling networks by iterative matrix square root normalization,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, pp. 947–955, 2018.
  42. H. Hu, J. Gu, Z. Zhang, J. Dai, and Y. Wei, “Relation networks for object detection,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, pp. 3588–3597, 2018.
  43. S. Mirjalili, S. M. Mirjalili, and A. Lewis, “Grey wolf optimizer,” Advances in Engineering Software, vol. 69, pp. 46–61, 2014.
  44. H. Faris, I. Aljarah, M. A. Al-Betar, and S. Mirjalili, “Grey wolf optimizer: A review of recent variants and applications,” Neural Computing and Applications, vol. 30, pp. 413–435, 2018.
  45. S. Mirjalili and A. Lewis, “The whale optimization algorithm,” Advances in Engineering Software, vol. 95, pp. 51–67, 2016.
  46. H. Mliki, S. Dammak, and E. Fendri, “An improved multi-scale face detection using convolutional neural network,” Signal, Image and Video Processing, vol. 14, no. 7, pp. 1345–1353, 2020.
  47. C. Cao, B. Wang, W. Zhang, X. Zeng, X. Yan, Z. Feng, Y. Liu, and Z. Wu, “An improved Faster R-CNN for small object detection,” IEEE Access, vol. 7, pp. 106838–106846, 2019.
  48. Z. Zhu, D. Liang, S. Zhang, X. Huang, B. Li, and S. Hu, “Traffic-sign detection and classification in the wild,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, pp. 2110–2118, 2016.
  49. J. Li, X. Liang, Y. Wei, T. Xu, J. Feng, and S. Yan, “Perceptual generative adversarial networks for small object detection,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, pp. 1222–1230, 2017.