OpenCV的Andr​​oid上使用EclipseAndr、OpenCV、Eclipse、oid

2023-09-13 00:03:19 作者:empty

我有一个时间OpenCV的导入到我的Andr​​oid项目地狱。我已经尝试过这个教程:

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/introduction/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://$c$c.ros.org/svn / OpenCV的/主干/ 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机器人在这里:

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

Android的开发与OpenCV的

OpenCV4Android参考