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

Authors : Hary Kurniawan; Byoung–Kwan Cho; Muhammad Akbar Andi Arief; Braja Manggala; Hangi Kim et al.
article cite 3 Year 2025
source: Agriculture
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.


Concepts :
Smart Agriculture and AI
Spectroscopy and Chemometric Analyses
Food Supply Chain Traceability
article cite 3 Year 2025 source Agriculture
Citations by Year
YearCount
2025 3