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

Method clear

tutorials/motr/motr_det.py:310–311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

308 self.max_obj_id = 0
309
310 def clear(self):
311 self.max_obj_id = 0
312
313 def update(self, track_instances: Instances):
314 track_instances.disappear_time[track_instances.scores >= self.score_thresh] = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected