deep_sort icon indicating copy to clipboard operation
deep_sort copied to clipboard

Deep sort ID assigning issues

Open sowmiyadharmalingam86 opened this issue 4 years ago • 10 comments

HI I am having the following issues: 1.In deep sort tracker if a Person -A is assigned an id 1. The person then leaves the frame. After few second the Person-A re-enters again. The tracker assigns the same id 1 to the person A. Is this the right behavior of the tracker. If not how to handle this? 2.The other case person-A is assigned an id -1,He leaves the frame and nobody in the frame for a few seconds. Then a new person B enters after few seconds. The same id -1 is assigned to the person -B. How to resolve this issue?

Thanks

sowmiyadharmalingam86 avatar Mar 19 '21 07:03 sowmiyadharmalingam86

Try changing the tracking parameters of deepsort here: https://github.com/nwojke/deep_sort/blob/280b8bdb255f223813ff4a8679f3e1321b08cdfc/deep_sort/tracker.py#L40

rishabh700 avatar Mar 19 '21 09:03 rishabh700

Hello I've try a lot of empirical combinations with the tracking parameters but I can still see that in some frames where the same person is detected but a different ID is assigned. However I would like to understand how modifying the max_iou_distance will improve or affect this?

diazGT94 avatar Apr 01 '21 13:04 diazGT94

image

rishabh700 avatar Apr 01 '21 13:04 rishabh700

Have you found any solution to this? I tried decreasing max_iou_distance to 0.50 and inreasing max_age to 60. Still any time two people clash the ID changes, or after any occlusion there is an ID switch. Any suggestions? Thank you @rishabh700 @diazGT94 @sowmiyadharmalingam86

AMYEY avatar Jul 07 '21 05:07 AMYEY

I tried increasing max_age to 600. problem is in distance measuring in feature space. that's my Issue too

ganjbakhshali avatar Oct 03 '21 05:10 ganjbakhshali

I tried increasing max_age to 600. problem is in distance measuring in feature space. that's my Issue too Do you solve this problem now?

nanhui69 avatar Jan 14 '22 07:01 nanhui69

I tried increasing max_age to 600. problem is in distance measuring in feature space. that's my Issue too

did you solve it. I am stucked with same problem. can you guide through this?

sushant7878 avatar Nov 11 '22 03:11 sushant7878

Have you resolved this issue, I am facing same issue ?

supriya-reflexion avatar Mar 07 '23 16:03 supriya-reflexion

Have you found any solution to this? I tried decreasing max_iou_distance to 0.50 and inreasing max_age to 60. Still any time two people clash the ID changes, or after any occlusion there is an ID switch. Any suggestions? Thank you @rishabh700 @diazGT94 @sowmiyadharmalingam86

Were you able to resolve this issue? I find the same issue in other implementations of deepsort too

parvathikp avatar Apr 04 '23 02:04 parvathikp

I tried to finetune MAX_DIST & MAX_IOU_DISTANCE. It helped to reduce the ID switch but did not resolve the issue 100% .

supriya-reflexion avatar Apr 04 '23 04:04 supriya-reflexion