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

How to compresse JPEG/PNG on NCS2?

kkonelin1
Beginner
1,846 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
1,814 Views

Greetings,


These might help you achieve that:


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


Sincerely,

Iffa






0 Kudos
kkonelin1
Beginner
1,796 Views

Hi,

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

 

0 Kudos
Iffa_Intel
Moderator
1,783 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


0 Kudos
Iffa_Intel
Moderator
1,774 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


0 Kudos
Reply