Welcome to Francis Academic Press

Academic Journal of Computing & Information Science, 2023, 6(2); doi: 10.25236/AJCIS.2023.060203.

Rice Leaf Nitrogen Deficiency Image Classification Model Based on CNN


Luo Yuchen1, Zan Xusen2, Li Jiali3, Zhang Xueting4

Corresponding Author:
Luo Yuchen

1College of Mathematical Statistics, Ningxia University, Yinchuan, China

2College of Physics and Electronic and Electrical Engineering, Ningxia University, Yinchuan, China

3College of Advanced Interdisciplinary Studies, Ningxia University, Zhongwei, China

4College of Education, Ningxia University, Yinchuan, China


This study endeavors to utilize a convolutional neural network (CNN) to categorize pictures of nitrogen insufficiency in rice foliage. Thousands of real photos of rice leaves falling under four different labels of nitrogen deficiency served as the basis for this classification model. This study compares the effectiveness of several optimizers on this dataset and provides a detailed description of how a convolutional neural network model is constructed. The accuracy and loss of the model are computed to quantitatively assess its performance. Finally, when the optimizer is switched from Adam to Nadam, the accuracy of the model increases from 94.75% to 99.5%.


Machine Learning, CNN, Data Processing, Image Classification, Optimizer Comparison

Cite This Paper

Luo Yuchen, Zan Xusen, Li Jiali, Zhang Xueting. Rice Leaf Nitrogen Deficiency Image Classification Model Based on CNN. Academic Journal of Computing & Information Science (2023), Vol. 6, Issue 2: 16-22. https://doi.org/10.25236/AJCIS.2023.060203.


[1] P. K. Sethy, N. K. Barpanda, A. K. Rath, and S. K. Behera, “Nitrogen Deficiency Prediction of Rice Crop Based on Convolutional Neural Network,” J Ambient Intell Human Comput, vol. 11, no. 11, pp. 5703–5711, Nov. 2020.

[2] R. L. Mulvaney, S. A. Khan, and T. R. Ellsworth, “Synthetic Nitrogen Fertilizers Deplete Soil Nitrogen: A Global Dilemma for Sustainable Cereal Production,” J. Environ. Qual., vol. 38, no. 6, pp. 2295–2314, Nov. 2009.

[3] L. S. Chen and K. Wang, “Diagnosing of rice nitrogen stress based on static scanning technology and image information extraction,” J Soil Sci Plant Nutr, vol. 14, no. 2, pp.382-393, Nov. 2014.

[4] W.-H. Yang, S. Peng, J. Huang, A. L. Sanico, R. J. Buresh, and C. Witt, “Using Leaf Color Charts to Estimate Leaf Nitrogen Status of Rice,” AGRONOMY JOURNAL, vol. 95, 2003.

[5] Arnal Barbedo, Jayme Garcia. "Digital image processing techniques for detecting, quantifying and classifying plant diseases." SpringerPlus vol.2 no.1,pp:1-12,2013.

[6] Zhang Jian and Zhang Wei, “Support vector machine for recognition of cucumber leaf diseases,” in 2010 2nd International Conference on Advanced Computer Control, Shenyang, China, pp. 264–266, 2010.

[7] A. Asfarian, Y. Herdiyeni, A. Rauf, and K. H. Mutaqin, “A computer vision for rice disease identification to support Integrated Pest Management,” Crop Protection, vol. 61, pp. 103–104, Jul. 2014.

[8] Y. Chen, J. Wang, R. Xia, Q. Zhang, Z. Cao, and K. Yang, “RETRACTED ARTICLE: The visual object tracking algorithm research based on adaptive combination kernel,” J Ambient Intell Human Comput, vol. 10, no. 12, pp. 4855–4867, Dec. 2019.

[9] F. Moslehi and A. Haeri, “An evolutionary computation-based approach for feature selection,” J Ambient Intell Human Comput, vol. 11, no. 9, pp. 3757–3769, Sep. 2020.

[10] S. Misra and R. H. Laskar, “Development of a hierarchical dynamic keyboard character recognition system using trajectory features and scale-invariant holistic modeling of characters,” J Ambient Intell Human Comput, vol. 10, no. 12, pp. 4901–4923, Dec. 2019.