Updated OpenCV4Android documentation

asked 2019-10-15 03:55:54 -0500

The documentation for installing/working with the Android library is INCREDIBLY outdated. If you search for how to install it, you will get a million different methods, all with their own inconsistencies. From building libs that are too large to manually copying libs from the JNI folder.

With the new updates to Android Studio, I thought that there would, by now, be a simple officially endorsed CMake based solution. It would be incredibly helpful to have such documentation, and I image in would not be very difficult to share for someone experienced with integrating the 4.0 libraries.

I'm trying desperately to update a project that uses the 2.x libs and an outdated NDK to support having both the JAVA functions and native functionality.

edit retag flag offensive close merge delete


valid complaint, sad as it is, but how can we help you, now ?

berak gravatar imageberak ( 2019-10-15 04:43:32 -0500 )edit

It'd be great to know how to correctly load it up with smaller library sizes and optimizations enabled. Compared to 2.x libs some of the libs have tripled in size, and I still can't get anywhere near the performance of a similarly powered iPhone :( Currently, for the native libraries, I just point my cmake to the sdk installation and let the opencvcmake.config do the rest

StainlessSteelRat gravatar imageStainlessSteelRat ( 2019-10-21 01:58:49 -0500 )edit