Hello,
I have a working code. I developed it on my Win10 computer then ported it to a Ubuntu machine. Everything works on my computer but I cannot create any of the trackers on the Ubuntu computer. When I execute
tracker = cv2.TrackerBoosting_create()
I see this error message:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
AttributeError: module ‘cv2.cv2’ has no attribute ‘Tracker_create’
My computer:
Win10, Python3.8.5, Opencv4.0.1, Opencv-contrib-python4.4.0.46
Other computer:
Ubuntu16.04, Python3.6.9, Opencv-contrib-python 4.5.1.48
I have no idea about why I cannot create the tracker on the Ubuntu machine.