食品科学 ›› 2023, Vol. 44 ›› Issue (20): 350-356.doi: 10.7506/spkx1002-6630-20221010-084

• 安全检测 • 上一篇    下一篇

基于机器视觉的鸡胴体原发性皮炎快速检测

吴江春,王虎虎,徐幸莲   

  1. (南京农业大学食品科技学院,肉品质量控制与新资源创制全国重点实验室,江苏 南京 210095)
  • 出版日期:2023-10-25 发布日期:2023-11-07
  • 基金资助:
    国家现代农业产业技术体系建设专项(CARS-41)

Rapid Machine Vision Method for Detection of Primary Dermatitis in Broiler Carcass

WU Jiangchun, WANG Huhu, XU Xinglian   

  1. (State Key Laboratory of Meat Quality Control and Cultured Meat Development, College of Food Science and Technology, Nanjing Agricultural University, Nanjing 210095, China)
  • Online:2023-10-25 Published:2023-11-07

摘要: 利用机器视觉装置采集肉鸡屠宰线上鸡胴体的三方向视图共计948 张图片,构建一种快速识别鸡胴体原发性皮炎方法。图像经预处理后用网格分割成128 像素×128 像素大小的图片,从皮炎鸡胴体中筛选出762 张皮炎皮肤图,从正常鸡胴体中筛选出正常皮肤图775 张,共计1 537 张。提取图像的三阶颜色矩、灰度共生矩阵特征的均值与方差、Tamura纹理特征,并提取皮炎区域分割阈值与面积,共计24 个特征值。通过主成分分析降维,分别建立线性判别分析模型、二次判别分析模型、支持向量机、随机森林、反向传播神经网络和GoogLeNet模型,比较其分类效果。在所有模型中,以GoogLeNet对皮炎皮肤样本的分类效果最好,总准确率为90.5%,平均检测速率为122.65 张/s,在对整鸡胴体的预测中,皮炎鸡胴体的预测准确率为100%,正常鸡胴体的预测准确率为90%。

关键词: 机器视觉;鸡胴体原发性皮炎;机器学习;缺陷检测

Abstract: A machine vision system was used to collect 948 three-dimensional images of chicken carcasses on the broiler slaughter line. This study aimed to develop a rapid method for the identification of primary dermatitis in chicken carcasses. The acquired images were preprocessed and segmented into 128 × 128 pixel pictures with grids. A total of 762 pictures of dermatitic skin and 775 pictures of normal skin were selected. A total of 24 feature values were extracted including third-order color moments, mean and variance of gray-level co-occurrence matrix features, Tamura texture features from the 1 537 pictures and the segmentation threshold and area of dermatitis region. Based on dimensionality reduction by principal component analysis (PCA), linear discriminant analysis model, quadratic discriminant analysis model, support vector machine, random forest, back propagation neural network (BPNN) and GoogLeNet models were established, and their classification performances were compared. Among these models, the GoogLeNet model was the most effective in classifying dermatitic skin samples with an overall accuracy of 90.5% and an average detection speed of 122.65 sheets per second. The prediction accuracy of the model for chicken carcasses with dermatitis was 100%, while that for qualified chicken carcasses was 90%.

Key words: machine vision; primary dermatitis of chicken carcass; machine learning; defect detection

中图分类号: