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

Method update

yolox/sort_tracker/sort.py:112–120  ·  view source on GitHub ↗

Updates the state vector with observed bbox.

(self,bbox)

Source from the content-addressed store, hash-verified

110 self.age = 0
111
112 def update(self,bbox):
113 """
114 Updates the state vector with observed bbox.
115 """
116 self.time_since_update = 0
117 self.history = []
118 self.hits += 1
119 self.hit_streak += 1
120 self.kf.update(convert_bbox_to_z(bbox))
121
122 def predict(self):
123 """

Callers

nothing calls this directly

Calls 2

convert_bbox_to_zFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected