SOTAVerified

YOLO5Face: Why Reinventing a Face Detector

2021-05-27Code Available2· sign in to hype

Delong Qi, Weijun Tan, Qi Yao, Jingfeng Liu

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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 https://github.com/deepcam-cn/yolov5-face

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
WIDER Face (Easy)YOLOv5x6AP0.97Unverified
WIDER Face (Easy)YOLOv5sAP0.94Unverified
WIDER Face (Easy)YOLOv5s6AP0.95Unverified
WIDER Face (Easy)YOLOv5m6AP0.96Unverified
WIDER Face (Hard)YOLOv5sAP0.83Unverified
WIDER Face (Hard)YOLOv5x6AP0.87Unverified
WIDER Face (Hard)YOLOv5l6AP0.86Unverified
WIDER Face (Hard)YOLOv5mAP0.85Unverified
WIDER Face (Hard)YOLOv5lAP0.85Unverified
WIDER Face (Medium)YOLOv5sAP0.93Unverified
WIDER Face (Medium)YOLOv5s6AP0.94Unverified
WIDER Face (Medium)YOLOv5l6AP0.95Unverified
WIDER Face (Medium)YOLOv5x6AP0.95Unverified

Reproductions