See here for YOLO v3 use.
Use YOLO v5 with ML.Net
Thanks to raulsf6, deanbennettdeveloper and keesschollaart81
Use YOLO v4 with ML.Net
Onnx model available in the onnx/models repos here.
Also check https://github.com/dotnet/machinelearning/issues/5466