I am trying to use this script in python: https://www.learnopencv.com/object-tracking-using-opencv-cpp-python/
The problem is when I’m running I have this error occuring:
Traceback (most recent call last): File "./Tracking.py", line 24, in <module> tracker = cv2.TrackerKCF_create() AttributeError: 'module' object has no attribute 'TrackerKCF_create'
I have python 2.7.12 and python 3.5.2 on the Jetson as well as OpenCV 3.4.0.
Some post on forums tell about a “opencv-contrib-python” package that is not included and should be added, but when I try to find it using “pip install” it tells me this:
Collecting opencv-contrib-python Could not find a version that satisfies the requirement opencv-contrib-python (from versions: ) No matching distribution found for opencv-contrib-python
I don’t really know what to do then…
Thank you in advance