Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image is wrongly formed error. #30

Open
Jhall118 opened this issue Jan 2, 2021 · 0 comments
Open

Image is wrongly formed error. #30

Jhall118 opened this issue Jan 2, 2021 · 0 comments

Comments

@Jhall118
Copy link

Jhall118 commented Jan 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant