Skip to content

Commit

Permalink
feat: add reset (#12) (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanpepinartefact authored Dec 19, 2023
2 parents 8dc3f98 + 97b0560 commit 8fb44a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bytetracker/byte_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def __init__(self, track_thresh=0.45, track_buffer=25, match_thresh=0.8, frame_r
self.max_time_lost = self.buffer_size
self.kalman_filter = KalmanFilter()


def reset(self):
self.tracked_stracks = [] # type: list[STrack]
self.lost_stracks = [] # type: list[STrack]
Expand All @@ -189,7 +188,6 @@ def reset(self):
self.kalman_filter = KalmanFilter()
BaseTrack._count = 0


def update(self, dets, frame_id):
self.frame_id = frame_id
activated_starcks = []
Expand Down

0 comments on commit 8fb44a0

Please sign in to comment.