Skip to content

Commit

Permalink
Merge pull request #1439 from mikel-brostrom/bytetrack-reset
Browse files Browse the repository at this point in the history
added reset for counter
  • Loading branch information
mikel-brostrom authored May 15, 2024
2 parents 77c62ad + 14160a4 commit 4f4cefd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boxmot/trackers/bytetrack/basetrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ def mark_lost(self):

def mark_removed(self):
self.state = TrackState.Removed

@staticmethod
def clear_count():
BaseTrack._count = 0

0 comments on commit 4f4cefd

Please sign in to comment.