Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'map' object is not subscriptable #7

Open
StormArcher opened this issue Dec 21, 2018 · 1 comment
Open

TypeError: 'map' object is not subscriptable #7

StormArcher opened this issue Dec 21, 2018 · 1 comment

Comments

@StormArcher
Copy link

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
Copy link
Author

ithink it version problem ,i use python 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant