KCFpy icon indicating copy to clipboard operation
KCFpy copied to clipboard

The gap between KCFcpp and KCFpy?

Open GarrickLin opened this issue 9 years ago • 2 comments

I have run your code, but I found the performance has some gap between these cpp and py version.

1. the cpp version has a better scale invariance
2. the py version is easily tend to lose target

and I still run some other version of cpp code such as vojirt/kcf and foolwood/KCF, they remain the same problems.

Do you have worked out this weird problem?

GarrickLin avatar Dec 24 '16 07:12 GarrickLin

Sorry for my late reply. Did you change the parameters in line 59 in 'run.py', if you didn't, it may explain your question: tracker = kcftracker.KCFTracker(False, True, False) # hog, fixed_window, multiscale

You can set the first parameter True for tracking robustness, and set the third parameter True for scale invariance. (I update it now) I haven't test the the code systematically, so although this code is translated line-by-line from KCFcpp, there may still be some problems.

uoip avatar Jan 06 '17 15:01 uoip

Thank you very much!

GarrickLin avatar Jan 10 '17 03:01 GarrickLin