Lv Meng, Kong Lei, Zhang Qi-Yuan, Su Wen-Hao
College of Engineering, China Agricultural University, 17 Qinghua East Road, Haidian, Beijing 100083, China.
Sensors (Basel). 2025 Jul 18;25(14):4482. doi: 10.3390/s25144482.
The mushroom is one of the most popular varieties in the international market because it is highly nutritious and has a delicious flavor. However, grading is still performed manually, leading to inconsistent grading standards and low efficiency. In this study, deep learning and computer vision techniques were used to develop an automated air-blown grading system for classifying this mushroom into three quality grades. The system consisted of a classification module and a grading module. In the classification module, the cap and stalk regions were extracted using the YOLOv8-seg algorithm, then post-processed using OpenCV based on quantitative grading indexes, forming the proposed SegGrade algorithm. In the grading module, an air-blown grading system with an automatic feeding unit was developed in combination with the SegGrade algorithm. The experimental results show that for 150 randomly selected mushrooms, the trained YOLOv8-seg algorithm achieved an accuracy of 99.5% in segmenting the cap and stalk regions, while the SegGrade algorithm achieved an accuracy of 94.67%. Furthermore, the system ultimately achieved an average grading accuracy of 80.66% and maintained the integrity of the mushrooms. This system can be further expanded according to production needs, improving sorting efficiency and meeting market demands.
这种蘑菇是国际市场上最受欢迎的品种之一,因为它营养丰富,味道鲜美。然而,分级仍采用人工操作,导致分级标准不一致且效率低下。在本研究中,利用深度学习和计算机视觉技术开发了一种自动吹气分级系统,用于将这种蘑菇分为三个质量等级。该系统由分类模块和分级模块组成。在分类模块中,使用YOLOv8-seg算法提取菌盖和菌柄区域,然后基于定量分级指标使用OpenCV进行后处理,形成了所提出的SegGrade算法。在分级模块中,结合SegGrade算法开发了一种带有自动进料单元的吹气分级系统。实验结果表明,对于随机选取的150个蘑菇,训练后的YOLOv8-seg算法在分割菌盖和菌柄区域时的准确率达到99.5%,而SegGrade算法的准确率为94.67%。此外,该系统最终实现了80.66%的平均分级准确率,并保持了蘑菇的完整性。该系统可根据生产需求进一步扩展,提高分选效率,满足市场需求。