ros-drivers / video_stream_opencv

A package to open video streams and publish them in ROS using the opencv videocapture mechanism
224 stars 159 forks source link

Change jpeg quality #108

Closed JeremieBourque1 closed 3 years ago

JeremieBourque1 commented 3 years ago

Hi,

Is there a way to change the jpeg quality for the compressed image topic? By default it is set to 80 but I don't see a parameter for changing it.

Thank you

awesomebytes commented 3 years ago

Yeah, you can use dynamic reconfigure to change the compression level from the compressed image_transport plugin:

http://wiki.ros.org/image_transport/Tutorials/ExaminingImagePublisherSubscriber

On Thu, Jul 8, 2021, 04:06 Jérémie Bourque @.***> wrote:

Hi,

Is there a way to change the jpeg quality for the compressed image topic? By default it is set to 80 but I don't see a parameter for changing it.

Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ros-drivers/video_stream_opencv/issues/108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANEK5HUKVG5EVZ6XRGSP23TWSJRHANCNFSM477EYT7A .

JeremieBourque1 commented 3 years ago

Thank you