gpt4 book ai didi

android - OpenCV 错误 : Cannot load info library for OpenCV

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:17:27 24 4
gpt4 key购买 nike

我正在使用 opencv for android。我试图用静态初始化来初始化 opencv。我关注了 here 的文档

现在我遇到了一个问题。

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

最佳答案

同样的问题出现在手机不支持OpenCV version 2.x的时候。如果是这种情况,模拟器就可以正常工作。

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

关于android - OpenCV 错误 : Cannot load info library for OpenCV,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13042767/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com