Porting OpenCV 2.4.X code to 3.X

asked 2014-10-08 13:32:15 -0600

Doombot gravatar image

Since OpenCV 3.0 stable release should available by the very end of December 2014 and that I am about to begin a new long term project, should I:

  • Start the project now in 3.0 Alpha then update to Beta and Stable (which should be pretty easy, though you may have to live with bugs of the unstable version)

  • Start now in 2.4.X then port to 3.0 when available (I read that cv:Mat and other stuff will need to be changed)

  • Start with 2.4.X and stick with it forever (making an eventual future port to 3.X a pain since a bigger codebase will have to be updated)

Not starting now (October 8th) is not an option. I never really significantly ported code yet so I don't know what task is ahead if I choose to go with 2.4.X then 3.0.

So I guess I will begin with 3.0 Alpha. Should I do something else? Or, is there any doc on how to do the porting?

I am using Windows 8.1 Pro 64 bit and Visual Studio 2012. My project will be on C++

edit retag flag offensive close merge delete

Comments

Start with the 3.0 dev branch of github. Has way more fixes then the alpha release. The changes will be mainly the includes but not the Mat containers...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-08 13:40:03 -0600 )edit

https://github.com/Itseez/opencv I downloaded the master .zip. Do you have a tutorial in regard to how to build the sources? Or I'll find one on the internet but it could be there as a reference.

Doombot gravatar imageDoombot ( 2014-10-08 14:05:12 -0600 )edit