Using image_proc/crop_decimate without camera_info

asked 2016-02-19 08:28:06 -0600

tompe17 gravatar image

updated 2016-02-19 10:16:50 -0600

I have a compressed image from an Axis device that I want to use crop_decimate on. But I cannot get it to work. Without camera_info I do now get any output. With a dummy camera_info I get warning messages that the image and camera_info are not synchronized and not output. I uses image_transport to republish the compressed image to an uncompressed image but the republishing does not republish my dummy camera_info. So therefore they become unsynched.

Any suggestion how to solve this?

Edit: By specifying ~image_transport compressed to crop_decimate I got it to use the image directly from the axis driver. To solve the synch problem I had to fix the time for camera_info in the axis driver. After that it did work.

But I need to use a modified axis driver since the standard one does not output camera_info. So I think there is still a limitation here on how you can use crop_decimate. Why does it requier camera_info?

edit retag flag offensive close merge delete