Ask Your Question

Esq's profile - activity

2014-03-02 10:39:54 -0600 received badge  Student (source)
2013-11-20 13:22:08 -0600 commented answer use recognize in opencv android

@berak so at worst case, when do you estimate it would be working on android? about how much effort does it take for the jni path starting from nothing?

2013-11-20 13:11:35 -0600 commented answer use recognize in opencv android

@berak I have a project which needs this feature running in 3 months on both android and ios. Does the ios version work? What would be your suggestion for me? I am experienced in c++ , but not in jni.

2013-11-20 13:01:39 -0600 received badge  Necromancer (source)
2013-11-20 12:59:08 -0600 commented answer Is face recognition posible in android openCV?

Does android/java face recognition work currently? Or do we still need to use the c++ one?

2013-11-20 12:52:49 -0600 received badge  Supporter (source)
2013-11-20 12:52:28 -0600 answered a question use recognize in opencv android
2013-11-20 12:21:53 -0600 asked a question Face Detection OpenCV4Android doesn't work

http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html

I used this tutorial exactly to install OpenCV on my Eclipse and Android, everything is working fine except:

  • Unfortunately, OCV Face Detection has stopped.
  • Unfortunately, OCV Native Activity has stopped.
  • Unfortunately, OCV Mixed Processing has stopped.

I only need the face detection one, (for now at least).

I did a through research on this problem this problem has been asked ALOT and couldn't find a complete, working solution or any decent answer. It would be beneficial for the whole community if have a complete answer. Here are some information:

  • I do not have C/C++ Build tab on my project properties so I thought it wasn't needed.
  • I didn't bother with running it on the emulator.
  • OpenCV Manager is downloaded from Google Play
  • Java 1.6
  • Android 4.3, API 18
  • Device model is Nexus 10

Here is the logcat:

11-20 16:44:15.389: I/OCVSample::Activity(27418): OpenCV loaded successfully
11-20 16:44:15.389: D/AndroidRuntime(27418): Shutting down VM
11-20 16:44:15.389: W/dalvikvm(27418): threadid=1: thread exiting with uncaught exception (group=0x415dc700)
11-20 16:44:15.399: E/AndroidRuntime(27418): FATAL EXCEPTION: main
11-20 16:44:15.399: E/AndroidRuntime(27418): java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.opencv.samples.facedetect-1, /vendor/lib, /system/lib]]]: findLibrary returned null
11-20 16:44:15.399: E/AndroidRuntime(27418):    at java.lang.Runtime.loadLibrary(Runtime.java:355)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at java.lang.System.loadLibrary(System.java:525)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at org.opencv.samples.facedetect.FdActivity$1.onManagerConnected(FdActivity.java:66)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at org.opencv.android.AsyncServiceHelper$1.onServiceConnected(AsyncServiceHelper.java:318)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1106)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1123)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at android.os.Handler.handleCallback(Handler.java:730)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at android.os.Handler.dispatchMessage(Handler.java:92)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at   android.os.Looper.loop(Looper.java:137)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at android.app.ActivityThread.main(ActivityThread.java:5103)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at java.lang.reflect.Method.invokeNative(Native Method)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at java.lang.reflect.Method.invoke(Method.java:525)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
11-20 16:44:15.399: E/AndroidRuntime(27418):    at dalvik.system.NativeStart.main(Native Method)