diff --git a/boxmot/trackers/bytetrack/basetrack.py b/boxmot/trackers/bytetrack/basetrack.py index 45f5c15fa5..da1ec8f010 100644 --- a/boxmot/trackers/bytetrack/basetrack.py +++ b/boxmot/trackers/bytetrack/basetrack.py @@ -53,3 +53,7 @@ def mark_lost(self): def mark_removed(self): self.state = TrackState.Removed + + @staticmethod + def clear_count(): + BaseTrack._count = 0