Next Article in Journal
Internet-of-Things-Enabled Markerless Running Gait Assessment from a Single Smartphone Camera
Next Article in Special Issue
A Vicarious Technique for Understanding and Diagnosing Hyperspectral Spatial Misregistration
Previous Article in Journal
Wearable Noninvasive Glucose Sensor Based on CuxO NFs/Cu NPs Nanocomposites
Previous Article in Special Issue
The Weight of Hyperion and PRISMA Hyperspectral Sensor Characteristics on Image Capability to Retrieve Urban Surface Materials in the City of Venice
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Raw Beef Patty Analysis Using Near-Infrared Hyperspectral Imaging: Identification of Four Patty Categories

1
Department of Food Science, Stellenbosch University, Private Bag X1, Matieland, Stellenbosch 7602, South Africa
2
Department of Animal Sciences, Stellenbosch University, Private Bag X1, Matieland, Stellenbosch 7602, South Africa
3
Centre for Nutrition and Food Sciences, Queensland Alliance for Agriculture and Food Innovation (QAAFI), The University of Queensland, Health and Food Sciences Precinct, 39 Kessels Rd, Coopers Plains 4108, Australia
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(2), 697; https://doi.org/10.3390/s23020697
Submission received: 18 November 2022 / Revised: 18 December 2022 / Accepted: 28 December 2022 / Published: 7 January 2023
(This article belongs to the Special Issue Hyperspectral Imaging Sensing and Analysis)

Abstract

:
South African legislation regulates the classification/labelling and compositional specifications of raw beef patties, to combat processed meat fraud and to protect the consumer. A near-infrared hyperspectral imaging (NIR-HSI) system was investigated as an alternative authentication technique to the current destructive, time-consuming, labour-intensive and expensive methods. Eight hundred beef patties (ca. 100 g) were made and analysed to assess the potential of NIR-HSI to distinguish between the four patty categories (200 patties per category): premium ‘ground patty’; regular ‘burger patty’; ‘value-burger/patty’ and the ‘econo-burger’/’budget’. Hyperspectral images were acquired with a HySpex SWIR-384 (short-wave infrared) imaging system using the Breeze® acquisition software, in the wavelength range of 952–2517 nm, after which the data was analysed using image analysis, multivariate techniques and machine learning algorithms. It was possible to distinguish between the four patty categories with accuracies ≥97%, indicating that NIR-HSI offers an accurate and reliable solution for the rapid identification and authentication of processed beef patties. Furthermore, this study has the potential of providing an alternative to the current authentication methods, thus contributing to the authenticity and fair-trade of processed meat products locally and internationally.

1. Introduction

Adulteration of food has a long history and is still a common practice around the world. Food adulteration occurs to increase financial return, where a high-value food is contaminated by adding a low-value ingredient. Adulteration is not only a form of consumer fraud and economic misconduct, but it also poses a risk to people who are allergic to certain ingredients or meat species, have religious prohibitions, or have ethical aversions [1]. Furthermore, it seriously violates the rights of consumers.
Meat adulteration is a current issue with economic and safety implications because it is difficult to detect specific ingredients/adulterants and/or distinguish between species when evaluating meat visually [2]. In the past, meat adulteration scandals have included undeclared soy protein incorporation in Brazilian hamburgers [3], meat from undeclared animal species in Mexican hamburgers and sausages [4], undeclared animal species in various meat products in the USA [5], and Turkey [6], and the incorporation of undeclared horsemeat in processed beef products in the EU [7,8]. In South Africa, Cawthorn et al. [9] discovered species such as chicken, goat, water buffalo, and donkey in beef sausages that were not disclosed on the product labelling. Following such reports, consumers became concerned about the traceability and origin of the food they eat.
Therefore, in an attempt to protect the consumer, the South African government proposed new regulations [10] stipulating the composition and what constitutes a ‘beef patty’. These specify that patties are divided into four categories: premium ‘ground patty’ (99.6% meat); regular ‘burger patty’ (70% + meat); ‘value-burger/patty’ (55% meat with ≤30% fat) and the ‘econo-burger’/’budget’ (35% meat with ≤30% fat). The ‘value-burger’ and ‘econo-burger’ may also contain vegetable protein, mechanically recovered meat and edible offal. Thus, it is critical that these meat products are labelled correctly and reliably so that consumers may make educated decisions when purchasing these products. These new regulations aim to combat processed meat fraud. However, the current conventional techniques require a human inspector to sample between 250 g and 2 kg of a primary sample, depending on the capacity of the container (Table S1), prepare the test samples in accordance with the Official AOAC Method 983.18 and then determine the composition of the raw processed meat products according to the methods set out in Table S2 [10]. These techniques are destructive, time-consuming, labour-intensive and can easily overwhelm the human inspector performing the various analyses. Therefore, the non-destructive automation of this process is a feasible solution to avoid potential errors associated with the lack of human concentration and fatigue, and will allow for the rapid, continuous analysis of samples resulting in a higher throughput and larger bulk primary samples. Although conventional NIR spectroscopy could be used for similar applications, it only provides spectral information of a limited area of a sample, whereas spectral imaging provides spatial and spectral information of the entire scanned sample. Therefore, to cover a larger area of the sample with conventional NIR spectroscopy, multiple measurements are required which in turn will result in an increase in measurement time. Collecting spectral information from the entire sample would thus be difficult.
Hyperspectral imaging has become one of the most effective and advanced non-destructive evaluation technologies for a wide range of applications. Hyperspectral imaging combines imaging and spectroscopy in a single instrument to obtain both spatial and spectral data from an object at the same time [11,12]. This technique is gaining popularity due to its advantages over other instrumental techniques. Due to rising quality and safety concerns, the capacity to detect individual molecules, compounds, or substances within samples has become critical. NIR-HSI can instantly (at-line) and continuously (on-line) record spectra of samples to predict chemical and physical properties from a single measurement [13,14]. These characteristics enable quick, non-destructive sample examination, potentially allowing for improved quality control and process monitoring in a factory setting, particularly for on-line and at-line applications over a conveyer belt.
A number of researchers have investigated the use of HSI for meat and processed meat products authentication and studies have successfully been conducted to grade and classify pork [15], to discriminate between three lamb muscles [16], the discrimination between pork, beef and lamb meat [17,18], and the discrimination between fresh and frozen-thawed pork [19,20], the detection and quantification of pork adulteration in minced lamb [2], to detect and quantify the level of horsemeat adulteration in minced beef [21], the detection of duck meat adulteration in minced lamb [22], and to predict the adulteration level of minced pork with pork jowl meat [23].
From these studies it is evident that a plethora of research has been done on the authentication of meat and meat products with regard to the detection and quantification of various species adulterants. Despite the broad availability of literature on NIR-HSI applied to meat, no studies were found for classifying patties into different categories based on specific ingredients, species and adulterants [textured vegetable protein and/or mechanically recovered meat (MRM)]. Given the advances in NIR-HSI, chemometrics and machine learning, we hypothesise that this technique will be able to distinguish between the four patty categories. The information obtained could provide the South African and global meat sector with an alternative to the existing laborious, destructive, and time-consuming methods of detecting fraud, hence promoting the authenticity and fair trading of processed meat products both locally and internationally.
The aim of this study was to establish if NIR-HSI combined with image analysis, multivariate techniques and machine learning algorithms was capable of rapidly and accurately distinguishing between the four processed beef burger patty categories, consisting of various ingredients and adulterants (pork, lamb, ostrich, textured vegetable protein and MRM) at selected levels, irrespective of the treatments or the authenticity status.

2. Materials and Methods

2.1. Experimental Design

The study consisted of four formulations (Table 1, Table 2, Table 3 and Table 4), based on the four patty categories, of 200 patties each and for each formulation there was ten or five treatments (Figures S1–S4). The formulations and treatments were developed according to the South African regulations regarding the classification and compositional specifications of raw beef patties [10], shown in Table S3.

