基于YOLO v11模型的猪里脊肉新鲜度无损检测
CSTR:
作者:
作者单位:

1贺州学院人工智能学院,广西 贺州 542899;2贺州学院食品与生物工程学院,广西 贺州 542899;3广西康养食品科学与技术重点实验室,广西 贺州 542899

作者简介:

通讯作者:

谢微(1984—),女,贺州学院正高级实验师,硕士。E-mail: 249201676@qq.com

中图分类号:

基金项目:

贺州学院学科交叉与合作研究项目(编号:XKJC202402);贺州学院教授科研启动基金立项项目(编号:2025JSQD06);贺州学院校级科研项目(编号:2023ZDPY01)


Non-destructive detection of pork loin freshness based on the YOLO v11 model
Author:
Affiliation:

1School of Artificial Intelligence, Hezhou University, Hezhou, Guangxi 542899, China;2School of Food and Biological Engineering, Hezhou University, Hezhou, Guangxi 542899, China,;3Guangxi Key Laboratory of Health Care Food Science and Technology, Hezhou University, Hezhou, Guangxi 542899, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    目的 开发一种基于计算机视觉技术的猪里脊肉新鲜度智能识别方法,通过构建分类检测模型实现冷鲜肉产业链中猪肉新鲜度的准确、快速和无损检测。方法 提出一种基于YOLO v11实例分类检测模型,测定挥发性盐基氮(TVB-N)含量和pH值,将肉样划分为“新鲜”“次新鲜”“腐败”三级,构建包含4 680张高分辨图像数据集(1 247张原始图像经旋转、翻转、剪切、亮度调节、模糊等增强操作生成),按6∶2∶2划分为训练集、验证集和测试集。采用迁移学习策略,在PyTorch框架下加载预训练权重初始化YOLO v11模型,使用SGD优化器(学习率0.01)进行训练,并与DenseNet161、EfficientNet_b2、MobileNet_v2、ResNet50、ShuffleNet_v2_x1、ViT_base_patch16_224 6种主流模型进行对比。结果 YOLO v11模型取得优异的性能,整体分类精确率达1.000,显著优于最优对比模型ViT_base_patch16_224,且在F1分数与准确率指标上均显著优于其他模型。结论 试验成功将YOLO v11模型应用于猪里脊肉新鲜度无损检测领域,建立的实例分类检测方法具有高精确率识别性能,实现腐败肉的1.000检出率,保障食品安全底线;12 ms级推理速度适配产线流水作业可以做到实时无损检测;同时还具备强泛化能力,可以均衡识别多级新鲜度,各类别识别精确率>98%。

    Abstract:

    Objective To develop an intelligent method for non-destructive recognition of pork loin freshness based on computer vision technology, which is to be achieved by establishing a classification model for accurate, fast, and non-destructive detection of pork freshness in the cold chain industry.Methods A classification detection model is proposed based on the YOLO v11 architecture. First, total volatile basic nitrogen (TVB-N) content and pH values are measured before the meat samples are divided into three categories: "fresh", "less fresh", and "spoiled". A dataset of 4 680 high-resolution images is constructed (generated from 1 247 original images enhanced through operations such as rotation, flipping, cropping, brightness adjustment, and blurring). Then, the dataset is divided into training, validation, and test sets in a 6∶2∶2 ratio. Utilizing a transfer learning strategy, the YOLO v11 model with pre-trained weights is initialized in the PyTorch framework and trained using the SGD optimizer (learning rate of 0.01). Finally, the model established is compared with six mainstream models: DenseNet161, EfficientNet_b2, MobileNet_v2, ResNet50, ShuffleNet_v2_x1, and ViT_base_patch16_224.Results The YOLO v11 model achieves excellent performance, with an overall classification precision of 1.000, significantly outperforming the best baseline model, ViT_base_patch16_224. Additionally, the proposed model demonstrates significant advantages over other models in both F1 score and accuracy metrics.Conclusion In this study, the YOLO v11 model is successfully applied to the non-destructive detection of pork loin freshness. With high-precision generalization capabilities, the proposed instance classification method achieves a detection rate of 1.000 for spoiled meat and ensures food safety. With an inference speed of 12 ms, this model is suitable for real-time non-destructive detection in production lines. Additionally, exhibiting a strong generalization ability, the model can evenly recognize multiple levels of freshness, with classification accuracy greater than 98% for each category.

    参考文献
    相似文献
    引证文献
引用本文

邓忠惠,谢微.基于YOLO v11模型的猪里脊肉新鲜度无损检测[J].食品与机械,2026,(7):98-105.
Deng Zhonghui, Xie Wei. Non-destructive detection of pork loin freshness based on the YOLO v11 model[J]. Food & Machinery,2026,(7):98-105.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-07-23
  • 最后修改日期:2026-02-09
  • 录用日期:
  • 在线发布日期: 2026-07-25
  • 出版日期:
文章二维码
×
《食品与机械》
友情提示
友情提示 一、 近日有不少作者反应我刊官网无法打开,是因为我刊网站正在升级,旧网站仍在百度搜索排名前列。请认准《食品与机械》唯一官方网址:http://www.ifoodmm.com/spyjx/home 唯一官方邮箱:foodmm@ifoodmm.com; 联系电话:0731-85258200,希望广大读者和作者仔细甄别。