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.