Running Android + Opencv + NDK App on a real device

I followed the Face-detection detection method, and I successfully programmed the object detection application on the emulator.

Now, when I try to run it on a real device, at the moment when I press the discovery button, it crashes. Logcat says "OpenCv/StaticHelp >> First attempt to load libs failed". I installed OpenCVManager on my device and even ran some patterns, such as a puzzle or even face recognition.

My question is: can OpenCV be enabled on Android.mk, which is hardcoded as

include /home/xxx/Desktop/OpenCV-2.4.2-android-sdk/sdk/native/jni/OpenCV.mk

What am I missing?

+5
source share
1 answer

libs . OPENCV_CAMERA_MODULES: = on OPENCV_INSTALL_MODULES: = Android.mk opencv4andriod

0

All Articles