Skip to content

TypeError: 'map' object is not subscriptable #7

@StormArcher

Description

@StormArcher

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions