Compressing images in GPU
Hi everyone! I need to compress 7 images to stream them through a wifi connection. The theoraimagetransport 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!
Asked by smithers on 2019-04-25 02:35:36 UTC
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.Asked by gvdhoorn on 2019-04-25 02:44:35 UTC
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?
Asked by smithers on 2019-04-25 03:22:12 UTC
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 usingimage_transport
(which you should be using) it should be a matter of installing the package, updating your configuration and testing it.Asked by gvdhoorn on 2019-04-25 03:28:25 UTC