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

Method __init__

tutorials/cstrack/byte_tracker.py:23–32  ·  view source on GitHub ↗
(self, tlwh, score)

Source from the content-addressed store, hash-verified

21class STrack(BaseTrack):
22 shared_kalman = KalmanFilter()
23 def __init__(self, tlwh, score):
24
25 # wait activate
26 self._tlwh = np.asarray(tlwh, dtype=np.float)
27 self.kalman_filter = None
28 self.mean, self.covariance = None, None
29 self.is_activated = False
30
31 self.score = score
32 self.tracklet_len = 0
33
34 def predict(self):
35 mean_state = self.mean.copy()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected