for bakeup

This commit is contained in:
王庆刚
2024-07-29 18:56:35 +08:00
parent 16543107f3
commit 27d57b21d4
15 changed files with 650 additions and 96 deletions

View File

@ -79,7 +79,7 @@ class ShoppingCart:
class Track:
'''抽象基类,不能实例化对象'''
def __init__(self, boxes, features, imgshape=(1024, 1280)):
def __init__(self, boxes, features=None, imgshape=(1024, 1280)):
'''
boxes: [x1, y1, x2, y2, track_id, score, cls, frame_index, box_index]
0 1 2 3 4 5 6 7 8