Skip to content

Image is wrongly formed error.  #30

Description

@Jhall118

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions