Detection of Coffee Leaf Diseases Using Deep Learning to Support Digitalization and Smart Agriculture

Authors

  • Siti Mutmainah Department of computer science, Universitas Muhammadiyah Bima, Indonesia
  • Zumhur Alamin Department of computer science, Universitas Muhammadiyah Bima, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.3.5338

Keywords:

Agricultural Digitalization, Coffee Leaf Disease, Deep Learning, Disease Detection, MobileNet

Abstract

Coffee is one of Indonesia's main commodities and an important agricultural sector for the economy. However, one of the challenges in coffee cultivation is disease. Improper and delayed treatment can cause leaf damage and death of coffee plants. This study aims to detect disease types on coffee leaves using a deep learning CNN approach and lightweight CNN architectures such as MobileNet and EfficientNet variants. This study also applies traditional image augmentation and OpenCV. The results of EfficientNetV2S and EfficientNetV2L achieve 95–98% accuracy with stable precision and recall in almost all classes, although minority classes remain challenging. The MobileNetV3 architecture showed optimal results with 99% accuracy in all variants (Small, Large, and Small with OpenCV augmentation). The research model was verified using local coffee leaf images Bumi Pajo. These findings confirm that MobileNetV3 not only excels in terms of accuracy but also has the potential to be applied to mobile device-based or Internet of Things (IoT) coffee leaf disease monitoring systems. With high accuracy and low computational requirements, this model can support real-time disease detection in the field, helping farmers and agricultural practitioners make quick and accurate decisions in disease control.

Downloads

Download data is not yet available.

References

A. A. Moreira-Morrillo, J. P. Vélez-Zambrano, S. I. Moreira, dan F. R. Garcés-Fiallos, “Diseases affecting the coffee crop: Elucidating the life cycle of Rust, Thread Blight and Cercospora Leaf Spot.,” Scientia Agropecuaria, vol. 14, no. 3, 2023.

S. Shah dan A. Kumar, “Coffee: constituents and health benefits,” Biotechnol. J. Int, vol. 24, hlm. 22–38, 2020.

M. Saeed, M. Naveed, J. BiBi, A. Ali Kamboh, L. Phil, dan S. Chao, “Potential nutraceutical and food additive properties and risks of coffee: A comprehensive overview,” Critical reviews in food science and nutrition, vol. 59, no. 20, hlm. 3293–3319, 2019.

A. Wijaya, P. Glasbergen, dan S. Mawardi, “The mediated partnership model for sustainable coffee production: experiences from Indonesia,” IFAM, vol. 20, no. 5, hlm. 689–708, Okt 2017, doi: 10.22434/IFAMR2017.0021.

M. Ridder, “Coffee consumption worldwide from 2012/13 to 2021/22 with a forecast to 2022/23,” statista. [Daring]. Tersedia pada: https://www.statista.com/statistics/292595/global-coffee-consumption/?__sso_cookie_checker=failed

Doddy Rosadi, “Tiap Hari, 2 Miliar Cangkir Kopi Dikonsumsi di Seluruh Dunia,” Katadata.co.id. [Daring]. Tersedia pada: https://sisiplus.katadata.co.id/berita/gaya-hidup/363/tiap-hari-2-miliar-cangkir-kopi-dikonsumsi-di-seluruh-dunia#:~:text=Sekitar%20650%20juta%20orang%20di,(9%20kg/tahun).

D. L. Brien dan J. Adams, “Coffee: a cultural and media focussed approach,” M/C Journal, vol. 15, no. 2, 2012.

Sekertaris Jenderal, “Analisis Kinerja Perdagangan Kopi Semester II Tahun 2022,” Portal Satu Data Pertanian. [Daring]. Tersedia pada: https://satudata.pertanian.go.id/details/publikasi/450#:~:text=Portal%20Satu%20Data%20Pertanian&text=Kopi%20merupakan%20salah%20satu%20komoditas,angka%20estimasi%2C%20Ditjen%20Perkebunan).

