Skip to main content

ORIGINAL RESEARCH article

Front. Nutr. , 02 April 2025

Sec. Nutrition and Food Science Technology

Volume 12 - 2025 | https://doi.org/10.3389/fnut.2025.1577642

Meat species authentication using portable hyperspectral imaging

Yuewen Yu,Yuewen Yu1,2Wei Chen,,
Wei Chen3,4,5*Dongjie Zhao,Dongjie Zhao1,2Hanwen Zhang,Hanwen Zhang1,2Wenliang Chen,Wenliang Chen1,2Rong Liu,Rong Liu1,2Chenxi Li,
Chenxi Li1,2*
  • 1State Key Laboratory of Precision Measurement Technology and Instruments, Tianjin University, Tianjin, China
  • 2School of Precision Instruments and Optoelectronics Engineering, Tianjin University, Tianjin, China
  • 3Department of Ophthalmology, Tianjin Eye Hospital, Nankai University Affiliated Eye Hospital, Nankai University, Tianjin, China
  • 4Clinical College of Ophthalmology, Tianjin Medical University, Tianjin, China
  • 5Tianjin Key Laboratory of Ophthalmology and Visual Science, Tianjin Eye Hospital, Tianjin, China

Introduction: Meat species fraud seriously harms the interests of consumers and causes food safety problems. Hyperspectral imaging is capable of integrating spectral and imaging technology to simultaneously obtain spectral and spatial information, and has been widely applied to detect adulteration and authenticity of meat.

Methods: This study aims to develop a portable hyperspectral imager (HSI) and a discrimination model for meat adulteration detection. The portable push broom HSI was designed with the spectral resolution of 5 nm and spatial resolution of 0.1 mm, and controlled with the Raspberry Pi to meet the requirement of on situ rapid detection. To improve generalization, the model transfer method was also developed to achieve model sharing across instruments, providing a reliable solution for rapid assessment of meat species.

Results: The results demonstrate that the model transfer method can effectively correct the spectral differences due to instrument variation and improve the robustness of the model. The support vector machine (SVM) classifier combined with spectral space transformation (SST) achieved a best accuracy of 94.91%. Additionally, a visualization map was proposed to provide the distribution of meat adulteration, offering valuable insights for fraud detection.

Conclusion: The portable HSI enables on-site analysis, making it an invaluable tool for various industries, including food safety and quality control.

1 Introduction

Meat and meat products are an important source of high-quality protein in the human diet, providing essential amino acids, fatty acids, vitamins, and other nutrients (13). However, the higher growth rate in meat consumption leads to fraud in processed meat products (4). Meat species fraud typically involves the substitution of one meat species for another, or the presence of animal species that are not labeled (5). Unlabeled meat may contain allergens or pathogens, increasing food safety risks. Additionally, meat adulteration may violate religious culture and harm the interests of consumers. Therefore, effective supervision is very important for ensuring the suitable development of the meat industry, and reliable detection technologies are fundamental technical support for this goal. The most commonly used methods for meat species detection include biochemical, immunological and molecular methods, such as liquid chromatography, polymerase chain reaction, electrophoretic separation and enzyme-linked immunosorbent assay (69). However, these methods often require complex sample preparation, such as tissue disruption, target analyte extraction, and purification, and these pretreatment processes are invasive, cumbersome, and time-consuming.

Taking advantage of rapid, non-destructive and low-cost, the spectroscopic methods, including near-infrared (NIR), mid-infrared (MIR), ultraviolet–visible (UV–VIS), and Raman spectroscopy, have been widely used to detect adulteration and authenticity of meat (1013). However, most spectral systems using fiber optic probes or integrating spheres only collect reflected or transmitted light in small areas of the sample, which can result in unrepresentative spectral sampling and low accuracy for detecting adulteration in meat with heterogeneous characteristics.

Hyperspectral imaging technology, which collects both spectral and spatial information from a sample, has become a powerful tool for meat authenticity (14). The hyperspectral data cube could be used to characterize complex and inhomogeneous meat samples, as well as identify surface and sub-surface components. Masithoh et al. (15) employed a short-wavelength HSI and partial least squares regression (PLSR) to predict pork content in ground beef, achieving a coefficient of determination ( R 2 ) of 0.97 and a root mean square error (RMSE) ranging from 2.47 to 2.55%. Zhang et al. (16) combined hyperspectral images with recurrence plot transformation and convolutional neural network (RP-CNN) to detect adulterated mutton, achieving a classification accuracy of 100%. Jia et al. (17) utilized near-infrared HSI combined with genetic algorithm-backpropagation artificial neural network for identifying substitution fraud in ground beef. The sensitivity and specificity of the model were 100%. The methods described above integrate spectroscopy with machine learning and deep learning techniques to achieve high-precision classification and prediction of meat adulteration. Hyperspectral imaging not only provides rich spectral information but also captures surface features of meat, such as texture and color (18). Image analysis allows for the extraction of texture features, which can reveal subtle differences in meat structure related to species or quality. Wan et al. (19) fused spectral and textural features of hyperspectral images to predict myoglobin content in nitrite-cured mutton, and the optimal model achieved a prediction RMSE of 3% for oxymyoglobin (OxyMb) and 3.2% for methemoglobin (MetMb). Kucha et al. (20) obtained mean spectral features, gabor filter features, and wild line detector features from hyperspectral images of pork loin and developed a PLSR model to assess the intramuscular fat quality. These results indicate that the combination of spectral and texture features facilitates the rapid assessment of meat quality, offering a robust tool for adulteration detection and quality control.

With breakthroughs in micro-mechanical systems, micro-dispersive optics and narrow-band filtering systems, portable and handheld spectrometers have become one of the most commercially available platforms for meat monitoring and quality detection (21). Sigernes et al. (22) designed a lightweight push broom HSI with a dispersive element housing printed by a thermoplastic 3D printer. The device is portable and weighs 200 g. The bandpass is in the range from 1.4–5 nm with a spectral range in the visible to the near-infrared. Henriksen et al. (23) developed a new optomechanical design based on the HSI using commercial off-the-shelf components, which has a spectral resolution of 3.69 nm. The device is also compact, measuring 220 × 65 × 65 m m 3 and weighing 650 g. Xue et al. (24) developed a highly compact HSI with automatic geometric rectification. The spectral range is from 400 nm to 1,000 nm with an excellent spectral resolution of 2.5 nm. The use of portable HSI and spectrometers contributes to ease and convenient data acquisition for online or in-situ applications, due to the low cost, simplicity of analysis, reduced size, and portability.

