On-Line Detection Method of Salted Egg Yolks with Impurities Based on Improved YOLOv7 Combined with DeepSORT

Author:

Gong Dongjun12ORCID,Zhao Shida34,Wang Shucai1,Li Yuehui1,Ye Yong1,Huo Lianfei34,Bai Zongchun34

Affiliation:

1. College of Engineering, Huazhong Agricultural University, Wuhan 430070, China

2. Wuhan Vocational College of Software and Engineering (Wuhan Open University), Wuhan 430205, China

3. Institute of Facilities and Equipment in Agriculture, Jiangsu Academy of Agricultural Sciences, Nanjing 210014, China

4. Key Laboratory of Protected Agriculture Engineering in the Middle and Lower Reaches of Yangtze River, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China

Abstract

Salted duck egg yolk, a key ingredient in various specialty foods in China, frequently contains broken eggshell fragments embedded in the yolk due to high-speed shell-breaking processes, which pose significant food safety risks. This paper presents an online detection method, YOLOv7-SEY-DeepSORT (salted egg yolk, SEY), designed to integrate an enhanced YOLOv7 with DeepSORT for real-time and accurate identification of salted egg yolks with impurities on production lines. The proposed method utilizes YOLOv7 as the core network, incorporating multiple Coordinate Attention (CA) modules in its Neck section to enhance the extraction of subtle eggshell impurities. To address the impact of imbalanced sample proportions on detection accuracy, the Focal-EIoU loss function is employed, adaptively adjusting bounding box loss values to ensure precise localization of yolks with impurities in images. The backbone network is replaced with the lightweight MobileOne neural network to reduce model parameters and improve real-time detection performance. DeepSORT is used for matching and tracking yolk targets across frames, accommodating rotational variations. Experimental results demonstrate that YOLOv7-SEY-DeepSORT achieves a mean average precision (mAP) of 0.931, reflecting a 0.53% improvement over the original YOLOv7. The method also shows enhanced tracking performance, with Multiple Object Tracking Accuracy (MOTA) and Multiple Object Tracking Precision (MOTP) scores of 87.9% and 73.8%, respectively, representing increases of 17.0% and 9.8% over SORT and 2.9% and 4.7% over Tracktor. Overall, the proposed method balances high detection accuracy with real-time performance, surpassing other mainstream object detection methods in comprehensive performance. Thus, it provides a robust solution for the rapid and accurate detection of defective salted egg yolks and offers a technical foundation and reference for future research on the automated and safe processing of egg products.

Funder

Huazhong Agricultural University 2024 College Student Research Fund Project

Jiangsu Provincial Excellent Postdoctoral Program

Agricultural Science and Technology Independent Innovation Project of Jiangsu Province

Publisher

MDPI AG

Reference39 articles.

1. Review of China’s poultry egg market in 2023 and outlook of price trend in 2024;Zhao;Guide Chin. Poult.,2024

2. Research status, problems and trends of poultry egg processing in China;Zheng;Guide Chin. Poult.,2023

3. Li, X., Chen, S., Yao, Y., Wu, N., Xu, M., Zhao, Y., and Tu, Y. (2022). The quality characteristics formation and control of salted eggs: A review. Foods, 11.

4. Mooncake production waste: Nutritional value and comprehensive utilization of salted duck egg white;Yao;J. Food Process. Preserv.,2022

5. Nondestructive testing of runny salted egg yolk based on improved ConvNeXt-T;Chen;J. Food Sci.,2024

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3