Kuntoro Boga Andri, “Tren 2025: Peluang dan Daya Saing Kopi Indonesia,” Balai Pengujian Standar Instrumen Tanaman Industri dan Penyega. Diakses: 14 Maret 2025. [Daring]. Tersedia pada: https://tanamanindustri.bsip.pertanian.go.id/berita/tren-2025-peluang-dan-daya-saing-kopi-indonesia#:~:text=Sementara%20konsumsi%20domestik%20turun%20dari,Mesir%2C%20Jerman%2C%20dan%20Malaysia.

H. Deribe, “Review on Factors which Affect Coffee (Coffea Arabica L.) Quality in South Western, Ethiopia,” International Journal of Forestry and Horticulture, vol. 5, no. 1, hlm. 12–19, 2019.

V. V. Freitas, L. L. R. Borges, M. C. T. R. Vidigal, M. H. dos Santos, dan P. C. Stringheta, “Coffee: A comprehensive overview of origin, market, and the quality process,” Trends in Food Science & Technology, hlm. 104411, 2024.

M. A. Markom dkk., “Intelligent electronic nose system for basal stem rot disease detection,” Computers and Electronics in Agriculture, vol. 66, no. 2, hlm. 140–146, 2009.

E. E. Citra, S. Mutmainah, dan B. Hermanto, “Breast Cancer Detection Using EfficientNetV2 Variants and Data Augmentation: A Comparative Study,” Jurnal Komputasi, vol. 13, no. 1, hlm. 13–24, 2025.

D. G. Thippanna, M. D. Priya, dan T. A. S. Srinivas, “An Effective Analysis of Image Processing with Deep Learning Algorithms,” Int. J. Comput. Appl, vol. 975, hlm. 8887, 2023.

B. Meena, K. V. Rao, dan S. Chittineni, “A survey on deep learning methods and tools in image processing,” Int. J. Sci. Technol. Res., vol. 9, no. 2, hlm. 1057–1062, 2020.

E. L. Lydia, G. J. Moses, N. Sharmili, K. Shankar, dan A. Maseleno, “Image classification using deep neural networks for malaria disease detection,” International Journal on Emerging Technologies, vol. 10, no. 4, hlm. 66–70, 2019.

R. H. Paradisa, A. Bustamam, W. Mangunwardoyo, A. A. Victor, A. R. Yudantha, dan P. Anki, “Deep feature vectors concatenation for eye disease detection using fundus image,” Electronics, vol. 11, no. 1, hlm. 23, 2021.

M. Iqbal, M. N. Setiawan, M. I. Irawan, K. M. N. K. Khalif, N. Muhammad, dan M. K. B. M. Aziz, “Cardiovascular disease detection from high utility rare rule mining,” Artificial Intelligence in Medicine, vol. 131, hlm. 102347, 2022.

A. H. Basori, A. B. F. Mansur, dan H. Y. Riskiawan, “SMARF: Smart farming framework based on big data, iot and deep learning model for plant disease detection and prevention,” dipresentasikan pada International Conference on Applied Computing to Support Industry: Innovation and Technology, Springer, 2019, hlm. 44–56.

R. Widyatama dan S. Hansun, “Expert System for Chili Plants Disease Detection Using Certainty Factor Method,” International Journal of Innovative Technology and Exploring Engineering (IJITEE) Volume, vol. 9, hlm. 1145–1151, 2019.

I. N. Yulita, N. A. Amri, dan A. Hidayat, “Mobile application for tomato plant leaf disease detection using a dense convolutional network architecture,” Computation, vol. 11, no. 2, hlm. 20, 2023.

H.-C. Chen dkk., “AlexNet convolutional neural network for disease detection and classification of tomato leaf,” Electronics, vol. 11, no. 6, hlm. 951, 2022.

Y. Aufar dan T. P. Kaloka, “Robusta coffee leaf diseases detection based on MobileNetV2 model,” International Journal of Electrical and Computer Engineering, vol. 12, no. 6, hlm. 6675, 2022.

