Deteksi dan Klasifikasi Penyakit Pada Daun Kopi Menggunakan Yolov7

ardiansyah ardiansyah(1*), Nur Fitrianingsih Hasan(2)

(1) Universitas Muhammadiyah Klaten
(2) Universitas Muhammadiyah Papua
(*) Corresponding Author


In improving the economy of developing countries, the highest export commodity is the coffee plant. Indonesia produces 639 thousand tons of coffee every year. Therefore, establishing Indonesia as 4th in the world. However, decreased productivity due to diseases of the coffee plant leaves can reduce the productivity of coffee production. Leaf diseases include Miner, Rust, Phoma, and Cercospora. Based on extant issues in agriculture, utilization such as artificial intelligence, Computer Vision, and Bigdata can decrease the costs incurred to trade with plant diseases. With significant advances in artificial intelligence in Machine Learning comes the Deep Learning method. YOLO is Deep Learning seeded as an object detection compared to other approaches. YOLOv7 is the latest version of the YOLO architecture that can detect speed, high Precision, easy-to-train data, and implementation. The main contribution of this research was to develop using model-based YOLOv7, use coffee leaf costume datasets, data augmentation, and preprocessing datasets. This research utilizes Google Colab and GPU Tesla T4 to get a result F1-score of 0.93, Precision of 0.926, Recall of 0.932, mAP@IoU .5 of 0.956, mAP@IoU .5:.95 of 0.927 for the entire trained data class. However, the best result is the binary class to get a result F1-score of 0.99, Precision of 0.991, Recall of 1, mAP@IoU .5 of 0.998, mAP@IoU .5:.95 of 0.994.


YOLOv7; Object Detection; Leaf diseases; Computer Vision

Full Text:



D. Novtahaning, H. A. Shah, and J.-M. Kang, “Deep Learning Ensemble-Based Automated and High-Performing Recognition of Coffee Leaf Disease,” Agriculture, vol. 12, no. 11, p. 1909, 2022.

S. Suprihanto, I. Awaludin, M. Fadhil, and M. A. Z. Zulfikor, “Analisis Kinerja ResNet-50 dalam Klasifikasi Penyakit pada Daun Kopi Robusta,” Jurnal Informatika, vol. 9, no. 2, pp. 116–122, Oct. 2022.

D. Irfansyah, M. Mustikasari, and A. Suroso, “Arsitektur Convolutional Neural Network (CNN) Alexnet Untuk Klasifikasi Hama Pada Citra Daun Tanaman Kopi,” Jurnal Informatika, vol. 6, no. 2, 2021.

S. A. Sabrina and W. F. al Maki, “Klasifikasi Penyakit pada Tanaman Kopi Robusta Berdasarkan Citra Daun Menggunakan Convolutional Neural Network,” e-Proceeding of Engineering, vol. 9, no. 3, p. 119, Jun. 2022.

J. G. M. Esgario, P. B. C. de Castro, L. M. Tassis, and R. A. Krohling, “An app to assist farmers in the identification of diseases and pests of coffee leaves using deep learning,” Information Processing in Agriculture, vol. 9, no. 1, pp. 38–47, Mar. 2022, doi: 10.1016/j.inpa.2021.01.004.

J. G. M. Esgario, R. A. Krohling, and J. A. Ventura, “Deep learning for classification and severity estimation of coffee leaf biotic stress,” Comput Electron Agric, vol. 169, Feb. 2020, doi: 10.1016/j.compag.2019.105162.

L. X. Boa Sorte, C. T. Ferraz, F. Fambrini, R. D. R. Goulart, and J. H. Saito, “Coffee leaf disease recognition based on deep learning and texture attributes,” in Procedia Computer Science, 2019, vol. 159, pp. 135–144. doi: 10.1016/j.procs.2019.09.168.

F. J. P. Montalbo and A. A. Hernandez, “An Optimized Classification Model for Coffea Liberica Disease using Deep Convolutional Neural Networks,” in 2020 16th IEEE International Colloquium on Signal Processing & Its Applications (CSPA), 2020, pp. 213–218.

R. Yang and Y. Yu, “Artificial convolutional neural network in object detection and semantic segmentation for medical imaging analysis,” Front Oncol, vol. 11, p. 638182, 2021.

M. Dhanaraju, P. Chenniappan, K. Ramalingam, S. Pazhanivelan, and R. Kaliaperumal, “Smart Farming: Internet of Things (IoT)-Based Sustainable Agriculture,” Agriculture, vol. 12, no. 10, p. 1745, 2022.

E. Önler, “REAL TIME PEST DETECTION USING YOLOv5,” International Journal of Agricultural and Natural Sciences, vol. 14, no. 3, pp. 232–246, 2021.

V. Kakani, V. H. Nguyen, B. P. Kumar, H. Kim, and V. R. Pasupuleti, “A critical review on computer vision and artificial intelligence in food industry,” J Agric Food Res, vol. 2, p. 100033, 2020.

O. Balitskii and V. Kolesnikov, “Identification of wear products in the automotive tribotechnical system using computer vision methods, artificial intelligence and big data,” in 2019 XIth International Scientific and Practical Conference on Electronics and Information Technologies (ELIT), 2019, pp. 24–27.

