High-Accuracy Real-Time Defect Classification for Coffee Beans Using Deep Learning

Consistent quality inspection of coffee beans remains a critical requirement in the agricultural supply chain, as manual sorting is slow, inconsistent, and dependent on worker experience. With recent advancements in deep learning, real-time object recognition models provide an opportunity to automate quality assessment with high accuracy and minimal intervention. This study presents a YOLOv8-based computer vision system designed to detect and classify defective coffee beans, including broken, discolored, insect-damaged, and mold-affected samples. The proposed model is trained on an annotated dataset of roasted and unroasted beans under varying illumination and background conditions. The system demonstrates strong generalization capability, outperforming traditional CNN classification systems in speed and reliability, achieving up to 97.8% detection accuracy at 60 FPS on GPU inference. The study concludes that YOLOv8 can significantly improve the speed and precision of coffee quality analysis, enabling fully automated grading lines for industrial deployment.[2]

Publication Details

Journal
Iconic Research and Engineering Journals
Published
2025-12-18
DOI
https://doi.org/10.64388/irev9i6-1712938
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

High-Accuracy Real-Time Defect Classification for Coffee Beans Using Deep Learning

Iconic Research and Engineering Journals
Industrial Vision Systems and Defect Detection
article

High-Accuracy Real-Time Defect Classification for Coffee Beans Using Deep Learning

article en

Abstract

Consistent quality inspection of coffee beans remains a critical requirement in the agricultural supply chain, as manual sorting is slow, inconsistent, and dependent on worker experience. With recent advancements in deep learning, real-time object recognition models provide an opportunity to automate quality assessment with high accuracy and minimal intervention. This study presents a YOLOv8-based computer vision system designed to detect and classify defective coffee beans, including broken, discolored, insect-damaged, and mold-affected samples. The proposed model is trained on an annotated dataset of roasted and unroasted beans under varying illumination and background conditions. The system demonstrates strong generalization capability, outperforming traditional CNN classification systems in speed and reliability, achieving up to 97.8% detection accuracy at 60 FPS on GPU inference. The study concludes that YOLOv8 can significantly improve the speed and precision of coffee quality analysis, enabling fully automated grading lines for industrial deployment.[2]

Iconic Research and Engineering JournalsVol. 9(6)
Zero hunger
Openalex Percentile: Top 35%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.