Classification of Typical Pests and Diseases of Rice Based on the ECA Attention Mechanism
Abstract
:1. Introduction
2. Methods
2.1. RepVGG
2.2. ECA Attention Mechanism
2.3. Proposed Methods
3. Experiments and Results
3.1. Dataset
3.2. Data Augmentation
3.3. Pest and Disease Classification
4. Discussion
4.1. Comparison with Other Models
4.2. Ablation Study
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
References
- Zhao, X.; Ma, L.; Qu, P.; Yue, B.; Zhao, X.; Shang, X.; Zhao, Y.; Wu, Y. Total mercury and methylmercury in Chinese rice and dietary exposure assessment. Food Addit. Contam. Part B 2020, 13, 148–153. [Google Scholar] [CrossRef]
- Li, F.; Zhang, W. Research on the Effect of Digital Economy on Agricultural Labor Force Employment and Its Relationship Using SEM and fsQCA Methods. Agriculture 2023, 13, 566. [Google Scholar] [CrossRef]
- Tan, C.; Tao, J.; Yi, L.; He, J.; Huang, Q. Dynamic Relationship between Agricultural Technology Progress, Agricultural Insurance, and Farmers’ Income. Agriculture 2022, 12, 1331. [Google Scholar] [CrossRef]
- International Rice Research Institute. Rice in the Global Economy: Strategic Research and Policy Issues for Food Security; International Rice Research Institute: Los Baños, Philippines, 2010. [Google Scholar]
- Xiaopeng, D.; Donghui, L. Research on Rice Pests and Diseases Warning Based on CBR. In Proceedings of the 2013 International Conference on Computational and Information Sciences, Shiyang, China, 21–23 June 2013; pp. 1740–1742. [Google Scholar] [CrossRef]
- Prajapati, H.B.; Shah, J.P.; Dabhi, V.K. Detection and classification of rice plant diseases. Intell. Decis. Technol. 2017, 11, 357–373. [Google Scholar] [CrossRef]
- Alfatni, M.S.M.; Khairunniza-Bejo, S.; Marhaban, M.H.B.; Saaed, O.M.B.; Mustapha, A.; Shariff, A.R.M. Towards a Real-Time Oil Palm Fruit Maturity System Using Supervised Classifiers Based on Feature Analysis. Agriculture 2022, 12, 1461. [Google Scholar] [CrossRef]
- Noble, W.S. What is a support vector machine? Nat. Biotechnol. 2006, 24, 1565–1567. [Google Scholar] [CrossRef] [PubMed]
- Xu, N. Image Processing Technology in Agriculture. J. Phys. Conf. Ser. 2021, 1881, 32097. [Google Scholar] [CrossRef]
- Azim, M.A.; Islam, M.K.; Rahman, M.; Jahan, F. An effective feature extraction method for rice leaf disease classification. TELKOMNIKA 2021, 19, 463–470. [Google Scholar] [CrossRef]
- Shrivastava, V.K.; Pradhan, M.K. Rice plant disease classification using color features: A machine learning paradigm. J. Plant Pathol. 2021, 103, 17–26. [Google Scholar] [CrossRef]
- Wang, P.; Fan, E.; Wang, P. Comparative analysis of image classification algorithms based on traditional machine learning and deep learning. Pattern Recognit. Lett. 2021, 141, 61–67. [Google Scholar] [CrossRef]
- Lai, Y. A Comparison of Traditional Machine Learning and Deep Learning in Image Recognition. J. Phys. Conf. Ser. 2019, 1314, 12148. [Google Scholar] [CrossRef]
- Hegde, R.B.; Prasad, K.; Hebbar, H.; Singh, B.M.K. Comparison of traditional image processing and deep learning approaches for classification of white blood cells in peripheral blood smear images. Biocybern. Biomed. Eng. 2019, 39, 382–392. [Google Scholar] [CrossRef]
- Alfarisy, A.A.; Chen, Q.; Guo, M. Deep learning based classification for paddy pests & diseases recognition. In Proceedings of the 2018 International Conference on Mathematics and Artificial Intelligence, Chengdu, China, 20–22 April 2018; pp. 21–25. [Google Scholar] [CrossRef]
- Sagarika, G.K.; Prasad, S.J.K.; Kumar, S.M. Paddy Plant Disease Classification and Prediction Using Convolutional Neural Network. In Proceedings of the 2020 International Conference on Recent Trends on Electronics, Information, Communication & Technology (RTEICT), Bangalore, India, 12–13 November 2020; pp. 208–214. [Google Scholar] [CrossRef]
- Wang, Y.; Wang, H.; Peng, Z. Rice diseases detection and classification using attention-based neural network and bayesian optimization. Expert Syst. Appl. 2021, 178, 114770. [Google Scholar] [CrossRef]
- Patil, R.R.; Kumar, S. Rice-fusion: A multimodality data fusion framework for rice disease diagnosis. IEEE Access 2022, 10, 5207–5222. [Google Scholar] [CrossRef]
- Liang, K.; Wang, Y.; Sun, L.; Xin, D.; Chang, Z. A Lightweight-Improved CNN Based on VGG16 for Identification and Classification of Rice Diseases and Pests. In Proceedings of the International Conference on Image, Vision and Intelligent Systems (ICIVIS 2021), Changsha, China, 21–23 May 2022; pp. 195–207. Available online: https://link.springer.com/chapter/10.1007/978-981-16-6963-7_18 (accessed on 28 March 2023).
- Lu, Y.; Li, Z.; Zhao, X.; Lv, S.; Wang, X.; Wang, K.; Ni, H. Recognition of Rice Sheath Blight Based on a Backpropagation Neural Network. Electronics 2021, 10, 2907. [Google Scholar] [CrossRef]
- Burhan, S.A.; Minhas, S.; Tariq, A.; Hassan, M.N. Comparative study of deep learning algorithms for disease and pest detection in rice crops. In Proceedings of the 2020 12th International Conference on Electronics, Computers and Artificial Intelligence, Bucharest, Romania, 25–27 June 2020; pp. 1–5. [Google Scholar] [CrossRef]
- Hu, Y.; Deng, X.; Lan, Y.; Chen, X.; Long, Y.; Liu, C. Detection of Rice Pests Based on Self-Attention Mechanism and Multi-Scale Feature Fusion. Insects 2023, 14, 280. [Google Scholar] [CrossRef]
- Rahman, C.R.; Arko, P.S.; Ali, M.E.; Khan, M.A.I.; Apon, S.H.; Nowrin, F.; Wasif, A. Identification and recognition of rice diseases and pests using convolutional neural networks. Biosyst. Eng. 2020, 194, 112–120. [Google Scholar] [CrossRef]
- Li, D.; Wang, R.; Xie, C.; Liu, L.; Zhang, J.; Li, R.; Wang, F.; Zhou, M.; Liu, W. A Recognition Method for Rice Plant Diseases and Pests Video Detection Based on Deep Convolutional Neural Network. Sensors 2020, 20, 578. [Google Scholar] [CrossRef]
- Li, Z.; Jiang, X.; Jia, X.; Duan, X.; Wang, Y.; Mu, J. Classification Method of Significant Rice Pests Based on Deep Learning. Agronomy 2022, 12, 2096. [Google Scholar] [CrossRef]
- Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv 2014, arXiv:1409.1556. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 26 June–1 July 2016; pp. 770–778. [Google Scholar]
- Ding, X.; Zhang, X.; Ma, N.; Han, J.; Ding, G.; Sun, J. Repvgg: Making vgg-style convnets great again. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; pp. 13733–13742. [Google Scholar]
- Hu, J.; Shen, L.; Albanie, S.; Sun, G.; Wu, E. Squeeze-and-Excitation Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2020, 42, 2011–2023. [Google Scholar] [CrossRef] [PubMed]
- Woo, S.; Park, J.; Lee, J.; Kweon, I.S. Cbam: Convolutional block attention module. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar]
- Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. Supplementary material for ‘ECA-Net: Efficient channel attention for deep convolutional neural networks. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 13–19. [Google Scholar]
- Kiruba, B.; Arjunan, P. Paddy Doctor: A Visual Image Dataset for Automated Paddy Disease Classification and Benchmarking. In Proceedings of the 6th Joint International Conference on Data Science & Management of Data, Mumbai, India, 4–7 January 2023; pp. 203–207. [Google Scholar] [CrossRef]
Type | Training Set | Validation Set | Testing Set |
---|---|---|---|
Blast | 1482 | 370 | 206 |
Brown_spot | 1386 | 346 | 193 |
Dead_heart | 1413 | 353 | 196 |
Hispa | 1436 | 359 | 199 |
Tungro | 1414 | 354 | 196 |
Normal | 1442 | 362 | 200 |
Type | Blast | Brown_spot | Dead_heart | Hispa | Normal | Tungro |
---|---|---|---|---|---|---|
Number | 1738 | 965 | 1442 | 1594 | 1764 | 1088 |
Proportion (%) | 20.2 | 11.2 | 16.8 | 18.6 | 20.5 | 12.7 |
Type | Blast | Brown_spot | Dead_heart | Hispa | Normal | Tungro |
---|---|---|---|---|---|---|
Number | 2058 | 1925 | 1962 | 1994 | 1964 | 2004 |
Proportion (%) | 17.3 | 16.2 | 16.5 | 16.7 | 16.5 | 16.8 |
Accuracy (%) | Macro-Precision (%) | Macro-Recall (%) | Macro-F1 (%) |
---|---|---|---|
97.06 | 97.13 | 97.08 | 97.09 |
Methods | Accuracy (%) | Macro-Precision (%) | Macro-Recall (%) | Macro-F1 (%) |
---|---|---|---|---|
ResNet34 | 95.21 | 95.4 | 95.2 | 95.24 |
ResNeXt50 | 95.88 | 96.02 | 95.9 | 95.92 |
ShuffleNet V2 | 93.67 | 93.67 | 93.35 | 93.42 |
RepVGGa0 | 95.97 | 95.48 | 95.98 | 96.01 |
Our method | 97.06 | 97.13 | 97.08 | 97.09 |
Block | Head | Stage 1 | Stage 2 | Stage 3 | Stage 4 | Accuracy (%) |
---|---|---|---|---|---|---|
√ | × | × | × | × | × | 96.55 |
√ | √ | × | × | × | × | 97.06 |
√ | √ | √ | × | × | × | 95.97 |
√ | √ | √ | √ | × | × | 96.22 |
√ | √ | √ | √ | √ | × | 96.47 |
√ | √ | √ | √ | √ | √ | 96.31 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ni, H.; Shi, Z.; Karungaru, S.; Lv, S.; Li, X.; Wang, X.; Zhang, J. Classification of Typical Pests and Diseases of Rice Based on the ECA Attention Mechanism. Agriculture 2023, 13, 1066. https://doi.org/10.3390/agriculture13051066
Ni H, Shi Z, Karungaru S, Lv S, Li X, Wang X, Zhang J. Classification of Typical Pests and Diseases of Rice Based on the ECA Attention Mechanism. Agriculture. 2023; 13(5):1066. https://doi.org/10.3390/agriculture13051066
Chicago/Turabian StyleNi, Hongjun, Zhiwei Shi, Stephen Karungaru, Shuaishuai Lv, Xiaoyuan Li, Xingxing Wang, and Jiaqiao Zhang. 2023. "Classification of Typical Pests and Diseases of Rice Based on the ECA Attention Mechanism" Agriculture 13, no. 5: 1066. https://doi.org/10.3390/agriculture13051066
APA StyleNi, H., Shi, Z., Karungaru, S., Lv, S., Li, X., Wang, X., & Zhang, J. (2023). Classification of Typical Pests and Diseases of Rice Based on the ECA Attention Mechanism. Agriculture, 13(5), 1066. https://doi.org/10.3390/agriculture13051066