- ioa(boxes1, boxes2)#
Computes pairwise intersection-over-area between box collections.
Intersection-over-area (ioa) between two boxes box1 and box2 is defined as their intersection area over box2’s area. Note that ioa is not symmetric, that is, IOA(box1, box2) != IOA(box2, box1).
boxes1 (np.ndarray) – A numpy array with shape [N, 4] holding N boxes.
boxes2 (np.ndarray) – A numpy array with shape [M, 4] holding N boxes.
- A numpy array with shape [N, M] representing pairwise ioa
- Return type