Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
The Samsung Galaxy Y S5360 seems to come with an ARMv6 processor, which isn't 
compatible with ARMv7. You'll need to recompile the binaries for ARMv6 (or 
ARMv5) as instructed in the README.txt file of the "cppjars" package.

Please post your questions on the mailing next time if possible, thank you!

Original comment by [email protected] on 5 Jul 2013 at 3:56

  • Changed state: Done
  • Added labels: Type-Other
  • Removed labels: Type-Defect

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Thanks for your quick and valid reply.
I read the README.txt file of the "cppjars" package but i could not recompile 
the binaries for ARMv6. I also reffered the thread 
https://code.google.com/p/javacv/issues/detail?id=60 (issue no. 60)
and downloaded the "OpenCV-2.2.0-android-armv5.zip" file as you provided the 
link to download precompiled OpenCV 2.2 for ARMv5. I replaced all the .so files 
of opencv-2.4.5-android-arm with the new one, you provided for ARMv5.

But when i execute the facepreview sample with these changes at my Samsung 
Galaxy Y(with armv6), it crashes and i got the following logs this time.

07-08 15:27:10.632: D/dalvikvm(32368): GC_CONCURRENT freed 324K, 48% free 
2941K/5639K, external 408K/517K, paused 4ms+24ms
07-08 15:27:10.984: D/dalvikvm(32368): Trying to load lib 
/data/data/com.appzcloud.javacvtest/lib/libopencv_core.so 0x40518e38
07-08 15:27:11.140: D/dalvikvm(32368): Added shared lib 
/data/data/com.appzcloud.javacvtest/lib/libopencv_core.so 0x40518e38
07-08 15:27:11.140: D/dalvikvm(32368): No JNI_OnLoad found in 
/data/data/com.appzcloud.javacvtest/lib/libopencv_core.so 0x40518e38, skipping 
init
07-08 15:27:11.148: D/dalvikvm(32368): Trying to load lib 
/data/data/com.appzcloud.javacvtest/lib/libjniopencv_core.so 0x40518e38
07-08 15:27:11.187: W/dalvikvm(32368): Exception 
Ljava/lang/UnsatisfiedLinkError; thrown while initializing 
Lcom/googlecode/javacv/cpp/opencv_core;
07-08 15:27:11.187: W/dalvikvm(32368): Exception 
Ljava/lang/ExceptionInInitializerError; thrown while initializing 
Lcom/googlecode/javacv/cpp/opencv_imgproc;
07-08 15:27:11.187: W/dalvikvm(32368): Exception 
Ljava/lang/ExceptionInInitializerError; thrown while initializing 
Lcom/googlecode/javacv/cpp/opencv_objdetect;
07-08 15:27:11.234: D/AndroidRuntime(32368): Shutting down VM
07-08 15:27:11.234: W/dalvikvm(32368): threadid=1: thread exiting with uncaught 
exception (group=0x40018578)
07-08 15:27:11.328: E/AndroidRuntime(32368): FATAL EXCEPTION: main
07-08 15:27:11.328: E/AndroidRuntime(32368): 
java.lang.ExceptionInInitializerError
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Class.classForName(Native Method)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Class.forName(Class.java:234)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.load(Loader.java:453)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.appzcloud.javacvtest.FaceView.<init>(FaceView.java:51)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.appzcloud.javacvtest.FacePreview.onCreate(FacePreview.java:32)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.app.ActivityThread.access$1500(ActivityThread.java:117)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.os.Handler.dispatchMessage(Handler.java:99)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.os.Looper.loop(Looper.java:130)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
android.app.ActivityThread.main(ActivityThread.java:3687)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.reflect.Method.invokeNative(Native Method)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.reflect.Method.invoke(Method.java:507)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
dalvik.system.NativeStart.main(Native Method)
07-08 15:27:11.328: E/AndroidRuntime(32368): Caused by: 
java.lang.ExceptionInInitializerError
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Class.classForName(Native Method)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Class.forName(Class.java:234)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.load(Loader.java:453)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacv.cpp.opencv_objdetect.<clinit>(opencv_objdetect.java:97)
07-08 15:27:11.328: E/AndroidRuntime(32368):    ... 18 more
07-08 15:27:11.328: E/AndroidRuntime(32368): Caused by: 
java.lang.ExceptionInInitializerError
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Class.classForName(Native Method)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Class.forName(Class.java:234)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.load(Loader.java:453)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacv.cpp.opencv_imgproc.<clinit>(opencv_imgproc.java:97)
07-08 15:27:11.328: E/AndroidRuntime(32368):    ... 22 more
07-08 15:27:11.328: E/AndroidRuntime(32368): Caused by: 
java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1312]:  1311 
cannot locate '_ZN2cv13AlgorithmInfoD1Ev'...
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Runtime.loadLibrary(Runtime.java:434)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.System.loadLibrary(System.java:554)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.load(Loader.java:489)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.load(Loader.java:431)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacv.cpp.opencv_core.<clinit>(opencv_core.java:136)
07-08 15:27:11.328: E/AndroidRuntime(32368):    ... 26 more
07-08 15:27:11.328: E/AndroidRuntime(32368): Caused by: 
java.lang.UnsatisfiedLinkError: Couldn't load tbb: findLibrary returned null
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.Runtime.loadLibrary(Runtime.java:429)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
java.lang.System.loadLibrary(System.java:554)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593)
07-08 15:27:11.328: E/AndroidRuntime(32368):    at 
com.googlecode.javacpp.Loader.load(Loader.java:481)
07-08 15:27:11.328: E/AndroidRuntime(32368):    ... 28 more
07-08 15:27:11.734: D/dalvikvm(32368): GC_CONCURRENT freed 447K, 50% free 
3005K/5895K, external 408K/517K, paused 3ms+10ms

Can you provide me precompiled binaries for armv6.

Original comment by [email protected] on 8 Jul 2013 at 10:12

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
There's two problems here:
1. Android does not support ARMv6, only ARMv5 or ARMv7.
2. Although ARMv5 is compatible with both ARMv6 and ARMv7, since it doesn't 
have an FPU, the performance is something like 100 times worse.

Is it OK for your application to be 100 times slower?

Original comment by [email protected] on 8 Jul 2013 at 11:07

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Thanks for your quick reply 
i agree with your point but still i want to execute it at my Samsung galaxy Y 
just for curiousity, want to see it working at this device.
So, i need appropriate precompiled binaries for this device.

Original comment by [email protected] on 8 Jul 2013 at 11:40

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hi Samuel.
As i am using javac. Great work done by you. I am facing one problem. i want to 
rotate an IplImage at 90 degree angle. cvFlip(IplImage, IplImage,int param) is 
also there to flip the image but it is not rotating my IplImage at 90 degree 
angle. Please help me out.
Thanks

Original comment by [email protected] on 11 Jul 2013 at 10:33

from javacv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.