Non-free algorithms stays NO Ubuntu 16.04 opencv-3.4.4
Hi,
I am on Ubuntu 16.04 (clean install) following this tutorial . Instead of 3.1.0 I tried to install 3.4.6 which did not work, because the Non-free algorithms are not being included. I again tried with version 3.4.4 which again did not work.
The CMAKE command I use:
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D INSTALL_C_EXAMPLES=OFF \
-D OPENCV_ENABLE_NONFREE=ON \
-D OPENCV_EXTRA_MODULES_PATH=/home/gertjan/opencv_contrib-3.4.4/modules \
-D BUILD_EXAMPLES=ON ..
Pastebin containing my cmake output, since formatting in this editor is impossible. Pastebin containing all cmake output which produced an error.
please remove screen shot ans insert cmake output as text in post
line 392 hints, that the xfeatures2d module won't be built. unfortunatly, the reason is not visible from your pastebin.
can you try to clean the build folder completely, and try again with cmake ?
unless you have xfeatures2d in the
-- To be built:
section, there can't be any SIFT or SURF code, irrespective of the nonfree flag.opencv_contrib path is wrong? in my cmakeoutput I have got this:
How di you install opencv_contrib?
I downloaded the zip from github releases and unzipped it. I tried with opencv_contrib-3.4.4 and renamed to opencv_contrib afterwards. Both don't work I am now on Ubuntu 18.04 trying the same thing. Which again does not work, I am now following this tutorial . I am skipping the python virtualenv part since I don't need python
Alright this is f** weird. From the tutorial I linked above I skipped this step partially: Step #3: Configure your Python 3 virtual environment for OpenCV 4 I did install pip as the first step states, but afterwards I immediatly pip3 install numpy. Then I skip the rest, because I don't want to install virtualenv becuase I am not going to work with python. But I figure I try with this step anyway and now the algorithms are included. Can anyone explain why that is?
You can try something like this. I know it's window. but with git bash it's easy to adapt in linux