MCPcopy Create free account
hub / github.com/PeizeSun/TransTrack / __init__

Method __init__

models/tracker.py:12–19  ·  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.max_age = max_age
15 self.id_count = 0
16 self.tracks_dict = dict()
17 self.tracks = list()
18 self.unmatched_tracks = list()
19 self.reset_all()
20
21 def reset_all(self):
22 self.id_count = 0

Callers

nothing calls this directly

Calls 1

reset_allMethod · 0.95

Tested by

no test coverage detected