相关疑难解决方法(0)

在Android 5.0(棒棒糖)上使用OpenCV for Android的问题

首先,没有一个OpenCV示例适用于Nexus 6 Android 5.0.在OpenCV管理器安装提示之后,我得到一个显示"找不到项目,重试"的屏幕.我后来设置了android studio并导入了opencv模块并编写了一个初始化OpenCV的基本程序.该应用程序崩溃抛出了这篇文章中提到的错误:OpenCV Service Intent必须是显式的,Android 5.0 Lolipop.按照建议后,我得到了下载OpenCV管理器的提示并成功安装了OpenCV管理器.但是当我返回应用程序时,我发现它无法获得库路径.logcat反复显示这些消息 -

 W/ContextImpl? Implicit intents with startService are not safe: Intent { act=org.opencv.engine.BIND } android.content.ContextWrapper.bindService:538 org.opencv.android.AsyncServiceHelper.initOpenCV:24 org.opencv.android.OpenCVLoader.initAsync:44
 D/OpenCVManager/Helper? Service connection created
 D/OpenCVManager/Helper? Trying to get library path
 W/ContextImpl? Implicit intents with startService are not safe: Intent { act=org.opencv.engine.BIND } android.content.ContextWrapper.bindService:538 org.opencv.android.AsyncServiceHelper.initOpenCV:24 org.opencv.android.OpenCVLoader.initAsync:44
 D/OpenCVManager/Helper? Service connection created
 D/OpenCVManager/Helper? Trying to get library path
Run Code Online (Sandbox Code Playgroud)

我如何克服这个问题并开始在Lollipop上使用OpenCV for Android?

android opencv android-5.0-lollipop

3
推荐指数
1
解决办法
3104
查看次数

标签 统计

android ×1

android-5.0-lollipop ×1

opencv ×1