2.2. Beef Patty Production

2.2.1. Ingredient Sourcing

The lean meat [beef (Bos taurus), pork (Sus scrofa domesticus), lamb (Ovis aries), ostrich (Struthio camelus)] and fat samples were obtained from Birdstreet Butchery (Stellenbosch, South Africa), in October 2020, vacuum sealed and stored at 4 °C until used. The meat consisted of deboned and defatted muscles while the fat comprised of subcutaneous fat trimmed from beef carcasses. The lean meat and beef fat were derived from numerous animal carcasses. The mechanically recovered meat (MRM) [poultry (Gallus gallus domesticus)] was obtained from Deli Species (Cape Town, South Africa), vacuum sealed and frozen at −20 °C until needed. The Burger Ready spice packs, burger rusk, textured vegetable protein (TVP) and soya fibre were also supplied by Deli Spices.

2.2.2. Production

A total of 800 patties were produced at Deli Spices according to the different formulations and treatments shown in Table 1, Table 2, Table 3 and Table 4. Prior to patty production, the beef, pork, lamb, ostrich, MRM and fat were separately minced with a meat mincer (Mainca PC-32, Equipamientos Cárnicos, Barcelona, Spain) using 4.5 mm plate openings. All the ingredients for each patty formulation and treatment was thoroughly mixed in separate mixing bowls to ensure the even distribution of meat, fat and other added ingredients in the patty batter. A Butcherquip hand operated patty machine (Butcherquip, Roodepoort, South Africa) was used to press the patty batter into 100 g patties (21 mm thick) (Deli Spices), which were then packaged in Styrofoam patty containers, wrapped in cling film and labelled according to formulation and treatment. After the patties were produced, they were placed in plastic containers and transported to the Department of Animal Sciences, Stellenbosch University (SU) for storage at 4 °C (Formulation 1, 2 and 3) and −20 °C (Formulation 4) until analysed.
  • Formulation 1: Patty 1 (P1)—Fat% and fat content class/claim
The patties for the ground burger category (Figure 1) were manufactured from beef meat and beef fat only, therefore containing no other added ingredients. These patties had a total meat (TM) content ≥99.6% with varying added fat percentages (treatments) to represent the fat content claim (extra lean, lean, regular) according to regulation [10] (Table S3).
  • Formulation 2: Patty 2 (P2)—Species adulteration
The patties for the burger/patty/hamburger patty category (Figure 2) were manufactured from beef meat and beef fat (10% added), with a TM content ≥70%. According to the regulation these patties may consist of species mixtures, however a minimum of 75% of the mixture must consist of the meat of the predominant species mentioned on the packaging. Thus, a maximum of 25% thereof may consist of meat from any other animal, bird or game species. These patties may also contain other added ingredients as stated in the regulation (Table S3). For this formulation, the beef fat, spices and water were kept constant across the treatments. These treatments consisted of a control (75% Beef) and nine substitutions with three treatments per species (pork, lamb, ostrich). Treatment 1 and 2 for each species were the ‘authentic’ substitutions, with treatment 3 pertaining to the adulterated patties.
  • Formulation 3: Patty 3 (P3)—Textured vegetable protein adulteration
The patties for the value burger/value patty category (Figure 3) were manufactured from beef meat and beef fat (10% added), with a TM content ≥55% and a minimum total meat equivalent (TME) of 60%. According to the regulation these patties my contain other added ingredients (Table S3). For this formulation, the beef fat and spices were kept constant across the treatments, with the beef meat, water, burger rusk and TVP varying for each treatment. The treatments with a TM% and a TME% above 55% and 60%, respectively, were the authentic patties, with the treatments below these limits pertaining to the adulterated patties.
  • Formulation 4: Patty 4 (P4)—Mechanically recovered meat adulteration
The patties for the econo burger/budget burger category (Figure 4) were manufactured from beef meat, beef fat (10% added) and MRM (added at different percentages), with a TM content ≥35% and a minimum TME of 55%. These patties may also contain other added ingredients as stated in the regulation (Table S3). For this formulation, the beef fat, spices and TVP were kept constant across the treatments, with the beef meat, MRM, water, soya fibre and burger rusk varying for each treatment. The treatments with a TM% and a TME% above 35% and 55%, respectively, were the authentic patties, with the treatments below these limits resulting in the adulterated patties.

2.3. Moisture, Fat and Protein Analysis

Patties from each formulation and treatment were tested in duplicate for moisture, fat and protein. The moisture content was determined by drying the homogenized patties at 100 °C for 48 h, according to the Official AOAC Method 934.01 [24]. The crude fat content was determined using the chloroform/methanol (1:2 and 2:1) extraction method as described by Lee et al. [25]. Thereafter, the defatted samples from the chloroform/methanol extraction method were dried, ground to a fine powder and used for the protein content determination. The crude protein was determined using the Dumas combustion method with a LECO FP 528 Nitrogen Analyzer (LECO Corporation, St. Joseph, MI, USA) in accordance with the Official AOAC Method 992.15 [26].

2.4. Near-Infrared Hyperspetral Imaging System

Hyperspectral images were acquired with a HySpex SWIR-384 (Norsk Elektro Optikk, Norway) imaging system, in reflectance mode, using the Breeze® (Prediktera) acquisition software. The system’s camera comprised of a mercury–cadmium–telluride (HgCdTe) detector with a maximum frame rate of 400 frames per second (fps). The samples were illuminated with two 150 W halogen lamps, mounted on a laboratory rack 30 cm above the translation stage at a 53° angle. Individual images were acquired using a 30 cm focal length lens at a working distance of 0.208 m and a field of view of 95 mm within the spectral range of 952–2517 nm at increments of 5.45 nm between each of the 288 wavelength channels. These images consisted of 384 pixels in width (x) and varied in length (y). Grey and internal black reference standards were taken every 30 min during the imaging session and used for image correction and calibration. The grey reference standard (Zenith Polymer® Reflectance Standards) comprised of a 50% diffuse reflectance polytetrafluoroethylene (PTFE) surface and the black reference was recorded with the shutter closed. Using the 50% (grey) instead of a 99% (white) reflectance target results in no significant differences in the calculated reflectance values of the sample. The 50% target enables the use of longer integration times, which would normally saturate the 99% target [27]. Because of the longer integration times (3,200 μs), the samples in this study have an increased signal-to-noise ratio.

2.5. Image Acquisition and Correction

Prior to imaging, the patties were removed from the 4 °C (Formulation 1, 2 and 3) and −20 °C (Formulation 4) storage and placed at ambient temperature (ca. 23 °C) for 30 min. Thereafter, the surface of the patties was blotted dry, with an absorbent tissue paper, to remove the excess moisture before collecting the images. Each patty was placed on a silicone black tray and its entire surface was imaged. This ensured that most of the variation within one sample was recorded. Unique images were obtained for each patty formulation (category), resulting in 200 images per patty category. Throughout this study, the patties were prepared and imaged under the same controlled conditions.
The raw spectral images (R0) were corrected using a radiometric calibration. The grey and black reference images were used to calculate a relative reflectance image (R) using the following equation:
R = R 0 D W D
where R is the corrected reflectance value, R0 is the raw irradiance value, D (0% reflectance) the dark reference image acquired with the light source off and covering the camera lens with its opaque cap, and W (50% reflectance) the white reference image obtained from a grey Teflon calibration tile, subjected to the same lighting conditions as the samples.
The corrected reflectance spectra were then converted to pseudo-absorbance by taking the logarithm of the reflectance values (log 1/R). Radiometric calibration from irradiance to radiance to pseudo-absorbance were carried out using the HySpex Ground software v 4.1 (HySpex, Norsk Elektro Optikk, Norway).

2.6. Hyperspectral Image Analysis

2.6.1. Analysis Software

