OpenCV has Two Branches?
Excuse me for this noob question, but, after all, I am a noob to OpenCV. :-)
It appears that OpenCV has two branches: 2.x.x and 3.x.x. What are the differences?
Excuse me for this noob question, but, after all, I am a noob to OpenCV. :-)
It appears that OpenCV has two branches: 2.x.x and 3.x.x. What are the differences?
There are 2 variants: OpenCV 2.x API, which is essentially a C++ API, as opposite to the C-based OpenCV 1.x API. The second uses prefix 'Cv', for example CvMat versus Mat. OpenCV 2.x library still uses elements of 1.x API via C++ wrappers. In OpenCV 3.x it was rewritten.
Go to the opencv.org website and look in the News section. Each new version (say, v3.0) has a list of bug-fixes and new capabilities.
I am using C++ to create an add-in for Adobe Acrobat which requires compilation with VS 2013. OpenCV version 3.1.0 looks like the one that I need, but I am curious about the apparent two branches. For example, version 3.1.0 was released on 2015-12-18, but version 2.4.13 was released on 2016-04-20, and version 2.4.13.2 was released on 2016-12-16. But, then, version 3.2.0 was released on 2016-12-23. I wonder what is the purpose of having the two branches. Why weren't they at some point consolidated into one branch?
@rob-evans : For application development, first consider the OS versions/distributions you are supporting the app on. Choose to implement toward an OpenCV version appropriate to your user base.
the 2.x.x.x branch is stable with no new functionality added, receiving only bugfix backports, to support long term support applications built with it. For example, Ubuntu 14.04 LTS is built using opencv 2.4.x.
Open CV 3 is a major version number bump, because there are major changes in base toolchain required, support of features, structural changes, and how performance improvements are detected and employed. 3.x may be used in long term support Linux distributions; ex: Ubuntu 17.10 is on OpenCV 3.1.
If you build OpenCV into your app, then you can really select any version you like.
Asked: 2018-04-04 11:21:53 -0600
Seen: 446 times
Last updated: Apr 04 '18
2.4.x is more a "maintainance" branch. no new functionality will ever get added there.