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 条
  • [1] An Improved CNN for Intrusion Detection Method Based on ResNet
    Cai, Zengyu
    Li, Pengrong
    Zhang, Jianwei
    Si, Yajie
    Feng, Yuan
    International Journal of Network Security, 2024, 26 (04) : 694 - 702
  • [2] A Pedestrian Detection Method Based on Improved ResNet for Container Terminal
    Shen, Zheng
    Wu, Wenxiang
    Sun, Shuaiya
    Hu, Kan
    HUMAN CENTERED COMPUTING, HCC 2021, 2022, 13795 : 119 - 132
  • [3] Rapid and accurate detection of peanut pod appearance quality based on lightweight and improved YOLOv5_SSE model
    Liu, Zhixia
    Zhong, Xilin
    Wang, Chunyu
    Wu, Guozhen
    He, Fengyu
    Wang, Jing
    Yang, Dexu
    FRONTIERS IN PLANT SCIENCE, 2025, 16
  • [4] Abnormal Behavior Detection and Recognition Method Based on Improved ResNet Model
    Qian, Huifang
    Zhou, Xuan
    Zheng, Mengmeng
    CMC-COMPUTERS MATERIALS & CONTINUA, 2020, 65 (03): : 2153 - 2167
  • [5] Improved Peanut Quality Detection Method of YOLOv8n
    Huang, Yinglai
    Niu, Dawei
    Hou, Chang
    Yang, Liusong
    Computer Engineering and Applications, 2024, 60 (23) : 257 - 267
  • [6] A method for detecting the quality of cotton seeds based on an improved ResNet50 model
    Du, Xinwu
    Si, Laiqiang
    Li, Pengfei
    Yun, Zhihao
    PLOS ONE, 2023, 18 (02):
  • [7] Tree internal defects detection method based on ResNet improved subspace optimization algorithm
    Liu, Guoyang
    Zhou, Hongwei
    Zhou, Hongju
    Xia, Bo
    Wu, Yixuan
    Shi, Jie
    NDT & E INTERNATIONAL, 2024, 147
  • [8] Detection of Wheat Unsound Kernels Based on Improved ResNet
    Gao, Hui
    Zhen, Tong
    Li, Zhihui
    IEEE ACCESS, 2022, 10 : 20092 - 20101
  • [9] An improved classification method for cervical cancer based on ResNet
    Guo, Jiajia
    Wang, Juan
    Xia, Chengyi
    2023 IEEE 12TH DATA DRIVEN CONTROL AND LEARNING SYSTEMS CONFERENCE, DDCLS, 2023, : 1550 - 1555
  • [10] Classification of peanut pod rot based on improved YOLOv5s
    Liu, Yu
    Li, Xiukun
    Fan, Yiming
    Liu, Lifeng
    Shao, Limin
    Yan, Geng
    Geng, Yuhong
    Zhang, Yi
    FRONTIERS IN PLANT SCIENCE, 2024, 15