MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

yolox/deepsort_tracker/deepsort.py:26–34  ·  view source on GitHub ↗
(self, metric, max_iou_distance=0.7, max_age=70, n_init=3)

Source from the content-addressed store, hash-verified

24
25class Tracker:
26 def __init__(self, metric, max_iou_distance=0.7, max_age=70, n_init=3):
27 self.metric = metric
28 self.max_iou_distance = max_iou_distance
29 self.max_age = max_age
30 self.n_init = n_init
31
32 self.kf = kalman_filter.KalmanFilter()
33 self.tracks = []
34 self._next_id = 1
35
36 def predict(self):
37 """Propagate track state distributions one time step forward.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected