Comparative analysis of YOLO models for green coffee bean detection and defect classification
Hira Lal Gope1, Hidekazu Fukai2, Fahim Mahafuz Ruhad3
1Department of Computer Science and Engineering, Faculty of Agricultural Engineering and Technology, Sylhet Agricultural University, Sylhet-3100, Bangladesh. hlgope@sau.ac.bd.
A custom YOLOv8n model excels at identifying and classifying green coffee beans, offering high accuracy and efficiency for automated quality control in the coffee industry. This research aids in selecting optimal You Only Look Once (YOLO) models for agricultural applications.
Area of Science:
- Computer Vision
- Agricultural Technology
- Food Science
Background:
- Green coffee bean quality directly impacts flavor and market value.
- Automated identification of bean types and defects offers significant industry advantages.
- Accurate defect detection is crucial for maintaining product consistency and consumer satisfaction.
Purpose of the Study:
- To evaluate the performance of various You Only Look Once (YOLO) models for green coffee bean identification and classification.
- To compare different YOLO variants based on computational efficiency, accuracy, and speed.
- To identify the most effective YOLO model for real-world implementation in coffee bean quality control.
Main Methods:
- A dataset of 4,032 training and 506 testing images featuring diverse green coffee beans, defects, and lighting conditions was utilized.
- Multiple YOLO variants (YOLOv3, YOLOv4, YOLOv5, YOLOv7, YOLOv8) and custom models were trained and evaluated.
- Performance metrics including precision, recall, f1-score, and mean average precision (mAP) were assessed.
Main Results:
- The custom-YOLOv8n model demonstrated superior performance in accuracy, precision, recall, and mAP.
- Bounding boxes accurately encompassed coffee beans, with uniform black backgrounds facilitating detection.
- The fine-tuned custom model effectively distinguished bean types and detected subtle defects.
Conclusions:
- The custom-YOLOv8n model is highly effective for automated green coffee bean quality control.
- This research provides valuable insights for selecting and implementing YOLO models in agricultural systems.
- Optimized YOLO models can significantly enhance efficiency and consistency in the coffee industry.
More Related Videos
08:20Author Spotlight: AI-Driven Trypanosome Species Detection from Microscopic Images
Published on: October 27, 2023
08:43PTR-ToF-MS Coupled with an Automated Sampling System and Tailored Data Analysis for Food Studies: Bioprocess Monitoring, Screening and Nose-space Analysis
Published on: May 11, 2017
Related Concept Videos
Difference from Background: Limit of Detection
The LOD indicates the presence or absence...
Quantifying and Rejecting Outliers: The Grubbs Test
Methods of Classification and Identification
Force Classification
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Classification of Systems-II
