cv_camera icon indicating copy to clipboard operation
cv_camera copied to clipboard

Image is wrongly formed error.

Open Jhall118 opened this issue 5 years ago • 0 comments

When trying to use anything other than a RGB image, I am getting Image is wrongly formed: step<width * byte_depth * num_channels or 1920!=192013. Does anyone have any advice on how to deal with this error? I thought num_channels should be automatically set based on output format?

Is this not compatible with GRAY8/MONO8 messages? I am launching with gstreamer using the following:

"nvarguscamerasrc sensor-id=2 ! video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1 ! nvvidconv ! video/x-raw(memory:NVMM), format=(string)GRAY8 ! nvvidconv ! video/x-raw(ANY), ! appsink"

I know my launch code is good because I can see the message being published, but when I use CV_Camera to pass to aruco it fails.

Jhall118 avatar Jan 02 '21 07:01 Jhall118