Possible to use OpenCV2.2 alongside 2.4.11 ?

asked 2015-04-01 14:43:41 -0500

Doombot gravatar image

updated 2015-04-01 14:54:05 -0500

Is it possible to use, say, opencv_feature2d220.dll , alongside the dll from OpenCV 2.4.11 in the same project?

I mean, I would not use opencv_feature2d2411.dll in this project but only opencv_feature2d220.dll .

There reason is that I prefer the former implementation of a specific method, which is to my opinion (and for others too) broken in 2.4 and 3.0 (bug reports were already filled for this case, BRISK).

Right now, I plan to simply link to the correct libraries in my project, but I am afraid of hidden bugs or incompatibilities.


edit retag flag offensive close merge delete


Bugs for Brisk in 2.4? Can you please add some links or errors and code?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-04-02 02:15:16 -0500 )edit

I deduced that there were bugs in it from this: https://github.com/Itseez/opencv/pull... I may reword my question if this is not the case, of course! I recognize the problems that I have encountered personally are with the 3.0 version... However, I am still interested to know if it is possible to run some 2.2 dlls alongside 2.4 dlls.

Doombot gravatar imageDoombot ( 2015-04-02 08:56:39 -0500 )edit

I suggest not to do that, it is not ok to mix versions. I would recommend to use 2.4.11 with no fear, because if there were bugs in 2.2, they were corrected and it is not linked to 3.0 (it does not have 2 repos, different namespace for nonfree etc).

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-04-02 10:56:15 -0500 )edit

Thanks for the info! :)

Doombot gravatar imageDoombot ( 2015-04-02 12:40:52 -0500 )edit

You could set up separate installs for both versions so that they don't interfere with one another.

Potato gravatar imagePotato ( 2015-04-02 13:56:41 -0500 )edit