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

which version of Opencv should I use?

asked 2016-05-23 21:06:44 -0500

Zero gravatar image

Hi everyone,

I'm a beginner in ROS. Currently, I'm trying to use a camera to locate and identify the color balls by the OpenCV package, but depend on my research I found that there has two version of OpenCV, one is OpenCV 2 and OpenCV 3.

So what is different between this two OpenCV? And which one will be more suitable for me?

By the way, I'm using ubuntu 14.04 LTS 64bit indigo.

Thank you so much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-24 01:27:39 -0500

wsAndy gravatar image

Hello, both of them are great, if you have not learned openCV, just to learn opencv3 since it have some different definitions of static parameters and this version has a better frame than opencv2.

However, when you want to use openCV3 , you need to be really careful since some algorithms like SURF are not built directly in a traditional way, which means maybe you need to spend several hours to build the developing environment with the help of documents.Besides, lots of existing codes are wrote with opencv2,so be careful if you want to make an old package ,there will be many problems. :)

If you want to know more about the difference between opencv2 and opencv3, I think you should go to opencv's website

edit flag offensive delete link more

Comments

Thank you so much. I think I will choose use opencv2 since there will be many problems if I'm doing something wrong.

Zero gravatar image Zero  ( 2016-05-24 02:43:25 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-05-23 21:06:44 -0500

Seen: 2,746 times

Last updated: May 24 '16