A Digital Image Processing–Based Moler Disease Detection System for Shallot Leaves

  • Reski Wahyuni Informatics Engineering Study Program, Manado State University, Indonesia
  • Alfiansyah Hasibuan Lecturer at the Faculty of Engineering, Manado State University, Indonesia
  • Kristofel Santa Lecturer at the Faculty of Engineering, Manado State University, Indonesia
Keywords: CNN, Image Processing, Red Onion, Moler Disease, Enrekang

Abstract

This study aims to design and develop a leaf moler disease detection system on shallots (Allium cepa L.) based on digital image processing in Enrekang Regency, South Sulawesi. Moler disease caused by the fungus Fusarium oxysporum f. sp. cepae is one of the main factors that reduce the quality and productivity of shallots. So far, disease identification is still done manually through direct observation by farmers, which is subjective and time-consuming. To overcome this problem, this study applies the Convolutional Neural Network (CNN) algorithm to automatically classify shallot leaf images into two categories, namely healthy and infected with moler disease. The number of datasets used is 502 images, consisting of 251 healthy images and 251 infected images, with data division of 70% for training, 15% for validation, and 15% for testing. The CNN architecture used consists of convolution, pooling, flatten, and fully connected layers with ReLU and sigmoid activation functions in the output layer. The training process used the Adam optimizer with a learning rate of 0.001 and a binary cross-entropy loss function. Test results showed a training accuracy of 97.14%, a validation accuracy of 94.73%, and a testing accuracy of 97.37%, indicating the model has a good level of precision and generalization ability without overfitting. This system is implemented as a Flask-based web application that allows users to upload leaf images and obtain detection results instantly. This system is expected to help farmers detect diseases more quickly and increase shallot productivity in Enrekang Regency.

References

Abbas, A., Zhang, Z., Zheng, H., Alami, M. M., Alrefaei, A. F., Abbas, Q., ... & Zhou, L. (2023). Drones in plant disease assessment, efficient monitoring, and detection: a way forward to smart agriculture. Agronomy, 13(6), 1524. https://doi.org/10.3390/agronomy13061524

Archana, R., & Jeevaraj, P. E. (2024). Deep learning models for digital image processing: a review. Artificial Intelligence Review, 57(1), 11. https://doi.org/10.1007/s10462-023-10631-z

Astaman, P., Hikmah, A. N., Dassir, M., Siregar, A. R., Qinayah, M., & Aisyah, M. (2025). When Risks Collide: Compound Vulnerability to Natural Disasters, Market Fluctuations, and Pandemics–Insight from Enrekang, Indonesia. Tarjih: Agribusiness Development Journal, 5(01), 209-217. https://doi.org/10.47030/tadj.v5i01.981

Beimel, D., & Kedmi-Shahar, E. (2019). Improving the identification of functional system requirements when novice analysts create use case diagrams: the benefits of applying conceptual mental models. Requirements Engineering, 24(4), 483-502. https://doi.org/10.1007/s00766-018-0296-z

Bock, C. H., Barbedo, J. G., Del Ponte, E. M., Bohnenkamp, D., & Mahlein, A. K. (2020). From visual estimates to fully automated sensor-based measurements of plant disease severity: status and challenges for improving accuracy. Phytopathology Research, 2(1), 9. https://doi.org/10.1186/s42483-020-00049-8

Cahyaningrum, H., Nurhayati, N., Nurmili, N., Suneth, R. F., Sirajuddin, S., Gazali, I., ... & Meilin, A. (2023). Penyakit Moler Pada Bawang Merah. Jurnal Media Pertanian, 8(2), 152-155. https://doi.org/10.33087/jagro.v8i2.213

Duveiller, E., Singh, R. P., & Nicol, J. M. (2007). The challenges of maintaining wheat productivity: pests, diseases, and potential epidemics. Euphytica, 157(3), 417-430. https://doi.org/10.1007/s10681-007-9380-z

Gülmez, B. (2025). A comprehensive review of convolutional neural networks based disease detection strategies in potato agriculture. Potato Research, 68(2), 1295-1329. https://doi.org/10.1007/s11540-024-09786-1

Gupta, A. J., Kaldate, S., Volaguthala, S., Bibwe, B., Gorrepati, K., & Mahajan, V. (2025). Image-based identification of onion varieties using deep learning techniques. Vegetable Science, 52(02), 397-408. https://doi.org/10.61180/vegsci.2025.v52.i2.21

Kim, Y. J., Oh, Y., Park, S., Cho, S., & Park, H. (2013). Stratified sampling design based on data mining. Healthcare informatics research, 19(3), 186-195. https://doi.org/10.4258/hir.2013.19.3.186

Kodrat, K. F. (2024). The Effect of Climate Change on the Shallot Supply Chain: Impact and Risk Management Strategy. Pakistan Journal of Life & Social Sciences, 22(2). https://doi.org/10.57239/PJLSS-2024-22.2.00353

