Method of Peanut Pod Quality Detection Based on Improved ResNet

被引:5
|
作者
Yang, Lili [1 ]
Wang, Changlong [1 ]
Yu, Jianfeng [2 ]
Xu, Nan [3 ]
Wang, Dongwei [1 ]
机构
[1] Qingdao Agr Univ, Coll Mech & Elect Engn, Qingdao 266109, Peoples R China
[2] Chinese Acad Sci, Shanghai Adv Res Inst, Shanghai 201204, Peoples R China
[3] Shandong Agr Univ, Coll Mech & Elect Engn, Tai An 271000, Peoples R China
来源
AGRICULTURE-BASEL | 2023年 / 13卷 / 07期
关键词
quality detection; KRSNet module; CSPNet module; CBAM attention module; FUSION;
D O I
10.3390/agriculture13071352
中图分类号
S3 [农学(农艺学)];
学科分类号
0901 ;
摘要
Peanuts are prone to insect damage, breakage, germination, mildew, and other defects, which makes the quality of peanuts uneven. The difference in peanut pod quality makes the price and economic benefit also have a big difference. The classification of peanut pods according to quality is an important part of improving the product grade and market competitiveness. Real-time, accurate, and non-destructive quality detection of peanut pods can effectively improve the utilization and commercial value of peanuts. The strong subjectivity of manual detection and the low efficiency and low accuracy of mechanical detection have caused considerable wastage. Therefore, the present study proposed a new convolutional neural network for the peanut pod quality detection algorithm (PQDA) based on an improved ResNet. Compared to previous models, this model is more practical with high accuracy, lightweight, and easy nesting. Firstly, the detection and classification effects of ResNet18, AlexNet, and VGG16 are compared, and ResNet18 was determined to be the best backbone feature extraction network for model training. Secondly, three models were designed to optimize and improve the algorithm. The KRSNet module was added to the algorithm to make the model lightweight. The CSPNet module was added to the algorithm to improve the learning efficiency of each feature layer. The Convolutional Block Attention Module (CBAM) was added to the algorithm to improve its ability to capture more feature information about peanut pods. The experimental ablation results show that the precision of the improved model PQDA reaches 98.1%, and the size of parameters is only 32.63 M. Finally, the optimized model was applied to other peanut pod varieties for generalization experiments, and the accuracy reached 89.6% and 90.0%, indicating the effectiveness of the proposed peanut pod quality detection model. Furthermore, the model is suitable for deployment on embedded resource-limited devices, such as mobile terminals, to achieve the real-time and accurate detection of peanut pod quality.
引用
收藏
页数:20
相关论文
共 50 条
  • [31] Improved diet quality with peanut consumption
    Griel, AE
    Eissenstat, B
    Juturu, V
    Hsieh, G
    Kris-Etherton, PM
    JOURNAL OF THE AMERICAN COLLEGE OF NUTRITION, 2004, 23 (06) : 660 - 668
  • [32] Field-Based Soybean Flower and Pod Detection Using an Improved YOLOv8-VEW Method
    Zhao, Kunpeng
    Li, Jinyang
    Shi, Wenqiang
    Qi, Liqiang
    Yu, Chuntao
    Zhang, Wei
    AGRICULTURE-BASEL, 2024, 14 (08):
  • [33] Improved Resnet Model Based on Positive Traffic Flow for IoT Anomalous Traffic Detection
    Li, Qingfeng
    Liu, Yaqiu
    Niu, Tong
    Wang, Xiaoming
    ELECTRONICS, 2023, 12 (18)
  • [34] Stitch quality detection method based on imProved YOLOv4-Tiny
    Ma C.
    Qi L.
    Gao X.
    Wang Z.
    Sun Y.
    Fangzhi Xuebao/Journal of Textile Research, 2023, 44 (08): : 181 - 188
  • [35] Facial expression recognition based on improved ResNet
    Xianlun W.
    Guangyu W.
    Yuxia C.
    Journal of China Universities of Posts and Telecommunications, 2023, 30 (01): : 28 - 38
  • [36] Finger Vein Recognition Based on Improved ResNet
    Wang Kaixuan
    Chen Guanghua
    Chu Hongjia
    LASER & OPTOELECTRONICS PROGRESS, 2021, 58 (20)
  • [37] An Improved ResNet Based on the Adjustable Shortcut Connections
    Li, Baoqi
    He, Yuyao
    IEEE ACCESS, 2018, 6 : 18967 - 18974
  • [38] A Modified Method for Scene Text Detection by ResNet
    Niu, Shaozhang
    Li, Xiangxiang
    Wang, Maosen
    Li, Yueying
    CMC-COMPUTERS MATERIALS & CONTINUA, 2020, 65 (03): : 2233 - 2245
  • [39] Facial expression recognition based on improved ResNet
    Wang Xianlun
    Wang Guangyu
    Cui Yuxia
    The Journal of China Universities of Posts and Telecommunications, 2023, 30 (01) : 28 - 38
  • [40] Rice-ResNet: Rice classification and quality detection by transferred ResNet deep model
    Razavi, Mohammadreza
    Mavaddati, Samira
    Kobti, Ziad
    Koohi, Hamidreza
    SOFTWARE IMPACTS, 2024, 20