generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
API:trackerQ1.2024Tasks planned for execution in Q1 2024.Tasks planned for execution in Q1 2024.enhancementNew feature or requestNew feature or request
Description
Description
Let's add a method to reset the state of the tracker - particularly useful when we want to process multiple videos one after another. Currently, part of the state is held in global variables, and even reinitializing the tracker doesn't help. It is necessary to kill the entire Python environment.
Pay attention to ByteTrack.tracked_tracks, ByteTrack.lost_tracks, ByteTrack.removed_tracks, and BaseTrack._count. It may turn out that other places will also require changes.
Additional
- Note: Please share a Google Colab with minimal code to test the new feature. We know it's additional work, but it will definitely speed up the review process. Each change must be tested by the reviewer. Setting up a local environment to do this is time-consuming. Please ensure that Google Colab can be accessed without any issues (make it public). Thank you! 🙏🏻
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
API:trackerQ1.2024Tasks planned for execution in Q1 2024.Tasks planned for execution in Q1 2024.enhancementNew feature or requestNew feature or request