YOLOv5 object detection with C#, ML.NET, ONNX
YOLOv5 object detection with ML.NET, ONNX
Run this line from Package Manager Console:
Install-Package Yolov5Net -Version 1.1.0
For CPU usage run this line from Package Manager Console:
Install-Package Microsoft.ML.OnnxRuntime -Version 1.14.1
For GPU usage run this line from Package Manager Console:
Install-Package Microsoft.ML.OnnxRuntime.Gpu -Version 1.14.1
CPU and GPU packages can't be installed together.
Yolov5Net contains two COCO pre-defined models: YoloCocoP5Model, YoloCocoP6Model.
If you have custom trained model, then inherit from YoloModel and override all the required properties and methods. See YoloCocoP5Model or YoloCocoP6Model implementation to get know how to wrap your own model.
…
No open issues yet, or sync has not completed.