Brilliance: Research of Artificial Intelligence
Vol. 6 No. 2 (2026): Brilliance: Research of Artificial Intelligence, Article Research May 2026

Analysis of YOLO26 Model Performance with Transfer Learning in Detecting Coffee Bean Defects

Adrian Chen (Informatika, Universitas Multi Data Palembang, Indonesia)
Eka Puji Widiyanto (Informatika, Universitas Multi Data Palembang, Indonesia)



Article Info

Publish Date
08 Jun 2026

Abstract

Background: Indonesia is one of the world's largest coffee producers, yet post-roasting coffee bean defects remain a critical challenge that reduces product quality and market competitiveness. Manual sorting processes are inconsistent and prone to human visual limitations. Objective: This study aims to analyze the performance of the YOLO26 nano model with transfer learning for detecting and classifying post-roasting coffee bean defects, and to evaluate the effect of grid search-based hyperparameter tuning on model performance. Methods: A first-party dataset of 4,567 images covering five defect categories — insect damage, under roast, quaker, nugget, and shell — and one non-defect category was collected from three local Indonesian coffee roasting companies. After augmentation, the dataset expanded to 10,595 images with a 70:20:10 training-validation-testing split ratio. YOLO26, a deep learning-based object detection model released in January 2026, was applied using transfer learning and optimized through grid search hyperparameter tuning across optimizer, learning rate, epoch, classification loss, and weight decay configurations. Results: The model was evaluated using precision, recall, F1 score, mean Average Precision at IoU 50 (mAP50), and mean Average Precision at IoU 50-95 (mAP50-95) on the test dataset, with results demonstrating competitive multi-class detection performance across all defect categories. Conclusion: YOLO26 nano with transfer learning and hyperparameter tuning is a viable approach for automated post-roasting coffee bean defect detection, contributing to quality control advancements in the Indonesian coffee industry.

Copyrights © 2026






Journal Info

Abbrev

brilliance

Publisher

Subject

Decision Sciences, Operations Research & Management Mathematics Other

Description

Brilliance: Research of Artificial Intelligence is The Scientific Journal. Brilliance is published twice in one year, namely in February, May and November. Brilliance aims to promote research in the field of Informatics Engineering which focuses on publishing quality papers about the latest ...