Skip to main content

yunet_infer_rgb8

Function yunet_infer_rgb8 

Source
pub fn yunet_infer_rgb8(
    roots: &[&Path],
    rgb: &[u8],
    width: u32,
    height: u32,
    out_rows: &mut [f32],
    stride: usize,
) -> Result<usize, OnnxSessionError>
Expand description

Run YuNet ONNX if feature ort; returns flat decoded rows for yunet_decode_detections. Without ort: FeatureDisabled.