cv2 'module' object has no attribute 'Tracker_create'
I have followed this tutorial exactly to install python 2.7 and opencv 3 on ubuntu 14.04. https://www.pyimagesearch.com/2015/06...
So my project involves tracking. But when i enter this python code:- tracker = cv2.Tracker_create(tracker_type)
I get an error:- AttributeError: 'module' object has no attribute 'Tracker_create'
Im not sure what is wrong. Can someone please help me?
"I have followed this tutorial exactly" -- not helpful. we need to know, what you did, not someone else.
also: opencv version ? api changed since 2015
Okay what should I do to show what I have done? I'm quite new to this. I have followed the tutorial and have entered every terminal line. My opencv version is 3.0.0. I have googled for a solution but all the answers say opencv-contrib should be built. I have done that too.
I have also tried cv.TrackerMIL_create() but that too is not found in the module.
After typing help(cv2):-
NAME cv2
FILE /home/madan/.virtualenvs/cv/local/lib/python2.7/site-packages/cv2.so
SUBMODULES Error bgsegm bioinspired datasets detail face fisheye flann line_descriptor ml motempl ocl ogl optflow