Implementasi Yolov11 pada Sistem Deteksi Cacat Biji Kopi Pasca-Roasting

Authors

  • Dwi Octavia Ramadhani Rahman Universitas Halu Oleo
  • Andi Tenriawaru Universitas Halu Oleo
  • Gunawan Universitas Halu Oleo

DOI:

https://doi.org/10.24252/shift.v6i2.284

Keywords:

CNN, Coffee Bean Defect Detection, Object Detection, Post-Roasting Coffee Quality, YOLOv11

Abstract

Coffee bean quality after roasting is one of the important factors in determining the quality of coffee products. The process of identifying and sorting defective coffee beans is generally still performed manually, which may lead to inconsistencies and observation errors. This study aims to implement the You Only Look Once version 11 (YOLOv11) method based on Convolutional Neural Network (CNN) in an automatic post-roasting coffee bean defect detection and classification system. The research stages include image data collection, preprocessing, object labeling, dataset splitting into training, validation, and testing data, as well as model training using several hyperparameter configurations. Testing was conducted using variations in data splitting, optimizer, learning rate, and confidence threshold to obtain optimal model performance. The dataset used consisted of 694 images, including 290 primary images and 404 augmented images. The results showed that the 90:5:5 dataset splitting scenario achieved the highest mAP@50 value of 0.948. However, the 70:20:10 configuration was selected as a more stable and representative configuration because it provided a better balance between training, validation, and testing data. The use of the SGD optimizer with a learning rate of 0.01 and a confidence threshold of 0.5 produced more stable detection performance. The resulting model achieved a Mean Average Precision (mAP@50) value of 0.946 and was able to automatically detect and classify coffee bean defects effectively under various testing conditions.

Downloads

Download data is not yet available.

References

S. Z. Shofa, S. W. Tjondro, dan N. H. I. Fitriana, “Analisis Pengendalian Kualitas Produk Arabica Roasted Coffee Beans Pada Drama Coffee Roastery,” Forum Agribisnis, vol. 15, no. 1, hlm. 138–153, 2025, doi: 10.29244/fagb.15.1.138-153.

H. Muhammad, A. Meri, dan Dewiyana, “Penerapan Metode Seven Tools Untuk Pengendalian Kualitas Biji Kopi Arabika (Studi Kasus Grand Melati Coffee & Roastery Di Kota Langsa),” Jurnal Industri Samudra, vol. 11, no. 1, hlm. 1–14, 2025, [Daring]. Tersedia pada: http://scioteca.caf.com/bitstream/handle/123456789/1091/RED2017-Eng-8ene.pdf?sequence=12&isAllowed=y%0Ahttp://dx.doi.org/10.1016/j.regsciurbeco.2008.06.005%0Ahttps://www.researchgate.net/publication/305320484_SISTEM_PEMBETUNGAN_TERPUSAT_STRATEGI_MELESTARI

R. Iqbal, I. Heru, dan Q. R, “Analisis Pengendalian Mutu Kopi Dengan Menggunakan Diagram Fishbone Berdasarkan Standar Sca (Specialty Coffee Association) Pada Kopi Arabika Palintang, Bandung Timur,” AGRISTA, vol. 2, no. 4, hlm. 31–41, 2023.

R. Dijaya, Buku Ajar Pengolahan Citra Digital. 2023.

S. Ashillah, S. Adventino Gulo, Y. Rahmi, dan D. Yandra Niska, “Implementasi Algoritma Pengolahan Citra Digital untuk Perbaikan Kualitas Gambar,” Jurnal SISKOM-KB (Sistem Komputer dan Kecerdasan Buatan), vol. 8, no. 3, hlm. 274–280, 2025, doi: 10.47970/siskom-kb.v8i3.823.

A. A. Kusmareni, A. Desiani, S. Yahdin, M. Saviera, A. I. Putri, dan D. A. Zayanti, “Segmentasi Paru-Paru pada Citra Thorax Dada Dengan Menggunakan Metode CNN U-Net,” JSI: Jurnal Sistem Informasi (E-Journal), vol. 14, no. 2, hlm. 2666–2676, 2022, doi: 10.18495/jsi.v14i2.76.

A. M. Simarmata, A. Z. Putra, dan A. M. Husein, “Penerapan Metode Computer Vision Dalam Klasifikasi Buah Jeruk Menggunakan Teknik Image Pre-Processing,” Data Sciences Indonesia (DSI), vol. 3, no. 2, hlm. 108–114, 2024, doi: 10.47709/dsi.v3i2.4010.

D. P. Ayuni, Jasril, M. Irsyad, F. Yanto, dan S. Sanjaya, “Data Augmentation on the Implementation of Convolutional Neural Network Architecture Efficientnet-B3 for Classification of Rice Leaf Diseases,” Jurnal Sistem Informasi (Zonasi), vol. 5, no. 2, hlm. 2023, 2023.

