Avoid use OpenCV for image, Convert Libtorch torch::Tensor to juce::image and like back

Hello,
I is use Libtorch for process image, OpenCV very large so try avoid.
This i try make use:

Not able to convert torch::Tensor to juce::image.
I want to read a Video file, split into images on the fly and apply Deep Learning algorithm on image in Libtorch, then turn it back to image JUCE can understand. Anyone is have example make like this?

See also:


Thanks you,

Answer seems to be given here.