Latif, A., Rasheed, A., Sajid, U., Ahmed, J., Ali, N., Ratyal, N. I., ... & Khalil, T. (2019). Content‐based image retrieval and feature extraction: A comprehensive review. Mathematical problems in engineering, 2019(1), 9658350. https://doi.org/10.1155/2019/9658350

Lidyawati, L., Darlis, A. R., & Munawaroh, S. J. (2025). Shallot disease classification system based on deep learning. Bulletin of Electrical Engineering and Informatics, 14(2), 1099-1107. https://doi.org/10.11591/eei.v14i2.8498

Liu, Y., Pu, H., & Sun, D. W. (2021). Efficient extraction of deep image features using convolutional neural network (CNN) for applications in detecting and analysing complex food matrices. Trends in Food Science & Technology, 113, 193-204. https://doi.org/10.1016/j.tifs.2021.04.042

Lumumba, V. W., Kiprotich, D., Lemasulani Mpaine, M., Grace Makena, N., & Daniel Kavita, M. (2024). Comparative analysis of Cross-Validation techniques: LOOCV, K-folds Cross-Validation, and repeated K-folds Cross-Validation in machine learning models. K-folds Cross-Validation, and Repeated K-folds Cross-Validation in Machine Learning Models (June 01, 2024). https://dx.doi.org/10.2139/ssrn.5266507

Mahlein, A. K. (2016). Plant disease detection by imaging sensors–parallels and specific demands for precision agriculture and plant phenotyping. Plant disease, 100(2), 241-251. https://doi.org/10.1094/PDIS-03-15-0340-FE

Mahmood ur Rehman, M., Liu, J., Nijabat, A., Faheem, M., Wang, W., & Zhao, S. (2024). Leveraging convolutional neural networks for disease detection in vegetables: a comprehensive review. Agronomy, 14(10), 2231. https://doi.org/10.3390/agronomy14102231

Muhiddin, A. (2022). Political Ecology of Land Function Change to Shallot Agricultural Land in Enrekang Regency. Journal of Contemporary Local Politics, 1(2), 66-75. https://doi.org/10.46507/jclp.v1i2.187

Nur, Y. S. R., Burhanuddin, A., Aldo, D., & Army, W. L. (2022). Sistem pakar deteksi penyakit bawang merah dengan Metode Case Based Reasoning. J. Media Inform. Budidarma, 6(3), 1356. https://doi.org/10.30865/mib.v6i3.4180

Padilla, M., Stehman, S. V., Ramo, R., Corti, D., Hantson, S., Oliva, P., ... & Chuvieco, E. (2015). Comparing the accuracies of remote sensing global burned area products using stratified random sampling and estimation. Remote sensing of environment, 160, 114-121. https://doi.org/10.1016/j.rse.2015.01.005

Panjaitan, E. (2023). Education On The Use Of Chicken Manure And Volcanic Ash In Shallot Cultivation. International Journal of Accounting, Management, Economics and Social Sciences (IJAMESC), 1(4), 442-452. https://doi.org/10.61990/ijamesc.v1i4.50

Prahesta, H. R. D. V. (2025, January). Sistem Deteksi Penyakit Pada Tanaman Bawang Merah Menggunakan Convolutional Neural Network dengan Arsitektur MobileNet. In Seminar Nasional Teknologi & Sains (Vol. 4, No. 1, pp. 479-484). https://doi.org/10.29407/y1mr3462

Pujawiyatna, E. (2024). Analisis Pengaruh Alokasi Penggunaan Input Terhadap Produksi Usahatani Bawang Merah Di Kecamatan Anggeraja, Kabupaten Enrekang= Analysis Of The Effect Of Input Use Allocation On Onion Farming Production In Anggeraja District, Enrekang District (Doctoral dissertation, Universitas Hasanuddin).

Rehman, A., Naz, S., Razzak, M. I., & Hameed, I. A. (2019). Automatic visual features for writer identification: a deep learning approach. IEEE access, 7, 17149-17157. https://doi.org/10.1109/ACCESS.2018.2890810

Resiani, N. M. D., Sunanjaya, I. W., & Yasa, I. M. R. (2021). Effectiveness of land cultivation to control pests and diseases and increasing yield of shallots. In E3S Web of Conferences (Vol. 306, p. 01023). EDP Sciences. https://doi.org/10.1051/e3sconf/202130601023

Resiani, N. M. D., Suryathi, N. W., & Iswara, P. G. A. R. (2025, February). Management of Major Pests and Diseases of Shallots by Utilizing Local-Natural Resources Towards a Sustainable Environment. In IOP Conference Series: Earth and Environmental Science (Vol. 1452, No. 1, p. 012026). IOP Publishing. https://doi.org/10.1088/1755-1315/1452/1/012026

