Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.

How to compresse JPEG/PNG on NCS2?

kkonelin1
Beginner
316 Views

Hi all,

I want to lossless compresse JPEG/PNG image with Intel Neural Compute Stick 2?

Here I notice that one can compress image with GStreamer: Lossless compressed JPEG gstreamer element? and How to do image processing using gstreamer like opencv?.

I have asked the same question on DLStreamer How to compresse JPEG/PNG?  

 

 

Labels (1)
0 Kudos
4 Replies
Iffa_Intel
Moderator
284 Views

Greetings,


These might help you achieve that:


  1. Full Pipeline Simulation Using GStreamer Samples
  2. Full Pipeline Simulation Using GStreamer


Sincerely,

Iffa






kkonelin1
Beginner
266 Views

Hi,

followed Getting Started. However, I didn't find an effective solution.

 

Iffa_Intel
Moderator
253 Views

Hi,


I don't think that OpenVINO and GStreamer are going to be proper instruments for lossless image processing. Instead, you should look for appropriate implementation of JPEG Compression Algorithm.


The closest use-case that can be can offer is Super Resolution models that upscale images by reconstructing the high resolution image from the original low resolution one - https://docs.openvinotoolkit.org/2021.1/image_processing.html


Also, you could take a look at this PyTorch sample that implements lossless image compression through Super-Resolution - https://github.com/caoscott/SReC


Sincerely,

Iffa


Iffa_Intel
Moderator
244 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 


Sincerely,

Iffa


Reply