deep_sort icon indicating copy to clipboard operation
deep_sort copied to clipboard

!saving results only after n number of frames!

Open tiberium24 opened this issue 5 years ago • 1 comments

Hello,

I have noticed that tracking results are saved after n number of frames and not from frame 1. Is there any way to change that?

tiberium24 avatar Jun 04 '20 17:06 tiberium24

It only save confirmed track, tentative track would not be save. Tentative track transfers to confirmed track only when the object is tracked in three consecutive frames. So I used a list to store ids, saved all the confirmed and tentative tracks, and then use the below condition track.is_deleted() and track.hits < 3 to see if a tentative track successfully transfer to confirmed track. If failed, remove the id from the ids list.

lanshiyinging avatar Jun 19 '20 14:06 lanshiyinging