dataeval.utils.preprocessing.compute_iou¶ dataeval.utils.preprocessing.compute_iou(boxes1, boxes2)¶ Compute Intersection over Union (IoU) between two sets of boxes. Parameters:¶ boxes1 : NDArray[Any]¶Boxes of shape (N, 4) in XYXY format. boxes2 : NDArray[Any]¶Boxes of shape (M, 4) in XYXY format. Returns:¶ IoU matrix of shape (N, M). Return type:¶ NDArray[np.float64]