找不到OpenCV库包 [英] OpenCV library package not found

查看:400
本文介绍了找不到OpenCV库包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试运行OpenCV提供的适用于Android的"OCV 15 Puzzle"示例应用程序,但无法正常工作;每次我尝试运行该应用程序时,都会出现一条消息,提示: 找不到软件包,找不到OpenCV库软件包!尝试安装它?是/否". 我按是",然后提示我输入新消息:"OpenCV管理器,程序包安装失败!".

I've been trying to run the "OCV 15 Puzzle" sample app for Android provided by OpenCV, but it's not working; every time I try to run the app a message appears saying: "Package Not Found, OpenCV library package was not found! Try to install it? Yes/No". I press, "Yes" and then I get prompted to a new message saying: "OpenCV Manager, Package Installation Failed!".

我从Google Play安装了OpenCV管理器,因此从理论上讲,我应该能够运行示例应用程序.我也一直在到处寻找解决方案,到目前为止,我已经取得了0项成功.我正在使用Samsung Galaxy mini S3运行该应用程序. (Android版本4.1.2).

I installed OpenCV manager from Google Play, so in theory I should be able to run the sample app. I've also been searching everywhere for a solution and so far I have had 0 success. I am using a Samsung Galaxy mini S3 to run the app. (Android Ver. 4.1.2).

任何人的帮助都倍受赞赏!

Any help is greatly appreciated folks!

推荐答案

Google Play上提供的OpenCV管理器适用于OpenCV的2.4分支. 由于您使用的是3.0 SDK,因此会出现此错误.

The OpenCV Manager available on Google Play is for the 2.4 branch of OpenCV. Since you were using the 3.0 sdk this error is expected.

3.x分支的OpenCV管理器在Google Play上不可用,相反,您必须手动上载与要定位的硬件平台相对应的apk文件. OpenCV_3.0.0_Manager_3.00 _ *.apk文件位于sdk下载的apk目录中.

The OpenCV Manager for the 3.x branch is not available on Google Play, instead you have to manually upload the apk file corresponding to the hardware platform you are targeting. The OpenCV_3.0.0_Manager_3.00_*.apk files are located in the apk directory of the sdk download.

一旦安装了正确的OpenCV管理器,它便会正常工作.

Once you install the correct OpenCV Manager it should work.

亚历克斯

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

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