1
self.tracker = cv2.Tracker_create(tracker_type)
AttributeError: module 'cv2.cv2' has no attribute 'Tracker_create'

I have tried the method supported in Unable to run Tracking on Open CV 3.4.1 on Python 3.6.6, but it does not work.

self.tracker = cv2.Tracker_create(tracker_type)
gboffi
  • 22,939
  • 8
  • 54
  • 85

1 Answers1

1

I have solved this problem just now . just uninstall your opencv-python and opencv-contrib-python, then pip install opencv-contrib-python==3.4.5.20