D. Novtahaning, H. A. Shah, dan J.-M. Kang, “Deep learning ensemble-based automated and high-performing recognition of coffee leaf disease,” Agriculture, vol. 12, no. 11, hlm. 1909, 2022.

M. Muharromah, A. Kristiana, S. Slamin, D. Dafik, I. Agustin, dan R. Baihaki, “The analysis of the implementation of convolutional neural network architectures for coffee leaf disease image classification,” dipresentasikan pada AIP Conference Proceedings, AIP Publishing, 2024.

K. J. Ayikpa, D. Mamadou, P. Gouton, dan K. J. Adou, “Experimental Evaluation of Coffee Leaf Disease Classification and Recognition Based on Machine Learning and Deep Learning Algorithms,” Journal of Computer Science, vol. 18, no. 12, hlm. 1201–1212, 2022.

M. Nawaz, T. Nazir, A. Javed, S. T. Amin, F. Jeribi, dan A. Tahir, “CoffeeNet: A deep learning approach for coffee plant leaves diseases recognition,” Expert Systems with Applications, vol. 237, hlm. 121481, 2024.

E. Hitimana dkk., “An intelligent system-based coffee plant leaf disease recognition using deep learning techniques on Rwandan Arabica dataset,” Technologies, vol. 11, no. 5, hlm. 116, 2023.

R. Karthik, J. J. Alfred, dan J. J. Kennedy, “Inception-based global context attention network for the classification of coffee leaf diseases,” Ecological Informatics, vol. 77, hlm. 102213, 2023.

S. Signo, C. Tuquero, E. Arboleda, S. Signo, C. Tuquero, dan E. Arboleda, “Coffee disease detection and classification using image processing: A Literature review,” Int. J. Sci. Res. Arch, vol. 11, hlm. 1614–1621, 2024.

A. H. Hidayah, S. Zuhriyah, B. E. W. Asrul, Y. Yuyun, dan E. Prakasa, “Integration of yolov5 algorithm and opencv in innovative smart parking management approach,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 8, no. 3, hlm. 413–422, 2024.

E. Syahrudin, E. Utami, dan A. D. Hartanto, “Object Detection with YOLOv8 and Enhanced Distance Estimation Using OpenCV for Visually Impaired Accessibility,” JOIV: International Journal on Informatics Visualization, vol. 9, no. 2, hlm. 575–584, 2025.

I. D. Mienye, T. G. Swart, G. Obaido, M. Jordan, dan P. Ilono, “Deep Convolutional Neural Networks in Medical Image Analysis: A Review,” Information, vol. 16, no. 3, 2025, doi: 10.3390/info16030195.

S. Prabu, B. Natarajan, R. George, S. Sujitha, P. D. Bharathi, dan S. Rajeswari, “Capturing the Essence: Exploring Cutting-Edge Feature Extraction Methods in Digital Image Processing,” dipresentasikan pada 2023 3rd International Conference on Mobile Networks and Wireless Communications (ICMNWC), IEEE, 2023, hlm. 1–5.

K. K. Kumar, K. Chaduvula, dan B. Markapudi, “A detailed survey on feature extraction techniques in image processing for medical image analysis,” European Journal of Molecular & Clinical Medicine, vol. 7, no. 10, hlm. 2020, 2020.

A. O. Salau dan S. Jain, “Feature extraction: a survey of the types, techniques, applications,” dipresentasikan pada 2019 international conference on signal processing and communication (ICSC), IEEE, 2019, hlm. 158–164.

A. K. Bharodiya, “Feature extraction methods for ct-scan images using image processing,” dalam Computed-Tomography (CT) Scan, IntechOpen, 2022.

V. Chavan, J. Shah, M. Vora, M. Vora, dan S. Verma, “A Review on Feature Extraction Methods for Image Analysis,” dipresentasikan pada Proceedings of the 3rd International Conference on Advances in Science & Technology (ICAST), 2020.

