Skip to main content

match_accuracy

Function match_accuracy 

Source
pub fn match_accuracy(
    gt: &[Detection],
    n_gt: usize,
    pred: &[Detection],
    n_pred: usize,
    iou_thresh: f32,
) -> f32
Expand description

Simple IoU match accuracy: fraction of GT boxes that have a prediction with IoU ≥ thresh and same class. Used for synthetic uplift checks (not a full COCO evaluator).