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?
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
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.