I managed to successfully build and install OpenCV 3.1.0
on my laptop. However, on my desktop, any attempt to import a opencv_contrib
module into Python fails with the message "cannot import name ..."
. The DLLs
have been generated and the Dependency Walker
has no problem finding them (there was an issue with DLL
location when I was doing the installation on my laptop).
The setup on the two machines appears to be the same. But I'm not too sure about that as I don't really know where the problem might be. Both machines use Windows 7
and Python 2.7
. The only difference during the build process was that on the desktop I was building OpenCV
with CUDA
enabled.
Please help.