OpenCV on Android Using Eclipse(使用 Eclipse 在 Android 上的 OpenCV)
问题描述
我在将 OpenCV 导入我的 Android 项目时遇到了麻烦.我已经尝试过这个教程:
I'm having a hell of a time importing OpenCV into my Android project. I've already tried this tutorial:
http://opencv.itseez.com/doc/tutorials/介绍/android_binary_package/android_binary_package.html
它不起作用,因为 Eclipse 无法识别目录中的现有项目.所以经过大量搜索,我发现了这个树干:
and it did not work because Eclipse would not recognize the existing projects in the directory. So after much searching I came across this trunk:
https://code.ros.org/svn/opencv/trunk/opencv/
并且能够将它导入到我在 Eclipse 中的工作区中.Eclipse 现在可以识别示例项目,但现在的问题是没有 OpenCV 库文件.因此,所有导入不同类的调用都会导致错误.某处不应该有一个opencv.jar吗?我看过各种帖子提到必须建立图书馆,但不幸的是我没有丝毫线索如何做到这一点.我需要一些有分步说明的东西.我正在运行 Windows 7 64 位.
and was able to import it into my workspace in Eclipse. Eclipse now recognizes the sample projects, but now the problem is that there are no OpenCV library files. So all the calls to import different classes result in errors. Shouldn't there be a opencv.jar somewhere? I've seen various posts that mention having to build the library but unfortunately I don't have the slightest clue how to do that. I need something with step by step instructions. I'm running Windows 7 64-bit.
谢谢!
推荐答案
你应该在这里下载最新的 OpenCV 4 Android:
You should download the latest OpenCV 4 Android here:
http://opencv.org/downloads.html
并阅读这些教程以帮助您入门(大致按此顺序):
And read these tutorials to get you started (in this order roughly):
Android 开发简介
OpenCV4Android SDK
使用 OpenCV 进行 Android 开发
OpenCV4Android 参考
这篇关于使用 Eclipse 在 Android 上的 OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 Eclipse 在 Android 上的 OpenCV
基础教程推荐
- 将 Windows 证书导入 Java 2022-01-01
- 如何在相机中应用自定义滤镜 [Surfaceview 预览]. 2022-01-01
- 控制台应用程序中的 Java 键盘输入解析 2022-01-01
- 在java中使用xpath和selenium解析HTML表格数据 2022-01-01
- Maven:无效的目标版本:10 2022-01-01
- JPA惰性列表上的流 2022-01-01
- 将 double 转换为 Int,向下舍入 2022-01-01
- 在springboot中如何给mybatis加拦截器 2023-04-29
- Java ECDSAwithSHA256 签名长度不一致 2022-01-01
- doFilter()是在servlet的工作完成之前还是之后执行的? 2022-01-01
