Hi All!
I tried OpenCL on my OpenCV project and the result is a huge improvement in terms of performance so I would like to try OpenCL on android.
I use this article to guide me. Here is my cmake command:
cmake -GNinja -DCMAKE_MAKE_PROGRAM="/usr/bin/ninja" -DCMAKE_TOOLCHAIN_FILE="../opencv-3.1.0/platforms/android/android.toolchain.cmake" -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DWITH_OPENCL=YES -DANDROID_ABI="armeabi-v7a" ../opencv-3.1.0
and I use this command
ninja install/strip
I have no errors neither on compilation nor installation. And an install
folder has been created. I think all is perfectly fine except that I can't find the libopencv_java3.so
file !!!!! so:
- Do you know how I can generate libopencv_java3.so ?
- Do you know how I can target several abis ? I tried
-DANDROID_ABI="armeabi-v7a" -DANDROID_ABI="x86"
and-DANDROID_ABI="armeabi-v7a x86"
but it is not correct.
Thank you !