How to load pictures in C++ with Libtorch?

Hi, the LibTorch library does not support any preprocessing functions for loading and resizing pictures etc. as torchvision does in python. What ist the best practice to do so in C++? I am aiming for an openCV approach. I this best practice or is there a better way?

Thank you

1 Like

Push. Nobody here who can answer the question?