Real-Time Rice Leaf Disease Diagnosis: A Mobile CNN Application with Firebase Integration
DOI:
https://doi.org/10.52436/1.jutif.2025.6.3.4452Keywords:
Agricultural Technology, Convolutional Neural Network, Mobile Application, Mobile Integration, Rice Leaf Disease DetectionAbstract
Rice, the staple food for the majority of Indonesia's population, faces significant production threats from leaf diseases, which can decrease yields and jeopardize national food security. Traditional manual identification of these diseases is a major challenge for farmers, as it is often subjective, prone to misdiagnosis leading to incorrect treatments, time-consuming, demands specialized expertise, and is difficult to implement widely for effective real-time early prevention, allowing diseases to spread and significantly impact crop yields. This research addresses these challenges by developing an automated and easily accessible rice leaf disease diagnosis system. The system is manifested as a mobile application that integrates a Convolutional Neural Network (CNN) model, specifically utilizing the EfficientNetB0 architecture, for the classification of rice leaf images and leverages key Firebase services such as its Realtime Database for data synchronization and Cloud Storage for image management to ensure a scalable and responsive backend. The methodology involved several key stages. Firstly, the CNN model was developed by employing a transfer learning approach on the pre-trained EfficientNetB0 architecture. Secondly, the model underwent comprehensive testing using a dataset of 1,000 new rice leaf images, which were independently validated by agricultural experts. The results demonstrated that the developed CNN model achieved a global accuracy of 85.9%, with an average precision of 86.1% and recall of 85.9% (macro-average) in the expert validation testing phase with the 1,000 new images. However, the study also identified variations in the model's performance across different disease classes, highlighting areas that require further optimization to enhance detection effectiveness for specific types of rice leaf diseases. The primary benefit of this research is the provision of a practical rice leaf disease diagnosis tool that is readily accessible to farmers via a mobile application, empowering them with timely and accurate information for effective crop management. This can lead to reduced crop losses, improved yield quality, and contribute significantly to national food security. Furthermore, this research contributes to the field of applied machine learning and mobile computing in resource-constrained agricultural environments, offering valuable insights for the development of impactful informatics solutions.
Downloads
References
I. Fadah, C. Lutfy, and A. Amruhu, “Analysis of Rice Trade and Food Security in Southeast Asian Countries,” Kne Social Sciences, vol. 2024, no. 7, pp. 641–653, 2024, doi: 10.18502/kss.v9i21.16772.
T. Wiseman, J. Luckstead, and A. Durand‐Morat, “Asymmetric Exchange Rate Pass-Through in Southeast Asian Rice Trade,” Journal of Agricultural and Applied Economics, vol. 53, no. 3, pp. 341–374, 2021, doi: 10.1017/aae.2021.7.
S. Yuan et al., “Southeast Asia must narrow down the yield gap to continue to be a major rice bowl,” Nat Food, vol. 3, no. 3, pp. 217–226, Mar. 2022, doi: 10.1038/s43016-022-00477-z.
M. Yusuf, S. Sundari, I. D. Purwanto, and R. R. Kurnia, “Rice Production, Policies, and Their Implications on Food Security Indonesia - Thailand Perspective,” Jurnal Multidisiplin Madani, vol. 4, no. 1, pp. 174–179, 2024, doi: 10.55927/mudima.v4i1.7927.
J. L. Siangliw et al., “Response of Southeast Asian rice root architecture and anatomy phenotypes to drought stress,” Front. Plant Sci., vol. 13, no. 10, pp. 1–18, Oct. 2022, doi: 10.3389/fpls.2022.1008954.
Z. Nazifa, F. M. Aminuzzaman, K. Akhter, M. K. Rehena, and L. Laila, “Survey on Rice Blast and Morphological Characterization of Magnaporthe oryzae oryzae,” Journal of Advances in Microbiology, vol. 21, no. 1, pp. 8–21, Feb. 2021, doi: 10.9734/jamb/2021/v21i130315.
S. Sha’arani, N. Sabri, N. Hamdi, and F. A. Riyadi, “Climate Change Adaptation Measures in the Agricultural Sector in Southeast Asia: A Mini-Review,” Iop Conference Series Earth and Environmental Science, vol. 1091, no. 1, p. 012036, 2022, doi: 10.1088/1755-1315/1091/1/012036.
Z. Zheng et al., “Anthropogenic impacts on Late Holocene land-cover change and floristic biodiversity loss in tropical southeastern Asia,” Proceedings of the National Academy of Sciences, vol. 118, no. 40, p. e2022210118, Oct. 2021, doi: 10.1073/pnas.2022210118.
N. Sultana, C. Mondal, M. Hossain, Md. A. R. Khokon, and M. R. Islam, “Effect of Fermented Tea Extract in Controlling Brown Spot and Narrow Brown Spot of Rice,” Bangladesh Journal of Agricultural Research, vol. 42, no. 4, pp. 621–629, 2018, doi: 10.3329/bjar.v42i4.35790.
M. Sabran et al., “Population Structure and Diversity of Southeast Asian Rice Varieties,” Cropp Breeding and Applied Biotechnology, vol. 23, no. 4, pp. 1–15, 2023, doi: 10.1590/1984-70332023v23n4a49.
F. G. Horgan, E. A. Mundaca, B. Hadi, and E. Crisol‐Martínez, “Diversified Rice Farms With Vegetable Plots and Flower Strips Are Associated With Fewer Pesticide Applications in the Philippines,” Insects, 2023, doi: 10.3390/insects14100778.
R. Prabha, J. S. Kennedy, G. Vanitha, N. Sathiah, and M. B. Priya, “Android application development for identifying maize infested with fall armyworms with Tamil Nadu Agricultural University Integrated proposed pest management (TNAU IPM) capsules,” Journal of Applied and Natural Science, vol. 14, no. 1, Art. no. SI, Jul. 2022, doi: 10.31018/jans.v14iSI.3599.
L. Loyani and D. Machuve, “A Deep Learning-Based Mobile Application for Segmenting Tuta Absoluta’s Damage on Tomato Plants,” Engineering Technology & Applied Science Research, 2021, doi: 10.48084/etasr.4355.
A. Mumtaz, “A Smart Application as Solution for Diagnosis of Rice Diseases in Pakistan: An Image Processing Approach,” Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 49, no. 1, pp. 63–76, 2024, doi: 10.37934/araset.49.1.6376.
B. S. Bari et al., “A Real-Time Approach of Diagnosing Rice Leaf Disease Using Deep Learning-Based Faster R-CNN Framework,” Peerj Computer Science, vol. 7, no. 4, p. e432, 2021, doi: 10.7717/peerj-cs.432.
H. Baksh et al., “Advancing Agriculture Through Artificial Intelligence, Plant Disease Detection Methods, Applications, and Limitations,” Journal of Advances in Biology & Biotechnology, vol. 27, no. 8, pp. 730–739, 2024, doi: 10.9734/jabb/2024/v27i81191.
P. Sharma and P. Abrol, “Agricultural Advancements Through Machine Learning Technologies,” Environment and Ecology, 2024, doi: 10.60151/envec/krws4781.
F. Airam, R. Dakig, and I. Philip, “An Intelligent Mobile Application for Detecting Tobacco Leaf Diseases for Candon City, Ilocos Sur,” Nano-NTP, vol. 20, no. S2, 2024, doi: 10.62441/nano-ntp.v20is2.7.
P N A S Sophan, “Development of Disease Detection Mobile Application for Pineapple,” Iop Conference Series Earth and Environmental Science, vol. 1397, no. 1, p. 012014, 2024, doi: 10.1088/1755-1315/1397/1/012014.
Ritambara, S. Kaushal, and S. Shubham, “Frontiers of Artificial Intelligence in Agricultural Sector: Trends and Transformations,” Journal of Scientific Research and Reports, vol. 30, no. 10, pp. 970–980, 2024, doi: 10.9734/jsrr/2024/v30i102518.
W. Su et al., “Automatic Evaluation of Wheat Resistance to Fusarium Head Blight Using Dual Mask-RCNN Deep Learning Frameworks in Computer Vision,” Remote Sensing, vol. 13, no. 1, p. 26, 2020, doi: 10.3390/rs13010026.
M. Gogoi, V. Kumar, S. A. Begum, N. Sharma, and S. Kant, “Classification and Detection of Rice Diseases Using a 3-Stage CNN Architecture With Transfer Learning Approach,” Agriculture, vol. 13, no. 8, p. 1505, 2023, doi: 10.3390/agriculture13081505.
S. P. Mohanty, D. Hughes, and M. Salathé, “Using Deep Learning for Image-Based Plant Disease Detection,” Frontiers in Plant Science, vol. 7, no. 9, pp. 1–15, 2016, doi: 10.3389/fpls.2016.01419.
S. Akbar, “Wheat Disease Detection for Yield Management Using IoT and Deep Learning Techniques,” Vfast Transactions on Software Engineering, vol. 10, no. 3, pp. 80–89, 2022, doi: 10.21015/vtse.v10i3.1108.
A. Ramcharan, K. Baranowski, P. McCloskey, B. Ahmed, J. P. Legg, and D. Hughes, “Deep Learning for Image-Based Cassava Disease Detection,” Frontiers in Plant Science, vol. 8, no. 10, pp. 1–7, 2017, doi: 10.3389/fpls.2017.01852.
Y. Kumar, A. Koul, R. Singla, and M. F. Ijaz, “Artificial Intelligence in Disease Diagnosis: A Systematic Literature Review, Synthesizing Framework and Future Research Agenda,” Journal of Ambient Intelligence and Humanized Computing, vol. 14, no. 7, pp. 8459–8486, 2022, doi: 10.1007/s12652-021-03612-z.
Md. S. I. Prottasha, A. B. M. Kabir Hossain, Md. Z. Rahman, S. M. S. Reza, and D. A. Hossain, “Identification of Various Rice Plant Diseases Using Optimized Convolutional Neural Network,” International Journal of Computing and Digital Systems, vol. 12, no. 7, pp. 1539–1551, 2022, doi: 10.12785/ijcds/1201124.
J. R. K. Suseno, Y. Azhar, and A. E. Minarno, “The Implementation of Pretrained VGG16 Model for Rice Leaf Disease Classification using Image Segmentation,” Kinetik: Game Technology, Information System, Computer Network, Computing, Electronics, and Control, vol. 8, no. 1, pp. 499–506, Feb. 2023, doi: 10.22219/kinetik.v8i1.1592.
V. H. Phung and E. J. Rhee, “A High-Accuracy Model Average Ensemble of Convolutional Neural Networks for Classification of Cloud Image Patches on Small Datasets,” Applied Sciences, vol. 9, no. 21, Art. no. 21, 2019, doi: 10.3390/app9214500.
A. Azis, A. Fadlil, and T. Sutikno, “Optimization of Convolutional Neural Network (CNN) Using Transfer Learning for Disease Identification in Rice Leaf Images,” Jurnal E-Komtek (Elektro-Komputer-Teknik), vol. 8, no. 2, Art. no. 2, Dec. 2024, doi: 10.37339/e-komtek.v8i2.2132.
J. Deng et al., “Deep-Learning-Based Rice Disease and Insect Pest Detection on a Mobile Phone,” Agronomy, vol. 13, no. 8, Art. no. 8, Aug. 2023, doi: 10.3390/agronomy13082139.
A. Siddiqua, M. A. Kabir, T. Ferdous, I. B. Ali, and L. A. Weston, “Evaluating Plant Disease Detection Mobile Applications: Quality and Limitations,” Agronomy, vol. 12, no. 8, p. 1869, 2022, doi: 10.3390/agronomy12081869.
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, Art. no. 1, Feb. 2024, doi: 10.29407/intensif.v8i1.21168.
M. H. Firdaus, K. Kusrini, and M. R. Arief, “Impact of Data Augmentation Techniques on the Implementation of a Combination Model of Convolutional Neural Network (CNN) and Multilayer Perceptron (MLP) for the Detection of Diseases in Rice Plants,” Journal of Scientific Research Education and Technology (Jsret), vol. 2, no. 2, pp. 453–465, 2023, doi: 10.58526/jsret.v2i2.94.
A. F. Cobantoro, F. Masykur, and K. Sussolaikah, “PERFORMANCE ANALYSIS OF ALEXNET CONVOLUTIONAL NEURAL NETWORK (CNN) ARCHITECTURE WITH IMAGE OBJECTS OF RICE PLANT LEAVES,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 8, no. 2, Art. no. 2, Feb. 2023, doi: 10.33480/jitk.v8i2.4060.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Abdul Azis, Abdul Fadlil, Tole Sutikno

This work is licensed under a Creative Commons Attribution 4.0 International License.