W. Zhao, W. Yamada, T. Li, M. Digman, and T. Runge, “Augmenting Crop Detection for Precision Agriculture with Deep Visual Transfer Learning—A Case Study of Bale Detection,” Remote Sens (Basel), vol. 13, no. 1, p. 23, 2020.

M. E. Karar, F. Alsunaydi, S. Albusaymi, and S. Alotaibi, “A new mobile application of agricultural pests recognition using deep learning in cloud computing system,” Alexandria Engineering Journal, vol. 60, no. 5, pp. 4423–4432, 2021.

O. Wosner, G. Farjon, and A. Bar-Hillel, “Object detection in agricultural contexts: A multiple resolution benchmark and comparison to human,” Comput Electron Agric, vol. 189, p. 106404, 2021.

W. Fang, L. Wang, and P. Ren, “Tinier-YOLO: A real-time object detection method for constrained environments,” IEEE Access, vol. 8, pp. 1935–1944, 2019.

S. Lu, B. Wang, H. Wang, L. Chen, M. Linjian, and X. Zhang, “A real-time object detection algorithm for video,” Computers & Electrical Engineering, vol. 77, pp. 398–408, 2019.

A. P. Marcos, N. L. S. Rodovalho, and A. R. Backes, “Coffee leaf rust detection using convolutional neural network,” in 2019 XV Workshop de Visão Computacional (WVC), 2019, pp. 38–42.

D. Wu et al., “Detection of Camellia oleifera Fruit in Complex Scenes by Using YOLOv7 and Data Augmentation,” Applied Sciences, vol. 12, no. 22, p. 11318, Nov. 2022, doi: 10.3390/app122211318.

J. Chaki and N. Dey, A beginner’s guide to image preprocessing techniques. CRC Press, 2018.

G. Fenu and F. M. Malloci, “DiaMOS plant: A dataset for diagnosis and monitoring plant disease,” Agronomy, vol. 11, no. 11, p. 2107, 2021.

A. Morbekar, A. Parihar, and R. Jadhav, “Crop disease detection using YOLO,” in 2020 International Conference for Emerging Technology (INCET), 2020, pp. 1–5.

P. Li, X. Liu, and X. Xie, “Learning Sample-Specific Policies for Sequential Image Augmentation,” in Proceedings of the 29th ACM International Conference on Multimedia, 2021, pp. 4491–4500.

J. A. Pandian, G. Geetharamani, and B. Annette, “Data augmentation on plant leaf disease image dataset using image manipulation and deep learning techniques,” in 2019 IEEE 9th international conference on advanced computing (IACC), 2019, pp. 199–204.

Y. Jamtsho, P. Riyamongkol, and R. Waranusast, “Real-time Bhutanese license plate localization using YOLO,” ICT Express, vol. 6, no. 2, pp. 121–124, 2020.

C. Tang, G. Zhang, H. Hu, P. Wei, Z. Duan, and Y. Qian, “An improved YOLOv3 algorithm to detect molting in swimming crabs against a complex background,” Aquac Eng, vol. 91, Nov. 2020, doi: 10.1016/j.aquaeng.2020.102115.

S. Tabassum, S. Ullah, N. H. Al-Nur, and S. Shatabda, “Poribohon-BD: Bangladeshi local vehicle image dataset with annotation for classification,” Data Brief, vol. 33, 2020.

J. Dharneeshkar, S. A. Aniruthan, R. Karthika, and L. Parameswaran, “Deep Learning based Detection of potholes in Indian roads using YOLO,” in 2020 International conference on inventive computation technologies (ICICT), 2020, pp. 381–385.

A. I. B. Parico and T. Ahamed, “Real time pear fruit detection and counting using YOLOv4 models and deep SORT,” Sensors, vol. 21, no. 14, p. 4803, 2021.

Y. Yin, H. Li, and W. Fu, “Faster-YOLO: An accurate and faster object detection method,” Digital Signal Processing: A Review Journal, vol. 102, Jul. 2020, doi: 10.1016/j.dsp.2020.102756.

C.-Y. Wang, A. Bochkovskiy, and H.-Y. M. Liao, “YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors,” arXiv preprint arXiv:2207.02696, 2022.

I. Ahmad et al., “Deep Learning Based Detector YOLOv5 for Identifying Insect Pests,” Applied Sciences, vol. 12, no. 19, p. 10167, 2022.

A. F. Bayram, C. Gurkan, A. Budak, and H. KARATAŞ, “A Detection and Prediction Model Based on Deep Learning Assisted by Explainable Artificial Intelligence for Kidney Diseases,” Avrupa Bilim ve Teknoloji Dergisi, no. 40, pp. 67–74, 2022.



Indexed By:


Creative Commons License
Jurnal Sisfokom (Sistem Informasi dan Komputer) has ISSN 2301-7988 and e-ISSN 2581-0588 which is published by Lembaga Penelitian dan Pengabdian Masyarakat (LPPM) ISB Atma Luhur under a Creative Commons Attribution-ShareAlike 4.0 International License.
Web Analytics Made Easy - StatCounter