jack
jack

Reputation: 93

OpenCV error: Cannot load info library for 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

Upvotes: 7

Views: 12507

Answers (2)

Ng Sek Long
Ng Sek Long

Reputation: 4786

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.

Upvotes: 1

Qichao Chen
Qichao Chen

Reputation: 166

logcat "01-01 20:01:46.177: D/OpenCV/StaticHelper(14057): OpenCV libs init was ok!" it mean you opencv libs has success load ,and what's your problem?

Upvotes: 0

Related Questions