Using CNN to Identify NPK Deficiencies in Paddy Fields: An Advanced Detection Method


  • Sharanamma M. Hugar Research Scholar, Dept. of CSE, VTU CPGS RO Kalaburagi, Affiliated to Visvesvaraya Technological University, Belagavi – 590018, INDIA
  • Mohammed Abdul Waheed Professor, Department of CSE, VTU CPGS, RO, Kalaburagi., Affiliated to Visvesvaraya Technological University, Belagavi – 590018, INDIA


Nitrogen, Phosphorus, Potassium, (NPK), Convolution Neural Network (CNN), Plant Nutrition, Crop Yields, Rice Plant Leaves, Paddy Fields


Our study introduces a cutting-edge framework employing imaging technology to identify nutrient deficiencies in rice plants, focusing on nitrogen (N), phosphorus (P), and potassium (K). We utilize various image datasets of rice plant leaves showing symptoms of these deficiencies to train a Convolutional Neural Network (CNN). The CNN's capacity for learning from diverse data inputs makes it ideal for this complex task. A crucial aspect of our methodology is the use of a pre-trained CNN. The early layers of this network are particularly adept at extracting distinct features from the images of paddy leaves, enabling precise identification of specific nutrient deficiencies. When introduced to the trained CNN model, a new test image can accurately determine whether the leaf is deficient in nitrogen, phosphorus, or potassium. Implementing this image-based nutrient deficiency detection method has significant implications for agriculture. It provides farmers a non-invasive and efficient tool to identify crop nutrient imbalances. This empowerment enables better-informed fertilization decisions, potentially leading to improved crop yields and more sustainable farming practices. Our approach achieves an impressive accuracy of 96.67%, demonstrating its effectiveness. Therefore, our method marks a substantial advancement in agricultural technology, offering a valuable solution for enhancing plant health and agricultural productivity.


Download data is not yet available.


Miyata, A., Solanki, S.: Disease and nutrient deficiency detection in cotton plants. International Journal of Engineering Development and Research 2(2), 2801–2804 (2014)

X. Yao, W. Luo, and Z. Yuan,” An adaptive and quantitative rubber nutrient status are analyzing system by digital foliar images,” 3rd International Congress on Image and Signal Processing (CISP), 2010, vol. 5, pp. 2492-2495, IEEE, 2010

M. A. Hairuddin, N. M. Tahir, and S. R. S. Baki,” Overview of image processing approach for nutrient deficiencies detection in Elaeis guineensis,” IEEE International Conference on System Engineering and Technology (ICSET), 2011, pp. 116-120, IEEE, 2011

Panwar, M. Al-Lami, P. Bharti, S. Chellappan, and J. Burken,” Determining the effectiveness of soil treatment on plant stress using smartphone cameras,” International Conference on Selected Topics in Mobile & Wireless Networking (MoWNeT), 2016, pp. 1-8, IEEE, 2016

L. Romualdo, P. H. d. C. Luz, F. Devechio, M. Marin, A. Z’un˜niga, O. M. Bruno, and V. R. Herling,” Use of artificial vision techniques for diagnostic of nitrogen nutritional status in paddy plants,” Computers and electronics in agriculture, vol. 104, pp. 63–70, 2014

Liu, Y., Lyu, Q., He, S., Yi, S., Liu, X., Xie, R., Zheng, Y., Deng, L.: Prediction of nitrogen and phosphorus contents in citrus leaves based on hyperspectral imaging. International Journal of Agricultural and Biological Engineering 8(2), 80–88 (2015)

Wang, Y., Wang, D., Shi, P., Omasa, K.: Estimating rice chlorophyll content and leaf nitrogen concentration with a digital still color camera under natural light. Plant Methods 10(1), 36 (2014)

Chen, L., Lin, L., Cai, G., Sun, Y., Huang, T., Wang, K., Deng, J.: Identification of nitrogen, phosphorus, and potassium deficiencies in rice based on static scanning technology and hierarchical identification method. PloS one 9(11), 113–200 (2014)

S. A. Abraha˜o, F. d. A. d. C. Pinto, D. M. d. Queiroz, N. T. Santos, and J. E. d. S. Carneiro,” Determination of nitrogen and chlorophyll levels in bean-plant leaves by using spectral vegetation bands and indices,” Revista Ciencia Agronomica, vol. 44, no. 3, pp. 464-473, 2013.

Sneha Pawaskar, Suneeta V. Budihal, ”‘Real-Time Vehicle-Type Categorization and Character Extraction from the License Plates,” International Conference on Cognitive informatics and soft computing -2017, Dec. 20th -21st, 2017, VBIT, Hyderabad, pp. 557-565

Hiremath, S.S., Hiremath, J., Kulkarni, V.V., Harshit, B.C., Kumar, S., Hiremath, M.S. (2023). Facial Expression Recognition Using Transfer Learning with ResNet50. In: Suma, V., Lorenz, P., Baig, Z. (eds) Inventive Systems and Control. Lecture Notes in Networks and Systems, vol 672. Springer, Singapore.

Chen, L., Lin, L., Cai, G., Sun, Y., Huang, T., Wang, K., et al. 2014. Identification of Nitrogen, Phosphorus, and Potassium Deficiencies in Rice Based on Static Scanning Technology and Hierarchical Identification Method. PLoS ONE 9(11): e113200.

Yao, Q., Xian, D., Liu, Q., Yang, B., Diao, G., & Tang, J., 2014. Automated Counting of Rice Planthoppers in Paddy Fields Based on Image Processing. Journal of Integrative Agriculture, 13(8), 1736–1745.

Islam, T., et al., 2018. A Faster Technique On Rice Disease Detection Using Image Processing of Affected Area In Agro-Field, Proceedings of the 2nd International Conference on Inventive Communication and Computational Technologies (ICICCT), Coimbatore, 62-66.

Sarangdhar, A.A. and Pawar, V.R., 2017. April. Machine learning regression technique for cotton leaf disease detection and controlling using IoT. In Electronics, Communication and Aerospace Technology (ICECA), 2017 IEEE International conference. 2, 449- 454.




How to Cite

Hugar, S. M. ., & Waheed, M. A. . (2023). Using CNN to Identify NPK Deficiencies in Paddy Fields: An Advanced Detection Method. International Journal of Intelligent Systems and Applications in Engineering, 12(2), 665–673. Retrieved from



Research Article