journal article·2024-11-14Open access

Early Detection of Surface Mildew in Maize Kernels Using Machine Vision Coupled with Improved YOLOv5 Deep Learning Model

Yu Xia, Ao Shen, Tianci Che, Wenbo Liu, Jie Kang, Wei Tang

Applied Sciences· Volume 14· Issue 22

Abstract

Mildew in maize kernels is typically caused by various fungi, necessitating prompt detection and treatment to minimize losses during harvest and storage. In this study, a deep learning YOLOv5s algorithm based on machine vision technology was employed to develop a maize seed surface mildew detection model and to enhance its portability for deployment on additional mobile devices. To guarantee the fruitful progression of this research, an initial experiment was conducted on maize seeds to obtain a sufficient number of images of mildewed maize kernels, which were classified into three grades (sound, mild, and severe). Subsequently, a maize seed image was extracted to create an image of a single maize seed, which was then divided to establish the data set. An enhanced YOLOv5s–ShuffleNet–CBAM model was ultimately developed. The results demonstrated that the model achieved with an mAP50 value of 0.955 and a model size of 2.4 MB. This resulted in a notable reduction in the model parameters and calculation amount while simultaneously enhancing model precision. Furthermore, K-fold cross-validation demonstrated the model stability, and Grad-CAM validated the model effectiveness. In the future, the proposed lightweight model in this study can be applied to other crops in the context of portable or online inspection systems, thus advancing effective and high-quality agricultural applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Spectroscopy and Chemometric Analyses · Plant Disease Management Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Electrical and Control Engineering, Shaanxi University of Science and Technology, Xi’an 710021, China

Funding

National Natural Science Foundation of China · Young Talent Fund of Xi’an Association for Science and Technology · Xi’an Science and Technology Plan Project · Natural Science Basic Research Program of Shaanxi

References (27)

Show source-provided references
1. Global Irrigation Contribution to Wheat and Maize Yield10.1038/s41467-021-21498-5 ↗
2. Wang, Z., Guan, B., Tang, W., Wu, S., Ma, X., Niu, H., Wan, X., and Zang, Y. (2023). Classification of Fluorescently Labelled Maize Kernels Using Convolutional Neural Networks. Sensors, 23.10.3390/s23052840 ↗
3. Automated Identification of Northern Leaf Blight-Infected Maize Plants from Field Imagery Using Deep Learning10.1094/PHYTO-11-16-0417-R ↗
4. Comparative Assessment of Environmental Variables and Machine Learning Algorithms for Maize Yield Prediction in the Us Midwest10.1088/1748-9326/ab7df9 ↗
5. Moldy Peanuts Identification Based on Hyperspectral Images and Point-Centered Convolutional Neural Network Combined with Embedded Feature Selection10.1016/j.compag.2022.106963 ↗
6. Real-Time Defect Inspection of Green Coffee Beans Using Nir Snapshot Hyperspectral Imaging10.1016/j.compag.2022.106970 ↗
7. Early Diagnosis and Pathogenesis Monitoring of Wheat Powdery Mildew Caused by Blumeria Graminis Using Hyperspectral Imaging10.1016/j.compag.2022.106921 ↗
8. A Visual Identification Method for the Apple Growth Forms in the Orchard10.1016/j.compag.2022.106954 ↗
9. A Novel Image Detection Method for Internal Cracks in Corn Seeds in an Industrial Inspection Line10.1016/j.compag.2022.106930 ↗
10. Computer-Vision Classification of Corn Seed Varieties Using Deep Convolutional Neural Network10.1016/j.jspr.2021.101800 ↗
11. Wang, L., Liu, J., Zhang, J., Wang, J., and Fan, X. (2022). Corn Seed Defect Detection Based on Watershed Algorithm and Two-Pathway Convolutional Neural Networks. Front. Plant Sci., 13.10.3389/fpls.2022.730190 ↗
12. Corn Kernel Classification from Few Training Samples
13. Song, C., Peng, B., Wang, H., Zhou, Y., Sun, L., Suo, X., and Fan, X. (2023). Maize Seed Appearance Quality Assessment Based on Improved Inception-Resnet. Front. Plant Sci., 14.10.3389/fpls.2023.1249989 ↗
14. Liu, M., Liu, Y., Wang, Q., He, Q., and Geng, D. (2024). Real-Time Detection Technology of Corn Kernel Breakage and Mildew Based on Improved Yolov5s. Agriculture, 14.10.3390/agriculture14050725 ↗
15. Detection of Surface Defects for Maize Seeds Based on Yolov510.1016/j.jspr.2023.102242 ↗
16. Jin, S., Su, Y., Gao, S., Wu, F., Hu, T., Liu, J., Li, W., Wang, D., Chen, S., and Jiang, Y. (2018). Deep Learning: Individual Maize Segmentation from Terrestrial Lidar Data Using Faster R-Cnn and Regional Growth Algorithms. Front. Plant Sci., 9.10.3389/fpls.2018.00866 ↗
17. Wang, X., Huang, T., Zhang, W., and Xiong, P. (2020, January 12–14). Design and Implementation of a No-Load Current Test System for Electronic Water Pump. Proceedings of the 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chongqing, China.10.1109/ITNEC48623.2020.9084908 ↗
18. Two-Wavelength Image Detection of Early Decayed Oranges by Coupling Spectral Classification with Image Processing10.1016/j.jfca.2022.104642 ↗
19. Imagenet Classification with Deep Convolutional Neural Networks10.1145/3065386 ↗
20. Mao, Q., Wang, M., Hu, X., Xue, X., and Zhai, J. (2023). Intelligent Identification Method of Shearer Drums Based on Improved Yolov5s with Dark Channel-Guided Filtering Defogging. Energies, 16.10.3390/en16104190 ↗
21. Zhou, B., Wu, K., and Chen, M. (2024). Detection of Gannan Navel Orange Ripeness in Natural Environment Based on Yolov5-Nmm. Agronomy, 14.10.3390/agronomy14050910 ↗
22. Ma, N., Zhang, X., Zheng, H.-T., and Sun, J. (2018, January 8–14). Shufflenet V2: Practical Guidelines for Efficient Cnn Architecture Design. Proceedings of the Computer Vision—ECCV 2018, Munich, Germany.10.1007/978-3-030-01264-9_8 ↗
23. Sun, W., Fu, B., and Zhang, Z. (2023). Maize Nitrogen Grading Estimation Method Based on Uav Images and an Improved Shufflenet Network. Agronomy, 13.10.3390/agronomy13081974 ↗
24. Woo, S., Park, J., Lee, J.-Y., and Kweon, I.S. (2018, January 8–14). Cbam: Convolutional Block Attention Module. Proceedings of the Computer Vision—ECCV 2018, Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
25. Research on Recognition of Fly Species Based on Improved Retinanet and Cbam10.1109/ACCESS.2020.2997466 ↗
26. Zhang, Q.L., and Yang, Y.B. (2021, January 6–11). Sa-Net: Shuffle Attention for Deep Convolutional Neural Networks. Proceedings of the ICASSP 2021—2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada.10.1109/ICASSP39728.2021.9414568 ↗
27. Hou, Q., Zhou, D., and Feng, J. (2021, January 20–25). Coordinate Attention for Efficient Mobile Network Design. Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPR46437.2021.01350 ↗