Ask Your Question

Are there somebodies use OpenCV2.2 with ROS ?

asked 2011-02-22 18:18:49 -0500

Yongqiang Gao gravatar image

updated 2011-02-22 18:36:12 -0500

Eric Perko gravatar image

I want to translate my previous code by opencv2.2 into ROS, and I have found many differences between opencv and ROS in image type and some other types. So I wander if some one have already developed a long time on it, please give me some advices?

Thanks a lot!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-02-23 02:27:14 -0500

Yogi gravatar image

ROS default install uses OpenCV 2.0 You can upgrade to 2.2 if you replace the ROS opencv2 package with the one available her: just do svn co and make it.

edit flag offensive delete link more


Just a note -- cturtle used OpenCV 2.0, diamondback/unstable are using 2.2
fergs gravatar image fergs  ( 2011-02-23 04:17:57 -0500 )edit

answered 2011-02-22 18:40:39 -0500

Eric Perko gravatar image

I suggest you take a look at the documentation for the vision_opencv stack. Diamondback will include OpenCV 2.2, so that shouldn't be a problem for you.

As far as the differences between OpenCV and ROS image types, the cv_bridge addresses these concerns. Make sure to read the tutorials linked to from the cv_bridge package documentation to learn how to convert ROS images to OpenCV images and vice versa. Because Cturtle and Diamondback have different cv_bridge APIs, you should make sure you have the proper version selected when viewing the tutorials.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-02-22 18:18:49 -0500

Seen: 507 times

Last updated: Feb 23 '11