Robotics StackExchange | Archived questions

Using Multitracker from opencv_contrib in ROS Kinetic

Hello everyone I am trying to use the tracker module of opencv. It is inside the opencv_contrib Sources say that it is already inside the ros-kinetic package. But this does not work. While trying to add it in I had just problems. Any recommendations how I can use the tracker modules of opencv in ros-kinetic?

Import cv2

tracker = cv2.MultiTracker("MIL")

tracker2 = cv2.Tracker_create('MIL')

error: tracker2 = cv2.Trackercreate('MIL') AttributeError: 'module' object has no attribute 'Trackercreate

thanks stritchi

Asked by stritchi on 2017-05-03 21:28:13 UTC

Comments

Answers