Limit the total number of ids #811
-
I would like to know if it is possible to specify the maximum number of tracked IDs in a video? I have seen that there is |
Beta Was this translation helpful? Give feedback.
Answered by
mikel-brostrom
Apr 5, 2023
Replies: 1 comment 1 reply
-
This is not implemented but would be relatively easy. Count the tracks: and don't spawn new ones if count exceeds X |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
WindnSnow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not implemented but would be relatively easy. Count the tracks:
https://github.com/mikel-brostrom/yolov8_tracking/blob/1280ca5a77b3c2cd1bfa3e5b061a27e79f5091d2/trackers/strongsort/sort/tracker.py#L50
and don't spawn new ones if count exceeds X