在Android手机上的OpenCV教程 [英] Tutorials on OpenCV on Android phones
问题描述
我想AP preciate如果有人能告诉我在哪里可以得到很好的教程或单证开发的OpenCV 2.4.3 Android系统。我已经通过一个上OpenCV的站点和它的更多配置的走了,起步,但并不是真正的code解释。我想为Android codeS,功能以及这些功能做解释了OpenCV的。是用JAVA写的简历或使用Java Native Interface本地C ++ codeS包括在Android OpenCV的?
I would appreciate if anyone could show me where I can get good tutorials or documentations for developing OpenCV 2.4.3 for Android. I already gone through the one on the OpenCv site and its more of configuration and getting started but not the real code explained. I want the opencv for android codes, functions and what these functions do explained. Is opencv on Android written with Java cv or the native C++ codes included using Java Native Interface?
如果其在Java的简历,然后我在哪里可以得到能够让我开始一个很好的教程。
如果它的C ++ codeS,包括JNI,我怎么接口这些本地codeS用原生Android的Java code?的
If its the the Java cv then where can i get a good tutorials that can get me started. If its the C++ codes, included with JNI, how do i interface these Native codes with the original Android java code?
我真的AP preciate如果有人可以告诉我的一些很好的教程或文档?如果不是我想你的解释吗?
最好的问候。
I would really appreciate If some one can show me some good tutorials or documentation if available? And if not i would like your explanation please? Best regards.
编辑:
感谢Torcelite给你答复。你能解释一下我如何去港口code到Java(想了解更多详细一点)?是否有一个很好的教程,解释我是如何做到这一点。我的意思是,当我端口code让我的原始OpenCV的code,我已经为桌面应用程序所做的,如果有什么样的变化。还是我刚才端口C ++ code,因为它是Visual Studio的公开简历到Android的Eclipse中对Android开放CV工作。
Thanks Torcelite for you response. Could you explain more about how I am going to port the code to java (Like a bit more detail)? Is there a good tutorial that explains about how i do this. I mean when i port the code what kind of changes do i make on the original openCV code that i have made for desktop application if there is. Or do i just port the C++ code as it is on Visual Studio's open CV into the Android eclipse to work on Open cv for Android.
例如在我的人脸检测code我已经使用了Haar分类与目标检测其内置的功能。
For example on my face detection code i have used the haar classifier with its built-in function for object detection.
function--->[cvHaarDetectObjects( , , , , , , )
//just deleted the parameters for simplicity]
所以,当我想要做Android上同样的事情,做我会当我使用此功能,或者把它当作是做出改变?我应该什么样的工作时,我不得不端口或采用这些和其他功能在Android上,使他们的工作要做。不仅如此功能,但所有的功能在OpenCV中。
So when i want to do the same thing on android, do i will make changes when i use this function or take it as it is? What kind of job am i supposed to do when i have to port or adopt these and other function on Android to make them work. Not only this function but all the functions in OpenCV.
推荐答案
如果你不满意的文档,所有关于OpenCV的书,我知道(有没有那么多在那里),你可以在其中找到以下2连结。
If you are not satisfied with the documentation, all the books about opencv that I know of (there aren't that many out there) you can find them in the following 2 links.
有一个特定的关于Android - Android应用程序与OpenCV的编程。这将可能是除了官方文档的最佳来源。
There is a specific one about Android - "Android Application Programming with OpenCV". It will probably be the best source besides the official documentation.
http://www.packtpub.com/search?keys=opencv
OpenCV的为Android(以及最近对桌面Java)无关与JavaCV,第一个是一个正式的端口基本上是在C ++函数JNI包装。 JavaCV是早期的port到Java塞缪尔Audet,独立研究人员(如在没有正式属于OpenCV的团队)。
OpenCV for Android (and more recently for desktop Java) has nothing to do with JavaCV, the first is an official port which is basically JNI wrappers on C++ functions. JavaCV is an earlier port to Java by Samuel Audet, an independent researcher (as in not officially belonging to the OpenCV team).
这篇关于在Android手机上的OpenCV教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!