KCFpy icon indicating copy to clipboard operation
KCFpy copied to clipboard

TypeError: 'map' object is not subscriptable

Open StormArcher opened this issue 6 years ago • 1 comments

Traceback (most recent call last): File "run.py", line 75, in tracker.init([ix,iy,w,h], frame) File "/home/hp/zjc/nk_PyCharm/PyCharm_project/nk_KCF/3_uoip-KCFpy /KCFpy/kcftracker.py", line 269, in init self._tmpl = self.getFeatures(image, 1) File "/home/hp/zjc/nk_PyCharm/PyCharm_project/nk_KCF/3_uoip-KCFpy /KCFpy/kcftracker.py", line 185, in getFeatures cx = self._roi[0] + self._roi[2]/2 #float TypeError: 'map' object is not subscriptable

StormArcher avatar Dec 21 '18 03:12 StormArcher

ithink it version problem ,i use python 3

StormArcher avatar Dec 21 '18 04:12 StormArcher