Welcome to FoxLearn
In this tutorial, I will show you how to detect objects from the image using the Alturos.Yolo library
Drag a PictureBox, Button and DataGridView from the visual toolbox into your windows forms application
then design a simple UI that allows you to select an image, and detect objects in the image
Right-click on your project, then select Manage Nuget Packages
Next, You need to install the Alturos.Yolo
The Alturos.Yolo is a state of the art real-time object detection system for C#
This project has CPU and GPU support, with GPU the detection works much faster
The primary goal of this project is an easy use of yolo, this package is available on nuget and you must only install two packages to start detection
To populate the DataGridView with data, you should add a bindingsource to your DataGridView
The BindingSource component is designed to simplify the process of binding controls to an underlying data source
The OpenFileDialog component allows users to browse the folders of their computer or any computer on the network, and select one or more files to open
The dialog box returns the path and name of the file the user selected in the dialog box
You can copy the code from the readme file into the click event handler of the Detect button, and then convert the image into a byte array
You can also download the Alturos.Yolo source code from the github website
To play the demo, you need to change the platform target to 64 bit
Thank you for watching this video and don't forget to subscribe to my channel