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
Hi vincent.dufour,
I tried install opencv-contrib with flag “-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.4.0/modules”, but still NO “tracking” in “To be built”.
Can you tell me how did you do to solve this?
hello everyone I am also having issues about using builtin opencv tracker. But I didnt understand how to build opencv-contrib package. Can I build it seperately or should I pass the location of unzipped path while building opencv using -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-4.4.0/modules.