ros-perception / opencv_apps

http://wiki.ros.org/opencv_apps
65 stars 70 forks source link

Fix output image encoding #102

Open raidiun opened 4 years ago

raidiun commented 4 years ago

Image is converted to BGR at the top of doWork. If this conversion does not result in match the input encoding, the published image will have an incorrect encoding in the message.

This fixes the incorrect encoding such that published message is always BGR8