Fish product freshness detection method based on Raman two-dimensional correlation spectrum
By using Raman two-dimensional correlation spectrum and neural network model combined with deformable convolution module in fish freshness detection, the problems of low efficiency and poor accuracy of traditional detection methods are solved, and high efficiency in the cold chain process is achieved. Precision freshness detection.
Patent Information
- Application Number
- CN202410696531.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-24
AI Technical Summary
Traditional fish freshness detection methods are inefficient during cold chain transportation and difficult to implement on-site detection. Moreover, the Raman spectrum detection accuracy is not high due to the small difference in spectral peak positions, making it difficult to accurately distinguish fish spectra with different degrees of freshness.
A detection method based on Raman two-dimensional correlation spectrum is used to calculate the correlation between the Raman spectrum of fish products and the reference spectrum with the highest freshness to generate a characteristic spectrum, and use a neural network model for freshness detection, introducing deformability The convolution module adapts to irregularly shaped spectral peak areas and improves detection accuracy.
It improves the accuracy and precision of freshness detection of fish products, enhances the sensitivity to different freshness levels, and is suitable for on-site detection in the cold chain process.
Smart Images

Figure CN118688174A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of food safety detection, and in particular to a method for detecting the freshness of fish products based on Raman two-dimensional correlation spectroscopy. Background Art
[0002] Fish is a high-quality source of protein and is rich in unsaturated fatty acids, vitamin D, selenium, iodine and other minerals. It has high nutritional value and has become a common ingredient on people's tables. However, fish release endogenous enzymes after being slaughtered and are susceptible to bacteria and microorganisms, which accelerates the spoilage of fish meat. In order to reduce the quality deterioration of fish products and preserve their fresh flavor to the greatest extent, cold chain logistics has gradually become the mainstream storage and transportation method for fish products.
[0003] However, my country's cold chain logistics system is not yet perfect, and fish products are still prone to spoilage during cold chain transportation. Therefore, fish freshness testing in the cold chain process is conducive to ensuring the quality and safety of such products. Traditional fish freshness assessment methods, including pH value, TVB-N, TBARS and colony detection, can achieve accurate freshness classification, but have high requirements for the detection environment and low detection efficiency. It is difficult to achieve on-site detection and cannot meet the detection needs in the cold chain process.
[0004] Raman spectroscopy has gradually become an important analytical tool in the field of food quality control due to its advantages such as rapid and non-destructive, simple sample preparation, and high sensitivity. In theory, the quality of fish products can be tested by collecting Raman spectra of fish products and then processing, analyzing, and building models of spectral data. However, since the main components of fish are protein, fat, etc., the spectral peaks are mostly concentrated in the Raman shift intervals corresponding to groups such as C=C, C=O stretching vibration, -CH2, and -CH3 deformation vibration. The peak positions of fish spectra at different degrees of freshness are relatively different, resulting in low accuracy in the freshness detection of fish products using Raman spectroscopy. Summary of the invention
[0005] In view of the above problems and technical requirements, this application proposes a method for detecting the freshness of fish products based on Raman two-dimensional correlation spectrum. The technical solution of this application is as follows:
[0006] A method for detecting the freshness of fish products based on Raman two-dimensional correlation spectrum, the method comprising:
[0007] Prepare a variety of fish product samples of different freshness and determine the freshness index data of each fish product sample;
[0008] Collecting the Raman spectrum of each fish product sample, and calculating the Raman two-dimensional correlation spectrum between the Raman spectrum of the fish product sample and the reference spectrum as the characteristic spectrum of the fish product sample, wherein the reference spectrum is the Raman spectrum of the fish product sample with the highest freshness;
[0009] Taking the characteristic spectrum of each fish product sample as input and the freshness index data of the fish product sample as output, a freshness detection model is obtained based on neural network model training;
[0010] The freshness detection model is used to detect the freshness of the fish products to be tested.
[0011] A further technical solution is that the characteristic spectrum of any fish product sample is a two-dimensional matrix, and the correlation spectral intensity between any Raman shift v1 and Raman shift v2 in the characteristic spectrum is:
[0012]
[0013] Wherein, s(v1) is the Raman intensity of the Raman spectrum of the fish product sample at the Raman shift v1, s(v2) is the Raman intensity of the Raman spectrum of the fish product sample at the Raman shift v2, r(v1) is the Raman intensity of the reference spectrum at the Raman shift v1, and r(v2) is the Raman intensity of the reference spectrum at the Raman shift v2.
[0014] Its further technical solution is that the neural network model used to train the freshness detection model includes a fixed convolution module, a maximum pooling layer, a deformable convolution module, a global average pooling layer and a classifier which are sequentially connected from input to output; the fixed convolution module uses a fixed convolution kernel with a fixed shape to perform convolution operations, and the deformable convolution module uses a variable convolution kernel with a non-fixed shape to perform convolution operations to adapt to the irregular shape of the characteristic spectrum, each sampling point in the variable convolution kernel corresponds to an additional offset, and the additional offset is parameterized during the model training process.
[0015] A further technical solution is that each sampling point in the variable convolution kernel also corresponds to a compensation weight coefficient as a compensation mechanism for adjustment.
[0016] Its further technical solution is that the deformable convolution module uses a non-fixed-shape convolution kernel to extract features from the input feature map, and in the output feature map, the convolution output value y(p0) corresponding to any position p0 is:
[0017]
[0018] Among them, N is the number of sampling points of the variable convolution kernel, p n is the position offset of the nth sampling point in the variable convolution kernel relative to the position p0, w(p n) is the weight corresponding to the nth sampling point in the variable convolution kernel, Δp n is the additional offset corresponding to the nth sampling point in the variable convolution kernel, x(p0+p n +Δp n ) is the input feature map in p0+p n +Δp n The sampling value at the position, Δm n It is the compensation weight coefficient corresponding to the nth sampling point in the variable convolution kernel.
[0019] Its further technical solution is that, for any convolution module in the fixed convolution module and the deformable convolution module, the convolution module includes several cascaded convolution units, each convolution unit includes a convolution layer, a batch normalization layer, an activation function and a two-dimensional maximum pooling layer connected in sequence from input to output; the convolution layer uses a convolution kernel for feature extraction, the activation function uses a ReLU function, and the two-dimensional maximum pooling layer is used to perform downsampling operations.
[0020] A further technical solution is that the method for detecting the freshness of fish products further comprises:
[0021] The Raman spectrum of each fish product sample is interpolated and preprocessed based on the piecewise cubic Hermite interpolation polynomial. After the interpolation preprocessed Raman spectrum is normalized, the Raman two-dimensional correlation spectrum between the Raman spectrum of the fish product sample and the reference spectrum is calculated.
[0022] A further technical solution is to prepare a variety of fish product samples with different freshness, including:
[0023] Cut the freshly slaughtered fish into several fillet samples of equal size;
[0024] The fish fillet samples directly cut from freshly slaughtered fish are used as the fish product samples with the highest freshness. The fish fillet samples directly cut from freshly slaughtered fish are placed under the same cold chain conditions for different lengths of time to obtain fish product samples with different freshness.
[0025] A further technical solution is to use a freshness detection model to detect the freshness of the fish product to be detected, including:
[0026] Collecting the Raman spectrum of the fish product to be tested, and calculating the Raman two-dimensional correlation spectrum between the Raman spectrum of the fish product to be tested and the reference spectrum as the characteristic spectrum of the fish product to be tested;
[0027] The characteristic spectrum of the fish product to be tested is input into the freshness detection model to obtain the predicted value of the freshness index data of the fish product to be tested.
[0028] A further technical solution is to determine the freshness index data of each fish product sample, including:
[0029] The volatile basic nitrogen content of each fish product sample is measured, and the freshness index data of the fish product sample is obtained according to the volatile basic nitrogen content of the fish product sample.
[0030] The beneficial technical effects of this application are:
[0031] The present application discloses a method for detecting the freshness of fish products based on Raman two-dimensional correlation spectrum. The method uses the Raman spectrum of the fish product sample with the highest freshness as the reference spectrum, and uses the Raman two-dimensional correlation spectrum of the Raman spectrum of each fish product sample and the reference spectrum as the characteristic spectrum of the fish product sample. By introducing the reference spectrum for correlation calculation, the similarities and differences between the Raman spectra of fish product samples with different freshness and the Raman spectrum of the fish product sample with the highest freshness can be highlighted, thereby increasing the detection sensitivity of the subsequent neural network model to fish products with different freshness levels, thereby improving the accuracy and precision of the fish product freshness detection results.
[0032] On this basis, since the correlation peaks and cross-peak areas with the highest spectral information density are often irregular in shape, a deformable convolution module is further introduced into the neural network model. The adaptability of variable convolution kernels to important spectral peak areas can further improve the detection accuracy of the deep network model for fish of different freshness levels. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a flow chart of a method for detecting the freshness of fish products according to an embodiment of the present application.
[0034] Figure 2 The diagram is a schematic diagram of the structure of a portable spectrum acquisition system for acquiring Raman spectra in an embodiment.
[0035] Figure 3 This is a model structure diagram of a neural network model used to train a freshness detection model.
[0036] Figure 4 This is a diagram showing the effect of fixed convolution kernel on feature extraction of characteristic spectrum of a single fish product sample.
[0037] Figure 5 This is a diagram showing the effect of variable convolution kernel on feature extraction of characteristic spectrum of a single fish product sample. DETAILED DESCRIPTION
[0038] The specific implementation of the present application is further described below in conjunction with the accompanying drawings.
[0039] The present application discloses a method for detecting the freshness of fish products based on Raman two-dimensional correlation spectroscopy. Please refer to Figure 1 the flowchart shown below. The method for detecting the freshness of fish products includes the following steps:
[0040] Step 1: Prepare fish product samples with different freshness levels and determine the freshness index data for each fish product sample.
[0041] In one embodiment, first cut a freshly slaughtered fish into a number of fillet samples with the same specifications. The fillet samples directly cut from the freshly slaughtered fish are the fish product samples with the highest freshness level. Then, place the fillet samples directly cut from the freshly slaughtered fish under the same cold chain conditions for different durations to obtain fish product samples with different freshness levels. Since the method for detecting the freshness of fish products in this application mainly focuses on the cold chain process, the fillet samples are stored under cold chain conditions, such as storing them in an incubator at 4°C for 1 - 14 days to obtain fish product samples with different freshness levels.
[0042] The freshness index data for each fish product sample is used to characterize the freshness degree of the fish product sample. In one embodiment, measure the content of total volatile basic nitrogen (TVB-N) in each fish product sample, and then obtain the freshness index data for the fish product sample based on the TVB-N content of the fish product sample. The freshness index data can be directly encoded from the TVB-N content of the fish product sample, or several content intervals corresponding to different freshness levels are pre-divided, and the freshness level corresponding to the content interval where the TVB-N content is located is encoded as the freshness index data.
[0043] For example, in one instance, according to GB2733-2005 "National Food Safety Standard for Hygiene of Fresh and Frozen Animal Aquatic Products", three different freshness levels are pre-divided, namely fresh, sub-fresh, and spoiled. When the TVB-N content ≤ 13mg / 100g, it corresponds to fresh; when 13mg / 100g < TVB-N content ≤ 20mg / 100g, it corresponds to sub-fresh; when the TVB-N value > 20mg / 100g, it corresponds to spoiled. After determining the TVB-N content of each fish product sample, determine the corresponding freshness level, and then encode it according to the one-hot encoding rule to obtain the freshness index data.
[0044] Step 2: Collect the Raman spectra of each fish product sample, and calculate the Raman two-dimensional correlation spectrum of the Raman spectrum of the fish product sample and the reference spectrum as the characteristic spectrum of the fish product sample.
[0045] The portable spectral acquisition system for collecting the Raman spectra of each fish product sample is as Figure 2As shown, the portable spectrum acquisition system includes a laser 2, a laser fiber 3, a collection fiber 4, a spectrometer 5 and a Raman detector 6 arranged inside a device housing 1, a Raman probe 7 is exposed relative to the device housing 1, and the laser 2 is connected to the Raman probe 7 through the laser fiber 3 for emitting excitation light. The Raman probe 7 is also connected to the spectrometer 5 through the collection fiber 4, and the spectrometer 5 is connected to the Raman detector 6. The Raman detector 6 is also connected to the analysis host 9 through a data line 8.
[0046] When the portable spectrum acquisition system is used to collect the Raman spectrum of the fish product sample 10, the laser 2 is used to generate excitation light, which is transmitted to the Raman probe 7 through the excitation optical fiber 3, and irradiates the fish product sample 10 to excite the fish product sample to generate Raman scattered light. The generated Raman scattered light is collected by the Raman probe 7 and transmitted to the spectrometer 5 via the acquisition optical fiber 4 to separate the Raman signal from the Raman scattered light, and the separated Raman signal is sent to the Raman detector 6. After digital-to-analog conversion, a digital signal of the Raman spectrum of the fish product sample is obtained. The digital signal of the Raman spectrum can be further transmitted to the analysis host 9 by the data line 8, and the Raman spectrum of the fish product sample can be recorded and analyzed by the built-in software of the analysis host 9. For ease of use, the analysis host 9 can also be connected to a handheld device or a desktop device through Bluetooth, USB, etc., so as to transmit the Raman spectrum of the fish product sample to the handheld device or the desktop device, so as to facilitate more processing.
[0047] In one embodiment, the excitation light generated by the laser 2 has a wavelength of 785 nm, and the laser power is adjusted within the range of 0 mW to 350 mW. The spectral resolution of the Raman detector 6 is 8 cm -1 ~10cm -1 The Raman shift range of the collected Raman spectrum is 0cm -1 ~2700cm -1 The integration time in the detection is set to vary from 1.5s to 2.5s.
[0048] In one embodiment, it is also necessary to perform spectral preprocessing operations on the collected Raman spectra of the fish product samples, including: firstly performing interpolation preprocessing based on the piecewise cubic Hermite interpolation polynomial, wherein the interpolation interval is set to 4, and the Raman shift is selected at 200cm -1 Up to 1800cm -1 The spectral data is interpolated and preprocessed to obtain a Raman spectrum with a size of 1*400. Then, the Raman spectrum after interpolation preprocessing is normalized and preprocessed.
[0049] Since the peak positions of the spectra of fish meat with different degrees of freshness are slightly different and difficult to distinguish, the present application does not directly use the Raman spectrum of the fish product sample as the characteristic spectrum, but uses the Raman two-dimensional correlation spectrum of the Raman spectrum of the fish product sample and the reference spectrum as the characteristic spectrum of the fish product sample. The reference spectrum is the Raman spectrum of the fish product sample with the highest freshness, that is, the Raman spectrum of the fish fillet sample directly cut from the freshly slaughtered fish. This method introduces the Raman spectrum of freshly slaughtered fish fillets for correlation calculation, which can highlight the similarities and differences between fish product samples of different freshness and the fish product sample with the highest freshness, thereby increasing the sensitivity of the subsequent neural network model to fish fillets with different degrees of freshness.
[0050] The characteristic spectrum of any fish product sample is a two-dimensional matrix, and the correlation spectral intensity between any Raman shift v1 and Raman shift v2 in the characteristic spectrum is:
[0051]
[0052] Where, s(v1) is the Raman intensity of the Raman spectrum of the fish product sample at the Raman shift v1, and s(v2) is the Raman intensity of the Raman spectrum of the fish product sample at the Raman shift v2. r(v1) is the Raman intensity of the reference spectrum at the Raman shift v1, and r(v2) is the Raman intensity of the reference spectrum at the Raman shift v2. Raman shift v1 and Raman shift v2 are any Raman shifts in the Raman shift space of the Raman spectrum of the fish product sample.
[0053] The generated characteristic spectrum of the fish product sample located in the diagonal correlation peak area and the non-diagonal cross peak area mainly reflects the correlation degree of the spectral intensity change between the Raman spectrum s(v) of the fish product sample and the reference spectrum r(v). Therefore, through the location and intensity of the above correlation peak and cross peak area, the similarity between the Raman spectrum of the fish product samples with different freshness and the Raman spectrum of the fish product sample with the highest freshness can be effectively judged, and the difference between the two can be distinguished. The generated characteristic spectrum is a two-dimensional matrix with a size of 400*400.
[0054] Step 3, taking the characteristic spectrum of each fish product sample as input and the freshness index data of the fish product sample as output, a freshness detection model is obtained based on neural network model training.
[0055] The neural network model used to train the freshness detection model includes a fixed convolution module, a maximum pooling layer, a deformable convolution module, a global average pooling layer, and a classifier connected in sequence from input to output. Please refer to Figure 3 The model structure diagram shown in the figure. The classifier adopts Softmax classifier.
[0056] Among them, the fixed convolution module uses a fixed convolution kernel with a fixed shape to perform convolution operations, and the deformable convolution module uses a variable convolution kernel with a non-fixed shape to perform convolution operations to adapt to the irregular shape of the characteristic spectrum. Each sampling point in the variable convolution kernel corresponds to an additional offset, and the additional offset is parameterized during the model training process, thereby allowing the sampling points to diffuse in different directions and distances, so that the variable convolution kernel has a non-fixed shape to adapt to the irregular shape of the characteristic spectrum.
[0057] For any convolution module in the fixed convolution module and the deformable convolution module, each convolution module includes several cascaded convolution units, and each convolution unit includes a convolution layer, a batch normalization layer, an activation function, and a two-dimensional maximum pooling layer connected in sequence from input to output. The convolution layer uses the convolution kernel for feature extraction, the activation function uses the ReLU function, and the two-dimensional maximum pooling layer is used to perform downsampling operations. The two-dimensional maximum pooling layer in each convolution unit performs a maximum pooling calculation with a sliding window size of 2×2 and a step size of 2.
[0058] In one embodiment, Figure 3 As shown, the fixed convolution module includes three convolution units cascaded in sequence. The three convolution units in the fixed convolution module use 32 fixed convolution kernels, 64 fixed convolution kernels, and 128 fixed convolution kernels respectively. The size of the fixed convolution kernels in the three convolution units is 3*3, the step size is 1, and the padding is 1.
[0059] The deformable convolution module includes a convolution unit, and the convolution unit in the deformable convolution module uses 128 variable convolution kernels. Compared with the fixed convolution kernel, the variable convolution kernel not only adds a learnable additional offset to each sampling point, but also corresponds to a compensation weight coefficient for each sampling point in the variable convolution kernel as a compensation mechanism for adjustment to reduce the neural network model's attention to irrelevant backgrounds. In the feature map output after the deformable convolution module uses a non-fixed-shape convolution kernel to extract features from the input feature map, the convolution output value y(p0) corresponding to any position p0 is:
[0060]
[0061] Among them, N is the number of sampling points of the variable convolution kernel, p n is the position offset of the nth sampling point in the variable convolution kernel relative to the position p0, w(p n ) is the weight corresponding to the nth sampling point in the variable convolution kernel, Δp n is the additional offset corresponding to the nth sampling point in the variable convolution kernel, x(p0+p n +Δp n ) is the input feature map in p0+pn +Δp n The sampling value at the position. Δm n is the learnable compensation weight coefficient corresponding to the nth sampling point in the variable convolution kernel, Δm n Parameter learning is performed during model training.
[0062] The effect of fixed convolution kernel on feature extraction of characteristic spectrum of a single fish product sample is shown in the figure Figure 4 As shown in the figure, the feature extraction effect of the variable convolution kernel on the characteristic spectrum of a single fish product sample is shown in Figure 5 As shown in the figure, the convolution kernel sampling points are represented by red dots. The shape of the convolution kernel of the fixed convolution kernel is fixed to a rectangle, which causes the receptive field and sampling position of the next convolution layer to always remain at a fixed position in the feature map. Figure 5 In the proposed method, the variable convolution kernel can be adaptively adjusted according to the input data with irregular shape characteristics such as characteristic spectrum, thereby improving the representation ability of the convolution layer features and helping to improve the accuracy of subsequent detection and classification tasks.
[0063] When the freshness detection model is obtained based on neural network model training, the cross entropy function is used as the loss function to optimize the network model parameters, and the SGD stochastic gradient descent optimization algorithm is used as the optimization algorithm for the network weights.
[0064] Step 4: Use the freshness detection model to perform freshness detection on the fish product to be detected.
[0065] In one embodiment, the Raman spectrum of the fish product to be tested is first collected, and the Raman spectrum can be obtained by using the following method: Figure 2 The portable spectrum acquisition system shown in the figure is used for acquisition. Then the Raman two-dimensional correlation spectrum of the Raman spectrum of the fish product to be detected and the reference spectrum is calculated as the characteristic spectrum of the fish product to be detected. The specific calculation method is the same as the method for calculating the characteristic spectrum of each fish product sample, and this embodiment will not be repeated. Finally, the characteristic spectrum of the fish product to be detected is input into the freshness detection model to obtain the freshness index data prediction value of the fish product to be detected, and the freshness index data prediction value can characterize the freshness of the fish product to be detected.
[0066] The above is only a preferred embodiment of the present application, and the present application is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present application should be considered to be included in the protection scope of the present application.
Claims
1. A method for detecting the freshness of fish products based on Raman two-dimensional correlation spectroscopy, characterized in that: The fish product freshness detection method comprises: Prepare a variety of fish product samples of different freshness and determine the freshness index data of each fish product sample; Collecting the Raman spectrum of each fish product sample, and calculating the Raman two-dimensional correlation spectrum between the Raman spectrum of the fish product sample and the reference spectrum as the characteristic spectrum of the fish product sample, wherein the reference spectrum is the Raman spectrum of the fish product sample with the highest freshness; Taking the characteristic spectrum of each fish product sample as input and the freshness index data of the fish product sample as output, a freshness detection model is obtained based on neural network model training; The freshness detection model is used to perform freshness detection on the fish product to be detected.
2. The method for detecting the freshness of fish products according to claim 1, characterized in that: The characteristic spectrum of any fish product sample is a two-dimensional matrix, and the correlation spectral intensity between any Raman shift v1 and Raman shift v2 in the characteristic spectrum is: Wherein, s(v1) is the Raman intensity of the Raman spectrum of the fish product sample at the Raman shift v1, s(v2) is the Raman intensity of the Raman spectrum of the fish product sample at the Raman shift v2, r(v1) is the Raman intensity of the reference spectrum at the Raman shift v1, and r(v2) is the Raman intensity of the reference spectrum at the Raman shift v2.
3. The method for detecting the freshness of fish products according to claim 1, characterized in that: The neural network model used for training the freshness detection model includes a fixed convolution module, a maximum pooling layer, a deformable convolution module, a global average pooling layer and a classifier connected in sequence from input to output; the fixed convolution module uses a fixed convolution kernel with a fixed shape to perform a convolution operation, and the deformable convolution module uses a variable convolution kernel with a non-fixed shape to perform a convolution operation to adapt to the irregular shape of the characteristic spectrum, each sampling point in the variable convolution kernel corresponds to an additional offset, and the additional offset is parameterized during the model training process.
4. The method for detecting the freshness of fish products according to claim 3, characterized in that: Each sampling point in the variable convolution kernel also corresponds to a compensation weight coefficient as a compensation mechanism for adjustment.
5. The method for detecting the freshness of fish products according to claim 4, characterized in that: The deformable convolution module uses a non-fixed-shape convolution kernel to extract features from the input feature map and outputs the feature map. The convolution output value y(p0) corresponding to any position p0 is: Among them, N is the number of sampling points of the variable convolution kernel, p n is the position offset of the nth sampling point in the variable convolution kernel relative to the position p0, w(p n ) is the weight corresponding to the nth sampling point in the variable convolution kernel, Δp n is the additional offset corresponding to the nth sampling point in the variable convolution kernel, x(p0+p n +Δp n ) is the input feature map in p0+p n +Δp n The sampling value at the position, Δm n It is the compensation weight coefficient corresponding to the nth sampling point in the variable convolution kernel.
6. The method for detecting the freshness of fish products according to claim 3, characterized in that: For any one of the fixed convolution modules and the deformable convolution modules, the convolution module includes a plurality of cascaded convolution units, each convolution unit includes a convolution layer, a batch normalization layer, an activation function and a two-dimensional maximum pooling layer connected in sequence from input to output; the convolution layer uses a convolution kernel for feature extraction, the activation function uses a ReLU function, and the two-dimensional maximum pooling layer is used to perform a downsampling operation.
7. The method for detecting the freshness of fish products according to claim 1, characterized in that: The fish product freshness detection method also includes: The Raman spectrum of each fish product sample is interpolated and preprocessed based on a piecewise cubic Hermite interpolation polynomial. After the interpolation preprocessed Raman spectrum is normalized, a Raman two-dimensional correlation spectrum between the Raman spectrum of the fish product sample and the reference spectrum is calculated.
8. The method for detecting the freshness of fish products according to claim 1, characterized in that: Sample fish products with different levels of freshness include: Cut the freshly slaughtered fish into several fillet samples of equal size; The fish fillet samples directly cut from freshly slaughtered fish are used as the fish product samples with the highest freshness. The fish fillet samples directly cut from freshly slaughtered fish are placed under the same cold chain conditions for different lengths of time to obtain fish product samples with different freshness.
9. The method for detecting the freshness of fish products according to claim 1, characterized in that: Using the freshness detection model to detect the freshness of the fish product to be detected includes: Collecting the Raman spectrum of the fish product to be detected, and calculating the Raman two-dimensional correlation spectrum between the Raman spectrum of the fish product to be detected and the reference spectrum as the characteristic spectrum of the fish product to be detected; The characteristic spectrum of the fish product to be detected is input into the freshness detection model to obtain the predicted value of the freshness index data of the fish product to be detected.
10. The method for detecting the freshness of fish products according to claim 1, characterized in that: Determine freshness index data for each fish product sample, including: The volatile basic nitrogen content of each fish product sample is measured, and the freshness index data of the fish product sample is obtained according to the volatile basic nitrogen content of the fish product sample.
