I want to use functions like SIFT, SURF,etc. I am using Ubuntu 16.04 on a virtual machine with OpenCV 3.4.1 and using PyCharm as the IDE.
I can open Pycharm, create a p
I was having the same problem with opencv trying to use SIFT and SURF. I try so many ways including adding opencv-contrib and even compiling opencv using visual studio but none of those options worked for me. I would recommend to use anaconda and install opencv using the method show in this post.
How do I install Python OpenCV through Conda?
After installing it using
conda install -c menpo opencv
I was able to use without the annoying massage of "set OPENCV_ENABLE_NONFREE"
Edit: I needed to install in on my raspberry pi and Anaconda does not work the same on raspberry pi. I do some research and I found that if you run the command below, should fix the "NON_FREE /Patent protected" error.
pip install opencv-contrib-python==3.4.0.12