The images were analysed using Python v 3.6.5 (G. van Rossum, Python tutorial, Technical Report CS-R9526, Centrum voor Wiskunde en Informatica (CWI), Amsterdam, May 1995) and the PLS_Toolbox [Solo] (Eigenvector Research Inc., Wenatchee, WA) software package.

2.6.2. Image Segmentation (Cleaning) and Extraction of Spectral Data (Mean Spectrum Calculation)

The process of extracting important objects from an input image is referred to as image segmentation. This is extremely useful for identifying regions-of-interest (ROIs) in tested objects in the form of masks and extracting their spectral features.
The goal of segmenting the images was to separate the patties from the background and unwanted pixels. A threshold value was determined based on the pixel intensity values between the patty samples and the image background to isolate the patties from the background. The hyperspectral image was reduced to a binary mask image by thresholding the image at 952 nm (at this wavelength, images provided good contrast between the patty sample and the background) with a value of 1.1. Isolated continuous regions of pixels with similar intensity levels were identified as the objects. In this step, each pixel value was then replaced with either a 0 or 1, where the 0 indicated the background (non-object pixels) and the value 1 the ROI (potential object pixels, i.e., patty), resulting in a binary image or image mask (Figure 5). The background of the original hyperspectral images was removed by multiplying the mask across the hypercube along the λ-dimension. Once only the foreground (ROI) of the images remained, it was used to extract the spectral data from the images. The mean absorbance spectrum for each patty was calculated by averaging the spectra of all pixels within the ROI at each wavelength, in order to perform object-wise analyses.
A spectral matrix was created by combining the extracted spectrum of each sample (patty). In this study, a spectral matrix was created for the identification of the patty categories (800 patty samples as rows and 288 wavebands as columns). Classes for each sample in the matrix was assigned and labelled according to the patty category, e.g., Patty 1, Patty 2, Patty 3 and Patty 4. The mean spectra of each class set (patty category) was computed between 952 and 2517 nm and plotted to investigate, determine and compare the chemical properties.

2.6.3. Pre-Processing

The spectral matrix was subjected to the following pre-processing techniques: (1) mean-centring, (2) standard normal variate (SNV); and (3) SNV + detrending (DT) [28]. These were applied to the spectral data to remove the scattering effects by centring and scaling each individual spectrum (SNV), as well as reduce the baseline shift and curvature (DT). These pre-processing techniques were evaluated in combination with different chemometric- and machine learning algorithms to determine the combination that yield the best results.

2.6.4. Principal Component Analysis

Principal component analysis (PCA) [29] was performed on the mean-centred absorbance spectra. The PCA models were calculated with a maximum of four principal components (PCs) to ensure consistency in the analysis. Subsequently, the PC scores plots and influence plots were used to detect and identify outliers. These outlier samples were removed from the dataset, and the PCA models were recalculated to further explore the data. In addition to outlier detection, the scores and loading line plots were used to visualise clusters of classes and identify important wavelengths, respectively.

2.6.5. Model Development, Calibration and Validation

Prior to model development, the following step was to randomly split the data into a calibration (training) and validation (test) set. Approximately 70% of the original data set was used for training and 30% for testing. The calibration models were calculated with leave-one-out cross-validation (CV), where each sample was left out of the calibration set once and subsequently predicted. Afterwards, the test set samples were predicted to evaluate the performance of the models. The cross-validation and performance measures were also used to evaluate the models as well as identify which pre-treatment/algorithm combination would be most suitable for the present dataset.
Various chemometric- and machine learning algorithms were investigated to develop models to characterise the patty samples and distinguish between the four patty categories (formulations) based on the regulation. The algorithms evaluated were: linear discriminant analysis (LDA) [30]; partial least squares discriminant analysis (PLS-DA) [31]; K-nearest neighbour (KNN) [32]; decision trees (D.Trees) [33], random forests (RF) [34] and support vector machines classification (SVM-C) [35].
A grid-search (GridSearchCV) was used to find the best hyperparameters for each model. GridSearchCV performs an exhaustive search across all the classification algorithms’ specified parameter values. The parameters for a specific algorithm varied according to the pre-processing technique used and the categories/classes examined.

2.6.6. Performance Measures

The overall performance of the individual models with the respective pre-processing techniques, were evaluated by performing the following calculations. The classification accuracy (Equation (2)) illustrates the efficacy of the overall model. The false positive error (Equation (3)) describes the misclassification of a negative response (incorrect class) as a positive response (correct class), while the false negative error (Equation (4)) describes the misclassification of a positive response (correct class) as a negative response (incorrect class). The sensitivity (Equation (5)), specificity (Equation (6)) and precision (Equation (7)) were calculated to assess the performance of models for a single class. The sensitivity (true positive rate) and specificity (true negative rate), describes the probability that a correct class and an incorrect class would be correctly classified, respectively, whereas the misclassification rate (classification error) (Equation (8)) describes how often the prediction was incorrect. The precision describes the predictive power of the model by calculating the predicted value for each class.
Classification   accuracy   ( % ) = TP + TN ( TP + TN + FP + FN )   ×   100 %
False   positive   error   ( % ) = FP ( TP + TN + FP + FN )   ×   100 %
False   negative   error   ( % ) = FN ( TP + TN + FP + FN )   ×   100 %
Sensitivity   or   Recall   ( % ) = TP ( TP + FN )   ×   100 %
Specificity   ( % ) = TN ( TN + FP )   ×   100 %
Precision   ( % ) = TP ( TP + FP )   ×   100 %
Misclassification   rate   ( % ) = FP + FN ( TP + TN + FP + FN )   ×   100 %
where:
True Positives (TP) = Positive response correctly classified as a positive response
True Negatives (TN) = Negative response correctly classified as a negative response
False Positives (FP) = Negative response incorrectly classified as a positive response
False Negative (FN) = Positive response incorrectly classified as a negative response

2.6.7. Model Limits (Regulation)

A classification accuracy of 75% is considered high in NIR-HSI applications and acceptable for authentication and adulterant identification. However, South African regulations [10] (Table S3) does not allow for any adulterated or mis-labelled raw processed meat products (e.g., raw burger, raw patty, raw hamburger patty) to enter the supply chain and states that: “Anyone who violates or fails to comply with the provisions of these regulations commits an offense and is subject to a fine or imprisonment if convicted” [10]. Therefore, classification accuracies of 100% will be required/mandatory. However, due to this being a preliminary study and the first of its kind in South Africa, the models with accuracies ≥90% were deemed to be acceptable limits for classification of the patty categories.

3. Results and Discussion

3.1. Moisture, Fat and Protein Analysis

The proximate chemical composition analysis was performed to support the spectral interpretation of the patties, and the results are presented in Table S4. The average values of the proximate composition of the four patty categories were: moisture- [P1 (64.5%); P2 (65%); P3 (64%); P4 (65%)], fat- [P1 (16.8%); P2 (11.9%); P3 (11.6%); P4 (12.4%)] and protein content [P1 (19.5%); P2 (14.4%); P3 (14.2%); P4 (10.4%)], which corresponds to literature. Sheard et al. [36] reported beef burger patties to have a moisture content between 50.4 and 67.3%, whereas the fat content ranged from 7.5 to 29.5%, and the protein content ranged from 13 to 18.2%. The chemical compositional differences observed between the burger patties can be ascribed to the use of different ingredients for the separate formulations and treatments.

3.2. Patty Category Determination

This data set consisted of 800 patty samples of four patty categories [Patty 1 (ground burger/patty), Patty 2 (burger patty), Patty 3 (value burger/patty), Patty 4 (econo/budget burger)], with multiple treatments per category (200 patties). The aim of this study was to distinguish between the four patty categories, irrespective of the treatments or the authenticity status.

3.2.1. Spectral Analysis

