nwojke / deep_sort

Simple Online Realtime Tracking with a Deep Association Metric
GNU General Public License v3.0
5.27k stars 1.47k forks source link

change deep sort to sort #129

Open LeeRock opened 5 years ago

LeeRock commented 5 years ago

dear @nwojke,is there any way to change your code to sort(sort with with matching cascade) ?I mean just disable all code using appearance features distance.Could you show me some lines in your code which must be changed?

cppntn commented 5 years ago

maybe you are looking for this https://github.com/abewley/sort ?

LeeRock commented 5 years ago

maybe you are looking for this https://github.com/abewley/sort ?

No.I had checked that repo.I just want to know how to modify a bit code in deep sort to make it work like sort ....

PoonamZ commented 5 years ago

@LeeRock Do you have any idea about how to modify sort to add only id's over the each object ?

nwojke commented 5 years ago

Hi LeeRock, sorry for the late reply. It is fairly straight-forward to make the necessary adaptions to end up with a code base that runs SORT with matching cascade. Most importantly, you will need to change this line to use iou_matching.iou_cost instead of gated_metric.

Another approach would be to remove deep_sort.track.Track.features and then continue to remove any code fragment that causes an error on execution. That way you can be sure no appearance information are used.

Hope it helps.

Asrix-AI commented 4 years ago

Hi LeeRock, sorry for the late reply. It is fairly straight-forward to make the necessary adaptions to end up with a code base that runs SORT with matching cascade. Most importantly, you will need to change this line to use iou_matching.iou_cost instead of gated_metric.

Another approach would be to remove deep_sort.track.Track.features and then continue to remove any code fragment that causes an error on execution. That way you can be sure no appearance information are used.

Hope it helps.

how can we only use appearance features and not include iou matching?

amunamun07 commented 2 years ago

Hey @nwojke , I wanted to use just the SORT and nothing else using this same repo. How will i be able to achieve that?