Views
No views yet
face_detection_yunet_2026may.onnx from the
OpenCV Zoo.input — float32 tensor [1, 3, height, width] (dynamic H/W): a BGR image, NCHW
layout, no normalization. height and width must be multiples of 32 (the largest stride).s ∈ {8, 16, 32}, each shaped [1, A, C]
with A = (height/s) · (width/s) anchors:| tensor | shape | meaning |
|---|---|---|
cls_{s} | [1, A, 1] | classification score |
obj_{s} | [1, A, 1] | objectness score |
bbox_{s} | [1, A, 4] | bounding-box regression |
kps_{s} | [1, A, 10] | 5 landmarks — right eye, left eye, nose, right/left mouth corner — as (x, y) |
cv2.FaceDetectorYN (or an equivalent decode) turns these heads into per-face
[x, y, w, h, 5 × (x, y), score].1@article{wu2023yunet,
2 title={YuNet: A Tiny Millisecond-level Face Detector},
3 author={Wu, Wei and Peng, Hanyang and Yu, Shiqi},
4 journal={Machine Intelligence Research},
5 volume={20}, number={5}, pages={656--665}, year={2023}, publisher={Springer}
6}