Hary Kurniawan , Muhammad Akbar Andi Arief , Braja Manggala , Sangjun Lee , Hangi Kim , Byoung-Kwan Cho
{"title":"Advanced detection of foreign objects in fresh-cut vegetables using YOLOv5","authors":"Hary Kurniawan , Muhammad Akbar Andi Arief , Braja Manggala , Sangjun Lee , Hangi Kim , Byoung-Kwan Cho","doi":"10.1016/j.lwt.2024.116989","DOIUrl":null,"url":null,"abstract":"<div><div>The presence of foreign objects in fresh-cut vegetables has become a significant concern for the industry in recent years. Ensuring the safety of consumers and suppliers necessitates comprehensive precautionary measures. This study introduces a novel approach for detecting foreign objects in fresh-cut vegetables using YOLOv5. The results indicate that YOLOv5s excels in identifying foreign objects with a high detection accuracy of 98.30%, a rapid inference time of 2.6 ms, and a compact model size of 13.3 MB. The model effectively identified foreign objects such as transparent and colored plastic, paper, wood, stone, insects, glass, and metal. Moreover, YOLOv5s accurately detected foreign objects with color similarities to green onions, which is particularly challenging due to their wide color variation. Hence, the foreign objects dataset was tested and generated 98.63% and 98.67% for cabbage and green onion, respectively. Additionally, YOLOv5s successfully detected small foreign objects (2–3 mm) in two types of fresh-cut vegetables. Despite its excellent performance, the YOLOv5s model struggles to identify foreign objects that overlap with vegetable samples. To address this issue, installing an automatic conveyor unit could facilitate continuous sample movement, while a feeder unit could reduce the possibility of overlap. This research demonstrates the feasibility of implementing the YOLOv5s, as a non-destructive technique for detecting foreign objects in fresh-cut vegetables. The findings contribute to the development of an accurate, fast, and efficient real-time inspection system, with potential applications in the fresh-cut vegetable industry to enhance product quality and safety.</div></div>","PeriodicalId":382,"journal":{"name":"LWT - Food Science and Technology","volume":"212 ","pages":"Article 116989"},"PeriodicalIF":6.0000,"publicationDate":"2024-11-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"LWT - Food Science and Technology","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0023643824012726","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
The presence of foreign objects in fresh-cut vegetables has become a significant concern for the industry in recent years. Ensuring the safety of consumers and suppliers necessitates comprehensive precautionary measures. This study introduces a novel approach for detecting foreign objects in fresh-cut vegetables using YOLOv5. The results indicate that YOLOv5s excels in identifying foreign objects with a high detection accuracy of 98.30%, a rapid inference time of 2.6 ms, and a compact model size of 13.3 MB. The model effectively identified foreign objects such as transparent and colored plastic, paper, wood, stone, insects, glass, and metal. Moreover, YOLOv5s accurately detected foreign objects with color similarities to green onions, which is particularly challenging due to their wide color variation. Hence, the foreign objects dataset was tested and generated 98.63% and 98.67% for cabbage and green onion, respectively. Additionally, YOLOv5s successfully detected small foreign objects (2–3 mm) in two types of fresh-cut vegetables. Despite its excellent performance, the YOLOv5s model struggles to identify foreign objects that overlap with vegetable samples. To address this issue, installing an automatic conveyor unit could facilitate continuous sample movement, while a feeder unit could reduce the possibility of overlap. This research demonstrates the feasibility of implementing the YOLOv5s, as a non-destructive technique for detecting foreign objects in fresh-cut vegetables. The findings contribute to the development of an accurate, fast, and efficient real-time inspection system, with potential applications in the fresh-cut vegetable industry to enhance product quality and safety.
期刊介绍:
LWT - Food Science and Technology is an international journal that publishes innovative papers in the fields of food chemistry, biochemistry, microbiology, technology and nutrition. The work described should be innovative either in the approach or in the methods used. The significance of the results either for the science community or for the food industry must also be specified. Contributions written in English are welcomed in the form of review articles, short reviews, research papers, and research notes. Papers featuring animal trials and cell cultures are outside the scope of the journal and will not be considered for publication.