Object detection algorithm—YOLOv5

1. Preparation

This example implements the camera target detection algorithm based on the YOLOv5 model. Users can preview the detection results on the display.

连接

2. Running method

The sample code is provided in source code form and needs to be compiled and run using the make command.

The steps are as follows.

Parameter configuration:

3. Result

After the program runs correctly

运行

The video and the image rendered by the algorithm detection will be output through the HDMI interface, and the user can preview it through the monitor.

画面

The running log is as follows.