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

Real-Time ConvNext-Based U-Net with Feature Infusion for Egg Microcrack Detection

Author

Listed:
  • Chenbo Shi

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Yuejia Li

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Xin Jiang

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Wenxin Sun

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Changsheng Zhu

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Yuanzheng Mo

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Shaojia Yan

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

  • Chun Zhang

    (College of Intelligent Equipment, Shandong University of Science and Technology, Tai’an 271019, China)

Abstract

Real-time automatic detection of microcracks in eggs is crucial for ensuring egg quality and safety, yet rapid detection of micron-scale cracks remains challenging. This study introduces a real-time ConvNext-Based U-Net model with Feature Infusion (CBU-FI Net) for egg microcrack detection. Leveraging edge features and spatial continuity of cracks, we incorporate an edge feature infusion module in the encoder and design a multi-scale feature aggregation strategy in the decoder to enhance the extraction of both local details and global semantic information. By introducing large convolution kernels and depth-wise separable convolution from ConvNext, the model significantly reduces network parameters compared to the original U-Net. Additionally, a composite loss function is devised to address class imbalance issues. Experimental results on a dataset comprising over 3400 graded egg microcrack image patches demonstrate that CBU-FI Net achieves a reduction in parameters to one-third the amount in the original U-Net, with an inference speed of 21 ms per image (1 million pixels). The model achieves a Crack-IoU of 65.51% for microcracks smaller than 20 μ m and a Crack-IoU and MIoU of 60.76% and 80.22%, respectively, for even smaller cracks (less than 5 μ m), achieving high-precision, real-time detection of egg microcracks. Furthermore, on the publicly benchmarked CrackSeg9k dataset, CBU-FI Net achieves an inference speed of 4 ms for 400 × 400 resolution images, with an MIoU of 81.38%, proving the proposed method’s robustness and generalization capability across various cracks and complex backgrounds.

Suggested Citation

  • Chenbo Shi & Yuejia Li & Xin Jiang & Wenxin Sun & Changsheng Zhu & Yuanzheng Mo & Shaojia Yan & Chun Zhang, 2024. "Real-Time ConvNext-Based U-Net with Feature Infusion for Egg Microcrack Detection," Agriculture, MDPI, vol. 14(9), pages 1-19, September.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:9:p:1655-:d:1483091
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/9/1655/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/9/1655/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Chenbo Shi & Yanhong Cheng & Chun Zhang & Jin Yuan & Yuxin Wang & Xin Jiang & Changsheng Zhu, 2023. "Wavelet Scattering Convolution Network-Based Detection Algorithm on Nondestructive Microcrack Electrical Signals of Eggs," Agriculture, MDPI, vol. 13(3), pages 1-19, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Jin Yuan & Wei Ji & Qingchun Feng, 2023. "Robots and Autonomous Machines for Sustainable Agriculture Production," Agriculture, MDPI, vol. 13(7), pages 1-4, July.

    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:14:y:2024:i:9:p:1655-:d:1483091. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.