You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the YUYV format output camera and usb_cam package as a driver. usb_cam uses image_transport::CameraPublisher to publish the image. Published raw_image encoding was "encoding: yuv422_yuy2" and raw_image/compressed format was "format: yuv422_yuy2; jpeg compressed mono8".
raw_image could be shown in RViz2. But raw_image/compressed couldn't shown in RViz2, and we got some errors in some image conversion processes (e.g. compressing with ffmpeg). It seems that the compression process for yuv image has a problem.
Then, the following modification worked in my environment. How about this?
cv_bridge supports to convert yuv422_yuy2 and yuv422 format image to cv Mat. For compressed_subscriber.cpp, I couldn't find the suitable conversion pattern and I thought probably most application don't use yuv format in its processing.
I'm using the YUYV format output camera and usb_cam package as a driver. usb_cam uses image_transport::CameraPublisher to publish the image. Published raw_image encoding was "encoding: yuv422_yuy2" and raw_image/compressed format was "format: yuv422_yuy2; jpeg compressed mono8".
raw_image could be shown in RViz2. But raw_image/compressed couldn't shown in RViz2, and we got some errors in some image conversion processes (e.g. compressing with ffmpeg). It seems that the compression process for yuv image has a problem.
Then, the following modification worked in my environment. How about this?
cv_bridge supports to convert yuv422_yuy2 and yuv422 format image to cv Mat. For compressed_subscriber.cpp, I couldn't find the suitable conversion pattern and I thought probably most application don't use yuv format in its processing.
The text was updated successfully, but these errors were encountered: