设置使用Android的OpenCV的 [英] Setting Up Android with OpenCV

查看:145
本文介绍了设置使用Android的OpenCV的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
   OpenCV的Andr​​oid上使用Eclipse

什么是一个很好的网站,介绍如何配置了Android SDK构建Android应用程序与OpenCV的?

What is a good site that explains how to configure the Android SDK to build Android apps with OpenCV?

推荐答案

我设置了​​OpenCV的Andr​​oid应用程序昨天。

I set up an Android app with OpenCV yesterday.

有两种方式去了解它。

  1. 使用OpenCV的Andr​​oid版
  2. 使用JavaCV

OpenCV的Andr​​oid版更全面超越JavaCV支持。按照谷歌的说明来安装Eclipse的Andr​​oid SDK和 NDK (不要忘了NDK!它需要运行C ++ code,你的应用程序将神秘崩溃没有它)。然后,按照这个<一href="http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html">tutorial要安装OpenCV。试用示例应用程序。

OpenCV for Android is more fully supported than JavaCV. Follow Google's instructions to install Eclipse, the Android SDK and NDK (don't forget the NDK! It is needed to run C++ code. Your apps will mysteriously crash without it). Afterwards, follow this tutorial to install openCV. Try out the sample applications.

另外,你可以尝试使用JavaCV而不是OpenCV的Andr​​oid版。这意味着你将不再需要安装了Android NDK。这也意味着你不需要写任何的C ++。我没有尝试这个。但我怀疑它更容易。不足之处是:它不支持所有的OpenCV确实

Alternatively, you can try using JavaCV instead of OpenCV for Android. This means you won't need to setup the Android NDK. It also means you won't need to write any C++. I didn't try this. But I suspect it is easier. The downside is: it doesn't support everything OpenCV does.

这篇关于设置使用Android的OpenCV的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