Most of spectrometer work independently based on their own spectral range, resolution and experimental conditions (25). Additionally, due to the differences in system configuration, spectral response characteristics and other factors, the data collected on different devices may have systematic bias and error, which affects the generalization ability of the model (26). Repetitive model calibration work makes the application of portable instruments in practical production and market supervision a major obstacle. Model transfer refers to the application of calibration models built on one instrument to other instruments (27). This approach reduces redundant calibration work, improves the portability and robustness of the spectral device and model, and makes the HSI more suitable for in-situ applications. Therefore, systematic research on model transfer and optimization is crucial to improve the performance of meat adulteration detection (28).

In this study, a portable HSI controlled by a Raspberry Pi was designed and optimized for on-site meat quality detection. To address the problem of model incompatibility caused by spectral variations across different instruments, this study evaluated three model transfer methods to enable model sharing between the developed HSI and a commercial spectrometer. Additionally, partial least squares discriminant analysis (PLS-DA) and SVM classifiers were employed to build a meat adulteration discrimination model to visualize the distribution of meat adulteration. This study provides a powerful tool and methodological framework for real-time meat adulteration detection and food safety assurance.

2 Materials and methods

This study aims to develop a portable HSI and a discrimination model for in-situ meat adulteration detection. The workflow is illustrated in Figure 1.

Figure 1
www.frontiersin.org

Figure 1. The workflow of meat adulteration discrimination.

The hand-held portable HSI is designed based on the push-scan principle, with Raspberry Pi 4b and custom software to acquire and process the HSI data. The PLS-DA and SVM were employed to establish meat adulteration discrimination model. To enhance model compatibility across different instruments, model transfer methods, including piecewise direct standardization (PDS), SST and alternating trilinear decomposition (ATLD) were evaluated. These model transfer methods were validated on the dataset including a commercial spectrometer and the home-built HSI. Model transfer helps to enable model and data sharing between instruments, improves detection efficiency, and provides a reliable solution for rapid and accurate detection.

2.1 Instrument

As shown in Figure 2A, the portable system consists of the push-scan HSI, the Raspberry Pi for real-time image acquisition and processing, a touchscreen and gimbal for user-friendly operation. The HSI covers a spectral range from 400 nm to 800 nm with a center wavelength of 600 nm. To reduce size and cost, the HSI was designed with compact transmission model, which comprises an imaging lens (Focal length, FL = 35 mm), slit (25 μm × 3 mm), collimating lens (FL = 50 mm), grating (600 lines/mm, 25 × 25 mm2), focusing lens (FL = 25 mm) and detector (acA2040–120 um, Basler, Germany) for spectrogram acquisition. The optimization in Zemax ray tracing software was performed, as shown in Figure 2B. According to the simulation results, the spectral resolution of the HSI was up to 5 nm with a spatial resolution of 0.1 mm.

Figure 2
www.frontiersin.org

Figure 2. Schematic structure of the portable HSI. (A) The portable HSI. (B) Physical model of the Zemax simulation.

2.2 HSI calibration

To evaluate the performance of the HSI, the spectral response and full width at half maxima (FWHM) were measured using a monochromator (CS260B-2-MC-A, Newport, America) and mercury-argon lamp (HG-1, Ocean Optics, America). The monochromator emitted monochromatic light in 1 nm increments across a wavelength range of 400 nm to 800 nm. The light was collected by the HSI, and the response of pixels to different wavelengths was obtained. The relationship between pixels and wavelengths was fitted using the least squares method, and the function is presented as follows (Equation 1):

