dyhBUPT / StrongSORT

[TMM 2023] StrongSORT: Make DeepSORT Great Again
GNU General Public License v3.0
708 stars 75 forks source link

dynamic id assignment #77

Closed faizan1234567 closed 1 year ago

faizan1234567 commented 1 year ago

How can I dynamically assign id to an object based on a meeting a condition, for example, if object A was assign with id 5, but upon certain condition i want to change it to 3 or some other number, how can i modify code to do it?

dyhBUPT commented 1 year ago

Hi, what do you mean by "upon certain condition"?

faizan1234567 commented 1 year ago

like if an id disappear for sometime and re-appear in the camera, so i want to compare its appearance with old id if it match with it, i will assign it to old id.

dyhBUPT commented 1 year ago

Hi, for this case, you can easily add an extra matching procedure.