lynx   »   [go: up one dir, main page]

IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0312363.html
   My bibliography  Save this article

Maize quality detection based on MConv-SwinT high-precision model

Author

Listed:
  • Ning Zhang
  • Yuanqi Chen
  • Enxu Zhang
  • Ziyang Liu
  • Jie Yue
Abstract
The traditional method of corn quality detection relies heavily on the subjective judgment of inspectors and suffers from a high error rate. To address these issues, this study employs the Swin Transformer as an enhanced base model, integrating machine vision and deep learning techniques for corn quality assessment. Initially, images of high-quality, moldy, and broken corn were collected. After preprocessing, a total of 20,152 valid images were obtained for the experimental samples. The network then extracts both shallow and deep features from these maize images, which are subsequently fused. Concurrently, the extracted features undergo further processing through a specially designed convolutional block. The fused features, combined with those processed by the convolutional module, are fed into an attention layer. This attention layer assigns weights to the features, facilitating accurate final classification. Experimental results demonstrate that the MC-Swin Transformer model proposed in this paper significantly outperforms traditional convolutional neural network models in key metrics such as accuracy, precision, recall, and F1 score, achieving a recognition accuracy rate of 99.89%. Thus, the network effectively and efficiently classifies different corn qualities. This study not only offers a novel perspective and technical approach to corn quality detection but also holds significant implications for the advancement of smart agriculture.

