Liu Ren-Ming, Su Wen-Hao
College of Engineering, China Agricultural University, Haidian, Beijing 100083, China.
Foods. 2024 May 29;13(11):1710. doi: 10.3390/foods13111710.
The classification of Stropharia rugoso-annulata is currently reliant on manual sorting, which may be subject to bias. To improve the sorting efficiency, automated sorting equipment could be used instead. However, sorting naked mushrooms in real time remains a challenging task due to the difficulty of accurately identifying, locating and sorting large quantities of them simultaneously. Models must be deployable on resource-limited devices, making it challenging to achieve both a high accuracy and speed. This paper proposes the APHS-YOLO (YOLOv8n integrated with AKConv, CSPPC and HSFPN modules) model, which is lightweight and efficient, for identifying Stropharia rugoso-annulata of different grades and seasons. This study includes a complete dataset of runners of different grades in spring and autumn. To enhance feature extraction and maintain the recognition accuracy, the new multi-module APHS-YOLO uses HSFPNs (High-Level Screening Feature Pyramid Networks) as a thin-neck structure. It combines an improved lightweight PConv (Partial Convolution)-based convolutional module, CSPPC (Integration of Cross-Stage Partial Networks and Partial Convolution), with the Arbitrary Kernel Convolution (AKConv) module. Additionally, to compensate for the accuracy loss due to lightweighting, APHS-YOLO employs a knowledge refinement technique during training. Compared to the original model, the optimized APHS-YOLO model uses 57.8% less memory and 62.5% fewer computational resources. It has an FPS (frames per second) of over 100 and even achieves 0.1% better accuracy metrics than the original model. These research results provide a valuable reference for the development of automatic sorting equipment for forest farmers.
皱环球盖菇的分类目前依赖人工分拣,这可能会产生偏差。为了提高分拣效率,可以使用自动分拣设备。然而,由于难以同时准确识别、定位和分拣大量裸菇,实时分拣裸菇仍然是一项具有挑战性的任务。模型必须能够部署在资源有限的设备上,这使得在实现高精度和高速度方面具有挑战性。本文提出了一种轻量级且高效的APHS-YOLO(集成了AKConv、CSPPC和HSFPN模块的YOLOv8n)模型,用于识别不同等级和季节的皱环球盖菇。本研究包括了春季和秋季不同等级菇体的完整数据集。为了增强特征提取并保持识别精度,新的多模块APHS-YOLO使用HSFPN(高级筛选特征金字塔网络)作为细颈结构。它将基于改进的轻量级PConv(部分卷积)的卷积模块CSPPC(跨阶段部分网络与部分卷积的集成)与任意内核卷积(AKConv)模块相结合。此外, 为了弥补轻量化带来的精度损失,APHS-YOLO在训练过程中采用了知识精炼技术。与原始模型相比,优化后的APHS-YOLO模型内存使用减少了57.8%,计算资源减少了62.5%。它的每秒帧数(FPS)超过100,甚至在精度指标上比原始模型提高了0.1%。这些研究结果为林农自动分拣设备的开发提供了有价值的参考。