Compressing images in GPU

asked 2019-04-25 02:35:36 -0600

smithers gravatar image

Hi everyone! I need to compress 7 images to stream them through a wifi connection. The theora_image_transport makes a great compression but it is too CPU consuming for my application.

Is it possible to run this package in a GPU? I'm using a Jetson TX2 and that would be an option.

Can anybody help me?

Thank you!

edit retag flag offensive close merge delete

Comments

Not an answer (as it doesn't use the GPU, but that might be an xy-problem): you could take a look at swri-robotics/imagezero_transport. It's very lightweight but still offers decent enough compression ratios.

gvdhoorn gravatar imagegvdhoorn ( 2019-04-25 02:44:35 -0600 )edit

Thank you for your answer! 5 of my cameras have 2,1 Mpx and the other 2 have 1,6 Mpx and I'm thinking about publishing them to 30 fps. Do you think the compression ratio of the imagezero_transport would be enough to stream them through a wifi connection?

smithers gravatar imagesmithers ( 2019-04-25 03:22:12 -0600 )edit

I have no idea. But it shouldn't be too difficult to try: image_transport is plugin based, and which plugins it uses is a configuration-time parameter. So if you're using image_transport (which you should be using) it should be a matter of installing the package, updating your configuration and testing it.

gvdhoorn gravatar imagegvdhoorn ( 2019-04-25 03:28:25 -0600 )edit