opencv2/nonfree/features2d.hpp file not getting in OpenCV-2.4.4-android-sdk
I am trying use the sample opencv code of Features2D + Homography to find a known object. When I used in opencv C++ platform I am not getting any issue. But when the same code used in Android system and the above code used inside jni .cpp then the below error getting.
fatal error: opencv2/nonfree/features2d.hpp: No such file or directory DetectionBasedTracker_jni.cpp /OpenCV Sample - face-detection/jni line 15 C/C++ Problem
SurfDescriptorExtractor' is not a member of 'cv' DetectionBasedTracker_jni.cpp /OpenCV Sample - face-detection/jni line 453 C/C++ Problem.
Even I checked the nonfree module is not available in Android OpenCV-2.4.4-android-sdk\sdk\native\jni\include\opencv2.
Where I can get this SurfDescriptorExtractor typedef in open cv android native. Is there any alternative. Please suggest me.
The nonfree modules are simply not included in the opencv android sdk (probably due to some patent issues). If you google it, you will find ways to simply copy the nonfree modules to the android sdk (or use your head). Btw, using sift/surf on android wont really get you anywhere if you are heading towards a realtime application. Those algorithms are too expensive
Thanks for your comments.