Development of an Intelligent Inspection System Based on YOLOv7 for Real-Time Detection of Foreign Materials in Fresh-Cut Vegetables

Kurniawan, Hary and Arief, Muhammad Akbar Andi and Manggala, Braja and Kim, Hangi and Lee, Sangjun and Kim, Moon S. and Baek, Insuck and Cho, Byoung-Kwan (2025) Development of an Intelligent Inspection System Based on YOLOv7 for Real-Time Detection of Foreign Materials in Fresh-Cut Vegetables. Agriculture (Switzerland), 15 (21): 2297. pp. 1-26. ISSN 20770472

[thumbnail of Development of an Intelligent Inspection System Based on YOLOv7 for Real-Time Detection of Foreign Materials in Fresh-Cut Vegetables] Text (Development of an Intelligent Inspection System Based on YOLOv7 for Real-Time Detection of Foreign Materials in Fresh-Cut Vegetables)
agriculture-15-02297-v2.pdf - Published Version
Restricted to Registered users only

Download (15MB) | Request a copy

Abstract

Ensuring food safety in fresh-cut vegetables is essential due to the frequent presence of foreign material (FM) that threatens consumer health and product quality. This study presents a real-time FM detection system developed using the YOLO object detection framework to accurately identify diverse FM types in cabbage and green onions. A custom dataset of 14 FM categories—covering various shapes, sizes, and colors—was used to train six YOLO variants. Among them, YOLOv7x demonstrated the highest overall accuracy, effectively detecting challenging objects such as transparent plastic, small stones, and insects. The system, integrated with a conveyor-based inspection setup and a Python graphical interface, maintained stable and high detection accuracy confirming its robustness for real-time inspection. These results validate the developed system as an alternative intelligent quality-control layer for continuous, automated inspection in fresh-cut vegetable processing lines, and establish a solid foundation for future robotic-based removal systems aimed at fully automated food safety assurance. © 2025 by the authors.

Item Type: Article
Additional Information: Cited by: 3; All Open Access, Gold Open Access, Green Open Access
Uncontrolled Keywords: algorithm; food safety; software; vegetable
Subjects: S Agriculture > S Agriculture (General)
Divisions: Faculty of Agricultural Technology > Agricultural and Biosystems Engineering
Depositing User: Diah Ari Damayanti
Date Deposited: 20 Jul 2026 01:56
Last Modified: 20 Jul 2026 01:56
URI: https://ir.lib.ugm.ac.id/id/eprint/28225

Actions (login required)

View Item
View Item