OpenCV on BeagleBoard-xM

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

Can someone help me?

Thanks.

+4
source share
3 answers

In which version of OpenCV since 2.2 they split these libraries into separate modules.

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

+1
source

http://movidius.tumblr.com/

OPENCV ON BEAGLEBOARD XM

The standard build of android build BeagleBoard on xM is very spartan, and it will take a lot of effort to get it started and run.

So I chose Ubuntu 10.10 as an alternative.

It is much easier to install and install the necessary functions, such as cmake and gcc, required to compile directly on xM.

It's one thing to choose a webcam that will work with cheese under Ubuntu. In the end I found a Logitech C200 € 20 webcam that does.

You need to implement this fix in order to get OpenCV to create an ARM target under Ubuntu http://tech.groups.yahoo.com/group/OpenCV/message/77273

This means commenting out line 51 in sift.cpp // # define ARM_NO_SIFT

Following this OpenCV, it will perfectly adapt to Ubuntu for BeagleBoard xM.

In many cases, there are problems with ARM keeping up with the JPEG stream from webcams, so you need to run cmake with the -DWITH_JPEG = OFF option.

This gives an additional advantage in increasing the frame rate, since you do not need to decode JPEG on ARM.

You need root privileges to install.

sudo passwd root

Then you can install OpenCV and you are ready to go!

+1
source

Do you have 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 libs at http://www.angstrom-distribution.org/repo/

0
source

Source: https://habr.com/ru/post/1338605/


All Articles