Image recognition algorithm for pork freshness based on YOLOv8n
CSTR:
Author:
Affiliation:

1.School of Agricultural Engineering, Jiangsu University, Zhenjiang, Jiangsu 212013, China;2.Institute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences, Nanjing, Jiangsu 210014, China;3.Institute of Agro-product Processing, Jiangsu Academy of Agricultural Sciences, Nanjing, Jiangsu 210014, China

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    Objective To realize precise, swift, and non-invasive detection of pork freshness in large-scale cold meat industry chains based on computer vision technology.Methods An image recognition algorithm for pork freshness is proposed based on YOLOv8n. Various data augmentation methods are employed to enhance the pork feature extraction from images. The transfer learning experiment method is utilized, an appropriate optimizer is selected, and the training weights of the model are improved for higher accuracy in the final identification. Based on the YOLOv8n image recognition algorithm, the improved YOLOv8n-cls model is developed by data augmentation and optimizer improvement for the algorithm.Results After transfer learning and improving the optimizer, the average recognition accuracy, recall rate, and mean average precision (mAP) of pork freshness image recognition achieve 99.4%, 83.8%, and 91.4%, respectively, at an image recognition frame rate of 149 Hz, demonstrating promising experimental outcomes. Following normalization training and ablation testing, the accuracy of pork freshness image recognition increases by 0.5% to reach 99%.Conclusion The improved YOLOv8n-cls model improves image recognition accuracy while maintaining requisite speed, meeting demands for pork freshness real-time detection, and recognizing in practical production settings.

    Reference
    Related
    Cited by
Get Citation

王炼,柳军,皮杰,等.基于YOLOv8n的猪肉新鲜度图像识别算法[J].食品与机械英文版,2025,41(5):98-104.

Copy
Related Videos

Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:August 29,2024
  • Revised:March 21,2025
  • Adopted:
  • Online: June 13,2025
  • Published:
Article QR Code