I. D. Mienye dan T. G. Swart, “A Comprehensive Review of Deep Learning Methods and Applications,” Deep learning for visual understanding, vol. 15, no. 2, hlm. 7–58, 2024.

F. Badri, M. T. Alawiy, dan E. M. Yuniarno, “Deep Learning Architecture Based on Convolutional Neural Network (Cnn) on Animal Image Classification,” Jurnal Ilmiah KURSOR, vol. 12, no. 2, hlm. 83–92, 2023.

M. H. V. Sinaga, M. Albirra, dan M. F. Sidiq, “Klasifikasi Gambar Pemandangan dengan Kecerdasan Buatan Berbasis CNN,” Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi), vol. 8, no. 2, hlm. 412–417, 2024, doi: 10.35870/jtik.v8i2.1424.

F. Elfaladonna, M. Kusnandar, F. K. Puja, dan A. P. Mariza, “Implementasi Convolutional Neural Network Untuk Klasifikasi Jenis Beras Berdasarkan Citra Digital,” Indonesian Journal of Computer Science, vol. 12, no. 6, hlm. 4657–4663, 2025, doi: 10.33022/ijcs.v12i6.3520.

J. Pan, “Recent Deep Neural Networks for Object Detection,” Highlights in Science, Engineering and Technology, vol. 31, no. 2, hlm. 268–273, 2023, doi: 10.54097/hset.v31i.5153.

S. Reddy, N. Pillay, dan N. Singh, “Comparative Evaluation of Convolutional Neural Network Object Detection Algorithms for Vehicle Detection,” J. Imaging, vol. 10, no. 7, hlm. 1–12, 2024, doi: 10.3390/jimaging10070162.

M. U. Nasution, L. S. Harahap, dan F. Syakbani, “Tinjauan Metode Pengolahan Citra Digital Untuk Deteksi Objek Otomatis,” JITET (Jurnal Informatika dan Teknik Elektro Terapan), vol. 13, no. 3, hlm. 1020–1028, 2025.

Q. Aini, N. Lutfiani, H. Kusumah, dan M. S. Zahran, “Deteksi dan Pengenalan Objek dengan Model Machine Learning: Model Yolo,” CESS (Journal of Computer Engineering System and Science), vol. 6, no. 2, hlm. 2502–714, 2021.

H. L. Gope, H. Fukai, F. M. Ruhad, dan S. Barman, “Comparative analysis of YOLO models for green coffee bean detection and defect classification,” Sci. Rep., vol. 14, no. 1, hlm. 1–16, 2024, doi: 10.1038/s41598-024-78598-7.

F. Chen, Y. Zhang, L. Fu, R. Hua, Q. Zhang, dan S. Bi, “A Comparative Review of the Next-Generation YOLO Models: YOLOv10 and YOLO11,” Journal of Computer Science and Artificial Intelligence, vol. 3, no. 2, hlm. 1–6, 2025, doi: 10.54097/22zsmc10.

I. Ashari, I. S. M. Negara, dan A. S. S. A, “Lightweight YOLO Models for Real-Time Multi-Vehicle Detection,” Sinkron, vol. 9, no. 3, hlm. 1795–1810, 2025, doi: 10.33395/sinkron.v9i3.15071.

A. M. Moraes, L. F. Pugliese, R. F. dos Santos, G. B. Vitor, R. A. da S. Braga, dan F. R. da Silva, “Effectiveness of YOLO Architectures in Tree Detection: Impact of Hyperparameter Tuning and SGD, Adam, and AdamW Optimizers,” Standards, vol. 5, no. 1, hlm. 9, 2025, doi: 10.3390/standards5010009.

I. A. Zulkarnain dan Kusrini, “Yolov11 Optimization Through Hyperparameter Tuning and Data Augmentation to Improve Vehicle Detection Accuracy at Night Optimasi Yolov11 Melalui Hyperparameter Tuning dan Data Augmentasi untuk Meningkatkan Akurasi Deteksi Kendaraan pada Kondisi Malam Hari,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. October, hlm. 1294–1303, 2025.

H. D. Thai, H. J. Ko, dan J. H. Huh, “Coffee Bean Defects Automatic Classification Realtime Application Adopting Deep Learning,” IEEE Access, vol. 12, no. August, hlm. 126503–126517, 2024, doi: 10.1109/ACCESS.2024.3452552.

Y. Ji, J. Xu, dan B. Yan, “Coffee Green Bean Defect Detection Method Based on an Improved YOLOv8 Model,” J. Food Process. Preserv., vol. 2024, no. 1, 2024, doi: 10.1155/2024/2864052.

Downloads

Published

06/30/2026

How to Cite

[1]
D. O. Ramadhani Rahman, A. Tenriawaru, and G. Gunawan, “Implementasi Yolov11 pada Sistem Deteksi Cacat Biji Kopi Pasca-Roasting”, Journal Software, Hardware and Information Technology (SHIFT), vol. 6, no. 2, pp. 105–116, Jun. 2026, doi: 10.24252/shift.v6i2.284.