Method
__init__
(self, score_thresh, max_age=32)
Source from the content-addressed store, hash-verified
| 10 | |
| 11 | class 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
Tested by
no test coverage detected