Skip to main content

detection_tensor_to_detections

Function detection_tensor_to_detections 

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

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