Next Article in Journal
The Effect of a Preparation Containing Humic Acids on the Growth, Yield, and Quality of Strawberry Fruits (Fragaria × ananassa (Duchesne ex Weston) Duchesne ex Rozier)
Next Article in Special Issue
RepC-MVSNet: A Reparameterized Self-Supervised 3D Reconstruction Algorithm for Wheat 3D Reconstruction
Previous Article in Journal
Using Fluorescence Spectroscopy to Assess Compost Maturity Degree during Composting
Previous Article in Special Issue
Lightweight Isotropic Convolutional Neural Network for Plant Disease Identification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved YOLOv5s-Based Agaricus bisporus Detection Algorithm

1
School of Mechanical Engineering, Yangzhou University, Yangzhou 225127, China
2
Jiangsu Engineering Center for Modern Agricultural Machinery and Agronomy Technology, Yangzhou 225127, China
*
Author to whom correspondence should be addressed.
Agronomy 2023, 13(7), 1871; https://doi.org/10.3390/agronomy13071871
Submission received: 15 June 2023 / Revised: 6 July 2023 / Accepted: 13 July 2023 / Published: 15 July 2023
(This article belongs to the Special Issue Computer Vision and Deep Learning Technology in Agriculture)

Abstract

This study aims to improve the Agaricus bisporus detection efficiency and performance of harvesting robots in the complex environment of the mushroom growing house. Based on deep learning networks, an improved YOLOv5s algorithm was proposed for accurate A. bisporus detection. First, A. bisporus images collected in situ from the mushroom growing house were preprocessed and augmented to construct a dataset containing 810 images, which were divided into the training and test sets in the ratio of 8:2. Then, by introducing the Convolutional Block Attention Module (CBAM) into the backbone network of YOLOv5s and adopting the Mosaic image augmentation technique in training, the detection accuracy and robustness of the algorithm were improved. The experimental results showed that the improved algorithm had a recognition accuracy of 98%, a single-image processing time of 18 ms, an A. bisporus center point locating error of 0.40%, and a diameter measuring error of 1.08%. Compared with YOLOv5s and YOLOv7, the YOLOv5s-CBAM has better performance in recognition accuracy, center positioning, and diameter measurement. Therefore, the proposed algorithm is capable of accurate A. bisporus detection in the complex environment of the mushroom growing house.
Keywords: mushroom detection; computer vision; center point positioning; diameter measurement; attention mechanism mushroom detection; computer vision; center point positioning; diameter measurement; attention mechanism

Share and Cite

MDPI and ACS Style

Chen, C.; Wang, F.; Cai, Y.; Yi, S.; Zhang, B. An Improved YOLOv5s-Based Agaricus bisporus Detection Algorithm. Agronomy 2023, 13, 1871. https://doi.org/10.3390/agronomy13071871

AMA Style

Chen C, Wang F, Cai Y, Yi S, Zhang B. An Improved YOLOv5s-Based Agaricus bisporus Detection Algorithm. Agronomy. 2023; 13(7):1871. https://doi.org/10.3390/agronomy13071871

Chicago/Turabian Style

Chen, Chao, Feng Wang, Yuzhe Cai, Shanlin Yi, and Baofeng Zhang. 2023. "An Improved YOLOv5s-Based Agaricus bisporus Detection Algorithm" Agronomy 13, no. 7: 1871. https://doi.org/10.3390/agronomy13071871

APA Style

Chen, C., Wang, F., Cai, Y., Yi, S., & Zhang, B. (2023). An Improved YOLOv5s-Based Agaricus bisporus Detection Algorithm. Agronomy, 13(7), 1871. https://doi.org/10.3390/agronomy13071871

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop