Jurnal SITECH : Sistem Informasi dan Teknologi
Vol. 9 No. 1 (2026): JURNAL SITECH VOLUME 9 NO 1 TAHUN 2026

Performance Analysis of YOLO11n for Coffee Bean Defect Detection in Quality Inspection

Hamid Muhammad Jumasa (Teknologi Informasi - Universitas Muhammadiyah Purworejo)
Wahju Tjahjo Saputro (Teknologi Informasi, Fakultas Teknik, Universitas Muhammadiyah Purworejo)
Hanifatus Sa’diyah Widihasaniputri (Teknologi Informasi, Fakultas Teknik, Universitas Muhammadiyah Purworejo)



Article Info

Publish Date
29 Oct 2026

Abstract

The quality of coffee beans is a key determinant of a product’s market value and competitiveness in the international market, which is significantly influenced by the presence of physical defects in green coffee beans. To date, the inspection and sorting of defective coffee beans are still largely performed manually, making the process subjective, time-consuming, and prone to inconsistencies due to human visual limitations. This study aims to apply the You Only Look Once version 11 (YOLO11n) model to detect nine classes of coffee bean defects, namely black, broken, foreign, fraghusk, green, husk, immature, infested, and sour. The dataset consists of 1,800 images containing a total of 3,425 object instances, divided into training, validation, and test sets in a 70:20:10 ratio. The model was trained for 50 epochs using the AdamW optimizer, a transfer learning strategy based on pre-trained COCO weights, and a combination of data augmentation techniques to improve model generalization. The training results showed excellent performance, with mAP@50 reaching 0.97–0.98 and mAP@50–95 in the range of 0.70–0.75, with no signs of significant overfitting. Class-wise evaluation revealed the highest accuracy for the “husk,” “foreign,” “black,” and “infested” classes, while the “sour” and “fraghusk” classes showed relatively lower accuracy due to their visual similarity to the “green” and “infested” classes. These results indicate that YOLO11n opens up opportunities for the development of more objective, faster, and more efficient coffee bean quality inspection systems on resource-constrained devices.

Copyrights © 2026






Journal Info

Abbrev

sitech

Publisher

Subject

Computer Science & IT

Description

SITECH merupakan jurnal ilmiah yang menyajikan artikel original tentang pengetahuan, hasil penelitian dan perkembangan terkini di bidang sistem informasi dan teknologi. Jurnal ini merupakan sarana publikasi dan ajang berbagi karya penelitian dan pengembangannya di bidang sistem Informasi dan ...