Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging

In this paper, we proposed a nondestructive detection method for egg freshness based on infrared thermal imaging technology. We studied the relationship between egg thermal infrared images (different shell colors and cleanliness levels) and egg freshness under heating conditions. Firstly, we establi...

Full description

Bibliographic Details
Main Authors: Jingwei Zhang, Wei Lu, Xingliang Jian, Qingying Hu, Dejian Dai
Format: Article
Language:English
Published: MDPI AG 2023-06-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/23/12/5530
_version_ 1797592720997351424
author Jingwei Zhang
Wei Lu
Xingliang Jian
Qingying Hu
Dejian Dai
author_facet Jingwei Zhang
Wei Lu
Xingliang Jian
Qingying Hu
Dejian Dai
author_sort Jingwei Zhang
collection DOAJ
description In this paper, we proposed a nondestructive detection method for egg freshness based on infrared thermal imaging technology. We studied the relationship between egg thermal infrared images (different shell colors and cleanliness levels) and egg freshness under heating conditions. Firstly, we established a finite element model of egg heat conduction to study the optimal heat excitation temperature and time. The relationship between the thermal infrared images of eggs after thermal excitation and egg freshness was further studied. Eight values of the center coordinates and radius of the egg circular edge as well as the long axis, short axis, and eccentric angle of the egg air cell were used as the characteristic parameters for egg freshness detection. After that, four egg freshness detection models, including decision tree, naive Bayes, k-nearest neighbors, and random forest, were constructed, with detection accuracies of 81.82%, 86.03%, 87.16%, and 92.32%, respectively. Finally, we introduced SegNet neural network image segmentation technology to segment the egg thermal infrared images. The SVM egg freshness detection model was established based on the eigenvalues extracted after segmentation. The test results showed that the accuracy of SegNet image segmentation was 98.87%, and the accuracy of egg freshness detection was 94.52%. The results also showed that infrared thermography combined with deep learning algorithms could detect egg freshness with an accuracy of over 94%, providing a new method and technical basis for online detection of egg freshness on industrial assembly lines.
first_indexed 2024-03-11T01:57:10Z
format Article
id doaj.art-89772a8334324c0699d0b52b9c9b91af
institution Directory Open Access Journal
issn 1424-8220
language English
last_indexed 2024-03-11T01:57:10Z
publishDate 2023-06-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj.art-89772a8334324c0699d0b52b9c9b91af2023-11-18T12:32:25ZengMDPI AGSensors1424-82202023-06-012312553010.3390/s23125530Nondestructive Detection of Egg Freshness Based on Infrared Thermal ImagingJingwei Zhang0Wei Lu1Xingliang Jian2Qingying Hu3Dejian Dai4School of Electrical and Electronic Engineering, Anhui Science and Technology University, Bengbu 233000, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaIn this paper, we proposed a nondestructive detection method for egg freshness based on infrared thermal imaging technology. We studied the relationship between egg thermal infrared images (different shell colors and cleanliness levels) and egg freshness under heating conditions. Firstly, we established a finite element model of egg heat conduction to study the optimal heat excitation temperature and time. The relationship between the thermal infrared images of eggs after thermal excitation and egg freshness was further studied. Eight values of the center coordinates and radius of the egg circular edge as well as the long axis, short axis, and eccentric angle of the egg air cell were used as the characteristic parameters for egg freshness detection. After that, four egg freshness detection models, including decision tree, naive Bayes, k-nearest neighbors, and random forest, were constructed, with detection accuracies of 81.82%, 86.03%, 87.16%, and 92.32%, respectively. Finally, we introduced SegNet neural network image segmentation technology to segment the egg thermal infrared images. The SVM egg freshness detection model was established based on the eigenvalues extracted after segmentation. The test results showed that the accuracy of SegNet image segmentation was 98.87%, and the accuracy of egg freshness detection was 94.52%. The results also showed that infrared thermography combined with deep learning algorithms could detect egg freshness with an accuracy of over 94%, providing a new method and technical basis for online detection of egg freshness on industrial assembly lines.https://www.mdpi.com/1424-8220/23/12/5530egg freshnessinfrared thermal imaging technologyfinite element analysis of heat transfer
spellingShingle Jingwei Zhang
Wei Lu
Xingliang Jian
Qingying Hu
Dejian Dai
Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging
Sensors
egg freshness
infrared thermal imaging technology
finite element analysis of heat transfer
title Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging
title_full Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging
title_fullStr Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging
title_full_unstemmed Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging
title_short Nondestructive Detection of Egg Freshness Based on Infrared Thermal Imaging
title_sort nondestructive detection of egg freshness based on infrared thermal imaging
topic egg freshness
infrared thermal imaging technology
finite element analysis of heat transfer
url https://www.mdpi.com/1424-8220/23/12/5530
work_keys_str_mv AT jingweizhang nondestructivedetectionofeggfreshnessbasedoninfraredthermalimaging
AT weilu nondestructivedetectionofeggfreshnessbasedoninfraredthermalimaging
AT xingliangjian nondestructivedetectionofeggfreshnessbasedoninfraredthermalimaging
AT qingyinghu nondestructivedetectionofeggfreshnessbasedoninfraredthermalimaging
AT dejiandai nondestructivedetectionofeggfreshnessbasedoninfraredthermalimaging