The mean spectrum of each patty category is shown in Figure 6. The mean spectra of the four patty categories followed a similar trend and exhibited five broad absorption bands at 1198, 1460, 1738, 1934 and 2326 nm. The bands at 1198 nm (C-H stretch 2nd overtone) and 1738 nm (C-H stretch 1st overtone) indicate the presence of fat as specified by Osborne et al. [37] and Murray [38], respectively. The bands observed at 1460 nm (O-H stretch 2nd overtone) [39] and 1934 nm (O-H stretch + O-H deformation) [40] are associated with water and could be related to the moisture content of the samples. Lastly, the band at 2326 nm represents the C-H stretch + C-H deformation related to the CH2 group [37] and can be associated with protein as specified by Downey and Beauchêne [41].
The mean spectra of the four patty categories clearly exhibited differences in the absorbance values between all four patty categories at the bands associated with moisture, fat and protein. These differences correlate with the variances observed in the proximate chemical composition analysis results (Table S4) and therefore supports the spectral interpretation of the patties.

3.2.2. Principal Component Analysis

Figure 7 shows the PCA score plots for the patty categories analysed with the first three PCs. The score plots show clusters with minimal/gradual separation between the different classes. The lack of separation indicates similarity in their spectral signatures; however, there are numerous aspects (e.g., physical and chemical) that could differ, leading to slight spectral differences [42]. These differences are most likely associated with the characteristics and the fluctuations of the macronutrient composition within the patties. Moisture, fat and protein could explain the minimal/gradual separation between the different patty categories.
PC1 explains 83.03% of the total variance (Figure 7), while PC2 and PC3 explains 16.55% and 0.33%, respectively. The loadings (Figure 8) exhibited the variables which are important to a given PC. The highest interpretable loading on PC1 and PC2 were found around 2294 nm (N-H stretch + C=O stretch) related to the amino acids found in protein [37]. PC3 had interpretable loadings at 1138 nm (C-H stretch 2nd overtone), 1318 nm, 1460–1580 nm (N-H stretch 1st overtone), 1660–1830 nm (C-H stretch 1st overtone), 1945 nm (O-H stretch + O-H deformation) and 2294 nm. These bands are associated with fat from beef (1138 nm) [43], protein (1318 nm; 1460–1580 nm) [37,44], fat (1160–1830 nm) [37,39], moisture (1945 nm) [37] and protein (2294 nm) [37]. In other words, Patty 4 (P4) separates from P1, P2, P3 in the direction of PC1 and PC2. Additionally, based on the loadings, this would be due to the difference in protein. P1 and P4 separate in the direction of PC3. By interpreting the loadings and comparing it to the chemical composition analysis results, it was concluded that the separation was due to P1 being higher in fat and protein and P4 higher in moisture. These results agreed with the proximate chemical composition analysis (Table S4) and it is therefore evident from the average moisture-, fat- and protein content of the patties, that these constituents were responsible for the minimal/gradual separation between the classes.

3.2.3. Model Development: Patty Category

LDA, KNN, D.Trees, RF, SVM-C (rbf, linear, poly, sigmoid) and PLS-DA models were calculated to distinguish between the four patty categories (P1–P4). These were done by evaluating the performance of two pre-processing techniques (SNV and SNV+DT) (Table 5).
The SNV and SNV+DT pre-processing techniques gave similar results for the specific chemometric- and machine learning algorithms investigated (Table 5). After investigation, it was concluded that the LDA and SVM-C (rbf, linear, poly) models yielded the best results and could effectively distinguish the four patty categories from one another with accuracies ≥97%. The LDA and SVM-C models all achieved classification accuracies of 100% (calibration), 98–99% (cross-validation) and 97–98% (validation), thus indicating that the models were not over-fitted [45] and effective when predicting the individual patties. These models were then further investigated to determine their performance measures (Table 6, Table 7 and Table 8).
The performance measures exhibit how well the models classified each individual class. The classification of each class was high with the models being capable of distinguishing between the classes with accuracies ranging from 98.3 to 99.2% (Table 6). Due to the models achieving very similar performance measures, the mean performance values for the LDA (Table 7) and each SVM-C (rbf, linear, poly) model (Table 8) was calculated to simplify the interpretation. The mean performance measures for the LDA model (Table 7), shows that it was capable of distinguishing between each patty category with classification accuracies above 98%. The increased sensitivity (100%) and specificity (99.2%) for P4, indicates that the model has a high probability of correctly classifying Patty 4, thus resulting in a classification accuracy of 99.4%. The slightly lower sensitivity for P1 (97.7%), P2 (95.9%) and P3 (95.4%), reveals that the model was to some extent less suited for predicting these three patty classes. This phenomenon can be explained by referring to the calculation of the LDA model. LDA models are constructed using the PC scores, where the algorithm calculates an optimal linear projection between the classes, while keeping the variance within a class to a minimum [30]. Objects (patties) are classified by calculating the distance to the centre of each class. The objects are then assigned to a class to which it has the shortest distance. The scores plot (Figure 7) illustrates an overlap between the samples of Patty 1, Patty 2 and Patty 3, with a slightly larger number of Patty 3 samples displaying a close distance to the samples of Patty 1 and Patty 2. Therefore, Patty 3 resulted in a lower classification accuracy as these patties were assigned to the predominant class, Patty 1 and/or Patty 2. Hence, explaining why the model is slightly less suited for predicting the Patty 3 category samples.
The overall mean classification accuracies for the individual patty classes of the SVM-C models for the rbf (>97.1%), linear (>98.5%) and polynomial (>98.1%) kernel functions, suggested that the model calculated with the linear kernel would provide slightly better classification (Table 8). A kernel is a similarity function which calculates how similar two inputs are and is used for separating hyperplanes, to evaluate the robustness of the classifier model. SVM is a maximal margin classifier where the algorithm aims to separate the different categories/classes in a dataset by placing a separating line in the middle of the margin. The empty space between the boundaries, known as the maximum margin or optimal margin hyperplane, indicates the maximum separation between two groups. The data points touching the boundary of the margin are known as the support vectors [46], which serve as training patterns and convey all pertinent information regarding the classification problem [47]. In the end, SVM is a distance-based approach which calculates the optimal distance between data points and the hyperplane [46].
The mean performance measures for the SVM-C (linear) model given in Table 8, shows that the P4 class achieved the highest mean classification accuracy (99.8%), followed by P2 (99.0%), P3 (99.0%) and P1 (98.5%). The model also revealed that the classification of each class was nearly perfect, with the sensitivity (>97.0%), specificity (>98.3%) and precision (>95.5%) confirming this observation. The slightly lower classification accuracy of P1, P2 and P3 was ascribed to the increased false positive- and false negative error due to objects being misclassified. The lack of separation can be attributed to the patties’ spectral similarities which corresponds to their similar proximate chemical composition results as reported in Table S4. The sensitivity and specificity of Patty 1 was 99.2% and 98.3%, respectively. This suggests that the model is equally sensitive for predicting a true positive (Patty 1) as correct, as it is specific when predicting a true negative (Patty 2, Patty 3 and Patty 4) as correct. The sensitivity of Patty 2 and Patty 3 is 97.5% and 97.0%, respectively. In addition, the specificity is 99.4% and 99.1%, therefore revealing that the model is less sensitive and more specific when classifying these patties. The results for the SVM-C models given in Table 8, shows that this machine learning algorithm was capable of distinguishing between each patty category.
From both the LDA and the SVM-C (rbf, linear, poly) results it was evident that these models were capable of accurately distinguishing Patty 4 from the other three patties, with a misclassification rate below 0.6%. The PCA scores (Figure 7) and loadings (Figure 8) support these results, as a slight separation was observed between Patty 4 and the other three patties. The separation and correct classification of P4 was mainly attributed to the lower protein content, which accounted for the spectral differences. The protein content of Patty 4 (10.7%) was considerably different, compared to the other patties [Patty 1 (19.5%), Patty 2 (14.4%), Patty 3 (14.2%)], and a correlation was observed in the chemical results (Table S4). Therefore, the results illustrate that the above-mentioned models were able to predict the different patty classes, with relatively high accuracies, which deemed the models to be effective.
Although the D.Trees- and RF models both exhibited calibration accuracies of 100%, indicative of an effective model, the cross-validation [82–83% (D.Trees); 88–90% (RF)] and validation accuracies [74–76% (D.Trees); 83–93% (RF)] decreased (Table 5). This indicated that the models were over-fitted [45] and therefore not effective. Over-fitting is a known drawback of decision trees, especially when dealing with many features. This dataset consisted of 288 features (wavebands), therefore explaining the tendency to overfit the models. A decision tree is a flowchart-like tree structure where the basic development involves the splitting of the predictor space, using recursive binary splitting, into a number of simple regions for all the possible outcomes [48]. The binary splits are made using the classification error rate, which are the number of training observations in that given region not belonging to the most common class. An unknown observation in a given region is assigned to the most common class in that region. Although decision trees are simple and useful for interpretation, they lack in predictive accuracy compared to other supervised learning approaches [48]. Hence, the prediction accuracy can substantially be improved by producing multiple trees and aggregating them using a method like random forests. This phenomenon was supported by the improved cross-validation and validation results observed in Table 5 for the RF models. Although, random forests is a collective of decision trees, how the trees are constructed differ. For decision trees, each tree-node is selected using all the features to gain the maximum amount of information. While random forests only consider a small subset of features when constructing a node, thus resulting in some loss of interpretation [48]. This phenomenon could explain the improved classification performances of the RF models.
The KNN, SVM-C (sigmoid) and PLS-DA models exhibited unsatisfactory classification and discrimination results (Table 5). This can be explained by referring to how the individual models are computed. KNN is a distance-based, non-parametric discriminant classification method [49], performed on the PC scores. The distance between an unknown (test set) and a set of samples with a known class membership (training set) is calculated to classify the unknown. The closest K samples, determined by GridSearchCV, and majority voting were used to make a classification. Therefore, the classification of the individual patties was impaired as a result of the close distance and overlap between the four classes due to the minimal separation observed in the scores plot (Figure 7).
The SVM-C (sigmoid) model’s decreased accuracy could be explained by the fact that the sigmoid kernels are less adaptable than rbf kernels, resulting in higher bias when computing the separating hyperplanes [46]. Optimal model performances can be achieved when the parameters penalty coefficient C and gamma are optimised using a grid-search procedure. The C value is an important parameter as it determines the size of the margins of the hyperplane and to what extent the model under-fits or over-fits the data. A large C will result in broad ‘soft margins’, with a high tolerance for observations violating the constraints. Consequently, the ‘soft margin’ allows for the misclassification of some training samples, thus resulting in a better overall model fit [50]. As C decreases, the tolerance for observations violating the constraints decreases, and the margins narrows, resulting in ‘hard margins’ and over-fit data. Both SVM-C (sigmoid) models had low C values, which could explain the reduced classification model performances.
The four-way PLS-DA model was constructed, using binary dummy variables, to indicate the presence or absence of a specific class during the modelling process. For example, a value of one was assigned if the spectrum belonged to the correct group, and a value of zero if it did not [42]. While achieving separations of two classes is known to be relatively easy [27], the results (Table 5) in the current study support the notion that the separation of multiple classes is challenging. Although many studies have utilised a single globally optimised model to discriminate between two, three or even four classes [27], the development of such models is not always straight forward. This type of multi-class model approach is only possible once all the classes are fully separable using the chosen set of spectral features. This requirement is frequently not met, particularly when working with heterogeneous samples and closely related classes [27], as was observed in the scores plot (Figure 7). For this reason, the PLS-DA models exhibited unsatisfactory discrimination accuracies.

