SiftDescriptorExtractor is undefined

asked 2016-04-22 02:53:05 -0500

Nbb gravatar image

updated 2016-04-22 22:26:23 -0500

Hello forum,

I am trying to use the SIFT function

SiftDescriptorExtractor detector;

but I am getting an error SiftDescriptorExtractor is undefined. What #include do I need ? I always have this problem since a year ago. How do I know which function requires which #include folder ? And where do I see how to initialize such functions ?

I went to http://docs.opencv.org/3.0-beta/modul... and it says The SIFT algorithm has been moved to opencv_contrib/xfeatures2d module.

EDIT: Step 2 says to select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface) Is the source code folder C:\opencv\sources ? And where is the folder where binaries will be built ? I don't know how to use cmake and I have no clue what is going on

edit retag flag offensive close merge delete

Comments

"The SIFT algorithm has been moved to opencv_contrib/xfeatures2d module."

yes.

get https://github.com/Itseez/opencv_contrib , update your main opencv to latest master and rebuild from src. (see readme for build instructions)

berak gravatar imageberak ( 2016-04-22 02:58:43 -0500 )edit

Darn. Guess I have no choice but to use cmake. Thanks !

Nbb gravatar imageNbb ( 2016-04-22 03:12:31 -0500 )edit