Suggested Citation

  • Ning Zhang & Yuanqi Chen & Enxu Zhang & Ziyang Liu & Jie Yue, 2025. "Maize quality detection based on MConv-SwinT high-precision model," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-20, January.
  • Handle: RePEc:plo:pone00:0312363
    DOI: 10.1371/journal.pone.0312363
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0312363
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0312363&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0312363?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Olaf Erenstein & Moti Jaleta & Kai Sonder & Khondoker Mottaleb & B.M. Prasanna, 2022. "Global maize production, consumption and trade: trends and R&D implications," Food Security: The Science, Sociology and Economics of Food Production and Access to Food, Springer;The International Society for Plant Pathology, vol. 14(5), pages 1295-1319, October.
    2. Kun Wu & Min Zhang & Gang Wang & Xu Chen & Jun Wu, 2022. "A Continuous Single-Layer Discrete Tiling System for Online Detection of Corn Impurities and Breakage Rates," Agriculture, MDPI, vol. 12(7), pages 1-18, June.
    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. José Augusto Correa Martins & Alberto Yoshiriki Hisano Higuti & Aiesca Oliveira Pellegrin & Raquel Soares Juliano & Adriana Mello de Araújo & Luiz Alberto Pellegrin & Veraldo Liesenberg & Ana Paula Ma, 2024. "Assessment of UAV-Based Deep Learning for Corn Crop Analysis in Midwest Brazil," Agriculture, MDPI, vol. 14(11), pages 1-15, November.
    2. Chengkai Yang & Jingkai Lei & Zhihao Liu & Shufeng Xiong & Lei Xi & Jian Wang & Hongbo Qiao & Lei Shi, 2025. "Estimation Model of Corn Leaf Area Index Based on Improved CNN," Agriculture, MDPI, vol. 15(5), pages 1-20, February.
    3. Lekarkar, Katoria & Nkwasa, Albert & Villani, Lorenzo & van Griensven, Ann, 2024. "Localizing agricultural impacts of 21st century climate pathways in data scarce catchments: A case study of the Nyando catchment, Kenya," Agricultural Water Management, Elsevier, vol. 294(C).
    4. Buttinelli, Rebecca & Cortignani, Raffaele & Caracciolo, Francesco, 2024. "Irrigation water economic value and productivity: An econometric estimation for maize grain production in Italy," Agricultural Water Management, Elsevier, vol. 295(C).
    5. Sandro Steinbach & Xiting Zhuang, 2025. "US agricultural exports and the 2022 Mississippi River drought," Agribusiness, John Wiley & Sons, Ltd., vol. 41(1), pages 289-303, January.
    6. Deepak Kumar Nepali & Keshav Lall Maharjan, 2025. "Assessing the Impact of Hermetic Storage Technology on Storage Quantity and Post-Harvest Storage Losses Among Smallholding Maize Farmers in Nepal," Agriculture, MDPI, vol. 15(2), pages 1-22, January.
    7. Qiu, Bingwen & Jian, Zeyu & Yang, Peng & Tang, Zhenghong & Zhu, Xiaolin & Duan, Mingjie & Yu, Qiangyi & Chen, Xuehong & Zhang, Miao & Tu, Ping & Xu, Weiming & Zhao, Zhiyuan, 2024. "Unveiling grain production patterns in China (2005–2020) towards targeted sustainable intensification," Agricultural Systems, Elsevier, vol. 216(C).
    8. Huang, Na & Lin, Xiaomao & Lun, Fei & Zeng, Ruiyun & Sassenrath, Gretchen F. & Pan, Zhihua, 2024. "Nitrogen fertilizer use and climate interactions: Implications for maize yields in Kansas," Agricultural Systems, Elsevier, vol. 220(C).
    9. Meng Wang & Haiming Duan & Cheng Zhou & Li Yu & Xiangtao Meng & Wenjie Lu & Haibing Yu, 2024. "Synergistic Effects of Chemical Fungicides with Crude Extracts from Bacillus amyloliquefaciens to Control Northern Corn Leaf Blight," Agriculture, MDPI, vol. 14(4), pages 1-16, April.
    10. Raluca A. Mihai & Ramiro Fernando Vivanco Gonzaga & Damián O. Calero Rondal & Dámaris A. Teneda Jijón & Nelson Santiago Cubi Insuaste & Christian D. Borja Tacuri & Rodica D. Catana, 2025. "Comparative Phytochemical and Biological Profiling of Zea mays L. Varieties in Cotopaxi Region," Agriculture, MDPI, vol. 15(10), pages 1-13, May.
    11. Rafał Januszkiewicz & Grzegorz Kulczycki & Mateusz Samoraj, 2023. "Foliar Fertilization of Crop Plants in Polish Agriculture," Agriculture, MDPI, vol. 13(9), pages 1-14, August.
    12. András Bence Szerb & Arnold Csonka & Imre Fertő, 2022. "Regional trade agreements, globalization, and global maize exports," Agricultural Economics, Czech Academy of Agricultural Sciences, vol. 68(10), pages 371-379.
    13. Pan, An & Cao, Xuekang, 2024. "Pilot free trade zones and low-carbon innovation: Evidence from listed companies in China," Energy Economics, Elsevier, vol. 136(C).
    14. Qu, Ziren & Luo, Ning & Guo, Jiameng & Xu, Jie & Wang, Pu & Meng, Qingfeng, 2024. "Enhancing sustainability in the new variety-based low emergy system for maize production by nitrogen optimization," Renewable and Sustainable Energy Reviews, Elsevier, vol. 199(C).
    15. José Luis Villalpando-Aguilar & Daniel Francisco Chi-Maas & Itzel López-Rosas & Victor Ángel Aquino-Luna & Jesús Arreola-Enríquez & Julia Cristel Alcudia-Pérez & Gilberto Matos-Pech & Roberto Carlos G, 2022. "Urban Agriculture as an Alternative for the Sustainable Production of Maize and Peanut," Agriculture, MDPI, vol. 13(1), pages 1-13, December.
    16. Gao, Jia & Liu, Ninggang & Wang, Xianqi & Niu, Zuoyuan & Liao, Qi & Ding, Risheng & Du, Taisheng & Kang, Shaozhong & Tong, Ling, 2024. "Maintaining grain number by reducing grain abortion is the key to improve water use efficiency of maize under deficit irrigation and salt stress," Agricultural Water Management, Elsevier, vol. 294(C).
    17. Michael Hilary Otim & Angella Lowra Ajam & Geofrey Ogwal & Stella Aropet Adumo & Dalton Kanyesigye & Saliou Niassy & Girma Hailu & Komivi Senyo Akutse & Sevgan Subramanian, 2024. "Biorationals and Synthetic Insecticides for Controlling Fall Armyworm and Their Influence on the Abundance and Diversity of Parasitoids," Sustainability, MDPI, vol. 16(8), pages 1-19, April.
    18. Job Kihara & Gudeta W Sileshi & Peter Bolo & Dominic Mutambu & Kalimuthu Senthilkumar & Andrew Sila & Mina Devkota & Kazuki Saito, 2024. "Maize-grain zinc and iron concentrations as influenced by agronomic management and biophysical factors: a meta-analysis," Food Security: The Science, Sociology and Economics of Food Production and Access to Food, Springer;The International Society for Plant Pathology, vol. 16(5), pages 1147-1173, October.
    19. Robert Czubaszek & Agnieszka Wysocka-Czubaszek & Wendelin Wichtmann & Grzegorz Zając & Piotr Banaszuk, 2023. "Common Reed and Maize Silage Co-Digestion as a Pathway towards Sustainable Biogas Production," Energies, MDPI, vol. 16(2), pages 1-25, January.
    20. Buttinelli, Rebecca & Dono, Gabriele & Cortignani, Raffaele, 2025. "Assessing the impacts of chemicals reduction on arable farms through an integrated agro-economic model," Agricultural Systems, Elsevier, vol. 224(C).

    More about this item

    Statistics

    Access and download statistics

    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:plo:pone00:0312363. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.
    Лучший частный хостинг