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

--

Search Discussions

  • Andrey Pavlenko at Jan 8, 2013 at 11:49 am
    The log says you forgot to include the sample native library to the APK.
    Make sure you have the ndk-build step configured correctly in your project.

    --

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupandroid-opencv @
categoriesandroid
postedJan 6, '13 at 4:56a
activeJan 8, '13 at 11:49a
posts2
users2
websiteandroid.com

2 users in discussion

He Jibo: 1 post Andrey Pavlenko: 1 post

People

Translate

site design / logo © 2019 Grokbase