4. Conclusions

The South African meat industry currently relies on destructive and time-consuming techniques which require complex laboratory procedures to authenticate processed meat products. NIR hyperspectral imaging has been considered as an automated alternative to improve and modernise this process. Although the initial investment cost for a HIS-system is substantial (prices start at $28k USD) [51], the economic importance of meat and processed meat products as well as the wide-ranging benefits of improved authentication procedures could make up for this costly price tag. In addition, there will be savings on reagents, increased speed of analysis and overall higher throughput. A series of models, using various chemometric- and machine learning algorithms, were calculated in order to classify each object as either of the four patty categories. The SVM-C (linear) models distinguished the four patty categories with classification accuracies ≥98.5%.
This study sets the benchmark, as it is the first time that NIR-HSI was investigated for the rapid detection, classification and categorisation of beef patties based on the South African regulations and different ratios of water:protein:fat. NIR-HSI is a suitable eco-friendly technique and shows potential to rapidly and accurately distinguish between categories of processed beef burger patties consisting of various ingredients, species and adulterants. Additionally, NIR-HSI has excellent application prospects since this approach adheres to the fundamental principles of ‘green science’, reducing waste formation and not requiring the use of chemical reagents or solvents. Furthermore, this study has the potential of providing an alternative technique to the current AOAC-recommended conventional, manual, destructive and time-consuming methods, thus contributing to the authenticity and fair-trade of processed meat products locally and internationally. However, the South African legislation is strict, and the classification of the patty categories must be refined further before the meat sector considers spectral imaging. Therefore, the next step for this research would be to investigate the authentication and adulterant detection/quantification of the patties within each individual patty category.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/s23020697/s1, Figure S1: A schematic of the experimental design, formulation and treatments for Patty 1 (ground burger/ground patty); Figure S2: A schematic of the experimental design, formulation and treatments for Patty 2 (burger/patty/hamburger patty/meatball/frikkadel); Figure S3: A schematic of the experimental design, formulation and treatments for Patty 3 (value burger/value patty/value hamburger/value meatball/value frikkadel/Any other similar name); Figure S4: A schematic of the experimental design, formulation and treatments for Patty 4 (economy burger/econo burger/economy patty/econo patty/budget burger/econo hamburger patty/budget hamburger patty/econo meatball/econo frikkadel/Any other similar name); Table S1: Minimum size of a primary sample; Table S2: Recommended methods of analysis; Table S3: Regulations regarding the classification and compositional specifications of raw beef patties; Table S4: An overview of the proximate chemical composition analysis results (means ± SD) for the moisture-, fat- and protein content (%) of the various patties.

Author Contributions

Conceptualization, P.J.W., L.C.H. and K.E.; methodology, K.E.; formal analysis, K.E. and P.J.W.; investigation, K.E.; resources, P.J.W. and L.C.H.; writing—original draft preparation, K.E.; writing—review and editing, P.J.W., M.M. and L.C.H.; visualization, K.E.; supervision, P.J.W., M.M. and L.C.H.; project administration, P.J.W. and K.E.; funding acquisition, P.J.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the South African Department of Science and Technology (grant number: 116307), as administered by the National Research Foundation (NRF) of South Africa.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank Birdstreet Butchery (Stellenbosch, South Africa), for the lean meat and fat samples, as well as Theresa Frieslaar and Martin Cilliers from Deli Species (Cape Town, South Africa), for assisting with the patty formulations, production and supplying the Burger Ready spice packs, burger rusk, textured vegetable protein (TVP), soya fibre and packaging (Styrofoam patty containers, wrapped in cling film).

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the writing of the manuscript, or in the decision to publish the review.

