Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv3.0.0 did not have any python wrappers for the tracking module.

please try with latest 3.4 for both opencv and opencv_contrib. then use it like:

tracker = cv2.TrackerMil_create()
tracker = cv2.TrackerKCF_create()

etc. you have to construct the resp. class now, not a general "Tracker" instance with a class string.

opencv3.0.0 did not have any python wrappers for the tracking module.

please try with latest 3.4 for both opencv and opencv_contrib. then use it like:

tracker = cv2.TrackerMil_create()
cv2.TrackerMIL_create()
tracker = cv2.TrackerKCF_create()

etc. you have to construct the resp. class now, not a general "Tracker" instance with a class string.