sort icon indicating copy to clipboard operation
sort copied to clipboard

Doesn't return the tracked object bbox when detector missed it

Open simaiden opened this issue 6 years ago • 2 comments

When my detector doesn't detect an object but Sort is still tracking them , the update() function doesn't return this bbox so i can't draw it in the image. Any solutions? Thanks!

simaiden avatar Jul 12 '19 03:07 simaiden

@simaiden You can limit the id by considering length of object list.

for i in range(0, len(obj_list)): trk.update(dets[d, :][0], frame_time, obj_list[i])

I don't know whether it is correct way of doing or not, but code will work.

PoonamZ avatar Jul 30 '19 04:07 PoonamZ

Hi all,

i am counting people when them pass a line but:

In the frame t, the object detector detect for example, 3 heads and the list is pass to Sort. This heads have not passed the line

in the frame t+1, the object detector detect for example, 2 heads and the new list is pass to Sort. The three heads have passed the line.

Do to this behaviour i can mantain the id of the missed detection but ( setting the max_age) but the counter fails due to the tracked missed bbox of the missed detection in the frame t with the t+1 frame

Why the Sort tracker does not update the bbox of the empty detection? Any solution?

thanks!

diego0718 avatar Oct 23 '20 19:10 diego0718