Hello, I am testing the face detection example in the OpenCV4Android 2.4.3.2. My device is samsung galaxy note 10.1 tablet. It runs Android 4.0.4 operating system. When I run the face detection example, nothing is shown on the screen, just a message saying "unfortunately, OCV Face Detection has stopped".
The error log is below. Can someone teach me how to solve this problem? Thanks!
01-05 22:50:48.385: E/AndroidRuntime(26373): FATAL EXCEPTION: main
01-05 22:50:48.385: E/AndroidRuntime(26373): java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker: findLibrary returned null
01-05 22:50:48.385: E/AndroidRuntime(26373): at java.lang.Runtime.loadLibrary(Runtime.java:365)
01-05 22:50:48.385: E/AndroidRuntime(26373): at java.lang.System.loadLibrary(System.java:535)
01-05 22:50:48.385: E/AndroidRuntime(26373): at org.opencv.samples.facedetect.FdActivity$1.onManagerConnected(FdActivity.java:66)
01-05 22:50:48.385: E/AndroidRuntime(26373): at org.opencv.android.AsyncServiceHelper$1.onServiceConnected(AsyncServiceHelper.java:314)
01-05 22:50:48.385: E/AndroidRuntime(26373): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1068)
01-05 22:50:48.385: E/AndroidRuntime(26373): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1085)
01-05 22:50:48.385: E/AndroidRuntime(26373): at android.os.Handler.handleCallback(Handler.java:605)
01-05 22:50:48.385: E/AndroidRuntime(26373): at android.os.Handler.dispatchMessage(Handler.java:92)
01-05 22:50:48.385: E/AndroidRuntime(26373): at android.os.Looper.loop(Looper.java:137)
01-05 22:50:48.385: E/AndroidRuntime(26373): at android.app.ActivityThread.main(ActivityThread.java:4517)
01-05 22:50:48.385: E/AndroidRuntime(26373): at java.lang.reflect.Method.invokeNative(Native Method)
01-05 22:50:48.385: E/AndroidRuntime(26373): at java.lang.reflect.Method.invoke(Method.java:511)
01-05 22:50:48.385: E/AndroidRuntime(26373): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:995)
01-05 22:50:48.385: E/AndroidRuntime(26373): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
01-05 22:50:48.385: E/AndroidRuntime(26373): at dalvik.system.NativeStart.main(Native Method)
---------------------------
He Jibo
Assistant Professor
Department of Psychology,
Wichita State University
website:
www.hejibo.info