JOURNAL ARTICLE

Quality and Defect Inspection of Green Coffee Beans Using a Computer Vision System

Mauricio GarcíaJohn E. Candelo-BecerraFredy E. Hoyos

Year: 2019 Journal:   Applied Sciences Vol: 9 (19)Pages: 4195-4195   Publisher: Multidisciplinary Digital Publishing Institute

Abstract

There is an increased industry demand for efficient and safe methods to select the best-quality coffee beans for a demanding market. Color, morphology, shape and size are important factors that help identify the best quality beans; however, conventional techniques based on visual and/or mechanical inspection are not sufficient to meet the requirements. Therefore, this paper presents an image processing and machine learning technique integrated with an Arduino Mega board, to evaluate those four important factors when selecting best-quality green coffee beans. For this purpose, the k-nearest neighbor algorithm is used to determine the quality of coffee beans and their corresponding defect types. The system consists of logical processes, image processing and the supervised learning algorithms that were programmed with MATLAB and then burned into the Arduino board. The results showed this method has a high effectiveness in classifying each single green coffee bean by identifying its main visual characteristics, and the system can handle several coffee beans present in a single image. Statistical analysis shows the process can identify defects and quality with high accuracy. The artificial vision method was helpful for the selection of quality coffee beans and may be useful to increase production, reduce production time and improve quality control.

Keywords:
Green coffee Coffee bean Visual inspection Machine vision Artificial intelligence Quality (philosophy) Image processing Computer science Production (economics) MATLAB Arduino Computer vision Image (mathematics) Embedded system Food science Operating system

Metrics

67
Cited By
3.84
FWCI (Field Weighted Citation Impact)
37
Refs
0.93
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Spectroscopy and Chemometric Analyses
Physical Sciences →  Chemistry →  Analytical Chemistry
Smart Agriculture and AI
Life Sciences →  Agricultural and Biological Sciences →  Plant Science
Industrial Vision Systems and Defect Detection
Physical Sciences →  Engineering →  Industrial and Manufacturing Engineering

Related Documents

JOURNAL ARTICLE

Green Coffee Bean Quality Inspection Using Computer Vision Systems

Jameel John M. RealesRonieto N. MendozaVon Romer D. Labas

Journal:   Proceedings of International Exchange and Innovation Conference on Engineering & Sciences (IEICES) Year: 2024 Vol: 10 Pages: 1065-1070
JOURNAL ARTICLE

An Embedded Computer Vision System for Beans Quality Inspection

Robson Aparecido Gomes de MacedoPeterson Adriano BelanSidnei Alves de Araújo

Journal:   International Journal of Computer Applications Year: 2020 Vol: 175 (24)Pages: 44-53
JOURNAL ARTICLE

Real-time defect inspection of green coffee beans using NIR snapshot hyperspectral imaging

Shih-Yu ChenMing-Feng ChiuXue-Wei Zou

Journal:   Computers and Electronics in Agriculture Year: 2022 Vol: 197 Pages: 106970-106970
© 2026 ScienceGate Book Chapters — All rights reserved.