Objective: Improve the speed and accuracy of foreign matter identification in food. Methods: Based on the LeNet-5 network structure, the improved CNN model was obtained by adding batch normalization layer and dropout layer. Using this model, a recognition system was established for the automatic recognition of foreign bodies in food images. The performance of the model was analyzed through experiments. Results: Compared with the traditional model, this model has higher detection accuracy and faster recognition speed. The recognition accuracy of food foreign bodies was 99.75% and the recognition time was only 0.332 s. Conclusion: The foreign object recognition model of dumpling image had good detection speed and recognition accuracy.

Publication Date


First Page


Last Page





[1] KRIZHEVSKY A,SUTSKEVER I,HINTON G E.ImageNet classification with deep convolutional neural networks[J].Communications of the ACM,2017,60(6):84-90.
[2] QIU H,LIU L.A study on the evolution of carbon capture and storage technology based on knowledge mapping[J].Energies,2018,11(5):1 103.
[3] 于蒙,李雄,杨海潮,等.基于图像识别的苹果的等级分级研究[J].自动化与仪表,2019,34(7):39-43.YU Meng,LI Xiong,YANG Hai-chao,et al.Apple grading based on image recognition[J].Automation and Instrumentation,2019,34(7):39-43.
[4] 冯喆,李卫豪,崔笛.基于高光谱成像和深度学习的山核桃内源性异物检测[J].农业机械学报,2021,52(S0):466-471.FENG Zhe,LI Wei-hao,CUI Di.Detection of endogenous foreign bodies in pecan based on hyperspectral imaging and deep learning[J].Journal of Agricultural Machinery,2021,52(S0):466-471.
[5] 石吉勇,刘传鹏,李志华,等.高光谱特征的人造肉中低色度差异物检测[J].光谱学与光谱分析,2022,42(4):1 299-1 305.SHI Ji-yong,LIU Chuan-peng,LI Zhi-hua,et al.Detection of low-chroma differences in artificial meat with hyperspectral features[J].Spectroscopy and Spectral Analysis,2022,42(4):1 299-1 305.
[6] 张俊俊,赵号,翟晓东,等.基于超声成像技术的方腿中异物检测[J].中国食品学报,2019,19(8):223-229.ZHANG Jun-jun,ZHAO Hao,ZHAI Xiao-dong,et al.Detection of foreign bodies in square legs based on ultrasonic imaging technology[J].Chinese Journal of Food Science,2019,19(8):223-229.
[7] 韩明,吴雪芹,韩慧丹,等.基于X光检测的烟丝异物在线剔除系统[J].食品与机械,2021,37(5):126-130.HAN Ming,WU Xue-qin,HAN Hui-dan,et al.Online removal system for foreign matter in cut tobacco based on X-ray detection[J].Food & Machinery,2021,37(5):126-130.
[8] 王红霞,周家奇,辜承昊,等.用于图像分类的卷积神经网络中激活函数的设计[J].浙江大学学报(工学版),2019,53(7):1 363-1 373.WANG Hong-xia,ZHOU Jia-qi,GU Cheng-hao,et al.Design of activation function in convolutional neural network for image classification[J].Journal of Zhejiang University(Engineering Edition),2019,53(7):1 363-1 373.
[9] 王彦翔,张艳,杨成娅,等.基于深度学习的农作物病害图像识别技术进展[J].浙江农业学报,2019,31(4):669-676.WANG Yan-xiang,ZHANG Yan,YANG Cheng-ya,et al.Advances in crop disease image recognition technology based on deep learning[J].Zhejiang Agricultural Journal,2019,31(4):669-676.
[10] 王见,周勤,尹爱军.改进Otsu算法与ELM融合的自然场景棉桃自适应分割方法[J].农业工程学报,2018,34(14):173-180.WANG Jian,ZHOU Qin,YIN Ai-jun.Adaptive segmentation method of cotton peach in natural scene based on improved Otsu algorithm and elm[J].Journal of Agricultural Engineering,2018,34(14):173-180.
[11] 王奕.基于机器视觉图像提取的马铃薯内部病虫害特征识别[J].食品与机械,2019,35(9):151-155.WANG Yi.Feature recognition of potato internal diseases and pests based on machine vision image extraction[J].Food & Machinery,2019,35(9):151-155.
[12] 乔雪,潘新,王欣宇,等.基于G-R分量与K-means 的马铃薯病虫害图像分割[J].内蒙古农业大学学报(自然科学版),2021,42(3):84-87.QIAO Xue,PAN Xin,WANG Xin-yu,et al.Potato pest image segmentation based on G-R component and K-means[J].Journal of Inner Mongolia Agricultural University(Natural Science Edition),2021,42(3):84-87.
[13] 李莉杰,王宝祥.基于渐进式分割的蔬菜病虫害识别仿真研究[J].计算机仿真,2021,38(10):419-423.LI Li-jie,WANG Bao-xiang.Simulation research on vegetable pest identification based on progressive segmentation[J].Computer Simulation,2021,38(10):419-423.
[14] 王美华,吴振鑫,周祖光.基于注意力改进CBAM的农作物病虫害细粒度识别研究[J].农业机械学报,2021,52(4):239-247.WANG Mei-hua,WU Zhen-xin,ZHOU Zu-guang.Research on fine-grained identification of crop diseases and pests based on attention improved CBAM[J].Journal of Agricultural Machinery,2021,52(4):239-247.
[15] LI X,MA E,QU H.Knowledge mapping of hospitality research-A visual analysis using CiteSpace[J].International Journal of Hospitality Management,2017,60:77-93.
[16] 赵利平,吴德刚.基于小波与模糊相融合的苹果分级算法[J].食品与机械,2020,36(4):142-145.ZHAO Li-ping,WU De-gang.Apple grading algorithm based on wavelet and fuzzy fusion[J].Food & Machinery,2020,36(4):142-145.
[17] AZUMAYA C M,DAYS E L,VINSON P N,et al.Screening for AMPA receptor auxiliary subunit specific modulators[J].PLoS One,2017,12(3):1 523-1 538.
[18] 贺禹强,刘故帅,肖异瑶,等.基于改进GA-PSO混合算法的变电站选址优化[J].电力系统保护与控制,2017,45(23):143-150.HE Yu-qiang,LIU Gu-shuai,XIAO Yi-yao,et al.Substation location optimization based on improved GA-PSO hybrid algorithm[J].Power System Protection and Control,2017,45(23):143-150.
[19] 朱光耀.基于无标定视觉伺服的全向移动机械臂跟踪控制[J].电子测量技术,2020,43(23):23-29.ZHU Guang-yao.Tracking control of omnidirectional mobile manipulator based on uncalibrated visual servo[J].Electronic Measurement Technology,2020,43(23):23-29.
[20] 王志中.基于改进蚁群算法的移动机器人路径规划研究[J].机械设计与制造,2018,12(1):242-244.WANG Zhi-zhong.Research on mobile robot path planning based on improved ant colony algorithm[J].Mechanical Design and Manufacturing,2018,12(1):242-244.

Included in

Food Science Commons



To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.