首页 | 本学科首页   官方微博 | 高级检索  
     

基于改进YOLOX模型的樱桃缺陷及分级检测
引用本文:刘敬宇,裴悦琨,常志远,柴 智,曹佩佩.基于改进YOLOX模型的樱桃缺陷及分级检测[J].食品与机械,2023,39(1):139-145.
作者姓名:刘敬宇  裴悦琨  常志远  柴 智  曹佩佩
作者单位:大连大学辽宁省北斗高精度位置服务技术工程实验室,辽宁 大连 116622;大连大学大连市环境感知与智能控制重点实验室,辽宁 大连 116622
基金项目:国家自然科学基金(编号:61601076)
摘    要:目的:实现工业化条件下樱桃的快速分级。方法:采用YOLOX网络对缺陷果进行检测,通过为特征金字塔网络设置适当的融合因子来提高不明显缺陷的检测精度,并将Focal Loss集成到损失函数中;使用YOLOX网络对完好果进行分级,引入注意力机制CBAM来加强网络特征提取。结果:樱桃表面缺陷的平均检测精度为97.59%,大小和颜色分级的平均检测精度为95.92%。结论:改进后的YOLOX网络可明显提升樱桃缺陷及分级检测的精度。

关 键 词:樱桃分级  YOLOX  FPN  Focal  Loss  注意力机制
收稿时间:2022/5/7 0:00:00

Cherry defect and classification detection based on improved YOLOX model
LIU Jing-yu,PEI Yue-kun,CHANG Zhi-yuan,CHAI Zhi,CAO Pei-pei.Cherry defect and classification detection based on improved YOLOX model[J].Food and Machinery,2023,39(1):139-145.
Authors:LIU Jing-yu  PEI Yue-kun  CHANG Zhi-yuan  CHAI Zhi  CAO Pei-pei
Affiliation:Beidou High Precision Positioning Service Technology Engineering Laboratory of Liaoning Province, Dalian University, Dalian, Liaoning 116622, China; Environment Sensing and Intelligent Control Key Laboratory of Dalian, Dalian University, Dalian, Liaoning 116622, China
Abstract:Objective: In order to expand the scope of cherry sales and achieve rapid grading of cherries under industrial conditions. Methods: Firstly, the YOLOX network was used to detect the defective fruit, in order to solve some problems where the defect was not obvious. The detection accuracy of the inconspicuous defect was improved by setting the appropriate fusion factor for the feature pyramid network, and in order to solve the problem of imbalance between various types of real samples, Focal Loss was integrated into the loss function. Then, the intact fruit was graded using the YOLOX network, and the attention mechanism CBAM was introduced to enhance the network feature extraction. Results: Experimental results showed that 97.59% of the mAP detected for cherry surface defects and 95.92% of the mAP of size and color grading. Conclusion: The accuracy of cherry defects and grading has been significantly improved by the improved YOLOX network.
Keywords:cherry grading  YOLOX  FPN  Focal Loss  attentional mechanism
点击此处可从《食品与机械》浏览原始摘要信息
点击此处可从《食品与机械》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号