Deploy just imgproc - OpenCV4Android

asked 2014-05-28 05:35:25 -0500

Dimitar Dobrev gravatar image

Hello all,

I use imgproc in an Android application. Because is too large - 17 MB - I want to include only imgproc (and core, of course) and leave the rest of the modules out. Here's what I've tried so far:

  1. Building OpenCV frm source according to - that failed with some strange CMake error about endianness;
  2. Using OpenCVManager - it works but I don't want to use it;
  3. Using JavaCV ( where the modules are separate - for some strange reason it's about 4 to 5 times slower than OpenCV for Android;
  4. Compile a custom from the .a files in the binary download - this has been my most successful approach because I've been able to construct a binary. However, something with the exported symbols is not quite alright because I get this:

No implementation found for native Lorg/opencv/core/Core;.getBuildInformation_0:()Ljava/lang/String;

while loading the library. I can provide my and at a request.

Could you please help?

edit retag flag offensive close merge delete