Skip to content

Release v10.0.77

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Aug 18:21
c89258f

Make it possible to pass embs externally to trackers:

from boxmot.tracker_zoo import create_tracker
import numpy as np

model = create_tracker(
      'botsort',
      tracker_config=config_path,
      reid_weights=Path('osnet_x0_25_msmt17.pt'),
      device='cpu',
      half=False,
      per_class=False
)

dets = np.random.rand(5, 6)
rgb = np.random.randint(255, size=(640, 640, 3), dtype=np.uint8)
embs = np.random.rand(5, 512)

outputs = model.update(
    dets,
    img,
    embs
)