JavaCV程序启动时出错即 no opencv_java*** in java.library.path
opencv
OpenCV: 开源计算机视觉库
项目地址:https://gitcode.com/gh_mirrors/opencv31/opencv
免费下载资源
·
这里以opencv4.8.1为例:
Windows平台
将opencv(安装目录)\build\java\x64下的opencv_java481.dll复制到java的JDK的bin目录下。
详细配置参考:idea中配置opencv库-CSDN博客
Linux平台
假定已经成功安装opencv4.8.1
先查找opencv的运行库位置
sudo find / -name libopencv_java481.so
/home/ubuntu/opencv_build/opencv/build/lib/libopencv_java481.so-------这个是源码构建的
/usr/local/share/java/opencv4/libopencv_java481.so---------这个是安装之后的
将libopencv_java481.so(二选一)文件复制一份到jdk的lib目录下。(Linux的运行库在lib下,Windows的在bin下)
GitHub 加速计划 / opencv31 / opencv
156
15
下载
OpenCV: 开源计算机视觉库
最近提交(Master分支:4 个月前 )
4d26e16a
Speed up and reduce memory consumption for findContours 2 天前
1db98278
Add jxl (JPEG XL) codec support #26379
### Pull Request Readiness Checklist
Related CI and Docker changes:
- https://github.com/opencv/ci-gha-workflow/pull/190
- https://github.com/opencv-infrastructure/opencv-gha-dockerfile/pull/44
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work https://github.com/opencv/opencv/issues/20178
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2 天前
更多推荐
已为社区贡献2条内容
所有评论(0)