include nonfree openCV 2.4.10 on ubuntu

前端 未结 3 1939
广开言路
广开言路 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: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.

提交回复
热议问题