KCFpy icon indicating copy to clipboard operation
KCFpy copied to clipboard

Python implementation of KCF tracking algorithm

Results 18 KCFpy issues
Sort by recently updated
recently updated
newest added

Thanks for sharing with us. If somebody wants to use python3 version, you can take reference on https://github.com/LCorleone/KCF_py3

Traceback (most recent call last): File "/Users/guomuqi/Downloads/KCFpy-master/run.py", line 75, in tracker.init([ix,iy,w,h], frame) File "/Users/guomuqi/Downloads/KCFpy-master/kcftracker.py", line 274, in init self.train(self._tmpl, 1.0) File "/Users/guomuqi/Downloads/KCFpy-master/kcftracker.py", line 261, in train k = self.gaussianCorrelation(x, x)...

hello,when i change the code designed by python2 to python3 ,there is the following ploblem: assert(cutWindow[2]>0 and cutWindow[3]>0) AssertionError So,how can i deal with this problem? thank you! ![QQ图片20200713212800](https://user-images.githubusercontent.com/54341536/87309887-c962b900-c54f-11ea-8a7c-24f68c15164f.png)

is there any one have this problem when run the code in python3 environment ? can you give me help to solve this problem.

I konw the opencv API have the flag . such as --> retval, boundingBox = cv.Tracker.update( image ) the flag is retval to find the object wehter lost . -->Problem...

in kcftracker.py: 209-213 should be to make sure self._tmpl_sz can be divisible by self.cell_size: if(self._hogfeatures): self._tmpl_sz[0] = int(self._tmpl_sz[0] / (2*self.cell_size)) * 2*self.cell_size + 2*self.cell_size self._tmpl_sz[1] = int(self._tmpl_sz[1] / (2*self.cell_size)) *...

I ran the code, it can track single-target, how to improve the code to achieve multi-target tracking