Leaf Disease Detection and Pesticide Recommendation Using Pretrained CNN Models in Keras on the Augmented New Plant Diseases Dataset

Authors

  • Vijayalakshmi S. Abbigeri School of Computing and Information Technology, REVA University, Bengaluru, India
  • Geetha D. Devanagavi School of Computing and Information Technology, REVA University, Bengaluru, India
Volume: 16 | Issue: 2 | Pages: 33705-33711 | April 2026 | https://doi.org/10.48084/etasr.15443

Abstract

Timely and precise identification of diseases in plant leaves is crucial for protecting crops and promoting sustainable agricultural practices. In this work, a custom Convolutional Neural Network (CNN) model built with Keras is presented to identify 38 different classes of leaf diseases from the Augmented New Plant Diseases Dataset. The model architecture consists of several convolutional layers with increasing filter sizes (from 32 to 512), ReLU activation functions, and max pooling for spatial downsampling. It concludes with fully connected layers and includes dropout to reduce the risk of overfitting. Training is performed using the Adam optimizer with a learning rate of 0.0001, and the loss is calculated using the sparse categorical cross-entropy function. To improve the model's robustness and adaptability to diverse lighting and environmental conditions, data augmentation methods are applied. The results confirm the model's high accuracy, with a training accuracy of 98.37% and a test accuracy of 96.29%, supporting its application for real-time detection of plant diseases at scale. Furthermore, a rule-based system is incorporated to recommend suitable pesticides based on the detected disease category. This approach emphasizes the value of deep learning in advancing smart agriculture and providing automated support for disease identification and treatment decisions.

Keywords:

plant leaf disease, deep Convolutional Neural Networks (CNNs), data augmentation, Keras, augmented new plant diseases dataset

Downloads

Download data is not yet available.

References

S. I. Mohamed, "Potato Leaf Disease Diagnosis and Detection System Based on Convolution Neural Network," International Journal of Recent Technology and Engineering, vol. 9, no. 4, pp. 254–259, Nov. 2020. DOI: https://doi.org/10.35940/ijrte.D4954.119420

J. Lu, L. Tan, and H. Jiang, "Review on Convolutional Neural Network (CNN) Applied to Plant Leaf Disease Classification," Agriculture, vol. 11, no. 8, July 2021, Art. no. 707. DOI: https://doi.org/10.3390/agriculture11080707

V. K. Shrivastava, M. K. Pradhan, S. Minz, and M. P. Thakur, "Rice Plant Disease Classification Using Transfer Learning of Deep Convolution Neural Network," The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, vol. XLII-3/W6, pp. 631–635, July 2019. DOI: https://doi.org/10.5194/isprs-archives-XLII-3-W6-631-2019

M. H. Saleem, J. Potgieter, and K. M. Arif, "Plant Disease Detection and Classification by Deep Learning," Plants, vol. 8, no. 11, Oct. 2019, Art. no. 468. DOI: https://doi.org/10.3390/plants8110468

V. S. Abbigeri and G. D. Devanagavi, "Feature Engineering in Machine Learning: Current Trends, Challenges, and Best Practices," Journal of Engineering and Technology Management, vol. 75, pp. 561–572, Jan. 2025.

V. Tiwari, R. C. Joshi, and M. K. Dutta, "Dense convolutional neural networks based multiclass plant disease detection and classification using leaf images," Ecological Informatics, vol. 63, July 2021, Art. no. 101289. DOI: https://doi.org/10.1016/j.ecoinf.2021.101289

"New Plant Diseases Dataset." Kaggle. [Online]. Available: https://www.kaggle.com/datasets/vipoooool/new-plant-diseases-dataset.

A. Darwish, D. Ezzat, and A. E. Hassanien, "An optimized model based on convolutional neural networks and orthogonal learning particle swarm optimization algorithm for plant diseases diagnosis," Swarm and Evolutionary Computation, vol. 52, Feb. 2020, Art. no. 100616. DOI: https://doi.org/10.1016/j.swevo.2019.100616

O. Iparraguirre-Villanueva et al., "Disease Identification in Crop Plants based on Convolutional Neural Networks," International Journal of Advanced Computer Science and Applications (IJACSA), vol. 14, no. 3, pp. 519–528, Mar. 2023. DOI: https://doi.org/10.14569/IJACSA.2023.0140360

K. Suwa, Q. H. Cap, R. Kotani, H. Uga, S. Kagiwada, and H. Iyatomi, "A comparable study: Intrinsic difficulties of practical plant diagnosis from wide-angle images," in 2019 IEEE International Conference on Big Data, Los Angeles, CA, USA, 2019, pp. 5195–5201. DOI: https://doi.org/10.1109/BigData47090.2019.9006556

