
摘要
尽管在无约束条件下的人脸检测领域已取得显著进展,但如何在保持高精度的同时实现计算成本低、效率高的检测,仍然是一个尚未解决的挑战。本文指出,训练数据采样策略与计算资源分配方式是实现高效且精准人脸检测的关键。基于这一观察,我们提出两种简单而有效的改进方法:(1)样本重分配(Sample Redistribution, SR),该方法基于基准数据集的统计特性,为最需要提升的阶段动态增加训练样本;(2)计算重分配(Computation Redistribution, CR),该方法通过一种精心设计的搜索机制,重新分配模型中主干网络(backbone)、颈部结构(neck)与检测头(head)之间的计算资源。在 WIDER FACE 数据集上进行的大量实验表明,所提出的 \scrfd 系列方法在多种计算资源条件下均实现了当前最优的效率-精度权衡。特别地,\scrfdf{34} 在 VGA 分辨率图像上相较于最优竞争模型 TinaFace,在硬集(hard set)上的平均精度(AP)提升了 3.86%,同时推理速度提升超过 3 倍。此外,我们已开源相关代码,以促进后续研究的发展。
代码仓库
deepinsight/insightface
官方
pytorch
GitHub 中提及
yakhyo/gaze-estimation
pytorch
GitHub 中提及
pedrobvidal/insightface
pytorch
GitHub 中提及
yangyucheng000/-insightface
pytorch
GitHub 中提及
yakhyo/retinaface-pytorch
pytorch
yakhyo/head-pose-estimation
pytorch
GitHub 中提及
aralhekimoglu/face
pytorch
GitHub 中提及
bovifocr/insightface
pytorch
GitHub 中提及
基准测试
| 基准 | 方法 | 指标 |
|---|---|---|
| face-detection-on-wider-face-easy | SCRFD-34GF | AP: 0.9606 |
| face-detection-on-wider-face-easy | SCRFD-0.5GF | AP: 0.9057 |
| face-detection-on-wider-face-easy | SCRFD-10GF | AP: 0.9516 |
| face-detection-on-wider-face-easy | SCRFD-2.5GF | AP: 0.9378 |
| face-detection-on-wider-face-hard | SCRFD-34GF | AP: 0.8529 |
| face-detection-on-wider-face-hard | SCRFD-10GF | AP: 0.8305 |
| face-detection-on-wider-face-hard | SCRFD-2.5GF | AP: 0.7787 |
| face-detection-on-wider-face-hard | SCRFD-0.5GF | AP: 0.6851 |
| face-detection-on-wider-face-medium | SCRFD-0.5GF | AP: 0.8812 |
| face-detection-on-wider-face-medium | SCRFD-10GF | AP: 0.9387 |
| face-detection-on-wider-face-medium | SCRFD-2.5GF | AP: 0.9216 |
| face-detection-on-wider-face-medium | SCRFD-34GF | AP: 0.9492 |