Windows Python opencv_contrib Install

asked 2015-06-10 13:10:40 -0500

Hey everyone, I'm trying to use sift/surf which I know has been moved to opencv_contrib. I installed from the precomiled binary opencv3. How do I install opencv_contrib on windows?

I think I have to compile from source, so I have cmake and visual studio 2008 c++. Cmake completes with the opencv extra modules path entered with no errors!

Now, how do I actually compile and install for python after generating the makefiles with cmake?

Thank you so much for your help.

edit retag flag offensive close merge delete


just open the opencv.sln file with vs2008 , switch to release mode, and build the INSTALL project.

berak gravatar imageberak ( 2015-06-11 00:48:39 -0500 )edit

Hey everyone, I've got the same problem (want to use sift/surf) I followed the install-guide for installing OpenCV from source and build the ALL_BUILD and the INSTALL project. But nothing happened to my Python27 directory (no errors in the builds, everything was successful). My question is: how can I install the INSTALL project to my python directory or how can I get the new cv2.pyd file which I could copy to the python directory? I deleted the cv2.pyd file which I copied to the python directory in a previous installation (prebuild binaries installation) before and after a INSTALL build but nothing changed. If I delete the file, following error will occur: "ImportError: No module named cv2". Thank you for your help!

cs gravatar imagecs ( 2015-09-08 10:27:07 -0500 )edit