Abstract
Egg quality detection is important to food processing and people consumption. The aim of this study is to detect egg freshness, scattered yolk and eggshell cracks by applying hyperspectral imaging (HSI), multivariate analysis and image process. The transmission visible-near infrared hyperspectral images of egg samples were acquired in the wavelength range of 401–1002 nm. Standard normal variate (SNV) was applied to normalize the spectral data, and iteratively retains informative variable (IRIV) was used to optimize wavelength selection. Based on the feature wavelengths, egg freshness quantitative model was established by using Extreme Gradient Boosting (XGBoost), with coefficient of determination for prediction ( R 2 p ) of 0.91 and root mean square error for prediction (RMSEP) of 4.64. An algorithm including image contrast enhancement, denoising and threshold segmentation was proposed to extract the morphological features of yolk. Based on the morphological feature ratio, the recognition accuracy of scattered yolk eggs reached 97.33%. In addition, a method including crack enhancement, double threshold segmentation was developed to extract the geometric features of cracks. The cracked eggs could be discriminated by XGBoost classification model with identification accuracy of 93.33%. The results indicate that HSI can be useful for the non-destructive detection of egg qualities. • Hyperspectral imaging was applied to detect egg freshness, scattered yolk and cracks. • The feature wavelengths for egg freshness detection were selected by IRIV. • An algorithm for extracting morphological features of yolk was proposed. • A method for extracting geometric features of eggshell cracks was proposed.
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.