Skip to main content

yunet_decode_detections

Function yunet_decode_detections 

Source
pub fn yunet_decode_detections(
    rows: &[f32],
    stride: usize,
    score_idx: usize,
    min_score: f32,
    out: &mut [FaceBox],
) -> Result<usize, CvError>
Expand description

YuNet multi-stride heads emit prior-decoded boxes; this decoder accepts a flat list of rows [x, y, w, h, score, ...pad] with stride floats per row.