Sadaiyandi, J., Arumugam, P., Sangaiah, A. K., & Zhang, C. (2023). Stratified sampling-based deep learning approach to increase prediction accuracy of unbalanced dataset. Electronics, 12(21), 4423. https://doi.org/10.3390/electronics12214423

Sarki, R., Ahmed, K., Wang, H., Zhang, Y., Ma, J., & Wang, K. (2021). Image preprocessing in classification and identification of diabetic eye diseases. Data Science and Engineering, 6(4), 455-471. https://doi.org/10.1007/s41019-021-00167-z

Savary, S., Ficke, A., Aubertot, J. N., & Hollier, C. (2012). Crop losses due to diseases and their implications for global food production losses and food security. Food security, 4(4), 519-537. https://doi.org/10.1007/s12571-012-0200-5

Shoaib, M., Shah, B., Ei-Sappagh, S., Ali, A., Ullah, A., Alenezi, F., ... & Ali, F. (2023). An advanced deep learning models-based plant disease detection: A review of recent research. Frontiers in Plant Science, 14, 1158933. https://doi.org/10.3389/fpls.2023.1158933

Simanjuntak, P., & Manalu, C. J. (2022). Response of Growth and Production of Shallots (Allium Ascalonicum L) to the Application of Chicken Manure and Volcanic Ash. Journal Research of Social Science Economics and Management, 1(8), 1095-1102. https://doi.org/10.36418/jrssem.v1i8.129

Summase, I., Ali, M. S. S., Salman, D., & Rukmana, D. (2019). Influence of government policy on Highland agriculture development in Enrekang regency, South Sulawesi, Indonesia. International Journal of Agriculture System, 100-105. https://doi.org/10.20956/ijas.v7i2.1916

Susanto, F., Nurtantio, P., Soeleman, A., Pujiono, P., Noersasongko, E., & Dedi, D. (2025). Enhancing Low-Resolution Images of Mustard Leaves Affected by Pests with Thermal Sensor using Super-Resolution Convolutional Neural Network Optimization. JOIV: International Journal on Informatics Visualization, 9(3), 914-920. https://dx.doi.org/10.62527/joiv.9.3.2841

Tayal, A., Gupta, J., Solanki, A., Bisht, K., Nayyar, A., & Masud, M. (2022). DL-CNN-based approach with image processing techniques for diagnosis of retinal diseases. Multimedia systems, 28(4), 1417-1438. https://doi.org/10.1007/s00530-021-00769-7

Tussadia, H., & Halim, A. (2023). Farm Income Analysis of Shallot Farmers in Dulang, Enrekang, South Sulawesi. Agriecobis: Journal of Agricultural Socioeconomics and Business, 6(02), 189-195. https://doi.org/10.22219/agriecobis.v6i02.29602

Vurro, M., Bonciani, B., & Vannacci, G. (2010). Emerging infectious diseases of crop plants in developing countries: impact on agriculture and socio-economic consequences. Food security, 2(2), 113-132. https://doi.org/10.1007/s12571-010-0062-7

Wani, J. A., Sharma, S., Muzamil, M., Ahmed, S., Sharma, S., & Singh, S. (2022). Machine learning and deep learning based computational techniques in automatic agricultural diseases detection: Methodologies, applications, and challenges. Archives of Computational methods in Engineering, 29(1), 641-677. https://doi.org/10.1007/s11831-021-09588-5

Wong, T. T. (2015). Performance evaluation of classification algorithms by k-fold and leave-one-out cross validation. Pattern recognition, 48(9), 2839-2846. https://doi.org/10.1016/j.patcog.2015.03.009

Yadav, S., & Shukla, S. (2016, February). Analysis of k-fold cross-validation over hold-out validation on colossal datasets for quality classification. In 2016 IEEE 6th International conference on advanced computing (IACC) (pp. 78-83). IEEE. https://doi.org/10.1109/IACC.2016.25

Yusriadi, Y., Cahaya, A., & Hamzah, F. (2024). Farmer adaptation strategies through local farming systems in Enrekang, Indonesia. Scientific Reports, 14(1), 21652. https://doi.org/10.1038/s41598-024-72953-4

Zhao, T., Zhang, X., Gao, Y., Mi, J., Liu, W., Wang, J., ... & Liu, L. (2023). Assessing the accuracy and consistency of six fine-resolution global land cover products using a novel stratified random sampling validation dataset. Remote sensing, 15(9), 2285. https://doi.org/10.3390/rs15092285

Published
2026-02-03
How to Cite
Wahyuni, R., Hasibuan, A., & Santa, K. (2026). A Digital Image Processing–Based Moler Disease Detection System for Shallot Leaves. Journal La Multiapp, 7(1), 113-125. https://doi.org/10.37899/journallamultiapp.v7i1.2738