λ i = { 7.44 e 6 i 2 0.201 i + 796.19 0 < i 944 3.39 e 6 i 2 0.208 i + 799.5 944 < i 1870     (1)

where i is the pixel values, λ i is the central wavelength of i . The spectral resolution of the HSI was measured using the mercury-argon calibration light source. The FWHM derived from the spectral calibration data in Figure 3, was calculated to be 3.6 nm at 546.6 nm and 3.9 nm at 436.6 nm, which meet the requirement of meat detection.

Figure 3
www.frontiersin.org

Figure 3. Hyperspectral imager (HSI) calibration data. Blue lines showed spectral calibration peaks from the mercury-argon lamp. The black line was the measured spectrum of the reference standard with Xenon light source.

2.3 Sample preparation and experiment

Meat species adulteration is a prevalent issue in the food industry, with a common practice being the partial or complete substitution of expensive beef with cheaper chicken or duck. This substitution can significantly reduce costs while maintaining a similar appearance and flavor in processed meat products. Chicken and duck, with their relatively mild flavors, are particularly difficult to detect when mixed with beef. Meat is also perishable, requiring proper preservation methods to retain its optimum quality until used. Freezing is one of the most effective and efficient methods commonly used in the meat industry to extend the shelf life of meat products (29). However, freezing has also been found to cause a series of physical and biochemical changes in muscle foods, including the formation of ice crystals, solute concentration, changes in ionic strength and pH, freezer burn, discoloration, lipid oxidation and protein denaturation (30).

To investigate the adulteration of frozen meat, fresh beef tenderloin, chicken breast and duck breast were purchased from local supermarkets. One hundred forty-four samples were cut into uniform pieces measuring 3 cm × 3 cm × 0.5 cm and then frozen at −18°C for 24 h. The spliced samples were made with beef, chicken and duck in the proportion of 0.5:1:2, 1:1:1 and 2:1:1, wrapped in cling film and also frozen at −18°C for 24 h, and then cut to uniform size. Since the meat is spliced, the actual proportions of each piece of meat differ from the spliced proportions. The spectral and hyperspectral data of the samples were detected simultaneously using the commercial spectrometer (BTC611E, B&W Tek, United States) and portable HSI, ensuring that each sample was detected within 5 min. The spectrometer was defined as the master instrument in the model transfer method. Its spectral range is 300 nm to 800 nm with the spectral resolution of 1.3 nm. The portable HSI was the slave, with the spectral range of 400 nm to 800 nm, and the spectral resolution of 5 nm.

2.4 Model transfer methods

Model transfer through standardization of spectral responses is the most commonly used strategy. These methods find a transfer matrix that standardizes the spectra measured on slave instrument into the feature space of the master spectra (31). It can be directly applied to the prediction model built on the master spectra without significantly reducing the prediction accuracy. Commonly used model transfer methods include direct standardization (DS) and piecewise direct standardization (PDS). The DS employs PLSR to model the multiple regression between the master and slave spectra, generating a transfer matrix for spectral normalization. However, DS performs poorly in handling non-linear differences between devices. To address this limitation, PDS introduces a moving window to estimate the transfer matrix locally, thereby correcting for the non-linear deviation (32). However, PDS is highly sensitive to the window size, and determining the optimal window size becomes challenging, particularly when the number of spectra from the slave instrument is limited. SST constructs the data matrix by aligning spectra measured from different instruments and estimates the transfer matrix based on principal component analysis (PCA) loadings (33). The SST features a relatively simple structure and maintains robust even with a small number of standard samples. In contrast, ATLD is a higher-order standardization method based on 3D data decomposition. ATLD is capable of combining spectral, spatial and sample dimensions in the standardization process and is suitable for modeling and alignment of complex data with high adaptability and robustness (34).

The PDS, SST and ATLD methods were selected in this study to achieve model transfer between the commercial spectrometer and HSI. PDS assumes that the response at a specific wavelength from the master spectra is correlated with the response from the slave within a predefined window. The transfer function is expressed as (Equation 2):

S 1 , i = S 2 , i w i + w B i     (2)

where the window width is 2 w + 1 , S 1 , i is the value of the i wavelength in the master spectra, S 2 , i w i + w is the value within the wavelength range from i w to i + w in the slave spectra, and B i is the transfer coefficient of the i wavelength. The transfer coefficient B was calculated using PLSR, with the window size optimized based on the RMSE between the master and slave spectra. The performance of PLSR is influenced by the number of principal components. The optimal number was determined using leave-one-out cross-validation, yielding a window size of 25 and 6 principal components for the PDS calibration.

Spectral space transformation integrates the standard sets collected by the master X m and slave X s to create a spectral array X comb = X m X s . The PCA is then applied to X comb to obtain the load using the following formula (Equation 3):

X comb = T P m T P s T + E     (3)

where P m T and P s T are the loads of the master and slave spectra, respectively. The loads are used to calculate the transformation matrix F using the following formula (Equation 4):

F = I + P s T + P m T P s T     (4)

where I is the unit matrix. Convert the slave spectra to master spectra using the following formula (Equation 5):

x u n p = x u n F     (5)

Alternating trilinear decomposition is an algorithm for decomposing three-dimensional data arrays. The spectra of standard samples collected from different instruments can be represented as a three-dimensional matrix X with dimensions I × J × K . This matrix can be decomposed using the ATLD algorithm shown as the following equation (Equation 6):

x i j k = Σ n = 1 N a in b j n c k n + e i j k     (6)

where i , j , k is the number of standard samples, wavelengths and instruments, respectively, N is the number of factors, a in is the element i n of an I × N matrix A, b j n is the element j n of an J × N matrix B, and c k n is the element k n of an K × N matrix C. The transformation matrix F can be obtained using the following formula (Equation 7):

F k = diag c k B T     (7)

where c k is the kth row of matrix C . For the spectrum x k 1 , new taken from the K 1 instrument, it can be transformed into the spectrum x k 2 , trans from the K 2 instrument by the following equation (Equation 8):

x i k 2 , trans = x i k 1 , new + x i k 1 , new F k 1 + F k 2 x i k 1 , new F k 1 + F k 1     (8)

The performance of SST and ATLD is influenced by the number of principal components and factors, respectively. Optimal parameters were identified using five-fold cross-validation, where the RMSE between master and slave spectra was calculated as an evaluation criterion. Ultimately, the number of principal components and factors that minimized the RMSE were chosen to be 6 and 2, respectively.

2.5 Discrimination models

Combined with the model transfer method, the meat adulteration discrimination model was developed based on PLS-DA and SVM. The PLS-DA extracts the principal components between the spectral matrix and the categorical variables for linear discrimination, and can effectively deal with the multicollinearity in high-dimensional data (35). The SVM maps data into a high-dimensional feature space for non-linear discrimination. It captures complex non-linear relationships in spectral responses, demonstrates high accuracy in small-sample learning, and exhibits strong generalization ability (36).

The PLS-DA maximizes the covariance between the spectral matrix X and the predicted category Y by selecting the principal components with the following formula (Equation 9):

Y = X b + e     (9)

where b is the matrix of regression coefficients and e is the matrix of residual information. Selecting the appropriate number of principal components is crucial when building the PLS-DA model. Using too many components can result in overfitting, while using too few may lead to the loss of important information. In this study, the optimal number is determined using the 10-fold cross-validation method, with an error threshold of 0.5 for category discrimination.

Support vector machine is a non-linear method with high generalization ability. It maps the spectral vector x i to the high-dimensional feature space using a kernel function. This allows SVM to find the optimal linear separating hyperplane w b . The main objective is to optimize the following (Equations 10, 11):

min w , b 1 2 w 2 s . t . y i w T ϕ x i + b 1 , i = 1 , 2 , , m     (10)
K x i x j ϕ x i T ϕ x j     (11)

where K x i x j is the kernel function. The radial basis function is employed as the kernel function, and the optimal kernel parameters are determined through cross-validation.

2.6 Model evaluation

Model transfer method requires standard datasets to obtain the transformation matrix, while the discriminative model also requires training dataset. The sample set partitioning based on joint X-Y distances (SPXY) method was used to divide the dataset into training and prediction sets (37). Subsequently, a subset of samples from the training set was selected as the standard set. The number of samples in standard sets was determined by calculating the spectral angles θ ¯ (Equation (12)) and correlation coefficients r ¯ (Equation (13)) (38).

θ ¯ = 1 m Σ j = 1 m θ i , θ ¯ 0 π 2     (12)
θ i = arccos Σ j = 1 n M i j S i j Σ j = 1 n M i j 2 Σ j = 1 n S i j 2 , θ 0 π 2     (13)

where θ i is the spectral angle between the master and slave spectra of the ith sample, and m is the number of samples in the standard set. M i j and S i j denote the spectral response of the master spectrum of the ith sample and the corresponding jth wavelength in the slave spectrum, respectively. n is the number of wavelengths in the spectral curve. The mean value of the spectral correlation coefficient can be expressed as (Equations 14, 15):

r ¯ = 1 m Σ i = 1 m r i , r ¯ 0 1     (14)
r i = Σ j = 1 n M i j M i ¯ S i j S i ¯ Σ j = 1 n M i j M i ¯ 2 Σ j = 1 n S i j S i ¯ 2 , r 0 1     (15)

As the value of r ¯ approaches 1 and θ ¯ approaches 0, the difference between the master and slave spectra decreases, indicating a more effective model transfer method. The performance of discriminant models is typically evaluated using confusion matrix, in which four commonly used evaluation metrics can be calculated: accuracy, sensitivity, and precision (39). The formulas for these metrics are as follows (Equations 1618):

Accuracy = T P + T N T P + T N + F P + F N     (16)
Sensitivity = T P T P + F N     (17)
Precision = T P T P + F P     (18)

3 Results and discussion

3.1 Spectral analysis

As shown in Figure 4, the reflectance spectra of three types of meat shows different intensity and absorption features in the range of 400–800 nm. The absorption peaks at 420 nm, 540 nm and 575 nm differ significantly, primarily due to variations in myoglobin content (40). The peak at 420 nm corresponds to deoxymyoglobin, while the peaks at 540 nm and 575 nm are associated with respiratory pigments, such as oxymyoglobin (41). The content and distribution of myoglobin influence both the spectral intensity and meat color. The spectra of beef and duck are similar, whereas chicken exhibits higher spectral reflectance, likely due to differences in respiratory pigment composition. Furthermore, a minor absorption peak at 630 nm is observed in the beef spectrum, attributed to the presence of high-iron myoglobin (42).

Figure 4
www.frontiersin.org

Figure 4. The reflectance spectra of meat measured by the master and slave. (A) The commercial spectrometer. (B) The HSI.

The reflectance spectra of meat measured with the HSI and commercial spectrometer are compared in Figure 5. Differences between the master and slave spectra are attributed to instrument design, measurement conditions and other factors. The discrepancies are particularly pronounced in the spectral ranges of 400–425 nm and 600–650 nm. Applying the discrimination model developed on the master to spectra measured from the slave could lead to significant prediction errors. Therefore, it is necessary to minimize the discrepancies between the master and slave and improve the discrimination accuracy through model transfer methods.

Figure 5
www.frontiersin.org

Figure 5. Reflectance spectra of meat measured with the HSI and commercial spectrometer. (A) Chicken; (B) beef; (C) duck.

3.2 Comparison of model transfer methods

In order to maintain the prediction performance of the discrimination models, three model transfer methods (PDS, SST, and ATLD) were used to minimize the effects of instrumental variations, and their performance was evaluated and compared. The number of standard samples has a significant effect on the performance of model transfer methods. In general, the greater the number of standard samples, the higher the possibility of obtaining good results. However, in practice, model transfer methods that can obtain satisfactory results using fewer standard samples are preferred because fewer standard samples require less analysis time and lower costs. As shown in Figure 6, there is an overall decreasing trend in the spectral angle between the master and slave spectra as the number of standard samples increases. However, after reaching a certain threshold, further increases the number of standard samples have little increase in the spectral angle, as excessive samples tend to introduce redundant information and noise. Specifically, when the number of standard samples ranges from 1 and 10, the SST method achieved the smallest spectral angle, indicating that SST can provide a better standardization at a lower number of standard samples. The spectral angle for the PDS method is minimized when the number of standard samples falls within the range of 15 to 30. In contrast, the ATLD method consistently exhibits a larger spectral angle, indicating a significant difference between the master and transformed slave spectra. Based on these results, 15, 10, and 20 standard samples were selected for the PDS, SST, and ATLD, respectively.

Figure 6
www.frontiersin.org

Figure 6. Impact of the number of standard samples on the performance of the model transfer approach.

The spectral angles and correlation coefficients between the master and slave spectra before and after the model transfer are compared in Table 1. After model transfer, the spectral angles were significantly reduced. Specifically, the PDS method has the best performance with the spectral angle reduced to 27% of the value before transfer, while the SST method has the spectral angle reduced to 31% of the original one. As shown in Figure 7, the transformed slave spectra exhibit similar shape with the master spectra, further confirming the effectiveness of these methods in correcting spectral variations caused by changes in instrumental or experimental conditions.

Table 1
www.frontiersin.org

Table 1. The spectral angles and correlation coefficients between master and slave spectra before and after model transfer.

Figure 7
www.frontiersin.org

Figure 7. Comparison of master and slave spectra before and after model transfer. (A) Chicken; (B) beef; (C) duck.

3.3 Comparison of discrimination results before and after model transfer

The effects of different model transfer methods on discrimination accuracy are compared in Table 2. Before transfer, applying the discrimination model developed on the master to the slave lead to low accuracy, with PLS-DA and SVM achieving 82.63 and 90.51%, respectively. Model transfer significantly improves accuracy of classifiers, with the SST method increasing accuracy by 9.73% for PLS-DA and 4.4% for SVM. The PDS method improves accuracy by 7.18% for PLS-DA and 1.62% for SVM. The ATLD method improves classification accuracy, with PLS-DA and SVM increasing by 6.72 and 1.08%, respectively. However, its improvement is limited compared to PDS and SST. The ATLD method employs trilinear decomposition to separate spectra into feature matrices related to category, spectrum and instrument. It iteratively minimizes the squared error between the original and reconstructed data, making the calculation complex (34). Additionally, the ATLD method calculates the transfer matrix using only the feature matrices associated with the spectra and instrument, potentially omitting critical information that can affect model transfer and classification accuracy (43).

Table 2
www.frontiersin.org

Table 2. The discrimination accuracy of slave test set before and after model transfer.

In the task of multi-class classification, there inevitably exists differences among the classification abilities of a classifier to different classes (44). Such differences are hard to be reflected by any single performance index. Confusion matrices contain information about the actual and predicted classifications given by a classifier. Based on the data from the confusion matrix, accuracy, sensitivity, specificity, and precision can be calculated and used to evaluate the performance of the model (39). As shown in Figure 8, the PLS-DA and SVM classifiers had the best discrimination on chicken with a sensitivity of over 99% before model transfer. However, the sensitivities for beef and duck are lower. This is because chicken exhibits higher spectral reflectance due to its high deoxymyoglobin content, resulting in a light yellow or purplish red color. In contrast, beef and duck exhibit bright red colors with similar spectral characteristics, and spectral variation due to different instruments further increased their misclassification rates. The sensitivity for duck is significantly improved after the model transfer. Specifically, the sensitivity for duck in Figures 8C,G increases by 28 and 19%, respectively. However, Figures 8FH shows that the sensitivity of SVM for beef discrimination decreases. This may be due to partial overlap between categories in the feature space after model transfer, and improving the accuracy for one category may reduce performance of others.

Figure 8
www.frontiersin.org

Figure 8. Confusion matrix for the slave test set before and after model transfer. (A) PLS-DA model (before transfer); (B) PLS-DA model based on PDS; (C) PLS-DA model based on SST; (D) PLS-DA model based on ATLD; (E) SVM model (before transfer); (F) SVM model based on PDS; (G) SVM model based on SST; (H) SVM model based on the ATLD.

3.4 Visualization of meat adulteration

Hyperspectral images contain abundant spatial information, and visualization clearly displays the spatial distribution of meat adulteration. This study employed the SVM classifier based on SST to discriminate the hyperspectral images with different proportions of spliced meat. The results are shown in Figure 9, where chicken, beef, and duck regions are represented in yellow, blue, and green, respectively. Since the sample preparation was done by slicing the meat after it was frozen and spliced, the actual proportion of each piece of meat differed from the spliced proportion. The comparison between the actual and predicted proportions of adulteration meat is presented in Table 3.

Figure 9
www.frontiersin.org

Figure 9. Visualization maps of meat adulteration. Proportion of beef, chicken and duck in spliced meat is (A) 0.5:1:2; (B) 1:1:1; (C) 2:1:1. Chicken–yellow, beef– blue, and duck–green.

Table 3
www.frontiersin.org

Table 3. Proportion of meat adulteration.

As shown in Figure 9, before model transfer, the proportion of beef differ from the ground truth by 21.0, 16.5, and 7.0%, respectively. This is primarily due to the misclassification of duck as beef in most of the region, with the proportion of duck differing from the ground truth by 17.6, 12.5 and 10.9%, respectively. After model transfer, the deviations were significantly reduced, with beef proportion differing by only 2.2, 3.2, and 4.4%, while duck proportion deviated by 0.2, 3.9, and 4.2%, respectively. These results demonstrate that the model transfer method can effectively correct the spectral variations caused by different instruments, improve the generalization ability and robustness of the model, and provide a reliable solution for the real-time detection.

In this study, the HSI was utilized to capture the spectral characteristics of different meat species, and a discrimination model was constructed to predict adulteration proportion in spliced meat. The SVM combined with SST method gave optimal results with an accuracy of 94.91% in the meat species discrimination. The discrimination sensitivities for chicken, duck and beef were 100, 86 and 99%, respectively. However, this study did not quantitatively predict the content of adulteration meat. Zhang et al. (16) used RP-CNN to discriminate pork adulteration in mutton, and the discrimination accuracy can reach 100%. The study also established a model for quantitative predicting the pork content in fresh and frozen–thawed meat. The R 2 on two datasets of fresh and frozen–thawed samples were 0.9762 and 0.9807, respectively. Jiang et al. (45) employed hyperspectral imaging to detect the offal adulteration in ground pork. The best performance of the PLSR model was achieved with the R 2 of 0.98 and the RMSE of 4.47%. However, the samples were all purchased from a supermarket in the same day, which may limit the applicability of the model to a wider range of scenarios. In many studies, samples have been prepared by mixing different proportions of the adulteration meat. New samples and models have to be prepared to cope with complex forms of adulteration, making the process time-consuming, costly, and limiting the models’ applicability and generalization.

The portable HSI enables on-site analysis, making it an invaluable tool for various industries, including food safety and quality control. However, the application of portable HSI in practice still faces several challenges. Variations in ambient lighting conditions and surface contaminants on meat samples—such as moisture and grease—can modify the spectral and imaging characteristics, compromising the accuracy of instrument (14). Future research should focus on optimizing calibration algorithms and instrument design. Additionally, integrating deep learning with hyperspectral imaging to develop end-to-end models can streamline preprocessing, automate feature extraction, and enhance the efficiency of real-time detection (46).

4 Conclusion

In this study, a portable HSI and a discrimination model were proposed for detecting chicken and duck adulteration in beef. The HSI is controlled by the Raspberry Pi with the spectral resolution of 5 nm and spatial resolution of 0.1 mm. With model transfer, the slave spectra were normalized to the feature space of the master spectra and used further as input of classifiers. The results demonstrated that the model transfer method effectively reduces the spectral differences due to instrumental variations, and the spectral angle reduced to 31% of the value before transfer with SST. The performance of the SVM classifier was greatly improved with SST, achieving a prediction accuracy of above 94.91%. The discrimination sensitivities for chicken, duck and beef were 100, 86 and 99%, respectively. The study indicating the great potential of the hyperspectral technology applying in the meat adulteration not only the duck and chicken adulteration in spliced beef. Recently, an increasing number of portable instruments have been developed to meet the growing demand for rapid food analysis. This study attempts to apply models developed on commercial spectrometers to home-built HSI, offering the possibility of integrating portable spectrometers into digital supply chains in the future. This will help to achieve transparency and traceability of the food transport process to ensure life and health safety.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

Ethical approval was not required for the studies on animals in accordance with the local legislation and institutional requirements because only commercially available established cell lines were used.

Author contributions

YY: Conceptualization, Investigation, Software, Writing – original draft. WeiC: Conceptualization, Resources, Visualization, Writing – review & editing. DZ: Data curation, Writing – original draft. HZ: Data curation, Writing – original draft. WenC: Formal analysis, Project administration, Validation, Writing – review & editing. RL: Validation, Writing – review & editing. CL: Funding acquisition, Methodology, Supervision, Validation, Writing – review & editing.

Funding

The author(s) declare that financial support was received for the research and/or publication of this article. This work was supported by National Key R&D Program of China (Nos. 2023YFD1701801 and 2023YFD1701802), National Natural Science Foundation of China (Nos. 81971657 and 81871396), Tianjin Major Science and Technology Project (No. 24ZXZSSS00010), Tianjin Key Medical Discipline (Specialty) Construction Project (No. TJYXZDXK-016A) and Natural Science Foundation of Tianjin Municipality (No. 20JCZDJC00630).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The authors declare that no Gen AI was used in the creation of this manuscript.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Xie, Y, Cai, L, Zhou, G, and Li, C. Comparison of nutritional profile between plant-based meat analogues and real meat: a review focusing on ingredients, nutrient contents, bioavailability, and health impacts. Food Res Int. (2024) 187:114460. doi: 10.1016/j.foodres.2024.114460

PubMed Abstract | Crossref Full Text | Google Scholar

2. Leroy, F, Smith, NW, Adesogan, AT, Beal, T, Iannotti, L, Moughan, PJ, et al. The role of meat in the human diet: evolutionary aspects and nutritional value. Anim Front. (2023) 13:11–8. doi: 10.1093/af/vfac093

PubMed Abstract | Crossref Full Text | Google Scholar

3. Jairath, G, Biswas, AK, Mal, G, and Suman, SP. Bioactive compounds in meat: their roles in modulating palatability and nutritional value. Meat Muscle Biol. (2024) 8:6992. doi: 10.22175/mmb.16992

Crossref Full Text | Google Scholar

4. Sun, X, Wang, S, and Jia, W. Research progress of electronic nose and near-infrared spectroscopy in meat adulteration detection. Chemosensors. (2024) 12:35. doi: 10.3390/chemosensors12030035

Crossref Full Text | Google Scholar

5. Ren, Q-S, Fang, K, Yang, X-T, and Han, J-W. Ensuring the quality of meat in cold chain logistics: a comprehensive review. Trends Food Sci Technol. (2022) 119:133–51. doi: 10.1016/j.tifs.2021.12.006

Crossref Full Text | Google Scholar

6. Du, J, Gan, M, Xie, Z, Zhou, C, Li, M, Wang, M, et al. Current progress on meat food authenticity detection methods. Food Control. (2023) 152:109842. doi: 10.1016/j.foodcont.2023.109842

Crossref Full Text | Google Scholar

7. Li, Y-C, Liu, S-Y, Meng, F-B, Liu, D-Y, Zhang, Y, Wang, W, et al. Comparative review and the recent progress in detection technologies of meat product adulteration. Compr Rev Food Sci Food Saf. (2020) 19:2256–96. doi: 10.1111/1541-4337.12579

PubMed Abstract | Crossref Full Text | Google Scholar

8. Chen, J, Liu, J, Wu, D, Pan, R, Chen, J, Wu, Y, et al. CRISPR/Cas precisely regulated DNA-templated silver nanocluster fluorescence sensor for meat adulteration detection. J Agric Food Chem. (2022) 70:14296–303. doi: 10.1021/acs.jafc.2c04500

PubMed Abstract | Crossref Full Text | Google Scholar

9. Ragucci, S, Landi, N, and Di Maro, A. Myoglobin as a molecular biomarker for meat authentication and traceability. Food Chem. (2024) 458:140326. doi: 10.1016/j.foodchem.2024.140326

PubMed Abstract | Crossref Full Text | Google Scholar

10. Sezer, B, Bjelak, A, Velioglu, HM, and Boyaci, IH. Protein based evaluation of meat species by using laser induced breakdown spectroscopy. Meat Sci. (2021) 172:108361. doi: 10.1016/j.meatsci.2020.108361

PubMed Abstract | Crossref Full Text | Google Scholar

11. Bai, J, Zang, M, Shi, Y, Xu, C, Hao, J, Li, J, et al. Identification and quantification of adulteration in frozen-thawed meat of different breeds by NIR spectroscopy and chemometrics. J Food Compos Anal. (2024) 130:106192. doi: 10.1016/j.jfca.2024.106192

Crossref Full Text | Google Scholar

12. Fengou, L-C, Lytou, AE, Tsekos, G, Tsakanikas, P, and Nychas, G-JE. Features in visible and Fourier transform infrared spectra confronting aspects of meat quality and fraud. Food Chem. (2024) 440:138184. doi: 10.1016/j.foodchem.2023.138184

PubMed Abstract | Crossref Full Text | Google Scholar

13. Beriain, MJ, Lozano, M, Echeverría, J, Murillo-Arbizu, MT, Insausti, K, and Beruete, M. Tenderness of PGI “Ternera de Navarra” beef samples determined by FTIR-MIR spectroscopy. Food Secur. (2022) 11:3426. doi: 10.3390/foods11213426

Crossref Full Text | Google Scholar

14. Pu, H, Wei, Q, and Sun, D-W. Recent advances in muscle food safety evaluation: hyperspectral imaging analyses and applications. Crit Rev Food Sci Nutr. (2023) 63:1297–313. doi: 10.1080/10408398.2022.2121805

PubMed Abstract | Crossref Full Text | Google Scholar

15. Masithoh, RE, Pahlawan, MFR, Kim, J, Arief, MAA, Kurniawan, H, Putra Hernanda, RA, et al. Shortwave infrared hyperspectral imaging for the determination of pork adulteration in minced beef and lamb. Food Control. (2024) 166:110736. doi: 10.1016/j.foodcont.2024.110736

Crossref Full Text | Google Scholar

16. Zhang, Y, Zheng, M, Zhu, R, and Ma, R. Adulteration discrimination and analysis of fresh and frozen-thawed minced adulterated mutton using hyperspectral images combined with recurrence plot and convolutional neural network. Meat Sci. (2022) 192:108900. doi: 10.1016/j.meatsci.2022.108900

PubMed Abstract | Crossref Full Text | Google Scholar

17. Jia, W, Ferragina, A, Hamill, R, and Koidis, A. Modelling and numerical methods for identifying low-level adulteration in ground beef using near-infrared hyperspectral imaging (NIR-HSI). Talanta. (2024) 276:126199. doi: 10.1016/j.talanta.2024.126199

PubMed Abstract | Crossref Full Text | Google Scholar

18. Jia, W, Van Ruth, S, Scollan, N, and Koidis, A. Hyperspectral imaging (HSI) for meat quality evaluation across the supply chain: current and future trends. Curr Res Food Sci. (2022) 5:1017–27. doi: 10.1016/j.crfs.2022.05.016

PubMed Abstract | Crossref Full Text | Google Scholar

19. Wan, G, Fan, S, Liu, G, He, J, Wang, W, Li, Y, et al. Fusion of spectra and texture data of hyperspectral imaging for prediction of myoglobin content in nitrite-cured mutton. Food Control. (2023) 144:109332. doi: 10.1016/j.foodcont.2022.109332

PubMed Abstract | Crossref Full Text | Google Scholar

20. Kucha, CT, Liu, L, Ngadi, M, and Gariépy, C. Hyperspectral imaging and chemometrics assessment of intramuscular fat in pork longissimus thoracic et lumborum primal cut. Food Control. (2023) 145:109379. doi: 10.1016/j.foodcont.2022.109379

Crossref Full Text | Google Scholar

21. McVey, C, Elliott, CT, Cannavan, A, Kelly, SD, Petchkongkaew, A, and Haughey, SA. Portable spectroscopy for high throughput food authenticity screening: advancements in technology and integration into digital traceability systems. Trends Food Sci Technol. (2021) 118:777–90. doi: 10.1016/j.tifs.2021.11.003

Crossref Full Text | Google Scholar

22. Sigernes, F, Syrjäsuo, M, Storvold, R, Fortuna, J, Grøtte, ME, and Johansen, TA. Do it yourself hyperspectral imager for handheld to airborne operations. Opt Express. (2018) 26:6021–35. doi: 10.1364/OE.26.006021

PubMed Abstract | Crossref Full Text | Google Scholar

23. Henriksen, MB, Prentice, EF, Van Hazendonk, CM, Sigernes, F, and Johansen, TA. Do-it-yourself VIS/NIR pushbroom hyperspectral imager with C-mount optics. Opt Continuum. (2022) 1:427. doi: 10.1364/OPTCON.450693

Crossref Full Text | Google Scholar

24. Xue, Q, Yang, B, Wang, F, Tian, Z, Bai, H, Li, Q, et al. Compact, UAV-mounted hyperspectral imaging system with automatic geometric distortion rectification. Opt Express. (2021) 29:6092–112. doi: 10.1364/OE.412853

Crossref Full Text | Google Scholar

25. Zhang, J, Guo, C, Cui, X, Cai, W, and Shao, X. A two-level strategy for standardization of near infrared spectra by multi-level simultaneous component analysis. Anal Chim Acta. (2019) 1050:25–31. doi: 10.1016/j.aca.2018.11.013

PubMed Abstract | Crossref Full Text | Google Scholar

26. Chen, J, Zhang, J, Wang, N, Xiao, B, Sun, X, Li, J, et al. Critical review and recent advances of emerging real-time and non-destructive strategies for meat spoilage monitoring. Food Chem. (2024) 445:138755. doi: 10.1016/j.foodchem.2024.138755

PubMed Abstract | Crossref Full Text | Google Scholar

27. Shan, P, Zhao, Y, Wang, Q, Ying, Y, and Peng, S. Principal component analysis or kernel principal component analysis based joint spectral subspace method for calibration transfer. Spectrochim Acta A Mol Biomol Spectrosc. (2020) 227:117653. doi: 10.1016/j.saa.2019.117653

PubMed Abstract | Crossref Full Text | Google Scholar

28. Thennadil, SN, Dewar, M, Herdsman, C, Nordon, A, and Becker, E. Automated weighted outlier detection technique for multivariate data. Control Eng Pract. (2018) 70:40–9. doi: 10.1016/j.conengprac.2017.09.018

Crossref Full Text | Google Scholar

29. Zhang, R, Realini, CE, Kim, YHB, and Farouk, MM. Challenges and processing strategies to produce high quality frozen meat. Meat Sci. (2023) 205:109311. doi: 10.1016/j.meatsci.2023.109311

PubMed Abstract | Crossref Full Text | Google Scholar

30. Bao, Y, Ertbjerg, P, Estévez, M, Yuan, L, and Gao, R. Freezing of meat and aquatic food: underlying mechanisms and implications on protein oxidation. Compr Rev Food Sci Food Saf. (2021) 20:5548–69. doi: 10.1111/1541-4337.12841

PubMed Abstract | Crossref Full Text | Google Scholar

31. Andries, JPM, and Vander, HY. Calibration transfer between NIR instruments using optimally predictive calibration subsets. Anal Bioanal Chem. (2024) 416:5351–64. doi: 10.1007/s00216-024-05468-6

PubMed Abstract | Crossref Full Text | Google Scholar

32. Wang, M, Zheng, K, Yang, G, Ma, W, Wang, J, Wang, T, et al. A robust near-infrared calibration model for the determination of chlorophyll concentration in tree leaves with a calibration transfer method. Anal Lett. (2015) 48:1707–19. doi: 10.1080/00032719.2014.999277

Crossref Full Text | Google Scholar

33. Du, W. Maintaining the predictive abilities of multivariate calibration models by spectral space transformation. Anal Chim Acta. (2011) 690:64–70. doi: 10.1016/j.aca.2011.02.014

PubMed Abstract | Crossref Full Text | Google Scholar

34. Liu, Y, Cai, W, and Shao, X. Standardization of near infrared spectra measured on multi-instrument. Anal Chim Acta. (2014) 836:18–23. doi: 10.1016/j.aca.2014.05.036

PubMed Abstract | Crossref Full Text | Google Scholar

35. Hasan, MM, Chaudhry, MMA, Erkinbaev, C, Paliwal, J, Suman, SP, and Rodas-Gonzalez, A. Application of Vis-NIR and SWIR spectroscopy for the segregation of bison muscles based on their color stability. Meat Sci. (2022) 188:108774. doi: 10.1016/j.meatsci.2022.108774

PubMed Abstract | Crossref Full Text | Google Scholar

36. Innan, N, Khan, MAZ, Panda, B, and Bennai, M. Enhancing quantum support vector machines through variational kernel training. Quantum Inf Process. (2023) 22:374. doi: 10.1007/s11128-023-04138-3

Crossref Full Text | Google Scholar

37. Zou, M, Liu, Y, Fu, M, Li, C, Zhou, Z, Meng, H, et al. Combining spectral and texture feature of UAV image with plant height to improve LAI estimation of winter wheat at jointing stage. Front Plant Sci. (2024) 14:1272049. doi: 10.3389/fpls.2023.1272049

PubMed Abstract | Crossref Full Text | Google Scholar

38. Ding, JG, Li, XB, and Huang, LQ. A novel method for spectral similarity measure by fusing shape and amplitude features. J Eng Sci Technol Rev. (2015) 8:172–9. doi: 10.25103/jestr.085.22

Crossref Full Text | Google Scholar

39. Valero-Carreras, D, Alcaraz, J, and Landete, M. Comparing two SVM models through different metrics based on the confusion matrix. Comput Oper Res. (2023) 152:106131. doi: 10.1016/j.cor.2022.106131

PubMed Abstract | Crossref Full Text | Google Scholar

40. Zhang, W, Pan, L, and Lu, L. Prediction of TVB-N content in beef with packaging films using visible-near infrared hyperspectral imaging. Food Control. (2023) 147:109562. doi: 10.1016/j.foodcont.2022.109562

Crossref Full Text | Google Scholar

41. You, Q, Wang, Z, Tian, X, and Xu, X. A multi-block data approach to assessing beef quality: ComDim analysis of hyperspectral imaging, 1H NMR, electronic nose and quality parameters data. Food Chem. (2023) 425:136469. doi: 10.1016/j.foodchem.2023.136469

PubMed Abstract | Crossref Full Text | Google Scholar

42. Park, S, Yang, M, Yim, DG, Jo, C, and Kim, G. VIS/NIR hyperspectral imaging with artificial neural networks to evaluate the content of thiobarbituric acid reactive substances in beef muscle. J Food Eng. (2023) 350:111500. doi: 10.1016/j.jfoodeng.2023.111500

Crossref Full Text | Google Scholar

43. Chen, Y, Wu, H-L, Wang, T, Liu, B-B, Ding, Y-J, and Yu, R-Q. Piecewise direct standardization assisted with second-order calibration methods to solve signal instability in high-performance liquid chromatography-diode array detection systems. J Chromatogr A. (2022) 1667:462851. doi: 10.1016/j.chroma.2022.462851

PubMed Abstract | Crossref Full Text | Google Scholar

44. Deng, X, Liu, Q, Deng, Y, and Mahadevan, S. An improved method to construct basic probability assignment based on the confusion matrix for classification problem. Inf Sci. (2016) 340-341:250–61. doi: 10.1016/j.ins.2016.01.033

PubMed Abstract | Crossref Full Text | Google Scholar

45. Jiang, H, Ru, Y, Chen, Q, Wang, J, and Xu, L. Near-infrared hyperspectral imaging for detection and visualization of offal adulteration in ground pork. Spectrochim Acta A Mol Biomol Spectrosc. (2021) 249:119307. doi: 10.1016/j.saa.2020.119307

PubMed Abstract | Crossref Full Text | Google Scholar

46. Gul, N, Muzaffar, K, Ahmad Shah, SZ, Assad, AA, Makroo, H, and Dar, BN. Deep learning hyperspectral imaging: a rapid and reliable alternative to conventional techniques in the testing of food quality and safety. Qual Assur Saf Crops Foods. (2024) 16:78–97. doi: 10.15586/qas.v16i1.1392

Crossref Full Text | Google Scholar

Keywords: hyperspectral imaging, meat adulteration, model transfer, discrimination model, adulteration visualization

Citation: Yu Y, Chen W, Zhao D, Zhang H, Chen W, Liu R and Li C (2025) Meat species authentication using portable hyperspectral imaging. Front. Nutr. 12:1577642. doi: 10.3389/fnut.2025.1577642

Received: 16 February 2025; Accepted: 20 March 2025;
Published: 02 April 2025.

Edited by:

Aris E. Giannakas, University of Patras, Greece

Reviewed by:

Xu Zeyu, Zhengzhou University of Light Industry, China
Philip Donald Sanchez, Caraga State University, Philippines

Copyright © 2025 Yu, Chen, Zhao, Zhang, Chen, Liu and Li. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Wei Chen, Y2hlbndlaTE5ODE4MUAxNjMuY29t; Chenxi Li, bGljaGVueGlAdGp1LmVkdS5jbg==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Research integrity at Frontiers

Man ultramarathon runner in the mountains he trains at sunset

95% of researchers rate our articles as excellent or good

Learn more about the work of our research integrity team to safeguard the quality of each article we publish.


Find out more