Machine Learning

khaled sameer 6 Reputation points
2020-07-08T11:43:47.597+00:00

i have problem with detecting the objects using the ML.NET and draw a boundary boxes
and i cannot find an example or module that i can learn.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,934 questions
{count} vote

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 52,276 Reputation points
    2020-07-14T19:13:54.527+00:00

    Hi,

    Object detection is one of the classic problems in computer vision: Recognize what objects are inside a given image and also where they are in the image. For these cases, you can either use pre-trained models or train your own model to classify images specific to your custom domain. This sample uses a pre-trained model by default, but you can also add your own model exported from Custom Vision.

    I have a sample here for you:

    https://github.com/dotnet/machinelearning-samples/tree/master/samples/csharp/end-to-end-apps/ObjectDetection-Onnx

    This sample consists of two separate apps:

    A WPF Core desktop app that renders a live-stream of the device's web cam, runs the video frames through an object detection model using ML.NET, and paints bounding boxes with labels indicating the objects detected in real-time.
    An ASP.NET Core Web app that allows the user to upload or select an image. The Web app then runs the image through an object detection model using ML.NET, and paints bounding boxes with labels indicating the objects detected.
    The Web app shows the images listed on the right, and each image may be selected to process. Once the image is processed, it is drawn in the middle of the screen with labeled bounding boxes around each detected object as shown below.

    ObjectDetection.gif

    Let me know if you have any question.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.