Correct box format in documentation for batch_iou.

This commit is contained in:
Alex Bewley 2020-10-25 19:20:42 +01:00
parent 7fc1ce2855
commit 3f548c04e7

View file

@ -46,7 +46,7 @@ def linear_assignment(cost_matrix):
def iou_batch(bb_test, bb_gt):
"""
From SORT: Computes IUO between two bboxes in the form [l,t,w,h]
From SORT: Computes IUO between two bboxes in the form [x1,y1,x2,y2]
"""
bb_gt = np.expand_dims(bb_gt, 0)
bb_test = np.expand_dims(bb_test, 1)