English 中文(简体)
连接 Opencv 到我自己的机器人项目
原标题:Linking Opencv to my own android project

我想研究一个Android项目(在Eclipse之下), 我用Opencv, 导入了 Opencv 库,

http://opencv.itseez.com/doc/tutors/introduction/android_binary_package/android_binary_package.html

我测试了样本,结果效果很好。但是当我在日光圈创建了我自己的新的Android项目时,它可以连接Opencv, 它与项目位于同一个工作空间( 即写import org. Opencv.core.\\\\/ code> 时出错 ) 。

要将新工程与 Opencv (src lib ) 连接起来,是否需要做点什么?

问题回答

我建议您下载 OpenCV 预建软件包, 并跟随这些 structions

我不知道您是否打算使用 C++ 来打开 CV 和与 NDK 和 JNI 库交叉兼容, 但这样很容易设置一切。 如果您需要更多的帮助, 包括 C++ 的 OpenCV 代码和机器人项目, 我可以检查我的代码。 祝你好运 。

似乎你还没有将开放 CV 图书馆纳入新项目。

我记不起将图书馆纳入项目的确切步骤, 但下面是一连串有帮助的连结。

http://wiki.eclipse.org/FA_How_do_I_add_an_extra_library_to_my_project>s_claspathr%3F >

Eclipse的进口图书馆?





相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.