Liu Chao, Zhang Jiayu, Chen Kunjie, Huang Jichao
College of Engineering, Nanjing Agricultural University, Nanjing 210000, China.
College of Intelligent Manufacturing, Taizhou Institute of Science and Technology Nanjing University of Science and Technology, Taizhou 225300, China.
Foods. 2025 Jul 15;14(14):2480. doi: 10.3390/foods14142480.
Deep learning approaches for pork freshness grading typically require large datasets, which limits their practical application due to the high costs associated with data collection. To address this challenge, we propose BBSNet, a lightweight few-shot learning model designed for accurate freshness classification with a limited number of images. BBSNet incorporates a batch channel normalization (BCN) layer to enhance feature distinguishability and employs BiFormer for optimized fine-grained feature extraction. Trained on a dataset of 600 pork images graded by microbial cell concentration, BBSNet achieved an average accuracy of 96.36% in a challenging 5-way 80-shot task. This approach significantly reduces data dependency while maintaining high accuracy, presenting a viable solution for cost-effective real-time pork quality monitoring. This work introduces a novel framework that connects laboratory freshness indicators to industrial applications in data-scarce conditions. Future research will investigate its extension to various food types and optimization for deployment on portable devices.
用于猪肉新鲜度分级的深度学习方法通常需要大量数据集,由于与数据收集相关的高成本,这限制了它们的实际应用。为应对这一挑战,我们提出了BBSNet,这是一种轻量级的少样本学习模型,旨在使用有限数量的图像进行准确的新鲜度分类。BBSNet集成了批归一化层(BCN)以增强特征可区分性,并采用BiFormer进行优化的细粒度特征提取。在由微生物细胞浓度分级的600张猪肉图像数据集上进行训练后,BBSNet在具有挑战性的5分类80样本任务中实现了96.36%的平均准确率。这种方法在保持高精度的同时显著降低了数据依赖性,为经济高效的实时猪肉质量监测提供了可行的解决方案。这项工作引入了一个新颖的框架,该框架在数据稀缺的条件下将实验室新鲜度指标与工业应用联系起来。未来的研究将调查其在各种食品类型上的扩展以及在便携式设备上部署的优化情况。