OpenCV C++ in Android Studio
Context: I'm using OpenCV for a Unity project. I already made a simple .dll plugin to wrap the C++ code I use to fit my needs on Editor / PC. Now I need a .so or .jar plugin to do the same for Android compatibility. For the life of me, I don't understand all the JNI / NDK stuff. I must not use OpenCV Java or OpenCV4Android, as these two have some bugs / missing features that I'm actually using: in particular, they're missing BOWs and the ability to load SVMs.
All current tutorials I have googled either fall back to OpenCV4Android or assume familiarity with the JNI / NDK, familiarity which I have zero of.
Question: How do I include and use C++ OpenCV in Android Studio? Explain it to me like I'm five.
EDIT: Still stuck.
get builded Libraries
Which builded libraries? Built how? Found where? Certainly not the .lib or .dll from my Windows version? Can I just dump the OpenCV headers and class files into the project's cpp folder and go from there?
Could you explain, why you dont want to use JNI/NDK? For every of my C++/Android Projects it works extremely fine, and you should be able to include the opencv .so into the Android.mk, sure it is a bit reading work until its sure what the android.mk does, but the Android Developer Tutorial makes it quite easy to understand.
Oh, I want to use JNI / NDK. I know that's the part I need to understand to have working C++ in Android. But it is also the part I'm absolutely not familiar with. It's OpenCV Java and OpenCV4Android that are a no go, JNI / NDK are fine.