•  
  •  
 

Abstract

Objective: This study focuses on solving the problems of large memory consumption, low recognition accuracy and slow recognition speed in the classification process of peanut quality. Methods: A method for classification of peanut quality based on deep learning and image processing was proposed. The Coordinate Attention module was firstly introduced to encode the obtained feature graph into a pair of direction-aware and position-sensitive attention graph, which improved the ability to obtain the information of the region of interest of the graph. Then, Gradient Centralization was used to improve the optimizer. By modifying the parameters of the last fire layer and the convolution layer. An improved model, CG-SqueezeNet, was applied to peanut pod quality grading. Results: The classical convolutional network models VGG16, AlexNet, DenseNet121, ResNet50, Squeezenet were improved, and five different base classifier models were trained by transfer learning. By comparing with the classic model, it was found that the CG-SqueezeNet model could better learn the features of the region of interest in the image. The detection accuracy of the actual peanut pod image database was 97.83%, and the parameter memory was only 2.52 MB. Conclusion: The method is suitable for deployment on embedded resource-limited devices such as mobile terminals, which helps to realize real-time and accurate identification of peanut pod quality.

Publication Date

10-16-2022

First Page

180

Last Page

184

DOI

10.13652/j.spjx.1003.5788.2022.90218

References

[1] 吕尚武,尚书旗,王东伟,等.花生除杂(清选)分级机的设计与研究[J].农机化研究,2019,41(9):71-75.LU S W,SHANG S Q,WANG D W,et al.Design and research of peanut cleaning and sorting machine[J].Journal of Agricultural Mechanization Research,2019,41(9):71-75.
[2] 王翔宇,李鑫星,张领先,等.农业主要病害检测与预警技术研究进展分析[J].农业机械学报,2016,47(9):266-277.WANG X Y,LI X X,ZHANG L X,et al.Research progress analysis of mainly agricultural diseases detection and early warning technologies[J].Transactions of the Chinese Society for Agricultural Machinery,2016,47(9):266-277.
[3] 张明,李鹏,邓烈,等.基于掩模及亮度校正算法的脐橙表面缺陷分割[J].中国农业科学,2019,52(2):327-338.ZHANG M,LI P,DENG L,et al.Segmentation of navel orange surface defects based on mask and brightness correction algorithm[J].Scientia Agricultura Sinica,2019,52(2):327-338.
[4] 杨斌,钟金英.卷积神经网络的研究进展综述[J].南华大学学报(自然科学版),2016,30(3):66-72.YANG B,ZHONG J Y.Review of convolution neural network[J].Journal of University of South China(Science and Technology),2016,30(3):66-72.
[5] 卢宏涛,张秦川.深度卷积神经网络在计算机视觉中的应用研究综述[J].数据采集与处理,2016,31(1):1-17.LU H T,ZHANG Q C.Applications of deep convolutional neural network in computer vision[J].Journal of Data Acquisition and Processing,2016,31(1):1-17.
[6] 陈超,齐峰.卷积神经网络的发展及其在计算机视觉领域中的应用综述[J].计算机科学,2019,46(3):63-73.CHEN C,QI F.Review on Development of convolutional neural network and its application in computer vision[J].Computer Science.2019,46(3):63-73.
[7] 薛勇,王立扬,张瑜,等.基于GoogLeNet深度迁移学习的苹果缺陷检测方法[J].农业机械学报,2020,51(7):30-35.XUE Y,WANG L Y,ZHANG Y,et al.Defect detection method of apples based on GoogLeNet deep transfer learning[J].Transactions of the Chinese Society for Agricultural Machinery,2020,51(7):30-35.
[8] 杨志锐,郑宏,郭中原,等.基于网中网卷积神经网络的红枣缺陷检测[J].食品与机械,2020,36(2):140-145.YANG Z R,ZHENG H,GUO Z Y,et al.Detection of jujubes based on the neural network with network con-volution[J].Food & Machinery,2020,36(2):140-145.
[9] 赵志衡,宋欢,朱江波,等.基于卷积神经网络的花生籽粒完整性识别算法及应用[J].农业工程学报,2018,34(21):195-201.ZHAO Z H,SONG H,ZHU J B,et al.Identification algorithm and application of peanut kernel integrity based on convolution neural network[J].Transactions of the CSAE,2018,34(21):195-201.
[10] 何进荣,石延新,刘斌,等.基于深度学习的富士苹果外部品质分级方法[J].农业机械学报,2021,52(7):379-385.HE J R,SHI Y X,LIU B,et al.External quality grading method of Fuji apple based on deep learning[J].Transactions of the Chinese Society for Agricultural Machinery,2021,52(7):379-385.
[11] 王铁伟,赵瑶,孙宇馨,等.基于数据平衡深度学习的不同成熟度冬枣识别[J].农业机械学报,2020,51(S1):457-463,492.WANG T W,ZHAO Y,SUN Y X,et al.Identification of Jujube with different maturity based on data balance deep learning[J].Transactions of the Chinese Society for Agricultural Machinery,2020,51(S1):457-463,492.
[12] 高霁月,倪建功,杨昊岩,等.基于数据平衡和深度学习的开心果品质视觉检测方法[J].农业机械学报,2021,52(7):367-372.GAO J Y,NI J G,YANG H Y,et al.Visual detection of pistachios based on data balance and deep learning[J].Transactions of the Chinese Society for Agricultural Machinery,2021,52(7):367-372.
[13] WANG S H,XIE S P,CHEN X Q,et al.Alcoholism identification based on an AlexNet transfer learning model[J].Frontiers in Psychiatry,2019,10:1-13.
[14] 周飞燕,金林鹏,董军.卷积神经网络研究综述[J].计算机学报,2017,40(6):1 229-1 251.ZHOU F Y,JIN L P,DONG J.Review of convolutional neural network[J].Chinese Journal of Computer,2017,40(6):1 229-1 251.
[15] HOU Q,ZHOU D,FENG J.Coordinate attention for efficient mobile network design[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2021:13 713-13 722.
[16] YONG H,HUANG J,HUA X,et al.Gradient centralization:A new optimization technique for deep neural networks[C]//European Conference on Computer Vision.[s.l.]:Springer,Cham,2020:635-652.
[17] SELVARAJU R R,COGSWELL M,DAS A,et al.Grad-CAM:Visual explanations from deep networks via gradient-based localization[J].IEEE International Conference on Computer Vision(ICCV),2017:618-626.

Share

COinS
 
 

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.