include nonfree openCV 2.4.10 on ubuntu

前端 未结 3 1918
广开言路
广开言路 2020-12-30 08:03

I\'ve installed OpenCV on ubuntu using this link and I\'m trying to use SURF descriptor. I knew that they changed the location of these type of descriptors to the nonfree mo

相关标签:
3条回答
  • 2020-12-30 08:45

    Actually, I just updated openCV using the following commands then it worked:

    sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
    sudo apt-get update 
    sudo apt-get install libopencv-nonfree-dev
    
    0 讨论(0)
  • 2020-12-30 08:53

    sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
    sudo apt-get update
    sudo apt-get install libopencv-nonfree-dev

    ---this answer works well for me, thanks @Maystro

    after this step, just link your program to -lopencv_nonfree, or you cannot access to surf.

    0 讨论(0)
  • 2020-12-30 08:58

    This worked for me:

    sudo add-apt-repository --remove ppa:xqms/opencv-nonfree
    sudo add-apt-repository --yes ppa:jeff250/opencv
    sudo apt-get update
    sudo apt-get install libopencv-dev
    sudo apt-get install libopencv-nonfree-dev
    
    

    Here's where I found it:

    https://askubuntu.com/a/1141214/689474

    0 讨论(0)
提交回复
热议问题