Hi i'm trying to work on a code that use the extra modules of opencv. I've installed the extra modules following the readme txt
$ cd < opencv_build_directory >
$ cmake -DOPENCV_EXTRA_MODULES_PATH=< opencv_contrib >/modules < opencv_source_directory >
$ make -j5
it works but when i try to compile the code it says that error: ‘xfeatures2d’ is not a namespace-name
(in the code there is using namespace cv::xfeatures2d; )
thanks
↧