A. A. Ahmed and G. H. Reddy, "A Mobile-Based System for Detecting Plant Leaf Diseases Using Deep Learning," AgriEngineering, vol. 3, no. 3, pp. 478–493, July 2021. DOI: https://doi.org/10.3390/agriengineering3030032

T. S. Alam, C. B. Jowthi, and A. Pathak, "Comparing pre-trained models for efficient leaf disease detection: a study on custom CNN," Journal of Electrical Systems and Information Technology, vol. 11, no. 1, Feb. 2024, Art. no. 12. DOI: https://doi.org/10.1186/s43067-024-00137-1

J. G. A. Barbedo, "Factors influencing the use of deep learning for plant disease recognition," Biosystems Engineering, vol. 172, pp. 84–91, Aug. 2018. DOI: https://doi.org/10.1016/j.biosystemseng.2018.05.013

S. P. Mohanty, D. P. Hughes, and M. Salathé, "Using Deep Learning for Image-Based Plant Disease Detection," Frontiers in Plant Science, vol. 7, Sept. 2016, Art. no. 1419. DOI: https://doi.org/10.3389/fpls.2016.01419

S. Sladojevic, M. Arsenovic, A. Anderla, D. Culibrk, and D. Stefanovic, "Deep Neural Networks Based Recognition of Plant Diseases by Leaf Image Classification," Computational Intelligence and Neuroscience, vol. 2016, no. 1, June 2016, Art. no. 3289801. DOI: https://doi.org/10.1155/2016/3289801

Ü. Atila, M. Uçar, K. Akyol, and E. Uçar, "Plant leaf disease classification using EfficientNet deep learning model," Ecological Informatics, vol. 61, Mar. 2021, Art. no. 101182. DOI: https://doi.org/10.1016/j.ecoinf.2020.101182

S. M. Omer, K. Z. Ghafoor, and S. K. Askar, "Plant Disease Diagnosing Based on Deep Learning Techniques: A Survey and Research Challenges," ARO-The Scientific Journal of Koya University, vol. 11, no. 1, pp. 38–47, Feb. 2023. DOI: https://doi.org/10.14500/aro.11080

K. R. Aravind, P. Raja, R. Aniirudh, K. V. Mukesh, R. Ashiwin, and G. Vikas, "Grape Crop Disease Classification Using Transfer Learning Approach," in Proceedings of the International Conference on ISMAC in Computational Vision and Bio-Engineering, Palladam, India, 2018, pp. 1623–1633. DOI: https://doi.org/10.1007/978-3-030-00665-5_150

K. P. Ferentinos, "Deep learning models for plant disease detection and diagnosis," Computers and Electronics in Agriculture, vol. 145, pp. 311–318, Feb. 2018. DOI: https://doi.org/10.1016/j.compag.2018.01.009

A. Fuentes, S. Yoon, S. C. Kim, and D. S. Park, "A Robust Deep-Learning-Based Detector for Real-Time Tomato Plant Diseases and Pests Recognition," Sensors, vol. 17, no. 9, Sept. 2017, Art. no. 2022. DOI: https://doi.org/10.3390/s17092022

C. P. Lee, K. M. Lim, Y. X. Song, and A. Alqahtani, "Plant-CNN-ViT: Plant Classification with Ensemble of Convolutional Neural Networks and Vision Transformer," Plants, vol. 12, no. 14, July 2023, Art. no. 2642. DOI: https://doi.org/10.3390/plants12142642

S. Prabavathi and P. Kanmani, "Plant Leaf Disease Detection and Classification using Optimized CNN Model," International Journal of Recent Technology and Engineering, vol. 9, no. 6, pp. 233–238, Mar. 2020. DOI: https://doi.org/10.35940/ijrte.F5572.039621

M. H. Saleem, J. Potgieter, and K. M. Arif, "Plant Disease Classification: A Comparative Evaluation of Convolutional Neural Networks and Deep Learning Optimizers," Plants, vol. 9, no. 10, Oct. 2020, Art. no. 1319. DOI: https://doi.org/10.3390/plants9101319

S. Alqethami, B. Almtanni, W. Alzhrani, and M. Alghamdi, "Disease Detection in Apple Leaves Using Image Processing Techniques," Engineering, Technology & Applied Science Research, vol. 12, no. 2, pp. 8335–8341, Apr. 2022. DOI: https://doi.org/10.48084/etasr.4721

Downloads

How to Cite

[1]
V. S. Abbigeri and G. D. Devanagavi, “Leaf Disease Detection and Pesticide Recommendation Using Pretrained CNN Models in Keras on the Augmented New Plant Diseases Dataset”, Eng. Technol. Appl. Sci. Res., vol. 16, no. 2, pp. 33705–33711, Apr. 2026.

Metrics

Abstract Views: 112
PDF Downloads: 48

Metrics Information