PNG issue using Debian Linux on ARM (Beaglebone Black)

asked 2015-03-04 06:48:59 -0500

Hallo together,

I am having following issue working with OpenCV using an BegleboneBlack with Debian Linux installed:

I'm getting an empty Mat (cols = 0, rows = 0, channels() = 1) when I'm reading a png-image with imread() function. The identical code running on Ubuntu 12.04 LTS on x86 PC works perfect (cols = 320, rows = 240, channels() = 4).

The images are the same, of course, and get displayed with an imageviewer (eog) on beaglebone without problems.

I have checked OpenCV version (2.3.1-11 on beaglebone vs. 2.3.1-7 on Ubuntu) and libpng version ( 1.2.49-1 vs. 1.2.46-2ubuntu4).

Is it possible that the newer versions on the Beaglebone are causing this kind of problems? Or can there be other problems that lead to this error?

edit retag flag offensive close merge delete