CenterFace
论文
CenterFace: Joint Face Detection and Alignment Using Face as Point
模型结构
CenterFace是一种人脸检测算法,采用了轻量级网络mobileNetV2作为主干网络,结合特征金字塔网络(FPN)实现anchor free的人脸检测。
算法原理
CenterFace模型是一种基于单阶段人脸检测算法,作者借鉴了CenterNet的思想,将人脸检测转换为标准点问题,根据人脸中心点来回归人脸框的大小和五个标志点。
参数 | 说明 |
---|---|
F | Feature Map |
HM | 人脸分类的HeatMap |
Offset | 人脸框中心点偏移 |
WH | 人脸框宽,高 |
x_l,y_l | 人脸框左上角点的x,y坐标 |
x_r,y_r | 人脸框右下角点的x,y坐标 |
c | Confidence |
环境配置
Docker(方法一)
-v 路径、docker_name和imageID根据实际情况修改
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.13.1-centos7.6-dtk-23.04-py38-latest
docker run -it -v /path/your_code_data/:/path/your_code_da