Classification of Diseases in Tomato Leaves Using Deep Learning Methods
DOI:
https://doi.org/10.58190/imiens.2024.84Keywords:
convolutional neural networks, image processing, machine learning algorithms, mobile application integration, tomato leaf diseasesAbstract
The automatic detection of diseases in tomato leaves significantly contributes to tomato production and enables farmers to manage these issues more effectively. Tomatoes are a crucial commercial crop for local markets and exports, representing a significant agricultural sector in our country. Diseases affecting tomato leaves directly influence tomato yield and quality, making early detection and intervention paramount. Our study aims to address tomato losses due to leaf diseases using computer technology. Recently, Convolutional Neural Networks (CNN) have been employed in various fields including agriculture, military, robotics, and medicine for classification, object detection, and segmentation tasks. The integration of computer vision and image processing with deep learning architectures has led to notable advancements in these areas, offering solutions with higher accuracy and reducing human error. In our research, a dataset was created using images of tomato leaf diseases selected from Kaggle. Algorithms such as k-Nearest Neighbors (KNN), Random Forest (RF), Logistic Regression (LR), Support Vector Machine (SVM), and Neural Networks (NN) were applied using Orange, a data visualization and analysis software. Moreover, a custom algorithm developed in Python demonstrated the highest accuracy. while the highest classification accuracy of classification made with machine learning algorithms was 95.6%, the classification accuracy was achieved about 96% with the developed deep learning model. This system was integrated into an Amazon Web Services (AWS) Lambda function, subsequently utilized in a mobile application developed using Flutter for the UI and Dart for backend, ensuring connectivity with the Lambda function.
Downloads
References
Thangaraj, R., S. Anandamurugan, P. Pandiyan, and V.K. Kaliappan, Artificial intelligence in tomato leaf disease detection: a comprehensive review and discussion. Journal of Plant Diseases and Protection, 2022. 129(3): p. 469-488. DOI: 10.1007/s41348-021-00500-8.
Joosten, F., Y. Dijkxhoorn, Y. Sertse, and R. Ruben, How does the fruit and vegetable sector contribute to food and nutrition security? 2015, LEI. DOI: 10.32604/iasc.2021.016415.
Tarek, H., H. Aly, S. Eisa, and M. Abul-Soud, Optimized deep learning algorithms for tomato leaf disease detection with hardware deployment. Electronics, 2022. 11(1): p. 140. DOI: 10.3390/electronics11010140.
Schreinemachers, P., E.B. Simmons, and M.C. Wopereis, Tapping the economic and nutritional power of vegetables. Global food security, 2018. 16: p. 36-45. DOI: 10.1016/j.gfs.2017.09.005.
Han, L., M.S. Haleem, and M. Taylor. A novel computer vision-based approach to automatic detection and severity assessment of crop diseases. in 2015 Science and Information Conference (SAI). 2015. IEEE. DOI: 10.1109/SAI.2015.7237209.
Zhang, S., Y. Shang, and L. Wang, Plant disease recognition based on plant leaf image. 2015.
Trivedi, N.K., V. Gautam, A. Anand, H.M. Aljahdali, S.G. Villar, D. Anand, N. Goyal, and S. Kadry, Early detection and classification of tomato leaf disease using high-performance deep neural network. Sensors, 2021. 21(23): p. 7987. DOI: 10.3390/s21237987.
Gadade, H.D. and D. Kirange. Machine learning based identification of tomato leaf diseases at various stages of development. in 2021 5th International Conference on Computing Methodologies and Communication (ICCMC). 2021. IEEE. DOI: 10.1109/ICCMC51019.2021.9418263.
Agarwal, M., A. Singh, S. Arjaria, A. Sinha, and S. Gupta, ToLeD: Tomato leaf disease detection using convolution neural network. Procedia Computer Science, 2020. 167: p. 293-301. DOI: 10.1016/j.procs.2020.03.225.
Ashok, S., G. Kishore, V. Rajesh, S. Suchitra, S.G. Sophia, and B. Pavithra. Tomato leaf disease detection using deep learning techniques. in 2020 5th International Conference on Communication and Electronics Systems (ICCES). 2020. IEEE. DOI: 10.1109/ICCES48766.2020.9137986.
Kaushik, M., P. Prakash, R. Ajay, and S. Veni. Tomato leaf disease detection using convolutional neural network with data augmentation. in 2020 5th International Conference on Communication and Electronics Systems (ICCES). 2020. IEEE. DOI: 10.1109/ICCES48766.2020.9138030.
Jiang, D., F. Li, Y. Yang, and S. Yu. A tomato leaf diseases classification method based on deep learning. in 2020 chinese control and decision conference (CCDC). 2020. IEEE. DOI: 10.1109/CCDC49329.2020.9164457.
Das, D., M. Singh, S.S. Mohanty, and S. Chakravarty. Leaf disease detection using support vector machine. in 2020 International Conference on Communication and Signal Processing (ICCSP). 2020. IEEE. DOI: 10.1109/ICCSP48568.2020.9182128.
Wang, X. and J. Liu, Tomato anomalies detection in greenhouse scenarios based on YOLO-Dense. Frontiers in Plant Science, 2021. 12: p. 634103. DOI: 10.3389/fpls.2021.634103.
Kibriya, H., R. Rafique, W. Ahmad, and S. Adnan. Tomato leaf disease detection using convolution neural network. in 2021 International Bhurban Conference on Applied Sciences and Technologies (IBCAST). 2021. IEEE. DOI: 10.1109/IBCAST51254.2021.9393311.
Kursun, R., K.K. Bastas, and M. Koklu, Segmentation of dry bean (Phaseolus vulgaris L.) leaf disease images with U-Net and classification using deep learning algorithms. European Food Research and Technology, 2023. 249(10): p. 2543-2558. DOI: 10.1007/s00217-023-04319-5.
Anandhakrishnan, T. and S. Jaisakthi, Deep Convolutional Neural Networks for image based tomato leaf disease detection. Sustainable Chemistry and Pharmacy, 2022. 30: p. 100793. DOI: https://doi.org/10.1016/j.scp.2022.100793.
Rahman, S.U., F. Alam, N. Ahmad, and S. Arshad, Image processing based system for the detection, identification and treatment of tomato leaf diseases. Multimedia Tools and Applications, 2023. 82(6): p. 9431-9445. DOI: 10.1007/s11042-022-13715-0.
Janarthan, S., S. Thuseethan, S. Rajasegarar, and J. Yearwood, P2OP—Plant Pathology on Palms: A deep learning-based mobile solution for in-field plant disease detection. Computers and Electronics in Agriculture, 2022. 202: p. 107371. DOI: 10.1016/j.compag.2022.107371.
Sujatha, R., J.M. Chatterjee, N. Jhanjhi, and S.N. Brohi, Performance of deep learning vs machine learning in plant leaf disease detection. Microprocessors and Microsystems, 2021. 80: p. 103615. DOI: 10.1016/j.micpro.2020.103615.
Sardogan, M., A. Tuncer, and Y. Ozen. Plant leaf disease detection and classification based on CNN with LVQ algorithm. in 2018 3rd international conference on computer science and engineering (UBMK). 2018. IEEE. DOI: 10.1109/UBMK.2018.8566635.
Harakannanavar, S.S., J.M. Rudagi, V.I. Puranikmath, A. Siddiqua, and R. Pramodhini, Plant leaf disease detection using computer vision and machine learning algorithms. Global Transitions Proceedings, 2022. 3(1): p. 305-310. DOI: 10.1016/j.gltp.2022.03.016.
De Luna, R.G., E.P. Dadios, and A.A. Bandala. Automated image capturing system for deep learning-based tomato plant leaf disease detection and recognition. in TENCON 2018-2018 IEEE Region 10 Conference. 2018. IEEE. DOI: 10.1109/TENCON.2018.8650088.
Deng, Y., H. Xi, G. Zhou, A. Chen, Y. Wang, L. Li, and Y. Hu, An effective image-based tomato leaf disease segmentation method using MC-UNet. Plant Phenomics, 2023. 5: p. 0049. DOI: 10.34133/plantfenomik.0049.
Ally, N.M., H. Neetoo, V.M. Ranghoo-Sanmukhiya, and T.A. Coutinho, Greenhouse-grown tomatoes: microbial diseases and their control methods: a review. International Journal of Phytopathology, 2023. 12(1): p. 99-127. DOI: 10.33687/phytopath.012.01.4273.
Soto-Caro, A., G.E. Vallad, K.V. Xavier, P. Abrahamian, F. Wu, and Z. Guan, Managing bacterial spot of tomato: do chemical controls pay off? Agronomy, 2023. 13(4): p. 972. DOI: 10.3390/agronomy13040972.
Sharma, S. and K. Bhattarai, Progress in developing bacterial spot resistance in tomato. Agronomy, 2019. 9(1): p. 26. DOI: 10.3390/agronomy9010026.
GM, S.K., S. Sriram, R. Laxman, and K. Harshita, Tomato late blight yield loss assessment and risk aversion with resistant hybrid. Journal of Horticultural Sciences, 2022. 17(2): p. 411-416. DOI: 10.24154/jhs.v17i2.1105.
Hong, Y.-H., J. Meng, X.-L. He, Y.-Y. Zhang, and Y.-S. Luan, Overexpression of MiR482c in tomato induces enhanced susceptibility to late blight. Cells, 2019. 8(8): p. 822. DOI: 10.3390/cells8080822.
Sunarti, S., C. Kissoudis, Y. Van Der Hoek, H. Van Der Schoot, R.G. Visser, V. Der Linden, C. Gerard, C. Van De Wiel, and Y. Bai, Drought stress interacts with powdery mildew infection in tomato. Frontiers in Plant Science, 2022. 13: p. 845379. DOI: 10.3389/fpls.2022.845379.
Wang, H., W. Gong, Y. Wang, and Q. Ma, Contribution of a WRKY transcription factor, ShWRKY81, to powdery mildew resistance in wild tomato. International Journal of Molecular Sciences, 2023. 24(3): p. 2583. DOI: 10.3390/ijms24032583.
Gupta, V., V. Razdan, S. Sharma, and K. Fatima, Progress and severity of early blight of tomato in relation to weather variables in Jammu province. Journal of Agrometeorology, 2020. 22(2): p. 198-202. DOI: 10.54386/jam.v22i2.168.
Koklu, M., R. Kursun, E.T. Yasin, and Y.S. Taspinar. Detection of Defects in Soybean Seeds by Extracting Deep Features with SqueezeNet. in 2023 IEEE 12th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS). 2023. DOI: 10.1109/IDAACS58523.2023.10348939.
Torres, G.d.O., M.X. Guterres, and V.R.R. Celestino, Legal actions in Brazilian air transport: A machine learning and multinomial logistic regression analysis. Frontiers in Future Transportation, 2023. 4: p. 1070533. DOI: 10.3389/ffutr.2023.1070533.
Kursun, R., I. Cinar, Y.S. Taspinar, and M. Koklu. Flower Recognition System with Optimized Features for Deep Features. in 2022 11th Mediterranean Conference on Embedded Computing (MECO). 2022. DOI: 10.1109/MECO55406.2022.9797103.
Cakir, M., M. Yilmaz, M.A. Oral, H.O. Kazanci, and O. Oral, Accuracy assessment of RFerns, NB, SVM, and kNN machine learning classifiers in aquaculture. Journal of King Saud University-Science, 2023. 35(6): p. 102754. DOI: 10.1016/j.jksus.2023.102754.
Koklu, M. and K. Sabancı, International Journal of Intelligent Systems and Applications in Engineering, 2016. 4(Special Issue-1): p. 249-251. DOI: 10.18201/ijisae.281901.
Cen, H., D. Huang, Q. Liu, Z. Zong, and A. Tang, Application Research on Risk Assessment of Municipal Pipeline Network Based on Random Forest Machine Learning Algorithm. Water, 2023. 15(10): p. 1964. DOI: 10.3390/w15101964.
Butuner, R., I. Cinar, Y.S. Taspinar, R. Kursun, M.H. Calp, and M. Koklu, Classification of deep image features of lentil varieties with machine learning techniques. European Food Research and Technology, 2023. 249(5): p. 1303-1316. DOI: 10.1007/s00217-023-04214-z.
Taspinar, Y.S., I. Cinar, and M. Koklu, Prediction of computer type using benchmark scores of hardware units. Selcuk University Journal of Engineering Sciences, 2021. 20(1): p. 11-17.
Pisner, D.A. and D.M. Schnyer, Support vector machine, in Machine learning. 2020, Elsevier. p. 101-121. DOI: 10.1016/B978-0-12-815739-8.00006-7.
Tutuncu, K., I. Cinar, R. Kursun, and M. Koklu. Edible and Poisonous Mushrooms Classification by Machine Learning Algorithms. in 2022 11th Mediterranean Conference on Embedded Computing (MECO). 2022. DOI: 10.1109/MECO55406.2022.9797212.
Agatonovic-Kustrin, S. and R. Beresford, Basic concepts of artificial neural network (ANN) modeling and its application in pharmaceutical research. Journal of pharmaceutical and biomedical analysis, 2000. 22(5): p. 717-727. DOI: 10.1016/S0731-7085(99)00272-1.
Kursun, R., E.T. Yasin, and M. Koklu, The Effectiveness of Deep Learning Methods on Groundnut Disease Detection.
Geng, L., S. Zhang, J. Tong, and Z. Xiao, Lung segmentation method with dilated convolution based on VGG-16 network. Computer Assisted Surgery, 2019. 24(sup2): p. 27-33. DOI: 10.1080/24699322.2019.1649071.
Kursun, R. and M. Koklu. Enhancing Explainability in Plant Disease Classification using Score-CAM: Improving Early Diagnosis for Agricultural Productivity. in 2023 IEEE 12th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS). 2023. DOI: 10.1109/IDAACS58523.2023.10348713.
Dubey, A.K. and V. Jain. Comparative study of convolution neural network’s relu and leaky-relu activation functions. in Applications of Computing, Automation and Wireless Systems in Electrical Engineering: Proceedings of MARC 2018. 2019. Springer. DOI: 10.1007/978-981-13-6772-4_76.
Waoo, A.A. and B.K. Soni. Performance analysis of sigmoid and relu activation functions in deep neural network. in Intelligent Systems: Proceedings of SCIS 2021. 2021. Springer. DOI: 10.1007/978-981-16-2248-9_5.
Gulli, A. and S. Pal, Deep learning with Keras. 2017: Packt Publishing Ltd.
Albawi, S., T.A. Mohammed, and S. Al-Zawi. Understanding of a convolutional neural network. in 2017 international conference on engineering and technology (ICET). 2017. Ieee. DOI: 10.1109/ICEngTechnol.2017.8308186.
Kolarik, M., R. Burget, and K. Riha. Comparing Normalization Methods for Limited Batch Size Segmentation Neural Networks. in 2020 43rd International Conference on Telecommunications and Signal Processing (TSP). 2020. DOI: 10.1109/TSP49548.2020.9163397.
Ebert-Uphoff, I., R. Lagerquist, K. Hilburn, Y. Lee, K. Haynes, J. Stock, C. Kumler, and J.Q. Stewart, CIRA Guide to Custom Loss Functions for Neural Networks in Environmental Sciences--Version 1. arXiv preprint arXiv:2106.09757, 2021.
Berrar, D., Cross-validation. 2019.
Xu, Y. and R. Goodacre, On splitting training and validation set: a comparative study of cross-validation, bootstrap and systematic sampling for estimating the generalization performance of supervised learning. Journal of analysis and testing, 2018. 2(3): p. 249-262. DOI: 10.1007/s41664-018-0068-2.
Isik, M., B. Ozulku, R. Kursun, Y.S. Taspinar, I. Cinar, E.T. Yasin, and M. Koklu, Automated classification of hand-woven and machine-woven carpets based on morphological features using machine learning algorithms. The Journal of The Textile Institute: p. 1-10. DOI: 10.1080/00405000.2024.2309694.
Deepak, S. and P. Ameer, Brain tumor classification using deep CNN features via transfer learning. Computers in biology and medicine, 2019. 111: p. 103345. DOI: 10.1016/j.compbiomed.2019.103345.
Gencturk, B., S. Arsoy, Y.S. Taspinar, I. Cinar, R. Kursun, E.T. Yasin, and M. Koklu, Detection of hazelnut varieties and development of mobile application with CNN data fusion feature reduction-based models. European Food Research and Technology, 2024. 250(1): p. 97-110. DOI: 10.1007/s00217-023-04369-9.
Taspinar, Y.S., M. Koklu, and M. Altin, Classification of flame extinction based on acoustic oscillations using artificial intelligence methods. Case Studies in Thermal Engineering, 2021. 28: p. 101561. DOI: doi.org/10.1016/j.csite.2021.101561.
Koklu, M., R. Kursun, Y.S. Taspinar, and I. Cinar, Classification of date fruits into genetic varieties using image analysis. Mathematical Problems in Engineering, 2021. 2021: p. 1-13. DOI: 10.1155/2021/4793293.
Yasin, E.T., I.A. Ozkan, and M. Koklu, Detection of fish freshness using artificial intelligence methods. European Food Research and Technology, 2023. 249(8): p. 1979-1990. DOI: 10.1007/s00217-023-04271-4.
Taspinar, Y.S., I. Cinar, R. Kursun, and M. Koklu, Monkeypox Skin Lesion Detection with Deep Learning Models and Development of Its Mobile Application. Public health. 500: p. 5.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Intelligent Methods In Engineering Sciences
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.