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

using ros opencv standalone

asked 2012-07-16 03:38:42 -0500

hkaraoguz gravatar image

Hi,

Is it possible to use the opencv inside the ros package as a standalone tool? For some simple projects I only want to use opencv functions without using any ros functionality. I think that it is not possible to have opencv_ros and standalone opencv distribution together in the same computer so the only option is to be able to use the opencv_ros as a standalone tool.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-07-16 04:32:56 -0500

joq gravatar image

Since ROS Electric, the stand-alone opencv library is treated as a system dependency, installed like any other library for your Linux distribution. (You didn't say which one you are using.)

So, yes you can use opencv without ROS.

But, you will not be able to use the opencv_bridge interface without ROS.

edit flag offensive delete link more
1

answered 2012-07-28 07:13:20 -0500

gpsinghsandhu gravatar image

You can certainly use opencv separately using the opencv libraries that come with ros. Use rosmake to compile( remember to add executable in the CMakeLists) and run the executable from the bin folder. It is very useful for initial test to avoid going deep into the node and connections stuff.

edit flag offensive delete link more
0

answered 2012-07-16 05:44:39 -0500

hkaraoguz gravatar image

updated 2012-07-16 05:45:28 -0500

Since ROS Electric, the stand-alone opencv library is treated as a system dependency, installed like any other library for your Linux distribution. (You didn't say which one you are using.)So, yes you can use opencv without ROS. But, you will not be able to use the opencv_bridge interface without ROS.

Thank you for your answer!! I am using Fuerte distribution under Ubuntu 12.04 and I am using Qt for development environment.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-16 03:38:42 -0500

Seen: 784 times

Last updated: Jul 28 '12