G. Guillen dan G. Guillen, “Digital image processing with Python and OpenCV,” Sensor Projects with Raspberry Pi: Internet of Things and Digital Image Processing, hlm. 97–140, 2019.

M. Khan, S. Chakraborty, R. Astya, dan S. Khepra, “Face detection and recognition using OpenCV,” dipresentasikan pada 2019 International Conference on Computing, Communication, and Intelligent Systems (ICCCIS), IEEE, 2019, hlm. 116–119.

G. K. L. Alcantara, I. D. J. Evangelista, J. V. B. Malinao, O. B. Ong, R. S. D. Rivera, dan E. L. U. Ambata, “Head detection and tracking using OpenCV,” dipresentasikan pada 2018 IEEE 10th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment and Management (HNICEM), IEEE, 2018, hlm. 1–5.

P. Castro, G. Pathinettampadian, S. Thanigainathan, V. Prabakar, R. A. Krishnan, dan M. K. Subramaniyan, “Measurement of additively manufactured part dimensions using OpenCV for process monitoring,” Proceedings of the Institution of Mechanical Engineers, Part E: Journal of Process Mechanical Engineering, hlm. 09544089241227894, 2024.

E. Cervera, “GPU-accelerated vision for robots: Improving system throughput using OpenCV and CUDA,” IEEE Robotics & Automation Magazine, vol. 27, no. 2, hlm. 151–158, 2020.

J. Sigut, M. Castro, R. Arnay, dan M. Sigut, “OpenCV basics: A mobile application to support the teaching of computer vision concepts,” IEEE Transactions on Education, vol. 63, no. 4, hlm. 328–335, 2020.

A. B. Abadi dan S. Tahcfulloh, “Digital Image Processing for Height Measurement Application Based on Python OpenCV and Regression Analysis,” JOIV : Int. J. Inform. Visualization, vol. 6, no. 4, hlm. 763, Des 2022, doi: 10.30630/joiv.6.4.1013.

K. Maharana, S. Mondal, dan B. Nemade, “A review: Data pre-processing and data augmentation techniques,” Global Transitions Proceedings, vol. 3, no. 1, hlm. 91–99, Jun 2022, doi: 10.1016/j.gltp.2022.04.020.

S. Golazad, A. Mohammadi, A. Rashidi, dan M. Ilbeigi, “From raw to refined: Data preprocessing for construction machine learning (ML), deep learning (DL), and reinforcement learning (RL) models,” Automation in Construction, vol. 168, hlm. 105844, Des 2024, doi: 10.1016/j.autcon.2024.105844.

T. Kurniawan, K. Khadijah, dan R. Kusumaningrum, “An Efficient Model for Waste Image Classification Using EfficientNet-B0,” J. Tek. Inform. (JUTIF), vol. 6, no. 3, hlm. 1147–1158, Jun 2025, doi: 10.52436/1.jutif.2025.6.3.4417.

K. F. Habie, M. Murinto, dan S. Sunardi, “Impact of Optimizer Selection on MobileNetV1 Performance for Skin Disease Detection Using Digital Images,” J. Tek. Inform. (JUTIF), vol. 6, no. 3, hlm. 1589–1604, Jul 2025, doi: 10.52436/1.jutif.2025.6.3.4685.

A. R. Priambodo dan C. Fatichah, “Leveraging Convolutional Block Attention Module (Cbam) For Enhanced Performance In Mobilenetv3-Based Skin Cancer Classification,” J. Tek. Inform. (JUTIF), vol. 6, no. 3, hlm. 1389–1404, Jun 2025, doi: 10.52436/1.jutif.2025.6.3.4546.

E. E. Citra, S. Mutmainah, dan B. Hermanto, “Optimization of EfficientNetV2 with Data Augmentation for Early Breast Cancer Detection,” Jurnal Komputasi, vol. 13, no. 1, hlm. 13–24, 2025.

