887
Views
0
CrossRef citations to date
0
Altmetric
Research Article

MS-YOLOv5: a lightweight algorithm for strawberry ripeness detection based on deep learning

ORCID Icon & ORCID Icon
Article: 2285292 | Received 20 Aug 2023, Accepted 14 Nov 2023, Published online: 29 Nov 2023

Figures & data

Figure 1. Improved diagram of the framework network structure for MS YOLOv5.

Figure 1. Improved diagram of the framework network structure for MS YOLOv5.

Figure 2. Depth hybrid deformable convolution.

Figure 2. Depth hybrid deformable convolution.

Figure 3. Double cooperative attention mechanism.

Figure 3. Double cooperative attention mechanism.

Figure 4. PA attention mechanism module.

Figure 4. PA attention mechanism module.

Figure 5. Fast-weighted feature pyramid network.

Figure 5. Fast-weighted feature pyramid network.

Table 1. Division of the dataset in the experiments.

Figure 6. Data enhancement of original images.

Figure 6. Data enhancement of original images.

Figure 7. Display of ripe and unripe strawberries in the dataset.

Figure 7. Display of ripe and unripe strawberries in the dataset.

Table 2. Ablation experiments of MS-YOLOv5.

Table 3. Comparison table of YOLOv5 with different attention mechanisms.

Figure 8. Visualization of the effects of applying different attentional mechanisms to the features of YOLOv5.

Figure 8. Visualization of the effects of applying different attentional mechanisms to the features of YOLOv5.

Figure 9. Confusion matrix comparison between MS-YOLOv5 and YOLOv5.

Figure 9. Confusion matrix comparison between MS-YOLOv5 and YOLOv5.

Figure 10. Precision_Recall comparison between MS-YOLOv5 and YOLOv5.

Figure 10. Precision_Recall comparison between MS-YOLOv5 and YOLOv5.

Table 4. Table comparing MS-YOLOv5 with state-of-the-art methods.

Figure 11. Detection effect under different conditions between YOLOv5 and MS-YOLOv5.

Figure 11. Detection effect under different conditions between YOLOv5 and MS-YOLOv5.