Correct box format in documentation for batch_iou.
This commit is contained in:
parent
7fc1ce2855
commit
3f548c04e7
1 changed files with 14 additions and 14 deletions
2
sort.py
2
sort.py
|
@ -46,7 +46,7 @@ def linear_assignment(cost_matrix):
|
||||||
|
|
||||||
def iou_batch(bb_test, bb_gt):
|
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_gt = np.expand_dims(bb_gt, 0)
|
||||||
bb_test = np.expand_dims(bb_test, 1)
|
bb_test = np.expand_dims(bb_test, 1)
|
||||||
|
|
Loading…
Reference in a new issue