Agricultural Application of Convolutional Neural Networks: A Case Study on Potato Plant Disease Detection Using Keras Image Generator and Data Augmentation Techniques
PDF
PDF

How to Cite

Ganesan, Swathi, Lakmali Karunarathne, Sangita Pokhrel, Nalinda Somasiri, and Ganapathy Kumar. 2025. “Agricultural Application of Convolutional Neural Networks: A Case Study on Potato Plant Disease Detection Using Keras Image Generator and Data Augmentation Techniques”. Journal of Innovative Image Processing 6 (4): 433-55. https://doi.org/10.36548/jiip.2024.4.007.

Keywords

  • Machine Learning
  • Deep Learning
  • bacterial plant disease
  • Keras Image Generator
  • Convolutional Neural Network
  • Data Augmentation

Abstract

Crop yields are severely impacted by plant diseases, leading to significant economic consequences. This study presents a plant disease prediction model that utilizes Convolutional Neural Networks (CNNs) and the Keras image augmentation technique. The CNN architecture includes multiple convolutional and pooling layers, as well as fully connected layers. Model training employs the Adam optimiser and categorical cross-entropy loss function, using a dataset of plant leaf images labelled with corresponding diseases for validation. After training the model with 10 epochs and a batch size of 32, an accuracy of 97% was achieved with a loss of 0.11. Validation accuracy and loss were 91% and 0.20, respectively. The Keras image augmentation technique was also evaluated for its effectiveness in generating new images from existing ones, which were used to test the model's ability to generalise when exposed to unseen data. The accuracy and loss on the test images were 95% and 0.25 and for augmented images were 94% and 0.22, respectively, demonstrating the model's potential for use in plant disease management as a diagnostic tool for farmers. This study is unique in combining CNN and Keras Image Generator for the detection of leaf diseases, and the results suggest that the proposed model could be useful for improving crop yields and farmers' income.

References

Li, Xudong, Yuhong Zhou, Jingyan Liu, Linbai Wang, Jun Zhang, and Xiaofei Fan. "The detection method of potato foliage diseases in complex background based on instance segmentation and semantic segmentation." Frontiers in Plant Science 13 (2022): 899754.

T.-Y. Lee, J.-Y. Yu, Y.-C. Chang, and J.-M. Yang, “Health detection for potato leaf with convolutional neural network,” in 2020 Indo–Taiwan 2nd International Conference on Computing, Analytics and Net- works (Indo-Taiwan ICAN),Rajpura, India. IEEE, 2020. 289–293

M. Islam, A. Dinh, K. Wahid, and P. Bhowmik, “De- tection of potato diseases using image segmentation and multiclass support vector machine,” in 2017 IEEE 30th canadian conference on electrical and computer engineering (CCECE), Canada. IEEE, 2017. 1–4

H. Waghmare, R. Kokare, and Y. Dandawate, “Detec- tion and classification of diseases of grape plant us- ing opposite colour local binary pattern feature and machine learning for automated decision support sys- tem,” in 2016 3rd international conference on signal processing and integrated networks (SPIN), Delhi. IEEE, 2016. 513– 518

S. Ramesh, R. Hebbar, M. Niveditha, R. Pooja, N. Shashank, P. Vinod, et al., “Plant disease detection using machine learning,” in 2018 International conference on design innovations for 3Cs compute com- municate control (ICDI3C), Bangalore, Indiapp. IEEE, 2018. 41–45

M. K. Singh, S. Chetia, and M. Singh, “Detection and classification of plant leaf diseases in image process- ing using matlab,” International journal of life sci ences Research, vol. 5, no. 4, 2017. 120–124

S. N. Ghaiwat and P. A. Detection, “Classification of plant leaf diseases using image processing tech- niques: A review international journal of recent ad-vances in engineering and technology (ijraet) issn (on- line): 2347-2812,” Volume-2, Issue-3, 2014.

Badnakhe, Mrunalini R., and Prashant R. Deshmukh. "An application of K-means clustering and artificial intelligence in pattern recognition for crop diseases." In International conference on advancements in information technology, vol. 20, 2011. 134-138.

S. Stearns, “Early Blight and Late Blight of Potato — Integrated Pest Management—ipm.cahnr.uconn.edu.” https://ipm.cahnr.uconn.edu/ early-blight-and-late-blight-of-potato/. (Accessed 22-Apr-2023).