R. T. Hasan dan A. B. Sallow, “Face detection and recognition using opencv,” Journal of Soft Computing and Data Mining, vol. 2, no. 2, hlm. 86–97, 2021.

V. Goel, V. Kumar, A. S. Jaggi, dan P. Nagrath, “Text extraction from natural scene images using OpenCV and CNN,” Int J Inf Technol Comput Sci (IJITCS), vol. 11, no. 9, hlm. 48–54, 2019.

M. El Sakka, J. Mothe, dan M. Ivanovici, “Images and CNN applications in smart agriculture,” European Journal of Remote Sensing, vol. 57, no. 1, hlm. 2352386, 2024.

T. Shahriar, “Comparative Analysis of Lightweight Deep Learning Models for Memory-Constrained Devices,” 9 September 2025, arXiv: arXiv:2505.03303. doi: 10.48550/arXiv.2505.03303.

A. G. Howard dkk., “MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications,” 17 April 2017, arXiv: arXiv:1704.04861. doi: 10.48550/arXiv.1704.04861.

M. Tan dan Q. Le, “Efficientnet: Rethinking model scaling for convolutional neural networks,” dipresentasikan pada International conference on machine learning, PMLR, 2019, hlm. 6105–6114.

A. D. Febriani dan M. D. Kartikasari, “Detecting Avocado Freshness In Real-Time: A Yolo-Based Deep Learning Approach,” J. Tek. Inform. (JUTIF), vol. 6, no. 3, hlm. 1485–1502, Jun 2025, doi: 10.52436/1.jutif.2025.6.3.4626.

P. Setiaji, W. A. Triyanto, dan M. Nurhaliza, “Real-Time Traffic Density and Anomaly Monitoring Using YOLOv8, OpenCV and Pattern Recognition for Smart City Applications in Demak,” vol. 6, no. 4, 2025.

I. P. Kamila, C. A. Sari, E. H. Rachmawanto, dan N. R. D. Cahyo, “A Good Evaluation Based on Confusion Matrix for Lung Diseases Classification using Convolutional Neural Networks,” Advance Sustainable Science, Engineering and Technology, vol. 6, no. 1, hlm. 0240102, 2024.

P. M. Bidarakundi dan B. M. Kumar, “A Coffee Leaf Disease Detection via Deep Learning Algorithms,” dipresentasikan pada 2024 International Conference on Trends in Quantum Computing and Emerging Business Technologies, IEEE, 2024, hlm. 1–5.

S. Kulkarni, H. Shravan, M. Veeresh, P. D. Shenoy, dan K. Venugopal, “Detection of coffee leaf diseases using densenet-264 and slic segmentation,” dipresentasikan pada 2023 10th IEEE Uttar Pradesh section international conference on electrical, electronics and computer engineering (UPCON), IEEE, 2023, hlm. 769–774.

L. A. Pinto, L. Mary, dan S. Dass, “The real-time mobile application for identification of diseases in coffee leaves using the CNN model,” dipresentasikan pada 2021 Second International Conference on Electronics and Sustainable Communication Systems (ICESC), IEEE, 2021, hlm. 1694–1700.

M. Kumar, P. Gupta, dan P. Madhav, “Disease detection in coffee plants using convolutional neural network,” dipresentasikan pada 2020 5th International Conference on Communication and Electronics Systems (ICCES), IEEE, 2020, hlm. 755–760.

E. B. Paulos dan M. M. Woldeyohannis, “Detection and classification of coffee leaf disease using deep learning,” dipresentasikan pada 2022 International Conference on Information and Communication Technology for Development for Africa (ICT4DA), IEEE, 2022, hlm. 1–6.

Additional Files

Published

2026-06-15

How to Cite

[1]
S. Mutmainah and Z. . Alamin, “Detection of Coffee Leaf Diseases Using Deep Learning to Support Digitalization and Smart Agriculture”, J. Tek. Inform. (JUTIF), vol. 7, no. 3, pp. 2517–2533, Jun. 2026.