vojirt / kcf

Kernelized Correlation Filter tracker
408 stars 174 forks source link

why the tracking speed of using linear kernel and using gaussain kernel are similar? #19

Open hjl240 opened 6 years ago

hjl240 commented 6 years ago

I run the code 2 times(one using linear kernel, another using gaussain kernel) in OTB50, every setting is same except the kernel. The results are ,the tracking speed of using linear kernel is 236fps, and the tracking speed of using gaussain kernel is 234fps. In theory, the speed of using linear kernel is faster than using gaussain kernel.

vojirt commented 6 years ago

Hi, I also think that the linear kernel should be faster then gaussian. However, the computation of these kernels is probably negligible to the other parts (FFT, ...) so the fps is basically the same. If you are really interested in answer, you can do some code profiling to measure how much time is actually spend in the kernel computation w.r.t. the rest of the code, which should give you the answer.