abewley / sort

Simple, online, and realtime tracking of multiple objects in a video sequence.
GNU General Public License v3.0
3.82k stars 1.07k forks source link

Numba vs new SORT version #119

Open julayelei opened 3 years ago

julayelei commented 3 years ago

Hello! It's been a while since I first saw this implementation of SORT. Now I see that Numba is no more required, but I have question: what are the advantages of not using Numba in SORT? Is it now faster? Greetings!

abewley commented 3 years ago

The latest version replaced a for loop with implicit broadcasting in numpy. This significantly improved speed making it slightly faster than using numba and with fewer dependencies. Hence numba is no longer required. This was only tested on a mac laptop so if you find it to be slower than older versions then let me know.