Skip to main content

detection_tensor_to_detections

Function detection_tensor_to_detections 

pub fn detection_tensor_to_detections(
    tensor: &TensorBuffer,
) -> Result<Vec<Detection>, VisionError>
Expand description

Decodes axis-aligned detections from an [N,6] tensor of x0,y0,x1,y1,score,class.