Distance¶
- evaldet.dist.iou_dist(bboxes_1, bboxes_2)¶
Compute the IoU distance between two batches of bounding boxes.
The IoU distance is computed as 1 minus the IoU similarity.
- Parameters
bboxes_1 (
ndarray) – An[N, 4]array of bounding boxes in the xywh format.bboxes_2 (
ndarray) – An[M, 4]array of bounding boxes in the xywh format.
- Return type
ndarray- Returns
An
[N, M]array of pairwise IoU distances.