arXiv:2603.00368cs.LGcs.CV2026-03

用RGB图像检测肉类新鲜度,支持包装与散装肉,兼顾准确率与手机端实时性。

Deep Learning-Based Meat Freshness Detection with Segmentation and OOD-Aware Classification

  • 先分割肉区域再分类,提升输入一致性
  • EfficientNet-B0在测试集上达98.10%准确率
  • 内置异常样本拒绝机制,适合实际部署

本研究提出一种基于RGB图像的肉类新鲜度分类框架,适用于包装与非包装肉类数据集。系统识别四类分布内(ID)肉类,并采用分布外(OOD)感知的拒答机制,对低置信度样本标记为无结果。流程结合基于U-Net的分割与深度特征分类器:分割模块通过提取肉区域、去除背景,生成标准化输入,其交并比(IoU)达75%,Dice系数为82%。分类阶段对比五种骨干网络:ResNet-50、ViT-B/16、Swin-T、EfficientNet-B0和MobileNetV3-Small,采用嵌套5×3交叉验证进行模型选择与超参数调优。在保留的ID测试集上,EfficientNet-B0表现最佳(98.10%),其次为ResNet-50与MobileNetV3-Small(均为97.63%),Swin-T为97.51%,ViT-B/16最低(94.42%)。进一步评估了标准OOD指标下的评分与阈值敏感性。最后,基于TensorFlow Lite在智能手机上报告了本地延迟,揭示未来部署中的精度-延迟权衡。

原文摘要 · Abstract (English)

In this study, we present a meat freshness classification framework from Red-Green-Blue (RGB) images that supports both packaged and unpackaged meat datasets. The system classifies four in-distribution (ID) meat classes and uses an out-of-distribution (OOD)-aware abstention mechanism that flags low-confidence samples as No Result. The pipeline combines U-Net-based segmentation with deep feature classifiers. Segmentation is used as a preprocessing step to isolate the meat region and reduce background, producing more consistent inputs for classification. The segmentation module achieved an Intersection over Union (IoU) of 75% and a Dice coefficient of 82%, producing standardized inputs for the classification stage. For classification, we benchmark five backbones: Residual Network-50 (ResNet-50), Vision Transformer-Base/16 (ViT-B/16), Swin Transformer-Tiny (Swin-T), EfficientNet-B0, and MobileNetV3-Small. We use nested 5x3 cross-validation (CV) for model selection and hyperparameter tuning. On the held-out ID test set, EfficientNet-B0 achieves the highest accuracy (98.10%), followed by ResNet-50 and MobileNetV3-Small (both 97.63%) and Swin-T (97.51%), while ViT-B/16 is lower (94.42%). We additionally evaluate OOD scoring and thresholding using standard OOD metrics and sensitivity analysis over the abstention threshold. Finally, we report on-device latency using TensorFlow Lite (TFLite) on a smartphone, highlighting practical accuracy-latency trade-offs for future deployment.

肉类检测图像分割边缘计算分类

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。