Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 348

sensor_msgs/Image data to sensor_msgs/CompressedImage data

$
0
0
I have an industrial camera (DVP interface), and I added some code in the driver to convert the cv image into ros image data. I want to use this camera to test the [fiducials package](http://wiki.ros.org/fiducials). But it needs to subscribe to a `sensor_msgs/CompressedImage` topic, and now the driver can only provide the `sensor_msgs/Image` topic. Is there any way to convert the `sensor_msgs/Image` data into `sensor_msgs/CompressedImage` data?

Viewing all articles
Browse latest Browse all 348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>