//Load sample data
var imageBytes = File.ReadAllBytes(@"path-to-file\0.png");
Stone_Diff.ModelInput sampleData = new Stone_Diff.ModelInput()
{
ImageSource = imageBytes,
};
//Load model and predict output
var result = Stone_Diff.Predict(sampleData);
//Load sample data
var imageBytes = File.ReadAllBytes(@"path-to-file\0.png");
Stone_Diff.ModelInput sampleData = new Stone_Diff.ModelInput()
{
ImageSource = imageBytes,
};
//Load model and predict output
var result = Stone_Diff.Predict(sampleData);