Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV error: Cannot load info library for OpenCV

Tags:

android

opencv

I am using opencv for android. I tried to init opencv with static initialization. I followed the doucument from here

Now i got a problem.

01-01 20:01:46.156: D/OpenCV/StaticHelper(14057): Trying to get library list
01-01 20:01:46.156: D/OpenCV/StaticHelper(14057): loadLibrary opencvinfo
01-01 20:01:46.156: D/OpenCV/StaticHelper(14057): /vendor/lib:/system/lib
01-01 20:01:46.156: E/OpenCV/StaticHelper(14057): OpenCV error: Cannot load info library for OpenCV
01-01 20:01:46.156: D/OpenCV/StaticHelper(14057): Library list: ""
01-01 20:01:46.156: D/OpenCV/StaticHelper(14057): First attempt to load libs
01-01 20:01:46.157: D/OpenCV/StaticHelper(14057): Trying to init OpenCV libs
01-01 20:01:46.157: D/OpenCV/StaticHelper(14057): Trying to load library opencv_java
01-01 20:01:46.177: D/OpenCV/StaticHelper(14057): OpenCV libs init was ok!
01-01 20:01:46.177: D/OpenCV/StaticHelper(14057): First attempt to load libs is OK
like image 206
jack Avatar asked Oct 24 '12 03:10

jack


1 Answers

The same problem occurs when the phone does not supporting OpenCV version 2.x. If this is the case, The emulator would be working fine.

Switch to OpenCV version 3.x, where it works fine.

like image 65
Ng Sek Long Avatar answered Oct 24 '22 18:10

Ng Sek Long