Using image_proc/crop_decimate without camera_info
I have a compressed image from an Axis device that I want to use cropdecimate on. But I cannot get it to work. Without camerainfo I do now get any output. With a dummy camerainfo I get warning messages that the image and camerainfo are not synchronized and not output. I uses imagetransport to republish the compressed image to an uncompressed image but the republishing does not republish my dummy camerainfo. So therefore they become unsynched.
Any suggestion how to solve this?
Edit: By specifying ~imagetransport compressed to cropdecimate 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 camerainfo. So I think there is still a limitation here on how you can use cropdecimate. Why does it requier camera_info?
Asked by tompe17 on 2016-02-19 09:28:06 UTC
Comments