Vishnoi, Vibhor Kumar, Krishan Kumar, Brajesh Kumar, Shashank Mohan, and Arfat Ahmad Khan. "Detection of apple plant diseases using leaf images through convolutional neural network." IEEE Access 11 (2022): 6594-6609.

“Potato Disease Leaf Dataset (PLD) — kaggle.com.” https://www.kaggle. com/datasets/rizwan123456789/ potato-disease-leaf-datasetpld. (Accessed 22-Apr-2024).

Ratnayake, Upadya, Nalinda Somasiri, Swathi Ganesan, and Sangita Pokhrel. "Enhancing CNN Models with Data Augmentation for Accurate Fertilizer Deficiencies and Diseases Identification in Paddy Crops." In Annual International Conference On Business Innovation (ICOBI 2023), srilanka vol. 1,ICOBI, 2023. 575-582

D. K. Gummalla, S. Ganesan, S. Pokhrel, and N. Somasiri, "Enhanced Early Detection of Thyroid Abnormalities Using a Hybrid Deep Learning Model: A Sequential CNN and K-Means Clustering Approach," Journal of Innovative Image Processing, vol. 6, no. 3, 244–261, 2024

U. Shruthi, V. Nagaveni, and B. Raghavendra, “A review on machine learning classification techniques for plant disease detection,” in 2019 5th International conference on advanced computing & communication systems (ICACCS), Coimbatore India. 281–284, IEEE, 2019.

V. Pooja, R. Das, and V. Kanchana, “Identification of plant leaf diseases using image processing tech- niques,” in 2017 IEEE Technological Innovations in ICT for Agriculture and Rural Development (TIAR), IEEE, 2017. 130–133

Q. Yan, B. Yang, W. Wang, B. Wang, P. Chen, and J. Zhang, “Apple leaf diseases recognition based on an improved convolutional neural network,” Sensors, vol. 20, no. 12, 2020. 3535

Lu, Jinzhu, Lijuan Tan, and Huanyu Jiang. "Review on convolutional neural network (CNN) applied to plant leaf disease classification." Agriculture 11, no. 8 (2021): 707.

Fulari, Utkarsha N., Rajveer K. Shastri, and Anuj N. Fulari. "Leaf disease detection using machine learning." J. Seybold Rep 1533 (2020): 9211.

Zulkarnain, Izuardo, Rin Rin Nurmalasari, and Fazat Nur Azizah. "Table information extraction using data augmentation on deep learning and image processing." In 2022 16th International Conference on Telecommunication Systems, Services, and Applications (TSSA), Indonesia, IEEE, 2022. 1-6.

R. C. Joshi, M. Kaushik, M. K. Dutta, A. Srivastava, and N. Choudhary, “Virleafnet: Automatic analysis and viral disease diagnosis using deep-learning in vigna mungo plant,” Ecological Informatics, vol. 61, 2021. 101197.

“Potato Disease Identification — AHDB — potatoes.ahdb.org.uk.” https://potatoes. ahdb.org.uk/knowledge-library/ potato-disease-identification. (Accessed 22-Apr-2023)

Mo, Weilong, Xiaoshu Luo, Yexiu Zhong, and Wenjie Jiang. "Image recognition using convolutional neural network combined with ensemble learning algorithm." In Journal of Physics: Conference Series, vol. 1237, no. 2, IOP Publishing, 2019. 022026.

Saud, Arjun Singh, and Subarna Shakya. "Analysis of l2 regularization hyper parameter for stock price prediction." Journal of Institute of Science and Technology 26, no. 1 (2021): 83-88.

Ganesan, Swathi, Nalinda Somasiri, Rebecca Jeyavadhanam, and Gayathri Karthick. "Improved Computational Efficiency of Machine Learning Algorithms Based on Evaluation Metrics to Control the Spread of Coronavirus in the UK." International Journal of Computer and Systems Engineering 17, no. 10 (2023): 532-537.

“tf.keras.losses.SparseCategoricalCrossentropy | TensorFlow Core r2.0,” TensorFlow, 2019. https://www.tensorflow.org/api_docs/python/tf/keras/losses/SparseCategoricalCrossentropy

Ganesan, Swathi, Nalinda Somasiri, and Chandima Colombage. "Deep learning approaches for accurate sentiment analysis of online consumer feedback." In 2023 International Conference on Computer Communication and Informatics (ICCCI),Coimbatore.. IEEE, 2023. 1-5