Skip to content

Archive for June 19th, 2020

  • The Custom Vision service is one of the Azure Cognitive Services that is provided by Microsoft. With custom vision, you can train a model with your own image data. The portal provides a Prediction API for the trained model to classify an image you supply. There can be reasons why you might not want to use the online REST endpoint and you could prefer an offline model. To work with machine learning in .NET, we can use ML.NET. There are several tutorials how to use this framework. But none of them combine the use of the Bitmap class with a downloaded ONNX model from the custom vision portal. In this article I will walk through the steps to set up an application to classify bitmaps using a custom vision model with ML.NET.