Looking for a recent guide to build Opencv4Android.

asked 2020-05-01 16:10:09 -0500

fabio-C gravatar image

I am developing a mobile application and plans to use native OpenCV library by jni approach. Reference this tutorial as my environment:

https://android.jlelse.eu/a-beginners-guide-to-setting-up-opencv-android-library-on-android-studio-19794e220f3c

To use some recent opencv_contrib modules such as GMS, and for optimize APK size, I have to build opencv myself and use the tutorial from OpenCV official github:

https://github.com/opencv/opencv/wiki/Building_OpenCV4Android_from_trunk

The problem is that this wiki is from 2016 and I can't use it.

The script cmake_android_arm.sh, inside platform/scripts folder, no longer exist from opencv 3.2.0 (2016). I can't find any official or unofficial updated guide.

edit retag flag offensive close merge delete

Comments

@fabio-C you found a solution ?

LiorA gravatar imageLiorA ( 2020-05-07 11:30:45 -0500 )edit