Instance Segmentation of Lentinus edodes Images Based on YOLOv5seg-BotNet

Autor: Xingmei Xu, Xiangyu Su, Lei Zhou, Helong Yu, Jian Zhang
Jazyk: angličtina
Rok vydání: 2024
Předmět:
Zdroj: Agronomy, Vol 14, Iss 8, p 1808 (2024)
Druh dokumentu: article
ISSN: 2073-4395
DOI: 10.3390/agronomy14081808
Popis: The shape and quantity of Lentinus edodes (commonly known as shiitake) fruiting bodies significantly affect their quality and yield. Accurate and rapid segmentation of these fruiting bodies is crucial for quality grading and yield prediction. This study proposed the YOLOv5seg-BotNet, a model for the instance segmentation of Lentinus edodes, to research its application for the mushroom industry. First, the backbone network was replaced with the BoTNet, and the spatial convolutions in the local backbone network were replaced with global self-attention modules to enhance the feature extraction ability. Subsequently, the PANet was adopted to effectively manage and integrate Lentinus edodes images in complex backgrounds at various scales. Finally, the Varifocal Loss function was employed to adjust the weights of different samples, addressing the issues of missed segmentation and mis-segmentation. The enhanced model demonstrated improvements in the precision, recall, Mask_AP, F1-Score, and FPS, achieving 97.58%, 95.74%, 95.90%, 96.65%, and 32.86 frames per second, respectively. These values represented the increases of 2.37%, 4.55%, 4.56%, 3.50%, and 2.61% compared to the original model. The model achieved dual improvements in segmentation accuracy and speed, exhibiting excellent detection and segmentation performance on Lentinus edodes fruiting bodies. This study provided technical fundamentals for future application of image detection and decision-making processes to evaluate mushroom production, including quality grading and intelligent harvesting.
Databáze: Directory of Open Access Journals
Nepřihlášeným uživatelům se plný text nezobrazuje