Ask Your Question

OpenCV Surf/Sift

asked 2018-01-17 09:12:52 -0500

Jiaz gravatar image

I have been playing around with image recognition on opencv and I understand Surf/sift have been moved to xfeature2d in the 3.X.X versions of opencv. I have tried to compile the contrib files through Cmake but it always shows errors. I am wondering if there was another way to obtain xfeature2d, maybe through purchasing the license?

edit retag flag offensive close merge delete



no, there is no other way. (but others succeeded building it, so why shouldn't you ;)

please add:

  • your cmake cmdline
  • the cmake output
  • and the errors you get

to your question, then we can help !

berak gravatar imageberak ( 2018-01-17 09:18:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-18 01:52:00 -0500

MiaoDX gravatar image

Hei, you do not have to purchase the license if all you want is try/test/use them for personal projects (maybe for commercial purpose you should look carefully). It seems that you failed just because of the compile stage, maybe a better tutorial is enough. See OpenCV 3 Tutorials, Resources, and Guides, especially the Ubuntu 16.04: How to install OpenCV if you are under ubuntu. I even follwoed it installed opencv(2/3) on windows successfully.

And what is more, Wrapper package for OpenCV python bindings. is pretty impressive, if you do not have to use C++ and python is enough, you do not have to compile and install opencv at all, and it's cross-platform.

edit flag offensive delete link more


thank you for taking the time to explain, I will try it out. Cheers!

Jiaz gravatar imageJiaz ( 2018-01-18 20:08:18 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-01-17 09:12:52 -0500

Seen: 214 times

Last updated: Jan 17 '18