Ask Your Question
0

How to install openCV with contrib modules

asked 2017-09-20 04:20:25 -0600

kwesi1337 gravatar image

I have tried for days installing openCV with contrib repository without success. I must say this is probably the one thing that has caused me the most delays in my career as a programmer. To think that installing openCV and using all of it's features could be so troublesome is beyong my understanding. I have searched everything online how to do it and nothing helps. It should be as easy as saying: brew install opencv3 --with-contrib --with-python3, but that doesnt even work, nothing really works anymore. You update this library so often that everything else is deprecated before you test it, and i find it so stupid and cannot believe how troublesome it is to install this correctly. Probably one of the worst experiences in my career, you have literally destroyed my internship due to me being on Mac OS X and having so much trouble installing openCV for my internship project, delaying my implementation of Face Recognition because i do not have access to the face submodule in the contrib repository. I am so sad about this, and it makes me want to quit programming, since it's just not stable enough due to releases 24/7 breaking older versions.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2017-09-20 04:38:45 -0600

LBerger gravatar image

There is a tutorial here for windows. Let me know if you meet any problem on macOsX

edit flag offensive delete link more
1

answered 2017-09-20 04:29:17 -0600

carton99 gravatar image

updated 2017-09-20 04:31:36 -0600

It 's better to install with officiel source.

DL officiel source and get extra source here: https://github.com/opencv/opencv_contrib

to compile with extra module change cmake command by:

cmake -DOPENCV_EXTRA_MODULES_PATH=./opencv_contrib/modules ..

work good on OSX all version. If you have compilation error it's because you miss third library, use port on OSX or apt-get install on linux to install these library.

edit flag offensive delete link more
0

answered 2017-09-20 12:26:16 -0600

matman gravatar image

I had never any bigger problems with building OpenCV with contrib modules, but I have to admit that the contrib master branch is often incompatible to the current or previous releases of OpenCV and the corresponding tags are a little hidden and not explicit documented in the tutorials. Maybe someone will update this in the tutorial.

contrib tags

edit flag offensive delete link more

Comments

Question Tools

1 follower

Stats

Asked: 2017-09-20 04:20:25 -0600

Seen: 25,003 times

Last updated: Sep 20 '17