References

  1. Zhao, M.; Downey, G.; O’Donnell, C.P. Dispersive Raman Spectroscopy and Multivariate Data Analysis To Detect Offal Adulteration of Thawed Beefburgers. J. Agric. Food Chem. 2015, 63, 1433–1441. [Google Scholar] [CrossRef] [PubMed]
  2. Kamruzzaman, M.; Sun, D.-W.; ElMasry, G.; Allen, P. Fast detection and visualization of minced lamb meat adulteration using NIR hyperspectral imaging and multivariate image analysis. Talanta 2013, 103, 130–136. [Google Scholar] [CrossRef] [PubMed]
  3. Macedo-Silva, A.; Shimokomaki, M.; Vaz, A.; Yamamoto, Y.; Tenuta-Filho, A. Textured Soy Protein Quantification in Commercial Hamburger. J. Food Compos. Anal. 2001, 14, 469–478. [Google Scholar] [CrossRef]
  4. Flores-Munguia, M.; Bermudez-Almada, M.; Vázquez-Moreno, L. A research note: Detection of adulteration in processed traditional meat products. J. Muscle Foods 2000, 11, 319–325. [Google Scholar] [CrossRef]
  5. Hsieh, Y.-H.P.; Woodward, B.B.; Ho, S.-H. Detection of Species Substitution in Raw and Cooked Meats Using Immunoassays. J. Food Prot. 1995, 58, 555–559. [Google Scholar] [CrossRef] [PubMed]
  6. Ayaz, Y.; Ayaz, N.; Erol, I. Detection of species in meat and meat products using enzyme-linked immunosorbent assay. J. Muscle Foods 2006, 17, 214–220. [Google Scholar] [CrossRef]
  7. O’Mahony, P.J. Finding horse meat in beef products—A global problem. Qjm Int. J. Med. 2013, 106, 595–597. [Google Scholar] [CrossRef] [Green Version]
  8. Walker, M.J.; Burns, M.; Burns, D.T. Horse meat in beef products—Species substitution 2013. J. Assoc. Public Anal. 2013, 41, 67–106. [Google Scholar]
  9. Cawthorn, D.-M.; Steinman, H.A.; Hoffman, L.C. A high incidence of species substitution and mislabelling detected in meat products sold in South Africa. Food Control 2013, 32, 440–449. [Google Scholar] [CrossRef] [Green Version]
  10. DALRRD. Regulations regarding the classification, packaging and marking of certain raw processed meat products intended for sale in the republic of South Africa. In Agricultural Product Standards Act; Government Printer: Pretoria, South Africa, 1990. [Google Scholar]
  11. Burger, J.; Gowen, A. Data handling in hyperspectral image analysis. Chemom. Intell. Lab. Syst. 2011, 108, 13–22. [Google Scholar] [CrossRef]
  12. Geladi, P.; Grahn, H.; Burger, J. Multivariate images, hyperspectral imaging: Background and equipment. In Techniques and Applications of Hyperspectral Image Analysis; John Wiley & Sons Ltd.: Southern West Sussex, UK, 2007; pp. 1–15. [Google Scholar]
  13. Manley, M.; Baeten, V. Spectroscopic Technique: Near Infrared (NIR) Spectroscopy. In Modern Techniques for Food Authentication, 2nd ed.; Sun, D.-W., Ed.; Elsevier: Oxford, UK, 2018; pp. 51–102. [Google Scholar] [CrossRef]
  14. Blanco, M.; Villarroya, I. NIR spectroscopy: A rapid-response analytical tool. TrAC Trends Anal. Chem. 2002, 21, 240–250. [Google Scholar] [CrossRef]
  15. Barbin, D.; Elmasry, G.; Sun, D.-W.; Allen, P. Near-infrared hyperspectral imaging for grading and classification of pork. Meat Sci. 2012, 90, 259–268. [Google Scholar] [CrossRef] [PubMed]
  16. Kamruzzaman, M.; ElMasry, G.; Sun, D.-W.; Allen, P. Application of NIR hyperspectral imaging for discrimination of lamb muscles. J. Food Eng. 2011, 104, 332–340. [Google Scholar] [CrossRef]
  17. Kamruzzaman, M.; Barbin, D.; ElMasry, G.; Sun, D.-W.; Allen, P. Potential of hyperspectral imaging and pattern recognition for categorization and authentication of red meat. Innov. Food Sci. Emerg. Technol. 2012, 16, 316–325. [Google Scholar] [CrossRef]
  18. Al-Sarayreh, M.; M. Reis, M.; Qi Yan, W.; Klette, R. Detection of red-meat adulteration by deep spectral–spatial features in hyperspectral images. J. Imaging 2018, 4, 63. [Google Scholar] [CrossRef] [Green Version]
  19. Ma, J.; Pu, H.; Sun, D.-W.; Gao, W.; Qu, J.-H.; Ma, K.-Y. Application of Vis–NIR hyperspectral imaging in classification between fresh and frozen-thawed pork Longissimus Dorsi muscles. Int. J. Refrig. 2015, 50, 10–18. [Google Scholar] [CrossRef]
  20. Pu, H.; Sun, D.-W.; Ma, J.; Cheng, J.-H. Classification of fresh and frozen-thawed pork muscles using visible and near infrared hyperspectral imaging and textural analysis. Meat Sci. 2015, 99, 81–88. [Google Scholar] [CrossRef]
  21. Kamruzzaman, M.; Makino, Y.; Oshita, S.; Liu, S. Assessment of Visible Near-Infrared Hyperspectral Imaging as a Tool for Detection of Horsemeat Adulteration in Minced Beef. Food Bioprocess Technol. 2015, 8, 1054–1062. [Google Scholar] [CrossRef]
  22. Zheng, X.; Li, Y.; Wei, W.; Peng, Y. Detection of adulteration with duck meat in minced lamb meat by using visible near-infrared hyperspectral imaging. Meat Sci. 2019, 149, 55–62. [Google Scholar] [CrossRef]
  23. Jiang, H.; Cheng, F.; Shi, M. Rapid Identification and Visualization of Jowl Meat Adulteration in Pork Using Hyperspectral Imaging. Foods 2020, 9, 154. [Google Scholar] [CrossRef]
  24. AOAC. Loss on drying (moisture) at 95–100 °C for feed. AOAC Official Method 934.01. In Official Methods of Analysis, 17th ed.; Association of Official Analytical Chemist Inc.: Arlington, VA, USA, 2002. [Google Scholar]
  25. Lee, C.M.; Trevino, B.; Chaiyawat, M. A Simple and Rapid Solvent ExtractionMethod for Determining Total Lipids in Fish Tissue. J. AOAC Int. 1996, 79, 487–492. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. AOAC. Protein (Crude) in Animal Feed and Pet Food. AOAC Official Method 992.15. In Official Methods of Analysis, 17th ed.; Association of Official Analytical Chemist Inc.: Arlington, VA, USA, 2002. [Google Scholar]
  27. Sendin, K.; Manley, M.; Marini, F.; Williams, P.J. Hierarchical classification pathway for white maize, defect and foreign material classification using spectral imaging. Microchem. J. 2020, 162, 105824. [Google Scholar] [CrossRef]
  28. Barnes, R.J.; Dhanoa, M.S.; Lister, S.J. Standard Normal Variate Transformation and De-Trending of Near-Infrared Diffuse Reflectance Spectra. Appl. Spectrosc. 1989, 43, 772–777. [Google Scholar] [CrossRef]
  29. Wold, S.; Esbensen, K.; Geladi, P. Principal component analysis. Chemom. Intell. Lab. Syst. 1987, 2, 37–52. [Google Scholar] [CrossRef]
  30. Fisher, R.A. The use of multiple measurements in taxonomic problems. Ann. Eugen. 1936, 7, 179–188. [Google Scholar] [CrossRef]
  31. Wold, S.; Geladi, P.; Esbensen, K.; Öhman, J. Multi-way principal components-and PLS-analysis. J. Chemom. 1987, 1, 41–56. [Google Scholar] [CrossRef]
  32. Sebestyen, G. Pattern recognition by an adaptive process of sample set construction. IEEE Trans. Inf. Theory 1962, 8, 82–91. [Google Scholar] [CrossRef]
  33. Quinlan, J.R. Induction of decision trees. Mach. Learn. 1986, 1, 81–106. [Google Scholar] [CrossRef] [Green Version]
  34. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  35. Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  36. Sheard, P.; Nute, G.; Chappell, A. The effect of cooking on the chemical composition of meat products with special reference to fat loss. Meat Sci. 1998, 49, 175–191. [Google Scholar] [CrossRef] [PubMed]
  37. Osborne, B.G.; Fearn, T.; Hindle, P.H. Practical NIR Spectroscopy with Applications in Food and Beverage Analysis; Longman Scientific and Technical: Essex, UK, 1993. [Google Scholar]
  38. Murray, I. The NIR spectra of homologous series of organic compounds. In Proceedings of the International NIR/NIT Conference, Budapest, Hungary, 12–16 May 1986; Akademiai Kiado: Budapest, Hungary, 1986; pp. 13–28. [Google Scholar]
  39. Cozzolino, D.; Murray, I. Identification of animal meat muscles by visible and near infrared reflectance spectroscopy. Lwt 2004, 37, 447–452. [Google Scholar] [CrossRef]
  40. Ding, H.B.; Xu, R.J. Near-Infrared Spectroscopic Technique for Detection of Beef Hamburger Adulteration. J. Agric. Food Chem. 2000, 48, 2193–2198. [Google Scholar] [CrossRef] [PubMed]
  41. Downey, G.; Beauchêne, D. Authentication of fresh vs. frozen-then-thawed beef by near-infrared reflectance spectroscopy of dried drip juice. LWT-Food Sci. Technol. 1997, 30, 721–726. [Google Scholar] [CrossRef]
  42. Edwards, K.; Manley, M.; Hoffman, L.C.; Beganovic, A.; Kirchler, C.G.; Huck, C.W.; Williams, P.J. Differentiation of South African Game Meat Using Near-Infrared (NIR) Spectroscopy and Hierarchical Modelling. Molecules 2020, 25, 1845. [Google Scholar] [CrossRef]
  43. ElMasry, G.; Sun, D.-W.; Allen, P. Near-infrared hyperspectral imaging for predicting colour, pH and tenderness of fresh beef. J. Food Eng. 2012, 110, 127–140. [Google Scholar] [CrossRef]
  44. Kamruzzaman, M.; ElMasry, G.; Sun, D.-W.; Allen, P. Non-destructive prediction and visualization of chemical composition in lamb meat using NIR hyperspectral imaging and multivariate regression. Innov. Food Sci. Emerg. Technol. 2012, 16, 218–226. [Google Scholar] [CrossRef]
  45. Miller, C.E. Chemometrics in Process Analytical Chemistry. In Process Analytical Technology: Spectroscopic Tools and Implementation Strategies for the Chemical and Pharmaceutical Industries; Bakeev, K.A., Ed.; Blackwell Publishing Ltd: Oxford, UK, 2005; pp. 226–324. [Google Scholar]
  46. Mueller, J.P.; Massaron, L. Going a step beyong using Support Vector Machines. In Machine Learning for Dummies; John Wiley & Sons, Inc.: Toronto, ON, Canada, 2016; pp. 297–313. [Google Scholar]
  47. Hearst, M.A.; Dumais, S.T.; Osuna, E.; Platt, J.; Scholkopf, B. Support vector machines. IEEE Intell. Syst. 1998, 13, 18–28. [Google Scholar] [CrossRef] [Green Version]
  48. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. Tree-Based Methods. In An Introduction to Statistical Learning: With Applications in R; Spinger: New York, NY, USA, 2013; pp. 303–332. [Google Scholar]
  49. Fix, E.; Hodges, J.L. Discriminatory analysis, nonparametric discrimination: Consistency Properties, USAF School of Aviation Medicine: Randolph Field, TX, USA, 1951.
  50. James, G.; Witten, D.; Hastie, T.; Tibshirani, R. Support Vector Machines. In An Introduction to Statistical Learning: With Applications in R; Spinger: New York, NY, USA, 2013; pp. 337–368. [Google Scholar]
  51. Salazar-Vazquez, J.; Mendez-Vazquez, A. A plug-and-play Hyperspectral Imaging Sensor using low-cost equipment. HardwareX. 2020, 7, e00087. [Google Scholar] [CrossRef]
