Article Details

Title · Authors · Abstract · Keywords · DOI · References

Research on Lightweight Face Recognition System Based on YOLOv5 and ArcFace

ZHANG Jie, MU Xiya, HUANG Xinyu, CHEN Si

(Changchun University of Science and Technology, Changchun 130022, China)

Received: 2025-03-22

Section:Artificial Intelligence · 2025, Vol. 9, No. 15 · Pages:38-42 · 2096-4706(2025)15-0038-05 · CLC number:TP391.4 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2025.15.008 · Updated:2026-12-04

Abstract

With the advent of the intelligent era, higher and higher requirements are put forward for the accuracy, processing time and lightweight deployment of face recognition technology. In view of the above problems, this paper designs a lightweight face recognition system by using the characteristics of high accuracy and fast response time of YOLOv5 and ArcFace network structure. Compared with the traditional Convolutional Neural Network (CNN), the system only uses less than 1 million parameters, far less than the 6.8 million parameters of FaceNet. On the LFW verification set, its accuracy reaches 99.43%, showing extremely high accuracy. At the data source level, through the data augmentation strategy, the system also has a good performance in face occlusion and low-light scenes, which provides a new idea for the future intelligent rapid security frontier inspection.

Keywords

face recognition; YOLOv5; ArcFace; Deep Learning; lightweight structure; feature extraction; data augmentation

References

  1. [1] Feng Zhengshou. A New Community Intelligent Access Control Solution Based on Facial Recognition [J]. Internet of Things Technology, 2025, 15 (3): 136-138
  2. [2] Fan Yihua, Wang Yongzhen, Yan Xuefeng, et al. Face recognition task driven low light image enhancement algorithm [J]. Journal of Graphic Sciences, 2022, 43 (6): 1170-1181
  3. [3] Yuan Ying, Liu Xufeng. Design and Implementation of Epidemic Prevention and Control Mask Wearing Detection System Based on YOLOv5 [J]. Modern Information Technology, 2023, 7 (7): 65-68+73
  4. [4] UPESH N,HOSSEIN E. Comparing YOLOv3, YOLOv4 and YOLOv5 for Autonomous Landing Spot Detection in Faulty UAVs [J/OL].Sensors,2022,22(2):464[2025-02-03].https://doi.org/10.3390/s22020464.
  5. [5] Hu Tingshuo, Chen Xiqu. Research on Face Recognition Based on MTCNN and ArcFace [J]. Open University of Science and Technology, 2024 (4): 6-12+74
  6. [6] FIRMANSYAH A,KUSUMASARI T F,ALAM E N. Comparison of Face Recognition Accuracy of ArcFace, Facenet and Facenet512 Models on Deepface Framework [C]//2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE).Jakarta:IEEE,2023:535-539.
  7. [7] QU Z,GAO L Y,WANG S Y,et al. An Improved YOLOv5 Method for Large Objects Detection with Multi-Scale Feature Cross-Layer Fusion Network [J/OL].Image and Vision Computing,2022,125:104518[2025-01-27].https://doi.org/10.1016/j.imavis.2022.104518.
  8. [8] DONG X T,ZHANG L,XU C,et al. Detection of Pine Wilt Disease Infected Pine Trees Using YOLOv5 Optimized by Attention Mechanisms and Loss Functions [J/OL].Ecological Indicators,2024,168:112764[2025-02-10].https://doi.org/10.1016/j.ecolind.2024.112764.
  9. [9] LI J W,DING Y P,SHAO Z Y,et al. Face Recognition Method Based on Fusion of Improved MobileFaceNet and Adaptive Gamma Algorithm [J/OL].Journal of the Franklin Institute,2024,361(17):107306[2025-02-09].https://doi.org/10.1016/j.jfranklin.2024.107306.
  10. [10] CHEN S,LIU Y,GAO X,et al. MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices [J/OL].arXiv:1804.07573 [cs.CV].[2025-02-11].https://doi.org/10.48550/arXiv.1804.07573.
  11. [11] Chen Lin, Zou Yuanwen. Comparative study of corner margin loss functions in facial recognition tasks [J]. Intelligent Computers and Applications, 2024, 14 (7): 160-164

About the authors

Zhang Jie (November 2003-), male, Han ethnicity, from Hefei, Anhui Province, is currently pursuing a bachelor's degree. His research interests include image processing and machine vision; Mu Xiya (June 2004-), female, Han ethnicity, from Hefei, Anhui Province, is currently pursuing a bachelor's degree. Her research interests include image processing and machine vision; Huang Xinyu (August 2004-), male, Han ethnicity, from Taizhou, Jiangsu Province, is currently pursuing a bachelor's degree with a research focus on image processing; Chen Si (April 2004-), male, Han ethnicity, from Shangrao, Jiangxi, is currently pursuing a bachelor's degree with a research focus on image processing.