YOLO5Face
A YOLOv5-based face detector that also predicts five landmark points for each face.
Detection and tracking · 406 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 7.1M
- Operations
- 406
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECCV Workshops 2022
- Cited by
- 199 (as of 24 October 2026)
- Authors
- Delong Qi, Weijun Tan, Qi Yao, Jingfeng Liu
- License
- GPL-3.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21552
- Graph hash
- e0da6c6ab7866b5e0704b6a769132496b78ef028108b5824be22ad53580c0f1a
- Skeleton hash
- e0d454710999ba9857b37e9e74e3247aa8c63aeb8b7178f145955bac82ab80e8
- Architecture hash
- 14b8b8edb63bc7cff0f84748eee239b3f3df1799affe8ad2939d5880d28732b6
- Diagram SHA-256
- 2982051a4dbca4fbfda29ab8ef20900b86941ac0d3b3027a750a514b2cd965cf
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
YOLO5Face is a face detector built on the YOLOv5 object detector. Its authors treat face detection as a generic object detection task instead of using a design made only for faces.
The network consists of a backbone, a neck and a head, and each prediction holds a bounding box, a confidence, a classification and five landmark points. The landmark regression head is the authors' addition to YOLOv5 and is trained with the Wing loss. A stem block replaces the Focus layer of YOLOv5 at the input. The SPP block uses kernel sizes 7x7, 5x5 and 3x3 in place of the 13x13, 9x9 and 5x5 used in YOLOv5.
The paper describes models from extra large to super small, and a 6 at the end of a model name means the model has an added P6 output block. This model is the small YOLOv5s configuration, which predicts on 8080, 4040 and 20*20 grids with 16 values per anchor and does not use the optional P6 output.
Key idea. YOLO5Face adapts the YOLOv5 object detector to faces by adding a five-point landmark regression head, a stem block, smaller SPP kernels and a P6 output.
- YOLO5Face
- yolov5-face
- face detection
- face detector
- five-point landmarks
- facial landmark regression
- WiderFace
- real-time face detection
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{qi2022yolo5facereinventingfacedetector,
title={YOLO5Face: Why Reinventing a Face Detector},
author={Delong Qi and Weijun Tan and Qi Yao and Jingfeng Liu},
year={2022},
eprint={2105.12931},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2105.12931},
}