Figure 1. Digital images of the various fat percentages for Patty 1 (ground burger/ground patty).
Figure 1. Digital images of the various fat percentages for Patty 1 (ground burger/ground patty).
Sensors 23 00697 g001
Figure 2. Digital images of the various species substitutions for Patty 2 (burger/patty/hamburger patty/meatball/frikkadel).
Figure 2. Digital images of the various species substitutions for Patty 2 (burger/patty/hamburger patty/meatball/frikkadel).
Sensors 23 00697 g002
Figure 3. Digital images of the various total meat (TM) percentages for Patty 3 (value burger/value patty/value hamburger/value meatball/value frikkadel/Any other similar name).
Figure 3. Digital images of the various total meat (TM) percentages for Patty 3 (value burger/value patty/value hamburger/value meatball/value frikkadel/Any other similar name).
Sensors 23 00697 g003
Figure 4. Digital images of the various mechanically recovered meat (MRM) percentages for Patty 4 (economy burger/econo burger/economy patty/econo patty/budget burger/econo hamburger patty/budget hamburger patty/econo meatball/econo frikkadel/Any other similar name).
Figure 4. Digital images of the various mechanically recovered meat (MRM) percentages for Patty 4 (economy burger/econo burger/economy patty/econo patty/budget burger/econo hamburger patty/budget hamburger patty/econo meatball/econo frikkadel/Any other similar name).
Sensors 23 00697 g004
Figure 5. (a) A hyperspectral (greyscale and spectral) image of a pure beef burger patty; (b) A binary mask image created using thresholding at 952 nm with a value of 1.1.
Figure 5. (a) A hyperspectral (greyscale and spectral) image of a pure beef burger patty; (b) A binary mask image created using thresholding at 952 nm with a value of 1.1.
Sensors 23 00697 g005
Figure 6. Baseline corrected (detrending) mean pseudo-absorbance spectra for Patty 1 (blue), Patty 2 (green), Patty 3 (red) and Patty 4 (turquoise); Five prominent absorption bands were observed at 1198 (fat), 1460 (moisture), 1738 (fat), 1934 (moisture) and 2326 nm (protein).
Figure 6. Baseline corrected (detrending) mean pseudo-absorbance spectra for Patty 1 (blue), Patty 2 (green), Patty 3 (red) and Patty 4 (turquoise); Five prominent absorption bands were observed at 1198 (fat), 1460 (moisture), 1738 (fat), 1934 (moisture) and 2326 nm (protein).
Sensors 23 00697 g006
Figure 7. PCA analysis of Patty 1 (red), Patty 2 (green), Patty 3 (blue) and Patty 4 (turquoise) categories. Minimal/gradual class separation was observed. Scores illustrated as (a) PCA score plot of PC1 (83.03%) vs. PC2 (16.55%); and (b) PCA score plot of PC2 (16.55%) vs. PC3 (0.33%).
Figure 7. PCA analysis of Patty 1 (red), Patty 2 (green), Patty 3 (blue) and Patty 4 (turquoise) categories. Minimal/gradual class separation was observed. Scores illustrated as (a) PCA score plot of PC1 (83.03%) vs. PC2 (16.55%); and (b) PCA score plot of PC2 (16.55%) vs. PC3 (0.33%).
Sensors 23 00697 g007
Figure 8. PCA loadings line plot for PC1 (blue), PC2 (green) and PC3 (red) with interpretable bands at 1138, 1318, 1460–1580, 1660–1830, 1945 and 2294 nm.
Figure 8. PCA loadings line plot for PC1 (blue), PC2 (green) and PC3 (red) with interpretable bands at 1138, 1318, 1460–1580, 1660–1830, 1945 and 2294 nm.
Sensors 23 00697 g008
Table 1. Formulation of treatments for Patty 1 (ground burger/ground patty).
Table 1. Formulation of treatments for Patty 1 (ground burger/ground patty).
IngredientsTreatments (Added Fat %)
0% Fat2.5% Fat5% Fat7.5% Fat10% Fat15% Fat20% Fat25% Fat30% Fat40% Fat
Lean Beef (%)10097.59592.5908580757060
Beef Fat (%)02.557.5101520253040
Total (g)100100100100100100100100100100
Table 2. Formulation of treatments for Patty 2 (burger/patty/hamburger patty).
Table 2. Formulation of treatments for Patty 2 (burger/patty/hamburger patty).
IngredientsTreatments (Added Species %)
75% Beef (Control)18.75% Pork 17.5% Pork 233.75% Pork 318.75% Lamb 17.5% Lamb 233.75% Lamb 318.75% Ostrich 17.5%
Ostrich 2
33.75% Ostrich 3
Lean Beef (%)6546.2557.531.2546.2557.531.2546.2557.531.25
Beef Fat (%)10101010101010101010
Spice Pack (%)10101010101010101010
Water (%)15151515151515151515
Lean Pork (%)018.757.533.75000000
Lean Lamb (%)000018.757.533.75000
Lean Ostrich (%)000000018.757.533.75
Total (g)100100100100100100100100100100
Table 3. Formulation of treatments for Patty 3 (value burger/value patty).
Table 3. Formulation of treatments for Patty 3 (value burger/value patty).
IngredientsTreatments (Added Species %)
TM 45TM 55TM 60TM 70TM 80
Lean Beef (%)3545506070
Beef Fat (%)1010101010
Spice Pack (%)1010101010
Water (%)35.53025.513.759
Burger Rusk (%)50000
TVP (%)4.554.56.251
Total (g)100100100100100
TM%4555607080
TME%55.867708582.4
AuthenticityAdulteratedAuthenticAuthenticAuthenticAuthentic
Table 4. Formulation of treatments for Patty 4 (econo burger/budget burger).
Table 4. Formulation of treatments for Patty 4 (econo burger/budget burger).
IngredientsTreatments (Added Species %)
TM 45TM 55TM 60TM 70TM 80
MRM (%)5030.215.82121
Lean Beef (%)010152530
Beef Fat (%)010101010
Spice Pack (%)1010101010
Water (%)3533.841.22924
Soya Fibre (%)01100
Burger Rusk (%)00200
TVP (%)55555
Total (g)100100100100100
TM%020253540
TME%5555456367.3
AuthenticityAdulteratedAdulteratedAdulteratedAuthenticAuthentic
Table 5. An overview of the accuracies for the developed models, pre-processed with SNV and SNV + detrend, to distinguish between the patty categories. The best predictions are indicated in bold.
Table 5. An overview of the accuracies for the developed models, pre-processed with SNV and SNV + detrend, to distinguish between the patty categories. The best predictions are indicated in bold.
Pre-ProcessingModelClassification Accuracy (%)
LDA
(2 PCs)
KNN
(k = 5)
D.TreesRF
(No = 100)
SVM-C
(rbf)
C: 1000
Ƴ: 0.001
SVM-C (Linear)
C: 10
Ƴ: 1
SVM-C (Poly)
C: 0.1
Ƴ: 0.1
SVM-C (Sigmoid)
C: 10
Ƴ: 0.001
PLS-DA
(7 LVs)
SNVCAL100871001001001001006587
CV987783889899996586
VAL977674839798975791
LDA
(2 PCs)
KNN
(k = 3)
D.TreesRF
(No = 100)
SVM-C
(rbf)
C: 1000
Ƴ: 0.001
SVM-C (linear)
C: 100
Ƴ: 1
SVM-C (poly)
C: 0.1
Ƴ: 0.1
SVM-C (sigmoid)
C: 100
Ƴ: 0.001
PLS-DA
(5 LVs)
SNV+DTCAL100941001001001001006976
CV988682909899996456
VAL978376939798976281
(LDA) Linear discriminant analysis; (KNN) K-nearest neighbours; (D.Trees) Decision trees; (RF) Random forests; (SVM-C) Support vector machines calibration; (PLS-DA) Partial least squares discriminant analysis; (SNV) Standard normal variate; (DT) Detrend; (CAL) Calibration; (CV) Cross-validation; (VAL) Validation; (PCs) Principal components; (LVs) Latent variables; (No) Number of trees.
Table 6. The overall performance measures used to assess the validation results for the classification of patties into four classes.
Table 6. The overall performance measures used to assess the validation results for the classification of patties into four classes.
Pre-ProcessingClassification Accuracy (%)FP Error (%)FN Error (%)Sensitivity (%)Specificity (%)Precision (%)Misclassification (%)
Linear Discriminant Analysis
SNV98.70.60.697.699.297.51.3
SNV+DT98.30.80.996.898.996.71.7
Support Vector Machines Classification (rbf)
SNV98.30.90.896.798.996.91.7
SNV+DT98.70.60.697.699.197.61.3
Support Vector Machines Classification (linear)
SNV99.20.40.398.399.498.50.8
SNV+DT99.00.50.598.099.398.11.0
Support Vector Machines Classification (polynomial)
SNV98.60.80.897.199.097.41.4
SNV+DT98.50.70.797.299.097.11.5
(SNV) Standard normal variate; (DT) Detrend; (FP) False positive; (FN) False negative.
Table 7. The overall mean performance measures of the combined SNV and SNV+DT corrected data for the LDA models used to assess the validation results for the classification of patties into four classes.
Table 7. The overall mean performance measures of the combined SNV and SNV+DT corrected data for the LDA models used to assess the validation results for the classification of patties into four classes.
ClassClassification Accuracy (%)FP Error (%)FN Error (%)Sensitivity (%)Specificity (%)Precision (%)Misclassification (%)
P198.31.10.697.798.696.21.7
P298.30.61.195.999.297.51.7
P398.10.61.395.499.197.71.9
P499.40.6010099.297.20.6
(P1) Patty 1; (P2) Patty 2; (P3) Patty 3; (P4) Patty 4; (FP) False positive; (FN) False negative.
Table 8. The overall mean performance measures of the combined SNV and SNV+DT corrected data for the SVM-C models used to assess the validation results for the classification of patties into four classes.
Table 8. The overall mean performance measures of the combined SNV and SNV+DT corrected data for the SVM-C models used to assess the validation results for the classification of patties into four classes.
ClassClassification Accuracy (%)FP Error (%)FN Error (%)Sensitivity (%)Specificity (%)Precision (%)Misclassification (%)
Support Vector Machines Classification (rbf)
P198.61.10.498.498.596.21.4
P297.11.11.992.598.695.72.9
P398.50.90.697.998.897.01.5
P4100001001001000
Support Vector Machines Classification (linear)
P198.51.30.299.298.395.51.5
P299.00.40.697.599.498.31.0
P399.00.20.997.099.799.21.0
P499.80099.01001000.2
Support Vector Machines Classification (polynomial)
P198.11.10.996.998.696.11.9
P298.40.41.395.099.598.31.6
P398.11.30.697.798.395.51.9
P499.60.20.299.099.899.00.4
(P1) Patty 1; (P2) Patty 2; (P3) Patty 3; (P4) Patty 4; (FP) False positive; (FN) False negative.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Edwards, K.; Hoffman, L.C.; Manley, M.; Williams, P.J. Raw Beef Patty Analysis Using Near-Infrared Hyperspectral Imaging: Identification of Four Patty Categories. Sensors 2023, 23, 697. https://doi.org/10.3390/s23020697

AMA Style

Edwards K, Hoffman LC, Manley M, Williams PJ. Raw Beef Patty Analysis Using Near-Infrared Hyperspectral Imaging: Identification of Four Patty Categories. Sensors. 2023; 23(2):697. https://doi.org/10.3390/s23020697

Chicago/Turabian Style

Edwards, Kiah, Louwrens C. Hoffman, Marena Manley, and Paul J. Williams. 2023. "Raw Beef Patty Analysis Using Near-Infrared Hyperspectral Imaging: Identification of Four Patty Categories" Sensors 23, no. 2: 697. https://doi.org/10.3390/s23020697

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop