Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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/22/install-opencv-3-0-and-python-2-7-on-ubuntu/

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?