unknown cmake command "ocv_define_module"
when i build opencv_contrib,it shows the error "Unknown CMake command "ocv_define_module".
Cmd:cmake -DOPENCV_EXTRA_MODULES_PATH=D:/dev/open-cv-sdk/opencv_contrib-master/modules D:/dev/open-cv-sdk/opencv_contrib-master/modules/xfeatures2d
what is the
D:/dev/open-cv-sdk/opencv_contrib-master/modules/xfeatures2d
for ?your cmdline should be like:
cmake -DOPENCV_EXTRA_MODULES_PATH=D:/dev/open-cv-sdk/opencv_contrib-master/modules /path/to/main/opencv
can u please tell me what is /path/to/main/opencv?
your main opencv src directory, please have another look at the readme
Thanks for your reply,the main opencv src directory is /Users/dev/Downloads/OpenCV-android-sdk 2/sdk/java/src? is this correct?
oh android sdk, idk. , sorry
but i guess, you need the main opencv repo
Thanks for your reply..We are trying to develop the android based Application using opencv. We need SURF Algorithm for that App.. 1)We have downloaded the following SDK from the below link http://sourceforge.net/projects/openc... 2)Now we are Trying to get use the xfeatures2d module from below link https://github.com/Itseez/opencv_cont... Can you please tell me the detailed procedure to how to implement the whole process...Thanks in Advance..
sorry, never tried that, but my best guess is, that you have to rebuild the android sdk form opencv main (+ contrib) repo.