Implementation of a Plant Disease Identification System using the CNN Algorithm and the Web-Based Django Framework
DOI:
https://doi.org/10.32664/j-intech.v14i02.2277Kata Kunci:
Plant disease detection, Convolutional Neural Network (CNN), Agriculture 4.0, Image classification, Django FrameworkAbstrak
This study addresses the need for efficient and accessible plant disease identification systems in the era of Agriculture 4.0, where advances in artificial intelligence (AI) and machine learning (ML) support data-driven agricultural practices. The increasing popularity of home gardening highlights challenges faced by users in identifying plant diseases due to limited knowledge and diagnostic tools. Therefore, this research aims to develop a web plant disease detection system using the Django framework and convolutional neural networks (CNNs). The model was trained on a controlled dataset consisting of 57,320 leaf images collected from the PlantVillage and Turmeric Plant Disease datasets. Image preprocessing was applied, including resizing, normalization, and data augmentation such as image rotation, zooming, image inversion and brightness adjustmen. Class imbalance during training was handled using class weighting. The dataset is divided into a training set and a validation set for model development and evaluation. The CNN model achieved an accuracy of 92% on the labeled validation dataset, with a mean F1 score of 0.79 and a weighted mean F1 score of 0.92. For generalization testing, an uncontrolled (wild) dataset consisting of 223 images collected from online sources was used, resulting in an accuracy of 11%, indicating limited real-world generalization due to domain differences. Despite this limitation, the proposed system demonstrates the feasibility of CNN-based plant disease classification in a web application.
Referensi
[1] Hilman Ferdinandus Pardede, Penerapan Pembelajaran Mesin (Machine Learning) dan Pembelajaran Dalam (Deep Learning) Berkinerja Tinggi untuk Mendukung Sektor Pertanian di Indonesia. Penerbit BRIN, 2023. doi: 10.55981/brin.872.
[2] S. O. Araújo, R. S. Peres, J. Barata, F. Lidon, and J. C. Ramalho, “Characterising the agriculture 4.0 landscape—emerging trends, challenges and opportunities,” Apr. 01, 2021, MDPI AG. doi: 10.3390/agronomy11040667.
[3] A. Theodorou, A. Panno, G. Carrus, G. A. Carbone, C. Massullo, and C. Imperatori, “Stay home, stay safe, stay green: The role of gardening activities on mental health during the Covid-19 home confinement,” Urban For. Urban Green., vol. 61, p. 127091, Jun. 2021, doi: 10.1016/J.UFUG.2021.127091.
[4] J. Corley et al., “Home garden use during COVID-19: Associations with physical and mental wellbeing in older adults,” J. Environ. Psychol., vol. 73, Feb. 2021, doi: 10.1016/j.jenvp.2020.101545.
[5] L. Depenbusch, P. Schreinemachers, S. Brown, and R. Roothaert, “Impact and distributional effects of a home garden and nutrition intervention in Cambodia,” Food Secur., vol. 14, no. 4, pp. 865–881, Aug. 2022, doi: 10.1007/s12571-021-01235-y.
[6] M. D. Rengganis, T. I. Hermanto, and M. A. Sunandar, “Implementasi Metode ANN untuk Klasifikasi Diagnosis Tiroid Berbasis Aplikasi Mobile,” Jurnal Riset dan Aplikasi Mahasiswa Informatika (JRAMI), vol. 6, no. 4, pp. 828–837, 2025, doi: https://doi.org/10.30998/jrami.v6i04.14502.
[7] Gina Annisa and Ninuk Wiliani, “Perbandingan Model CNN dan SVM untuk Klasifikasi Jenis Footwear pada Dataset Alas Kaki Berbasis Citra,” Teknomatika: Jurnal Informatika dan Komputer, vol. 18, no. 1, pp. 28–36, Jun. 2025, doi: 10.30989/teknomatika.v18i1.1564.
[8] E. Nahak, R. P. Putra, and F. Marisa, “Klasifikasi Penyakit Pada Tanaman Apel Melalui Citra Daun Menggunakan Metode Multiclass Support Vector Machine,” vol. 11, no. 3, pp. 401–408, 2024, doi: https://doi.org/10.35957/jatisi.v11i3.9153.
[9] R. Eka Nanda, Y. Denny Prabowo, F. Industri Kreatif, and I. Teknologi dan Bisnis Kalbis Jalan Pulomas Selatan Kav, “Pengembangan Model Pembelajaran Mesin untuk Klasifikasi Citra Lukisan Menggunakan Self-Organizing Map dengan Library Minisom,” 2022.
[10] D. Sembiring, I. Taufik, H. Syahputa, Z. Indra, and K. Saputa, “Classification of Stinging Nettle Plants Based on Leaf Images Using the CNN Method (Case Study: Biru-Biru Village),” Journal of Information and Technology) Accredited Sinta, vol. 13, no. 02, Dec. 2025, doi: https://doi.org/10.32664/j-intech.v13i02.2131.
[11] M. L. Prasetyo et al., “Face Recognition Using the Convolutional Neural Network for Barrier Gate System,” International Journal of Interactive Mobile Technologies, vol. 15, no. 10, pp. 138–153, 2021, doi: 10.3991/ijim.v15i10.20175.
[12] A. TiaraSari and E. Haryatmi, “Penerapan Convolutional Neural Network Deep Learning dalam Pendeteksian Citra Biji Jagung Kering,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 5, no. 2, pp. 265–271, Apr. 2021, doi: 10.29207/resti.v5i2.3040.
[13] E. Predianto and B. Sutomo, “Klasifikasi Jenis Bunga dengan Algoritma Convolutional Neural Network (CNN) Menggunakan Metode Region-Based Convolutional Neural Network (R-CNN),” Jurnal Pendidikan Teknologi informasi, vol. 8, no. 2, pp. 1–15, 2024.
[14] H. Hairani and T. Widiyaningtyas, “Augmented Rice Plant Disease Detection with Convolutional Neural Networks,” INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi, vol. 8, no. 1, pp. 27–39, Feb. 2024, doi: 10.29407/intensif.v8i1.21168.
[15] A. Indarto and K. Kusrini, “Application of Convolutional Neural Network Based on ResNet18 for Alzheimer Disease Classification,” International Journal of Artificial Intelligence Research, vol. 9, no. 2, Dec. 2025, doi: 10.29099/ijair.v9i2.1504.
[16] A. Latifa, H. Kurniawan, K. Rohmat Hidayat, and N. Larasati, “Implementasi Deep Learning Algoritma Convolutional Neural Network untuk Klasifikasi Kesegaran Buah dan Sayur,” vol. 13, no. 2, pp. 319–328, 2026, doi: https://doi.org/10.25126/jtiik.2026131.
[17] Sadriddinovich Jalolov Stand up and O. F. Altiboyevna, “Innovative Developments and Research in Education International scientific-online conference,” in International scientific-online conference, Canada, May 2023, pp. 538–541. Accessed: Jun. 10, 2026. [Online]. Available: https://www.researchgate.net/publication/388277035_INNOVATIVE_DEVELOPMENTS_AND_RESEARCH_IN_EDUCATION_International_scientific-online_conference
[18] K. Mani and A. K. B. Shenoy, “Machine learning models in web applications: A comprehensive review,” ICT Express, no. April, 2025, doi: 10.1016/j.icte.2025.09.001.
[19] Abhinaya V, Akhila S, Deepika K, and Hamsa S, “Comparative Analysis of Full-Stack Python Frameworks: Django, Flask, and FastAPI,” International Journal of Scientific Research in Engineering and Management (IJSREM), vol. 09, no. 05, pp. 1–9, 2025, [Online]. Available: www.ijsrem.com
[20] A. Widyantoro, F. Faradisa Al Bina, T. Prayoga, R. Safei, and M. Akmal Arrasid, “Systematic Literature Review: Membandingkan Pendekatan Metode Agile dan Waterfall Dalam Pengembangan Perangkat Lunak,” Journal of Comprehensive Science (JCS), vol. 4, no. 1, pp. 183–193, 2025, doi: 10.59188/jcs.v4i1.2969.
[21] T. Thesing, C. Feldmann, and M. Burchardt, “Agile versus Waterfall Project Management: Decision model for selecting the appropriate approach to a project,” Procedia Comput. Sci., vol. 181, pp. 746–756, 2021, doi: 10.1016/j.procs.2021.01.227.
[22] A. M. Dawis et al., Rekayasa Perangkat Lunak Panduan Praktis untuk Pengembangan Aplikasi Berkualitas, Cetakan Pe. Bandung: Widina Media Utama, 2023.
[23] Samir Bhattarai, “New Plant Diseases Dataset,” San Francisco, CA, USA, 2018. Accessed: Jun. 16, 2025. [Online]. Available: https://www.kaggle.com/datasets/vipoooool/new-plant-diseases-dataset
[24] SIAM, A K M FAZLUL KOBIR, Nirob, Sharker Asraful, Bishshash, and Prayma, “Turmeric Plant Disease Dataset: Advancing AI for Agricultural Sustainability,” 2025. doi: 10.17632/g46dvrcvwn.2.
[25] M. Ulfa, T. F. Abidin, and K. Muchtar, “Ripeness Detection and Shelf Life Prediction of Avocados Using YOLOv8 and Hybrid Machine Learning,” Journal of Information Systems Engineering and Business Intelligence, vol. 12, no. 1, pp. 31–42, Feb. 2026, doi: 10.20473/jisebi.12.1.31-42.
[26] A. A. Anggara and A. Ridho, “Analisa Penyakit Pada Tanaman Cabai Merah (Capsicum Annuum L) dengan Membandingkan Tingkat Akurasi Menggunakan Metode Convolutional Neural Network (CNN) dan K-Nearest Neighbor (KNN),” vol. 4, no. 1, p. 52, 2025, doi: 10.35308/jti.v4i1.11816.
[27] Tejaswini, Rastogi Priyanka, Dua Swayam, Manikanta, and Dagar Vikas, “Early Disease Detection in Plants using CNN,” 2024. doi: https://doi.org/10.1016/j.procs.2024.04.327.
[28] S. Walewangko et al., “Deep Learning-Based Plant Leaf Disease Classification Using Convolutional Neural Network,” Kohesi: Jurnal Multidisiplin Saintek, vol. 10, no. 6, 2025, doi: 10.8734/Kohesi.v1i2.365.
[29] M. Xu et al., “Embracing limited and imperfect training datasets: opportunities and challenges in plant disease recognition using deep learning,” Front. Plant Sci., vol. 14, 2023, doi: 10.3389/fpls.2023.1225409.
[30] S. O. Araújo, R. S. Peres, J. Barata, F. Lidon, and J. C. Ramalho, “Characterising the agriculture 4.0 landscape—emerging trends, challenges and opportunities,” Apr. 01, 2021, MDPI AG. doi: 10.3390/agronomy11040667.
[31] Hilman Ferdinandus Pardede, Penerapan Pembelajaran Mesin (Machine Learning) dan Pembelajaran Dalam (Deep Learning) Berkinerja Tinggi untuk Mendukung Sektor Pertanian di Indonesia. Penerbit BRIN, 2023. doi: 10.55981/brin.872.
[32] M. Xu et al., “Embracing limited and imperfect training datasets: opportunities and challenges in plant disease recognition using deep learning,” Front. Plant Sci., vol. 14, 2023, doi: 10.3389/fpls.2023.1225409.
[33] M. Aqil et al., “Penerapan Black Box Testing untuk Evaluasi Fungsionalitas Website Maggoplast,” Jurnal Mahasiswa Teknik Informatika (JATI), vol. 9, no. 1, pp. 294–306, Dec. 2025, doi: https://doi.org/10.36040/jati.v9i1.12177.
Unduhan
Diterbitkan
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2026 J-INTECH ( Journal of Information and Technology)

Artikel ini berlisensiCreative Commons Attribution-ShareAlike 4.0 International License.

