i am using this sample https://github.com/dotnet/machinelearning-samples/tree/master/samples/csharp/getting-started/DeepLearning_ObjectDetection_Onnx, but its loading images from folder , is there way/api to load image directly from memory and apply preprocess transformation?