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

Method __init__

tutorials/trades/byte_tracker.py:16–25  ·  view source on GitHub ↗
(self, tlwh, score)

Source from the content-addressed store, hash-verified

14class STrack(BaseTrack):
15 shared_kalman = KalmanFilter()
16 def __init__(self, tlwh, score):
17
18 # wait activate
19 self._tlwh = np.asarray(tlwh, dtype=np.float)
20 self.kalman_filter = None
21 self.mean, self.covariance = None, None
22 self.is_activated = False
23
24 self.score = score
25 self.tracklet_len = 0
26
27 def predict(self):
28 mean_state = self.mean.copy()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected