Shortcuts

mmcv.ops.boxes_iou_bev

mmcv.ops.boxes_iou_bev(boxes_a: Tensor, boxes_b: Tensor) Tensor[source]

Calculate boxes IoU in the Bird’s Eye View.

Parameters:
  • boxes_a (torch.Tensor) – Input boxes a with shape (M, 5) ([x1, y1, x2, y2, ry]).

  • boxes_b (torch.Tensor) – Input boxes b with shape (N, 5) ([x1, y1, x2, y2, ry]).

Returns:

IoU result with shape (M, N).

Return type:

torch.Tensor