MCPcopy Index your code
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

tutorials/transtrack/tracker.py:12–21  ·  view source on GitHub ↗
(self, score_thresh, max_age=32)

Source from the content-addressed store, hash-verified

10
11class Tracker(object):
12 def __init__(self, score_thresh, max_age=32):
13 self.score_thresh = score_thresh
14 self.low_thresh = 0.2
15 self.high_thresh = score_thresh + 0.1
16 self.max_age = max_age
17 self.id_count = 0
18 self.tracks_dict = dict()
19 self.tracks = list()
20 self.unmatched_tracks = list()
21 self.reset_all()
22
23 def reset_all(self):
24 self.id_count = 0

Callers

nothing calls this directly

Calls 1

reset_allMethod · 0.95

Tested by

no test coverage detected