ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
4

OpenCV3 - Install extra-modules ROS Kinetic

asked 2017-03-06 12:36:50 -0500

matt27110 gravatar image

Hello everyone !

I know there's already a post about this subject : http://answers.ros.org/question/22924... but there's no answer.

OpenCV3 is included with ROS Kinetic. Is there a way to install opencv extra-modules while opencv is already installed ?

Thank you for your help !

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-04-06 10:08:02 -0500

Mondi gravatar image

Hey Matt,

the OpenCV package that is installed with ROS already include the extra-modules with exception of the neural networks I guess. Have a look at the opencv3 ros package. The question how to compile and install only the extra-modules is a question I also interested in. But until now I get now answer for it, too.

best

Manuel

edit flag offensive delete link more
0

answered 2017-05-03 18:29:29 -0500

stritchi gravatar image

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.Tracker_create('MIL') AttributeError: 'module' object has no attribute 'Tracker_create

thanks stritchi

edit flag offensive delete link more

Comments

I'm having the same problem but in c++. The Tracker base class is in declared in this file but I am unable to include it like this #include <opencv2 tracking="" tracker.hpp="">.

DSsoto gravatar image DSsoto  ( 2017-08-12 14:34:16 -0500 )edit

Did you guys end up finding a solution to this problem? I'm having the exact same issue.

manu-adina gravatar image manu-adina  ( 2019-09-25 20:10:09 -0500 )edit

Question Tools

Stats

Asked: 2017-03-06 12:36:50 -0500

Seen: 1,867 times

Last updated: Apr 06 '17