OpenCV错误:无法加载OpenCV的信息库

时间:2012-10-24 03:51:34

标签: android opencv

我正在使用opencv for android。我尝试使用静态初始化初始化opencv。我跟着来自here

的doucument

现在我遇到了问题。

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

2 个答案:

答案 0 :(得分:1)

当手机不支持OpenCV 2.x版时,会出现同样的问题。如果是这种情况,模拟器将正常工作。

切换到OpenCV版本3.x,它可以正常工作。

答案 1 :(得分:0)

logcat "01-01 20:01:46.177: D/OpenCV/StaticHelper(14057): OpenCV libs init was ok!"这意味着opencv libs有成功加载,你的问题是什么?