IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v13y2023i12p2257-d1297403.html
   My bibliography  Save this article

Detection of the Corn Kernel Breakage Rate Based on an Improved Mask Region-Based Convolutional Neural Network

Author

Listed:
  • Hongmei Zhang

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

  • Zhijie Li

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

  • Zishang Yang

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

  • Chenhui Zhu

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

  • Yinhai Ding

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

  • Pengchang Li

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

  • Xun He

    (College of Mechanical and Electrical Engineering, Henan Agricultural University, Zhengzhou 450002, China)

Abstract

Real-time knowledge of kernel breakage during corn harvesting plays a significant role in the adjustment of operational parameters of corn kernel harvesters. (1) Transfer learning by initializing the DenseNet121 network with pre-trained weights for training and validating a dataset of corn kernels was adopted. Additionally, the feature extraction capability of DenseNet121 was improved by incorporating the attention mechanism of a Convolutional Block Attention Module (CBAM) and a Feature Pyramid Network (FPN) structure. (2) The quality of intact and broken corn kernels and their pixels were found to be coupled, and a linear regression model was established using the least squares method. The results of the test showed that: (1) The MAP b 50 and MAP m 50 of the improved Mask Region-based Convolutional Neural Network (RCNN) model were 97.62% and 98.70%, in comparison to the original Mask Region-based Convolutional Neural Network (RCNN) model, which were improved by 0.34% and 0.37%, respectively; the backbone FLOPs and Params were 3.09 GMac and 9.31 M, and the feature extraction time was 206 ms; compared to the original backbone, these were reduced by 3.87 GMac and 17.32 M, respectively. The training of the obtained prediction weights for the detection of a picture of the corn kernel took 76 ms, so compared to the Mask RCNN model, it was reduced by 375 ms; based on the concept of transfer learning, the improved Mask RCNN model converged twice as quickly with the loss function using pre-training weights than the loss function without pre-training weights during training. (2) The coefficients of determination R 2 of the two models, when the regression models of the pixels and the quality of intact and broken corn kernels were analyzed, were 0.958 and 0.992, respectively. These findings indicate a strong correlation between the pixel characteristics and the quality of corn kernels. The improved Mask RCNN model was used to segment mask pixels to calculate the corn kernel breakage rate. The verified error between the machine vision and the real breakage rate ranged from −0.72% to 0.65%, and the detection time of the corn kernel breakage rate was only 76 ms, which could meet the requirements for real-time detection. According to the test results, the improved Mask RCNN method had the advantages of a fast detection speed and high accuracy, and can be used as a data basis for adjusting the operation parameters of corn kernel harvesters.

Suggested Citation

  • Hongmei Zhang & Zhijie Li & Zishang Yang & Chenhui Zhu & Yinhai Ding & Pengchang Li & Xun He, 2023. "Detection of the Corn Kernel Breakage Rate Based on an Improved Mask Region-Based Convolutional Neural Network," Agriculture, MDPI, vol. 13(12), pages 1-17, December.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:12:p:2257-:d:1297403
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/13/12/2257/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/13/12/2257/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:13:y:2023:i:12:p:2257-:d:1297403. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.