BeagleBoard-xM 上的 OpenCV

发布于 2024-10-16 05:26:13 字数 217 浏览 7 评论 0原文

我正在 BeagleBoard-xM 上工作,其中使用用于 OpenCV 应用程序的在线 Narcissus 图像生成器(开放嵌入式)构建的 Angstrom 图像。我将 OpenCV 包含在根文件系统中,但是当我尝试编译一个简单的 OpenCV 程序时,出现错误:library highgui, cxcore not found

有人可以帮助我吗?

谢谢。

I am working on BeagleBoard-xM with an Angstrom image built with the online Narcissus image builder (open embedded) for an OpenCV application. I included OpenCV in the root file system, but when I try to compile a simple OpenCV program, I get an error saying library highgui, cxcore not found.

Can anybody help me?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

浅沫记忆 2024-10-23 05:26:13

哪个 OpenCV 2.2 版本将这些库拆分为单独的模块。

http://opencv.willowgarage.com/wiki/OpenCV%20Change%20Logs

Which version of OpenCV with 2.2 they split those libs into individual modules.

http://opencv.willowgarage.com/wiki/OpenCV%20Change%20Logs

神仙妹妹 2024-10-23 05:26:13

http://movidius.tumblr.com/

BEAGLEBOARD XM 上的 OPENCV

在 xM 上运行的标准 BeagleBoard android 版本是非常简单,需要付出很多努力才能启动并运行 OpenCV。

因此我选择 Ubuntu 10.10 作为替代方案。

安装和安装直接在xM上编译所需的cmake和gcc等所需功能要简单得多。

一件事是选择一个可以在 Ubuntu 下使用 Cheese 的网络摄像头。最终我找到了一个 20 欧元的 Logitech C200 网络摄像头,它确实可以。

您需要实施此修复才能让 OpenCV 在 Ubuntu 下为 ARM 目标构建
http://tech.groups.yahoo.com/group/OpenCV/message/77273

表示注释掉sift.cpp中的第51行
//#define ARM_NO_SIFT

遵循此 OpenCV 将在 Ubuntu 下为 BeagleBoard xM 构建良好的版本。

在许多情况下,ARM 在跟上来自网络摄像头的 JPEG 流时似乎存在问题,因此您需要使用 -DWITH_JPEG=OFF 选项运行 cmake。

这样做的另一个好处是可以稍微提高帧速率,因为您不需要在 ARM 上解码 JPEG。

要安装,您需要授予自己 root 权限

sudo passwd root

然后您可以安装 OpenCV,然后就可以开始了!

http://movidius.tumblr.com/

OPENCV ON BEAGLEBOARD XM

The standard BeagleBoard android build runs on the xM is very spartan and it would require a lot of effort to get OpenCV up and running.

I therefore chose Ubuntu 10.10 as an alternative.

It is much more straightforward to install and install the required features such as cmake and gcc required to compile directly on the xM.

One thing is to choose a webcam which will work with cheese under Ubuntu. Eventually I found a €20 Logitech C200 webcam which does.

You need to implement this fix to get OpenCV to build for the ARM target under Ubuntu
http://tech.groups.yahoo.com/group/OpenCV/message/77273

It means commenting the line 51 in sift.cpp
//#define ARM_NO_SIFT

Following this OpenCV will build fine under Ubuntu for the BeagleBoard xM.

In many cases there appear to be problems for the ARM to keep up with the JPEG stream from webcams so you'll need to run cmake with the -DWITH_JPEG=OFF option.

This has the added benefit of upping the frame-rate slightly as you don't need to decode JPEG on the ARM.

To install you will need to give yourself root privileges

sudo passwd root

You can then make install OpenCV and you’re ready to go!

梦与时光遇 2024-10-23 05:26:13

你有文件/usr/lib/libhighgui.so.2.1、/usr/lib/libcxcore.so.2.1吗?如果没有,请尝试

opkg install libhighgui2.1
opkg install libcxcore2.1

或者,尝试在 http://www.angstrom-distribution.org/ 中搜索库回购协议/

Do you have the files /usr/lib/libhighgui.so.2.1, /usr/lib/libcxcore.so.2.1? If not, try

opkg install libhighgui2.1
opkg install libcxcore2.1

Alternatively, try searching for the libs at http://www.angstrom-distribution.org/repo/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文