You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
File "/Users/guomuqi/Downloads/KCFpy-master/kcftracker.py", line 171, in gaussianCorrelation
c = rearrange(c)
File "/Users/guomuqi/Downloads/KCFpy-master/kcftracker.py", line 38, in rearrange
img[0:yh,0:xh], img_[yh:img.shape[0],xh:img.shape[1]] = img[yh:img.shape[0],xh:img.shape[1]], img[0:yh,0:xh]
TypeError: slice indices must be integers or None or have an index method
Did anyone else run into this problem?
The text was updated successfully, but these errors were encountered:
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)
File "/Users/guomuqi/Downloads/KCFpy-master/kcftracker.py", line 171, in gaussianCorrelation
c = rearrange(c)
File "/Users/guomuqi/Downloads/KCFpy-master/kcftracker.py", line 38, in rearrange
img[0:yh,0:xh], img_[yh:img.shape[0],xh:img.shape[1]] = img[yh:img.shape[0],xh:img.shape[1]], img[0:yh,0:xh]
TypeError: slice indices must be integers or None or have an index method
Did anyone else run into this problem?
The text was updated successfully, but these errors were encountered: