Instance Segmentation of Lentinus edodes Images Based on YOLOv5seg-BotNet
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.
Authors
- Jian Zhang (ORCID: https://orcid.org/0000-0003-1507-4718)
- Lei Zhou (ORCID: https://orcid.org/0000-0001-5857-8153)
- Xingmei Xu
- Xiangyu Su (ORCID: https://orcid.org/0000-0001-6486-3110)
- Helong Yu
Institutions
- University of British Columbia (CA)
- Jilin Agricultural University (CN)
- University of British Columbia, Okanagan Campus (CA)
- Okanagan University College (CA)
Publication Details
- Journal
- Agronomy
- Published
- 2024-08-16
- DOI
- https://doi.org/10.3390/agronomy14081808
- Citations
- 4
- Primary Topic
- Optical Coherence Tomography Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.74
Funders
- Natural Science Foundation of Jilin Province
- People's Government of Jilin Province