np_box_ops#

Operations for [N, 4] numpy arrays representing bounding boxes.

Functions

area(boxes)

Computes area of boxes.

intersection(boxes1, boxes2)

Compute pairwise intersection areas between boxes.

ioa(boxes1, boxes2)

Computes pairwise intersection-over-area between box collections.

iou(boxes1, boxes2)

Computes pairwise intersection-over-union between box collections.