ANALISIS PERFORMA YOLOV8 PADA DETEKSI KEMATANGAN BIJI KOPI DENGAN BERBAGAI KONFIGURASI PELATIHAN

Performance Analysis of YOLOv8 in Coffee Seed Detection with Various Training Configuration

Authors

  • Roma Rio Simbolon Sekolah Sains Data, Matematika dan Informatika, IPB University
  • Muhammad Faza Hanifan Sekolah Sains Data, Matematika dan Informatika, IPB University
  • Mohamad Khoirun Najib Sekolah Sains Data, Matematika dan Informatika, IPB University
  • Elis Khatizah Sekolah Sains Data, Matematika dan Informatika, IPB University
  • Sri Nurdiati Sekolah Sains Data, Matematika dan Informatika, IPB University

DOI:

https://doi.org/10.59896/aqlu.v4i2.570

Keywords:

YOLOv8, object detection, coffee fruit maturity, computer vision, deep learning

Abstract

Coffee is a strategic plantation commodity in Indonesia, whose quality is strongly influenced by fruit maturity at harvest. However, maturity assessment in the field is still largely conducted manually, leading to subjectivity and low efficiency. This study aims to analyze the performance of YOLOv8 in detecting three coffee fruit maturity levels—unripe, semi-ripe, and ripe—and to evaluate the impact of different training configurations on model performance. The experiments were conducted using the public “Coffee Cherry” dataset from Kaggle, consisting of 432 images with 1000 bounding box annotations. Several configurations were evaluated, including YOLOv8 variants (n, s, m), image sizes, batch sizes, number of epochs, and data augmentation techniques based on HSV color space, object scaling, and mixup. The results show that YOLOv8s provides the best balance between detection accuracy and computational efficiency. The optimal configuration was achieved using an image size of 416, batch size of 8, and 30 epochs, with augmentation improving recall and mAP@50, particularly for challenging classes. Nevertheless, limited dataset size and diversity remain the main constraints affecting performance. Overall, YOLOv8 demonstrates strong potential for coffee fruit maturity detection under real-world conditions.

References

[USDA] United States Department of Agriculture.(2024). Coffee: World Markets and Trade. Tersedia pada : https://www.fas.usda.gov/sites/default/files/2024-12/coffee.pdf

[BPS] Badan Pusat Statistik.(2025). Nilai Ekspor Bulanan Hasil Pertanian Menurut Komoditas (Juta US$).Tersedia pada : https://www.bps.go.id/id/statistics-table/2/MjMxMCMy/nilai-ekspor-bulanan-hasil-pertanian-menurut-komoditas---juta-us--.html

[BPS] Badan Pusat Statistik.(2025). Berat Bersih Ekspor Bulanan Hasil Pertanian Menurut Komoditas (Ribu Ton), 2025. Tersedia pada : https://www.bps.go.id/id/statistics-table/2/MjMxMSMy/berat-bersih-ekspor-bulanan-hasil-pertanian-menurut-komoditas---ribu-ton-.html

Chitraningrum, N., Banowati, L., Herdiana, D., Mulyati, B., Sakti, I., Fudholi, A., … Andria, A. (2023). Comparison study of corn leaf disease detection based on deep learning YOLO-v5 and YOLO-v8. Journal of Engineering and Technological Sciences, 56(1), 61–70.

Kazama, E. H., Tedesco, D., Carreira, V. S., Barbosa Júnior, M. R., de Oliveira, M. F., Ferreira, F. M., . . . da Silva, R. P. (2024). Monitoring coffee fruit maturity using an enhanced convolutional neural network under different image acquisition settings. Scientia Horticulturae, 328, 112957.

Fadri, R. A., Sayuti, K., Nazir, N., & Suliansyah, I. (2021). Evaluation of the value of the defective and taste of Arabica coffee (Coffea Arabica L) West Sumatera. IOP Conference Series: Earth and Environmental Science, 819(1), 012004

Downloads

Published

16-07-2026

How to Cite

Simbolon, R. R., Hanifan, M. F., Najib, M. K., Khatizah, E., & Nurdiati, S. (2026). ANALISIS PERFORMA YOLOV8 PADA DETEKSI KEMATANGAN BIJI KOPI DENGAN BERBAGAI KONFIGURASI PELATIHAN: Performance Analysis of YOLOv8 in Coffee Seed Detection with Various Training Configuration. Al-Aqlu: Jurnal Matematika, Teknik Dan Sains, 4(2), 77–83. https://doi.org/10.59896/aqlu.v4i2.570

Issue

Section

Articles