Jian Rui, Li Guangbo, Jun Xie, Shi Guolong
College of Electronic and Information Engineering, Huaibei Institute of Technology, Huaibei, 235000, China.
College of Command and Control Engineering, Army Engineering University of PLA, Nanjing, 210007, Jiangsu, China.
Sci Rep. 2025 Jul 29;15(1):27538. doi: 10.1038/s41598-025-13576-1.
Identifying chicken breast freshness is an important component of poultry food safety. Traditional methods for chicken breast freshness recognition suffer from issues such as high cost, difficulty in recognition, and low efficiency. In this study, the YOLOv8n_CA_DSC3 algorithm is employed for non-destructive recognition of chicken breast freshness. Specifically, chicken breast samples under different lighting intensities, densities, sampling angles, etc., were collected. Based on the total microbial count (TAC), coliform count (ANC), and pH value of the samples, the freshness of chicken breast is classified into 7 levels: fresh meat, slightly fresh meat 1, slightly fresh meat 2, slightly fresh meat 3, spoiled meat 1, spoiled meat 2, and spoiled meat 3. The dataset was augmented with eight types of data enhancement, resulting in 34,380 samples. The CONV convolutional layers were replaced with the deformable convolution DCNv3 modules to improve network efficiency and key feature extraction of chicken breast through long-range dependencies, adaptive spatial aggregation, and sparse sampling, thereby enhancing algorithm generalization performance. The introduction of the CA attention mechanism module enhances feature fusion between multiple channels and long-distance high-level and low-level data dependencies. Experimental results show that in the improved algorithm, YOLOv8n_CA_DSC3 achieves suboptimal recall rate but optimal precision, average precision at IoU = 0.5, and average precision at IoU = 0.5:0.95. The accuracy of chicken breast freshness recognition is 95.6%, average precision at IoU = 0.5 is 97.5%, and average precision at IoU = 0.5:0.95 is 77.5%, representing improvements of 5.3%, 5.1%, and 6.1%, respectively, compared to the original YOLOv8n. In conclusion, the YOLOv8n_CA_DSC3 algorithm demonstrates good performance in feature extraction and integration of upper and lower layer information for chicken breast freshness, exhibiting high robustness and providing technical support for non-destructive recognition of chicken breast freshness and food safety.
识别鸡胸肉的新鲜度是禽肉食品安全的一个重要组成部分。传统的鸡胸肉新鲜度识别方法存在成本高、识别困难和效率低等问题。在本研究中,采用YOLOv8n_CA_DSC3算法对鸡胸肉新鲜度进行无损识别。具体而言,收集了不同光照强度、密度、采样角度等条件下的鸡胸肉样本。基于样本的总微生物计数(TAC)、大肠菌群计数(ANC)和pH值,将鸡胸肉的新鲜度分为7个等级:鲜肉、微鲜肉1、微鲜肉2、微鲜肉3、变质肉1、变质肉2和变质肉3。通过8种数据增强方式对数据集进行扩充,得到34380个样本。将CONV卷积层替换为可变形卷积DCNv3模块,通过长距离依赖、自适应空间聚合和稀疏采样来提高网络效率和鸡胸肉关键特征提取能力,从而增强算法的泛化性能。引入CA注意力机制模块增强了多通道之间的特征融合以及高层和低层数据的长距离依赖。实验结果表明,在改进算法中,YOLOv8n_CA_DSC3的召回率次优,但精度最优,IoU = 0.5时的平均精度以及IoU = 0.5:0.95时的平均精度均最优。鸡胸肉新鲜度识别准确率为95.6%,IoU = 0.5时的平均精度为97.5%,IoU = 0.5:0.95时的平均精度为77.5%,与原始的YOLOv8n相比,分别提高了5.3%、5.1%和6.1%。总之,YOLOv8n_CA_DSC3算法在鸡胸肉新鲜度的特征提取和上下层信息整合方面表现出良好性能,具有很高的鲁棒性,为鸡胸肉新鲜度的无损识别和食品安全提供了技术支持。