如何运行OpenCV的相关应用程序,而无需使用OpenCV的经理机器人 [英] how to run openCV related app , without using OpenCV manager in android
问题描述
在我的Android应用程序中,我使用OpenCV库的静载荷 即
In my android application, i use static loading of OpenCV library i.e
OpenCVLoader.initDebug()
在模拟器上运行时
这将返回true,但是返回false 上运行时(移动)设备。
it will return true when run on emulator, but return false when run on (mobile) device.
如果我使用
OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_3, this, mLoaderCallback)
如果OpenCV的经理.apk文件alredy安装,那么上面的code做工精细的仿真器和设备。 在这里我要运行的OpenCV realted应用程序,与出intall OpenCV的manager.apk。
if OpenCV manager .apk alredy installed,then above code work fine in emulator and device. here i want run openCV realted app, with out intall OpenCV manager.apk.
请帮助我。在此先感谢。
please help me. thanks in advance.
推荐答案
确定你在说是静态初始化
OpenCV的库。
Ok what you are talking is Static initialization
of the OpenCV library.
请参阅此<一个href="http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html#application-development-with-static-initialization"相对=nofollow>官方opencv的就此事帮助。
也看看这些<一href="http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.html#application-development-with-static-initialization"相对=nofollow>计算器话题,并尝试编译code。
Also have a look at these StackOverflow topic and try compiling your code.
干杯。
这篇关于如何运行OpenCV的相关应用程序,而无需使用OpenCV的经理机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!