can I run opencv without gstreamer?

Yocto related software discussions are here

can I run opencv without gstreamer?

Postby edsut » Wed Oct 15, 2014 1:17 pm

I'm trying to build up a system that uses wandcam and openCV, but does not require gstreamer.
I followed the steps here: ... -imx6.html
but replaced "imx6qsabresd" with "wandboard-dual" in conf/local.conf.

I get all that built (making minor adjustments) and installed but when I run the camera_test program on my
wandboard-dual, I get a message:

HIGHGUI ERROR: libv4l unable to ioctl S_FMT
HIGHGUI ERROR: libv4l unable to ioctl VIDIOCSPICT

This error comes as a result of the camera test program calling cvCaptureFromCAM (CV_CAP_ANY).
I get the same error on the console port (serial) and on my HDMI console which is running "Terminal".
I expected it not to work on the serial console port, but didn't expect to get the same error on
the HDMI terminal. Doesn't HighGUI need a windowing environment to run?

I've seen other wandcam topics for wandboard that imply that opencv only works with gstreamer.
Is that still true or should opencv work without it as well?

Note: for what I am doing right now, I can use wandcam or a USB camera. I've tried both
and get the same result.
One thing I am suspicious of... this yocto build simply puts up a "Terminal" window on the HDMI output.
Does HighGUI need more than that to run? (while waiting for a response to this, I'm gonna try adding Qt
to see if that makes a difference).
Posts: 31
Joined: Thu Sep 11, 2014 5:12 pm

Return to Software - Yocto

Who is online

Users browsing this forum: No registered users and 1 guest