YOLOv3-KCF-Fast-Object-Tracker
YOLOv3-KCF-Fast-Object-Tracker copied to clipboard
module 'cv2' has no attribute 'TrackerKCF_create'
Hello again. I have tried running the track.py, but this is what i got
Traceback (most recent call last):
File "tracker.py", line 25, in <module>
tracker=cv2.TrackerKCF_create()
AttributeError: module 'cv2' has no attribute 'TrackerKCF_create
I have searchd online and some people have mentioned it is because of opencv-python and opencv-contrib-python errors. For instance in these links:
- https://github.com/opencv/opencv/issues/15723 But to no avail. Do you have any ideas on how to work around ?
cv2.TrackerKCF_create() API is in the opencv-contrib-python, try to use pip install to solve it.