YOLO5Face: Why Reinventing a Face Detector

27 May 2021  ·  Delong Qi, Weijun Tan, Qi Yao, Jingfeng Liu ·

Tremendous progress has been made on face detection in recent years using convolutional neural networks. While many face detectors use designs designated for detecting faces, we treat face detection as a generic object detection task. We implement a face detector based on the YOLOv5 object detector and call it YOLO5Face. We make a few key modifications to the YOLOv5 and optimize it for face detection. These modifications include adding a five-point landmark regression head, using a stem block at the input of the backbone, using smaller-size kernels in the SPP, and adding a P6 output in the PAN block. We design detectors of different model sizes, from an extra-large model to achieve the best performance to a super small model for real-time detection on an embedded or mobile device. Experiment results on the WiderFace dataset show that on VGA images, our face detectors can achieve state-of-the-art performance in almost all the Easy, Medium, and Hard subsets, exceeding the more complex designated face detectors. The code is available at \url{https://github.com/deepcam-cn/yolov5-face}

PDF Abstract

Datasets


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Face Detection WIDER Face (Easy) YOLOv5m6 AP 0.9638 # 6
Face Detection WIDER Face (Easy) YOLOv5x6 AP 0.9667 # 4
Face Detection WIDER Face (Easy) YOLOv5s AP 0.9433 # 19
Face Detection WIDER Face (Easy) YOLOv5s6 AP 0.953 # 14
Face Detection WIDER Face (Hard) YOLOv5x6 AP 0.8655 # 18
Face Detection WIDER Face (Hard) YOLOv5m AP 0.852 # 21
Face Detection WIDER Face (Hard) YOLOv5s AP 0.828 # 27
Face Detection WIDER Face (Hard) YOLOv5l6 AP 0.8588 # 19
Face Detection WIDER Face (Hard) YOLOv5l AP 0.845 # 24
Face Detection WIDER Face (Medium) YOLOv5l6 AP 0.949 # 9
Face Detection WIDER Face (Medium) YOLOv5s6 AP 0.944 # 14
Face Detection WIDER Face (Medium) YOLOv5x6 AP 0.9508 # 7
Face Detection WIDER Face (Medium) YOLOv5s AP 0.9261 # 21

Methods


No methods listed for this paper. Add relevant methods here