# SiftDescriptorExtractor is undefined

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 close merge delete