From where OpenCV samples load libopencv_java.so ?
Hi,
I would like to know from where or how did OpenCV load libopencv_java.so file to the device?
The sample project(Face Detection) of OpenCV work fine, but If I try to load OPENCV_VERSION_2_4_3, it's falied to load the libopencv_java file, and the following error was shown:
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/org.opencv.engine-1/lib/arm/libopencv_java.so" is 32-bit instead of 64-bit
Why is my libopencv_java is different if I use the same sdk?
There are no 64-bit android libraries for OpenCV 2.4.x.
So, what should I do?
why OpenCV application that came with sdk 2.4.9 worked and mine not? it trying to load the same library
Try to build your application for 32-bit platform and run it on 64-bit device.
How can I do that?
Please check this issue and the discussion: https://github.com/Itseez/opencv/issu... Maybe it can help
Sorry, but I can't do what they did, cause I can't work with OpenCV 3.0, the reason is that there is no implementation to the constant 'Imgproc.BORDER_REPLICATE' and as I see I don't need to work with this version because the sample projects works fine with version 2.4. am I right?
But there is Core.BORDER_REPLICATE constant available: http://docs.opencv.org/java/3.1.0/org...
Did you try to use it?