A ML.NET wrapper to ease image classification.
$ dotnet add package ImageClassificationThis package is a wrapper library of ML.NET to do image classification.
You will need ImageClassification.IO packeage along with this package.
Trainer class is a class to train the Model (which will be two zip files) from your image data.
Image data you have to prepare in advence is a foldered image data like below.
Each folder names will be predicted Label names (Apple/Banana/Orange/...).
More images you prepare, better result you'll get.
Next, call Trainer.GenerateModel with dataDir you prepared.
Classifier class is a class to get a prediction from the image file you give (=imageToClassify).
Call Classifier.GetSingleImagePrediction along with the Model you've created at previus section.