Chicken freshness detection method and device based on spectrum fusion and medium

The deep fusion of hyperspectral data of chicken through spectral fusion technology solves the problems of insufficient accuracy and low efficiency in chicken freshness detection in the existing technology, and achieves efficient freshness detection under non-laboratory conditions.

CN118671013APending Publication Date: 2024-09-20SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410445406.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing chicken freshness detection methods have problems such as insufficient accuracy and low detection efficiency. In particular, the limitations of hyperspectral data analysis based on convolutional neural networks make it difficult to meet the needs of large-scale detection.

Method used

Using a detection method based on spectral fusion, by acquiring multiple sets of hyperspectral data and inputting them into the freshness prediction model, the interleaved group feature extraction module and feature extraction unit are used for deep fusion, including the main group module and the sub-group module to extract and fuse features data to predict chicken freshness.

Benefits of technology

It improves the accuracy and efficiency of chicken freshness testing, and can quickly obtain freshness indicators under non-laboratory conditions to meet the needs of large-volume testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118671013A
    Figure CN118671013A
Patent Text Reader

Abstract

The invention relates to a chicken freshness detection method and device based on spectrum fusion and a medium. The method comprises the following steps: acquiring multiple groups of hyperspectral data of chicken; the multiple groups of hyperspectral data are input into a freshness prediction model, a freshness index prediction value is obtained, a feature extraction layer of the freshness prediction model comprises at least one feature extraction unit, the feature extraction unit comprises an interlaced group feature extraction module, and the interlaced group feature extraction module comprises a primary group module and a secondary group module; the main group module is used for determining a single group of spectral characteristic data; the secondary group module is used for determining fusion feature data according to re-grouping results of the single-group spectral feature data, and each re-grouping result comprises features of different single-group spectral feature data from the corresponding primary group module; and determining the chicken freshness according to the freshness index predicted value. In this way, the obtained hyperspectral data can be deeply fused, and the reliability of the determined freshness index predicted value and the accuracy of the chicken freshness are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of food detection, and in particular, to a chicken freshness detection method, device and medium based on spectral fusion. Background Art

[0002] Chicken is a relatively cheap and fast-to-produce protein source that plays an increasingly important role in global protein consumption. However, chicken is susceptible to contamination by spoilage microorganisms and zoonotic pathogens, which can affect the shelf life and safety of the product and pose a health risk to consumers. Therefore, it is necessary to test the freshness of chicken.

[0003] If the traditional chemical method is used for testing, destructive sampling is usually required and it often needs to be carried out under laboratory conditions, which is difficult to meet the needs of large-scale testing. If the hyperspectral data of chicken is analyzed based on the existing convolutional neural network (CNN), the accuracy of the determined chicken freshness will be insufficient due to the limitations of the model structure. Summary of the invention

[0004] The purpose of the present invention is to provide a chicken freshness detection method, device and medium based on spectral fusion to improve the accuracy and detection efficiency of the determined chicken freshness. The detection process does not need to be carried out under laboratory conditions and can meet large-scale detection needs.

[0005] In order to achieve the above-mentioned object, the present disclosure provides a chicken freshness detection method based on spectral fusion in a first aspect, comprising:

[0006] Obtain multiple sets of hyperspectral data of chicken;

[0007] Input the multiple groups of hyperspectral data into a freshness prediction model to obtain a freshness index prediction value, wherein the feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, and the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine fusion feature data according to a regrouping result of the single group of spectral feature data, and each regrouping result includes features of different single groups of spectral feature data from the corresponding main group module;

[0008] The freshness of the chicken is determined according to the predicted value of the freshness index.

[0009] Optionally, the main group module includes a main partition module and a first feature extraction module; and the determining of a single group of spectral feature data includes:

[0010] Determine the main partition characteristic data of each main partition according to the characteristic data input to the main group module and the main partition module, wherein the number of the main partitions is the same as the number of groups of the hyperspectral data, and each of the main partition characteristic data corresponds to a group of hyperspectral data;

[0011] Each of the main partition feature data is input into the corresponding first feature extraction module to determine a corresponding single set of spectral feature data.

[0012] Optionally, the sub-grouping module includes a sub-partitioning module and a second feature extraction module; the step of determining the fusion feature data according to the re-grouping result of the single set of spectral feature data includes:

[0013] Determine sub-regional feature data for each sub-region according to the multiple single-group spectral feature data output by the sub-regional module and the corresponding main group module, wherein each sub-regional feature data includes features of different single-group spectral feature data with the same channel dimension and from the corresponding main group module;

[0014] According to the sub-region feature data and the second feature extraction module, fusion feature data is determined.

[0015] Optionally, determining the sub-partition feature data of each partition according to the multiple single-group spectral feature data output by the sub-partition module and the corresponding main group module includes:

[0016] Reconstructing each of the single sets of spectral feature data;

[0017] Determine sub-partition feature data for each partition according to the sub-partition module and the channel dimension of the reconstructed single set of spectral feature data;

[0018] Wherein, reconstructing each of the single sets of spectral feature data comprises:

[0019] Determine the number of channels and height of the reconstructed single set of spectral feature data according to the number of channels of the single set of spectral feature data, wherein the product of the number of channels and height of the reconstructed single set of spectral feature data is the number of channels of the single set of spectral feature data before reconstruction;

[0020] The width of the reconstructed single set of spectral feature data is determined according to the height and width of the single set of spectral feature data.

[0021] Optionally, the first feature extraction module is a mobile visual transformer, and the second feature extraction module is a mobile visual transformer;

[0022] The number of the second feature extraction modules is determined according to the number of attention mechanisms and the number of sub-partitions in each of the second feature extraction modules, and each sub-partition feature data corresponds to one attention mechanism.

[0023] Optionally, the feature extraction unit further includes a first convolution layer, which is used to convolve the feature data input to the feature extraction unit, and input the obtained convolution result to the interleaved group feature extraction module.

[0024] Optionally, inputting the multiple sets of hyperspectral data into a freshness prediction model to obtain a freshness index prediction value includes:

[0025] Inputting the multiple sets of hyperspectral data into the input layer of the freshness prediction model to obtain first feature data;

[0026] Inputting the first feature data into the feature extraction layer to obtain second feature data, wherein the second feature data is fused feature data output by the last interleaved group feature extraction module in the feature extraction layer;

[0027] The second feature data is input into the output layer of the freshness prediction model to obtain the freshness index prediction value.

[0028] Optionally, the input layer includes patch partitioning and a second convolutional layer; and obtaining first feature data according to the input layer of the multiple sets of hyperspectral data and the freshness prediction model includes:

[0029] Inputting the plurality of sets of hyperspectral data into the patch partition, and obtaining conversion data of the target dimension corresponding to each set of hyperspectral data;

[0030] Acquire the first feature data according to the conversion data and the second convolutional layer;

[0031] The output layer includes fully connected layers having the same number as the types of freshness indicators; the step of obtaining freshness indicator prediction values ​​corresponding to the multiple sets of hyperspectral data according to the second feature data and the output layer of the freshness prediction model includes:

[0032] The second feature data is input into each of the fully connected layers to obtain a freshness index prediction value of a corresponding type output by each of the fully connected layers.

[0033] A second aspect of the present disclosure provides a chicken freshness detection device based on spectral fusion, comprising:

[0034] a memory having a computer program stored thereon;

[0035] A processor is used to execute the computer program in the memory to implement the steps of the method provided in the first aspect of the present disclosure.

[0036] A third aspect of the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the first aspect of the present disclosure.

[0037] In the above technical solution, multiple groups of hyperspectral data are input into the freshness prediction model to obtain the predicted value of the freshness index; the freshness of the chicken is determined according to the predicted value of the freshness index. In this way, the freshness prediction model can quickly obtain the predicted value of the freshness index under non-laboratory conditions, improve the efficiency of determining the freshness of the chicken, and meet the detection needs of large quantities. The feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, and the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine the fusion feature data according to the regrouping result of the single group of spectral feature data, and each regrouping result includes the features of different single groups of spectral feature data from the corresponding main group module. In this way, the acquired hyperspectral data can be deeply fused to improve the reliability of the determined freshness index prediction value, thereby improving the accuracy of the determined chicken freshness.

[0038] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0040] Figure 1 It is a flow chart of a chicken freshness detection method based on spectral fusion provided by an exemplary embodiment of the present disclosure.

[0041] Figure 2 is a schematic diagram of an interleaved group feature extraction module provided by an exemplary embodiment of the present disclosure.

[0042] Figure 3 It is a flowchart of a method for determining fused feature data provided by an exemplary embodiment of the present disclosure.

[0043] Figure 4 is a schematic diagram of a freshness prediction model provided by an exemplary embodiment of the present disclosure.

[0044] Figure 5 It is a flow chart of a chicken freshness detection method based on spectral fusion provided by an exemplary embodiment of the present disclosure.

[0045] Figure 6 It is a schematic diagram of a patch partition provided by an exemplary embodiment of the present disclosure.

[0046] Figure 7 is a schematic diagram of a fully connected layer provided by an exemplary embodiment of the present disclosure.

[0047] Figure 8 It is a block diagram of a chicken freshness detection device based on spectral fusion provided by an exemplary embodiment of the present disclosure.

[0048] Fig. 9 It is a block diagram of a chicken freshness detection device based on spectral fusion provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0050] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0051] Figure 1 FIG. 1 is a flow chart of a chicken freshness detection method based on spectral fusion provided by an exemplary embodiment of the present disclosure. Figure 1 As shown, the method may include steps S101 to S103.

[0052] In step S101, multiple sets of hyperspectral data of chicken are obtained.

[0053] For example, a HIS (hyperspectral imaging) system can be used to collect hyperspectral data of chicken. The hyperspectral data of chicken can be at least one of hyperspectral data in the visible and near-infrared range (VNIR, with a wavelength of 400-100nm) and hyperspectral data in the shortwave near-infrared range (SWIR, with a wavelength of 900-1700nm). The wavelength ranges corresponding to different groups of hyperspectral data can be the same or different, wherein hyperspectral data in different wavelength ranges can be collected by HIS systems with different wavelength ranges. Assuming that two groups of hyperspectral data are obtained, the first group of hyperspectral data can be VNIR data, and the second group of hyperspectral data can be SWIR data; or the first group and the second group of hyperspectral data can both be VNIR data; or the first group and the second group of hyperspectral data can both be SWIR data.

[0054] In step S102, multiple sets of hyperspectral data are input into a freshness prediction model to obtain a freshness index prediction value.

[0055] Among them, the feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine the fusion feature data according to the regrouping result of the single group of spectral feature data, and each regrouping result includes the features of different single groups of spectral feature data from the corresponding main group module.

[0056] For example, the interleaved group feature extraction module can be an interleaved group convolution (IGC). In this case, the main group module of the interleaved group feature extraction module is the main group convolution module, and the secondary group module is the secondary group convolution module. In this way, feature extraction and fusion of multiple groups of hyperspectral data can be realized. The grouping of the main group convolution and the secondary group convolution of IGC can be complementary, wherein the main group convolution can use M groups of convolution to respectively extract the features corresponding to the M groups of hyperspectral data (the number of main partitions is M, and each partition contains N-dimensional features) to determine a single group of spectral feature data. Then, the M groups of convolution outputs can be connected along the number of channels. In order to further fuse the features of different groups of hyperspectral data and extract the fused features, the arrangement can be realized by using the interval sampling as the input of the secondary group convolution. Afterwards, the input of the secondary group convolution is regrouped to obtain N secondary partitions with each partition containing M-dimensional features. In each group of the secondary group convolution, point convolution can be used to realize the interaction of the features of different groups of hyperspectral data, determine the fused feature data, and thus realize the association of two groups of hyperspectral data. Finally, the M groups of outputs can be connected and sorted along the channels to obtain the output of the feature extraction unit. If the feature extraction layer includes multiple feature extraction units, the fused feature data output by the last feature extraction unit can be determined as the data input to the output layer of the freshness prediction model.

[0057] For example, the freshness index may include at least one of total volatile basic nitrogen (TVB-N) and total viable count (TVC). For example, the freshness prediction model may be a model trained based on a hyperspectral sample and a corresponding freshness index sample.

[0058] In step S103, the freshness of the chicken is determined according to the predicted value of the freshness index.

[0059] For example, the correspondence between TVB-N, TVC and chicken freshness can be pre-calibrated, and the correspondence can be represented by, for example, a function, a mapping table, etc. In this way, when the TVB-N prediction value and the TVC prediction value are obtained, the corresponding chicken freshness can be quickly determined through the correspondence.

[0060] In the above technical solution, multiple groups of hyperspectral data are input into the freshness prediction model to obtain the predicted value of the freshness index; the freshness of the chicken is determined according to the predicted value of the freshness index. In this way, the freshness prediction model can quickly obtain the predicted value of the freshness index under non-laboratory conditions, improve the efficiency of determining the freshness of the chicken, and meet the detection needs of large quantities. The feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, and the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine the fusion feature data according to the regrouping result of the single group of spectral feature data, and each regrouping result includes the features of different single groups of spectral feature data from the corresponding main group module. In this way, the acquired hyperspectral data can be deeply fused to improve the reliability of the determined freshness index prediction value, thereby improving the accuracy of the determined chicken freshness.

[0061] In an optional embodiment, if Figure 2 As shown, the main group module includes a main partition module and a first feature extraction module, and a single group of spectral feature data can be determined in the following manner:

[0062] Determine the main partition characteristic data of each main partition according to the characteristic data input to the main group module and the main partition module, wherein the number of the main partitions is the same as the number of groups of the hyperspectral data, and each main partition characteristic data corresponds to a group of hyperspectral data;

[0063] Each main partition feature data is input into the corresponding first feature extraction module to determine the corresponding single set of spectral feature data.

[0064] For example, the main partition module can group the input feature data, and the number of main partitions (the number of groups divided by the main partition module) is the same as the number of groups of hyperspectral data, and each main partition feature data obtained by grouping corresponds to a group of hyperspectral data. For example, the main partition module can divide the input feature data into a group of main partition feature data corresponding to VNIR data and a group of main partition feature data corresponding to SWIR data. The size of each main partition feature data can be C*H*W. In this case, the number of main partitions is 2. Among them, C is the number of channels, H is height, W is width, the value of C can be 256, the value of H can be 4, and the value of W can be 4.

[0065] The number of first feature extraction modules may be the same as the number of primary partitions, and there is a one-to-one correspondence between the first feature extraction modules and the primary partitions. Figure 2 As shown, there can be two first feature extraction modules, each of which performs feature extraction of a set of main partition feature data to obtain a corresponding single set of spectral feature data. That is, a single set of spectral feature data corresponding to VNIR data can be obtained through one first feature extraction module, and a single set of spectral feature data corresponding to SWIR data can be obtained through another first feature extraction module. In this way, the features of a single spectrum (i.e., a single set of spectral feature data) can be extracted through one first feature extraction module and a global representation of the features can be established.

[0066] In an optional embodiment, the first feature extraction module may be a mobile vision transformer (MobileViT).

[0067] MobileViT combines the advantages of convolutional neural networks and visual transformers. By introducing the multi-head self-attention mechanism of transformers, MobileViT can consider broader contextual information when extracting features, thereby better capturing the feature relationships of different bands.

[0068] In an optional embodiment, if Figure 2 As shown, the sub-group module includes a sub-partitioning module and a second feature extraction module, which can be Figure 3 Steps S301 and S302 shown are used to determine the fused feature data.

[0069] In step S301, sub-partition feature data of each partition is determined according to multiple single-group spectral feature data output by the sub-partition module and the corresponding main group module, wherein each partition feature data includes features of different single-group spectral feature data with the same channel dimension and from the corresponding main group module.

[0070] In one embodiment, the sub-partition feature data of each partition may be determined in the following manner:

[0071] Each single group of spectral feature data is reconstructed; and the sub-partition feature data of each partition is determined according to the sub-partition module and the channel dimension of the reconstructed single group of spectral feature data.

[0072] For example, each single set of spectral feature data may be reconstructed in the following manner:

[0073] According to the number of channels of the single set of spectral feature data, determine the number of channels and height of the reconstructed single set of spectral feature data, wherein the product of the number of channels and height of the reconstructed single set of spectral feature data is the number of channels of the single set of spectral feature data before reconstruction;

[0074] The width of the reconstructed single set of spectral feature data is determined according to the height and width of the single set of spectral feature data.

[0075] For example, the size of a single set of spectral feature data before reconstruction is C*H*W, and the size of a single set of spectral feature data after reconstruction is G*D*(H*W), where G is the number of channels of the single set of spectral feature data after reconstruction, D is the height of the single set of spectral feature data after reconstruction, and (H*W) is the width of the single set of spectral feature data after reconstruction. Specifically, the values ​​of G and D can both be 16. In this way, the number of channels of a single set of spectral feature data can be reduced through reconstruction, thereby reducing the amount of data processing in subsequent processes and improving the operating efficiency of the model.

[0076] For example, the sub-partitioning module can perform grouping processing on the reconstructed single set of spectral feature data according to the channel dimension of the reconstructed single set of spectral feature data, and the sub-partitioning feature data determined for each partition is the re-grouping result described above. Each partitioning can correspond to a channel dimension of the reconstructed single set of spectral feature data, so that the number of sub-partitions (the number of groups divided by the sub-partitioning module) can be the same as the number of channels of the reconstructed single set of spectral feature data.

[0077] For example, if a single set of spectral feature data corresponding to the VNIR data after reconstruction and a single set of spectral feature data corresponding to the SWIR data after reconstruction are obtained, the two sets of single sets of spectral feature data can be connected along the channel dimension through a connection operation to obtain new feature data; Figure 2 As shown, regrouping can then be performed through the sub-partitioning module to divide into G groups, each group containing features with the same channel dimension, respectively coming from a single set of spectral feature data corresponding to the VNIR data, and a single set of spectral feature data corresponding to the SWIR data.

[0078] In step S302, fusion feature data is determined according to the sub-region feature data and the second feature extraction module.

[0079] For example, the sub-partition feature data can be input into the corresponding second feature extraction module to obtain the fused feature sub-data corresponding to each sub-partition feature data through the second feature extraction module. Then, the fused feature sub-data can be connected and sorted along the channel to obtain the fused feature data of the feature extraction module.

[0080] In an optional embodiment, the second feature extraction module may be a mobile visual transformer. Correspondingly, the number of the second feature extraction modules is determined according to the number of attention mechanisms and the number of sub-partitions in each second feature extraction module, and each sub-partition feature data corresponds to one attention mechanism.

[0081] For example, if each second feature extraction module is provided with 4 attention mechanisms and the number of sub-partitions is 16, then 4 second feature extraction modules can be set up, and each head of attention can perform a set of feature calculations respectively. Therefore, 4 second feature extraction modules contain 16 multi-head attentions, which can realize the global feature extraction of 16 sub-groups, that is, the sub-partition feature data corresponding to the 4 sub-partitions are input into one second feature extraction module, so as to realize the further extraction and fusion of multi-source spectral features. At this time, the corresponding interleaved group feature extraction module is as follows: Figure 2 As shown in the figure, in this way, the model calculation complexity caused by using multiple Transformers can be further reduced, while realizing the grouping idea of ​​IGC.

[0082] In another optional embodiment, the first feature extraction module and the second feature extraction module may also be convolutional neural networks, and the interleaved group feature extraction module in this case is an IGC model.

[0083] In an optional embodiment, the feature extraction unit further includes a first convolution layer for convolving the feature data input to the feature extraction unit, and inputting the obtained convolution result to the interlaced group feature extraction module. In this way, the first convolution layer can perform simple feature extraction processing on the feature data input to the feature extraction unit, so that the interlaced group feature extraction module can achieve deep fusion of data.

[0084] For example, Figure 4 There are three feature extraction units in total, one feature extraction unit includes a first convolution layer and an interleaved feature extraction module, and the three feature extraction units are connected in sequence to form a feature extraction layer of the freshness prediction model. Among them, the convolution kernel size of the first convolution can be 3*3.

[0085] Figure 5 FIG. 1 is a flow chart of a chicken freshness detection method based on spectral fusion provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, step S102 may include steps S1021 to S1023.

[0086] In step S1021, multiple sets of hyperspectral data are input into the input layer of the freshness prediction model to obtain first feature data.

[0087] In one embodiment, the input layer includes Figure 4The patch partition and the second convolutional layer shown can determine the first feature data in the following way:

[0088] Input multiple sets of hyperspectral data into the patch partition, and obtain the conversion data of the target dimension corresponding to each set of hyperspectral data;

[0089] According to the converted data and the second convolution layer, first feature data is obtained.

[0090] For example, the target dimension may be three-dimensional, and the hyperspectral data input to the input layer is one-dimensional data, which can be converted into three-dimensional data through patch partitioning to improve the model's ability to model the data structure and features.

[0091] Take multiple sets of hyperspectral data including a set of VNIR data and a set of SWIR data as an example. VNIR data is accompanied by the wavelength number λ VNIR 176, SWIR data with wavelength number λ VNIR is 256, the encoding of these hyperspectral data can be realized through the input layer, that is, the first feature data is obtained. Specifically, Figure 6 As shown in the figure, the 176 VNIR data can be divided into 16 groups, and the data can be repeated between adjacent groups because the number of wavelengths of the VNIR data is small. In this way, the VNIR conversion data of size 16*16*1 can be obtained, and the final VNIR conversion data of size 16*4*4 can be reconstructed. Figure 5 As shown in the figure, 256 SWIR data can be divided into 16 groups according to 16 groups, so that SWIR conversion data of size 16*16*1 can be obtained, and the final SWIR conversion data of size 16*4*4 can be reconstructed. After that, the reconstructed VNIR conversion data and SWIR conversion data can be input into the second convolutional layer with a kernel of 3*3 to adjust the number of channels, and the VNIR first feature data of size C*H*W and the SWIR first feature data of size C*H*W can be obtained. The VNIR first feature data and the SWIR first feature data can be connected along the channel dimension to obtain the first feature data of size 2C*H*W.

[0092] In step S1022, the first feature data is input into the feature extraction layer to obtain the second feature data.

[0093] Among them, the second feature data is the fused feature data output by the last interleaved group feature extraction module in the feature extraction layer. In this way, the deep fusion of hyperspectral data can be achieved through the feature extraction layer, thereby improving the reliability of the determined freshness index prediction value. The model structure in the feature extraction layer has been described in detail above and will not be elaborated here.

[0094] In step S1023, the second feature data is input into the output layer of the freshness prediction model to obtain a freshness index prediction value.

[0095] For example, the output layer may include a fully connected layer such as Figure 7 As shown in FIG. 1 , the fully connected structure may include a 3*3 third convolutional layer, an adaptive average pooling layer, and a linear layer. By inputting the fused feature data into the fully connected layer, the freshness index prediction values ​​corresponding to multiple sets of hyperspectral data can be obtained.

[0096] In this way, based on the freshness prediction model provided by the present invention, data fusion of multiple sets of hyperspectral data can be achieved, and freshness index prediction values ​​with higher reliability can be obtained simply and efficiently, thereby improving the accuracy of the determined chicken freshness.

[0097] In an optional embodiment, the output layer includes fully connected layers of the same number as the types of freshness indicators, and obtaining freshness indicator prediction values ​​corresponding to multiple sets of hyperspectral data according to the second feature data and the output layer of the freshness prediction model may include:

[0098] The second feature data is input into each fully connected layer to obtain the freshness index prediction value of the corresponding type output by each fully connected layer.

[0099] For example, if there are multiple types of freshness indicators, then the number of fully connected outputs is also multiple, that is, the freshness prediction model is a multi-task model. For example, if the freshness indicators include both TVB-N and TVC, then the output layer of the corresponding freshness prediction model can be as follows Figure 4 As shown, it includes a fully connected layer for determining the predicted value of TVB-N and a fully connected layer for determining the predicted value of TVC. In this way, the overall performance of the model can be improved by learning the correlation between TVB-N and TVC.

[0100] Multi-task learning needs to consider the problem of target trade-offs. Specifically, during multi-task training, each task has its own loss function, which reflects the performance of the model on the task. At the same time, the loss function affects the gradient calculation of backpropagation in deep learning. However, multiple loss functions obtain losses of different sizes during training, and the magnitude and amplitude of the gradients may vary greatly, which may cause great interference to the optimization. In order to solve the above problems, it is necessary to consider the importance of different tasks and reasonably balance their weights in the total loss function.

[0101] Therefore, when the output layer includes multiple fully connected layers, the method provided by the present disclosure may further include:

[0102] According to the loss value and weight of each fully connected layer, the model loss value of the freshness prediction model is determined.

[0103] For example, the model loss value L can be determined by formula (1): Total :

[0104] L Total =w1L1+w2L2 (1)

[0105] Among them, L1 is the loss value of the TVB-N prediction value calculated by the mean square error (MSE) function, w1 is the weight corresponding to L1, L2 is the loss value of the TVC prediction value calculated by the mean square error function, and w2 is the weight corresponding to L2.

[0106] As another example, the model loss value L can be determined by formula (2): Total :

[0107]

[0108] Among them, σ1 is the noise variable of L1, and σ2 is the noise variable of L2. Through formula (2), the model can be made to tend to penalize tasks with high loss values ​​and small σ values ​​during the optimization process. Therefore, the weight of the loss value of each task is a dynamic adjustment process, which can improve the accuracy of the output results of the freshness prediction model.

[0109] The feature extraction layer of the freshness prediction model provided in the present disclosure may include multiple feature extraction units, for example, it may include 3 feature extraction units connected in sequence. If the first feature extraction module and the second feature extraction module are MobileViT, the corresponding feature extraction unit may be referred to as an interleaved group transformer block (IGTB), and the corresponding freshness prediction model at this time may be characterized by a CNN+IGTB model. If the first feature extraction module and the second feature extraction module are convolutional neural networks, the corresponding feature extraction unit may be referred to as IGC, and the corresponding freshness prediction model at this time may be characterized by a CNN+IGC model.

[0110] The table below shows Used to characterize the fitting effect on the validation set. It is used to characterize the fitting effect on the prediction set, RMSEC is used to characterize the root mean square deviation on the verification set, and RMSEP is used to characterize the root mean square deviation on the prediction set.

[0111] Table 1 shows the prediction results of TVB-N and TVC using hyperspectral data and single-task CNN+IGTB model, and using hyperspectral data and multi-task CNN+IGTB model, respectively.

[0112] Table 1

[0113]

[0114] Based on Table 1, it can be seen that the single-task CNN+IGTB model achieved 0.8877 and 0.9368 for TVB-N and TVC respectively. In contrast, the multi-task CNN+IGTB model is more suitable for TVB-N and TVC. The data show that multi-task learning can improve the generalization ability and learning efficiency of the model by sharing model parameters, enabling the model to learn and optimize multiple related tasks at the same time.

[0115] The prediction tasks of TVB-N and TVC are somewhat related, so the multi-task learning model can better utilize the relevant information between tasks, thereby improving the prediction performance. In addition, because parameter sharing and interaction between tasks can help the model better cross the local optimal point and find the global optimal solution, multi-task learning can also reduce the risk of the model falling into the local optimal point. Therefore, the prediction results based on the multi-task model are better than those based on the single-task model, especially when the data set is limited.

[0116] In addition, compared to the single-task model, which requires two separate independent trainings to obtain two independent models for predicting TVB-N and TVC, the multi-task model only needs to be trained once to obtain a complete model that can output the predicted values ​​of two indicators at the same time, with less training and operating costs. This is of great significance for efficiency and cost control in practical applications. In addition, multi-task learning is conducive to improving the versatility and generalization ability of the model, because the model can jointly learn feature representations suitable for a variety of situations when learning different tasks, can cope with complex practical scenarios, and improve the accuracy of prediction results. Therefore, it is preferred that the output layer of the freshness prediction model provided by the present disclosure includes multiple fully connected layers, and each fully connected layer outputs a predicted value of a freshness indicator.

[0117] In order to verify the effectiveness of the freshness prediction model provided by the present disclosure, multiple parallel experiments can be carried out using the same hyperspectral data. Table 2 shows the results of predicting TVB-N and TVC using the multi-task CNN model, the multi-task CNN+IGC model, and the multi-task CNN+IGTB model based on the hyperspectral data including VNIR data and SWIR data.

[0118] Table 2

[0119]

[0120] For the prediction of TVB-N, it can be observed from Table 2 that the multi-task CNN model in the related art performs the worst. is 0.8627, is 0.8781. This phenomenon may be due to the fact that the limited training samples fail to provide enough information for the deep learning model to learn. At the same time, the simple structure of the model may also lead to insufficient learning ability. In this disclosure, we can integrate the IGC module into the multi-task CNN to form a multi-task CNN+IGC model, and the prediction performance of the model is significantly improved. and The results show that the IGC module can achieve deep interaction between VNIR and SWIR data, thereby mining more valuable correlation features. In addition, we also provide a multi-task CNN+IGTB model to obtain the best TVB-N prediction results. and The IGTB module integrates the IGC module and the MobileViT module, which not only realizes the feature extraction and fusion of the two spectral data, but also captures the long-distance feature relationship and important features of the two spectra through Transformer. Compared with other models, the comparison of standard deviations shows that the multi-task CNN+IGTB model is more stable in predicting TVB-N content, and the standard deviation is significantly reduced.

[0121] For TVC prediction, the multi-task CNN+IGC model achieved a score of 0.9342. and 0.9377 The multi-task CNN+IGTB model further improves the prediction ability of TVC. It reaches 0.9499, which is 4.22% and 1.30% higher than the multi-task CNN model and the multi-task CNN+IGC model respectively.

[0122] The contents of Table 2 show that the Transformer structure of the IGTB module effectively captures the long-distance feature relationship between spectral data, thereby providing the model with a deeper understanding and prediction capability. These results further verify the effectiveness and potential of deep learning and Transformer models in complex data prediction. Therefore, the first feature extraction module and the second feature extraction module of the freshness prediction model provided by the present disclosure can be preferably MobileViT.

[0123] As mentioned above, the wavelength ranges corresponding to different sets of hyperspectral data can be the same or different. Table 3 shows the prediction results of TVB-N and TVC in three cases: the two sets of hyperspectral data input to the multi-task CNN+IGTB model are VNIR data (single-source VNIR data), the two sets of hyperspectral data input to the multi-task CNN+IGTB model are SWIR data (single-source SWIR data), and the two sets of hyperspectral data input to the multi-task CNN+IGTB model are VNIR data and SWIR data (multi-source VNIR+SWIR data).

[0124] Table 3

[0125]

[0126] For the prediction of TVB-N, the single-source VNIR data and SWIR data obtained similar prediction results. When using multi-source VNIR+SWIR data as input, better results of TVB-N prediction are obtained. is 0.9040 and RMSEP is 2.1988. For the prediction of TVC, the single-source SWIR data is 0.8797, and the single-source VNIR data When using multi-source VNIR+SWIR data as input, better results of TVC prediction are obtained. Compared with single-source VNIR data and single-source SWIR data All have been improved.

[0127] VNIR data and SWIR data contain different band information respectively, and these two bands contain complementary information. The input of multi-source data, that is, the obtained different groups of hyperspectral data corresponding to hyperspectral data of different wavelength ranges, enables the deep learning architecture inside the multi-task CNN+IGTB model to make full use of the complementarity of VNIR and SWIR. First, the features of different data sources can be fully integrated, and the model can better understand and characterize the complex characteristics of spectral data through effective interaction and extraction. This mechanism of data fusion and feature interaction enables the multi-task CNN+IGTB model to achieve superior prediction performance under multi-source data input. Secondly, the multi-task CNN+IGTB model can effectively use the Transformer module to mine multi-source data and learn richer and more complex feature representations. By cross-learning the complementary information of VNIR and SWIR data, a comprehensive grasp of spectral features is achieved, thereby improving the learning ability of complex spectral features, which is the key reason for its excellent results under multi-source data input. Therefore, it is preferred that different groups of hyperspectral data in the present disclosure correspond to hyperspectral data of different wavelength ranges, that is, hyperspectral data of multiple sources is obtained.

[0128] Table 4 shows the results of outputting TVB-N and TVC for different chemical record models and the multi-task CNN+IGTB model provided by the present disclosure when different input data are used. The data in Table 4 can further clarify the reliability of the freshness prediction model provided by the disclosure. Among them, the chemical record model includes a partial least squares regression (PLSR) model, a principal component regression (PCR) model, and a multiple linear regression (MLR) model.

[0129] Table 4

[0130]

[0131] For the prediction of TVB-N, the optimal chemometric models using single-source VNIR data and single-source SWIR data are and However, their corresponding optimal processing methods are completely different, which means that the chemometric method needs to continuously conduct trial and error experiments on the processing methods under different data sources, which is not conducive to the application and promotion of the model. At the same time, the performance of these optimal models is better than that of the CNN+IGTB model using the same data source. The chemometric model showed different degrees of improvement compared with single-source data for multi-source data combined with traditional fusion strategies. However, the prediction performance of the chemometric model was significantly worse than that of the CNN+IGTB model using multi-source data. Higher than stoichiometric models and does not require any manual intervention in the pre-processing process.

[0132] For predicting TVC, the PLSR model combined with multi-source data is better than single-source data, where multi-source data obtains the best PLSR model The performance of the PCR model combined with multi-source data is similar to that of single-source data. This may be because the PCR model failed to remove noise and redundancy from the multi-source data and did not fully utilize the complementary information of the two spectra. The PCR model combined with multi-source data obtained the optimal PCR model However, the MLR model combined with multi-source data did not achieve better results than single-source data. The reason may be that the feature extraction and fusion capabilities of the MLR model are insufficient, and the processing method used is not globally optimal. Overall, when the CNN+IGTB model takes multi-source data as input, it obtains the best result for predicting TVC.

[0133] Unlike chemometric methods, the deep learning model provided by the present disclosure can automatically learn and extract high-level features from the data. This means that the deep learning model can better adapt to different features and patterns when processing complex spectral data without relying on specific preprocessing processes. As a deep learning model, the CNN+IGTB model takes the original VNIR data and SWIR data as input, automatically realizes the interaction and feature extraction of the two spectra through the network structure, and outputs the predicted values ​​of TVB-N and TVC at the same time. The CNN+IGTB model omits the tedious trial and error process of finding the optimal spectral processing method for TVB-N and TVC respectively, realizes end-to-end prediction, and improves the prediction efficiency and the accuracy of the prediction results.

[0134] Based on the same inventive concept, the present disclosure also provides a chicken freshness detection device based on spectral fusion. Figure 8 is a block diagram of a chicken freshness detection device 800 based on spectral fusion provided by an exemplary embodiment of the present disclosure. Figure 8 The chicken freshness detection device 800 based on spectrum fusion may include:

[0135] A first acquisition module 801 is used to acquire multiple sets of hyperspectral data of chicken;

[0136] The second acquisition module 802 is used to input multiple groups of hyperspectral data into the freshness prediction model to obtain the freshness index prediction value, wherein the feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, and the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine the fusion feature data according to the regrouping result of the single group of spectral feature data, and each regrouping result includes the features of different single groups of spectral feature data from the corresponding main group module;

[0137] The determination module 803 is used to determine the freshness of the chicken according to the predicted value of the freshness index.

[0138] In the above technical solution, multiple groups of hyperspectral data are input into the freshness prediction model to obtain the predicted value of the freshness index; the freshness of the chicken is determined according to the predicted value of the freshness index. In this way, the freshness prediction model can quickly obtain the predicted value of the freshness index under non-laboratory conditions, improve the efficiency of determining the freshness of the chicken, and meet the detection needs of large quantities. The feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, and the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine the fusion feature data according to the regrouping result of the single group of spectral feature data, and each regrouping result includes the features of different single groups of spectral feature data from the corresponding main group module. In this way, the acquired hyperspectral data can be deeply fused to improve the reliability of the determined freshness index prediction value, thereby improving the accuracy of the determined chicken freshness.

[0139] Optionally, the main group module includes a main partition module and a first feature extraction module; the second acquisition module 802 includes:

[0140] A first determination submodule is used to determine the main partition characteristic data of each main partition according to the characteristic data input to the main group module and the main partition module, wherein the number of main partitions is the same as the number of groups of hyperspectral data, and each main partition characteristic data corresponds to a group of hyperspectral data;

[0141] The second determination submodule is used to input each main partition feature data into the corresponding first feature extraction module to determine the corresponding single set of spectral feature data.

[0142] Optionally, the sub-group module includes a sub-partition module and a second feature extraction module; the second acquisition module 802 includes:

[0143] A third determination submodule is used to determine sub-partition feature data of each partition according to a plurality of single-group spectral feature data output by the sub-partition module and the corresponding main group module, wherein each partition feature data includes features of different single-group spectral feature data having the same channel dimension and coming from the corresponding main group module;

[0144] The fourth determination submodule is used to determine fusion feature data according to the sub-region feature data and the second feature extraction module.

[0145] Optionally, the third determining submodule includes:

[0146] A fifth determination submodule, used for reconstructing each single set of spectral feature data;

[0147] A sixth determination submodule, used to determine sub-partition feature data of each partition according to the sub-partition module and the channel dimension of the reconstructed single set of spectral feature data;

[0148] The sixth determination submodule is used to reconstruct each single set of spectral feature data in the following manner:

[0149] According to the number of channels of the single set of spectral feature data, determine the number of channels and height of the reconstructed single set of spectral feature data, wherein the product of the number of channels and height of the reconstructed single set of spectral feature data is the number of channels of the single set of spectral feature data before reconstruction;

[0150] The width of the reconstructed single set of spectral feature data is determined according to the height and width of the single set of spectral feature data.

[0151] Optionally, the first feature extraction module is a mobile visual transformer, and the second feature extraction module is a mobile visual transformer; the number of second feature extraction modules is determined based on the number of attention mechanisms and the number of sub-partitions in each second feature extraction module, and each sub-partition feature data corresponds to an attention mechanism.

[0152] Optionally, the feature extraction unit further includes a first convolution layer, which is used to convolve the feature data input to the feature extraction unit, and input the obtained convolution result to the interleaved group feature extraction module.

[0153] Optionally, the second acquisition module 802 includes:

[0154] A first acquisition submodule is used to input multiple sets of hyperspectral data into an input layer of a freshness prediction model to obtain first feature data;

[0155] A second acquisition submodule, used for inputting the first feature data into the feature extraction layer to acquire second feature data, wherein the second feature data is the fused feature data output by the last interleaved group feature extraction module in the feature extraction layer;

[0156] The third acquisition submodule is used to input the second feature data into the output layer of the freshness prediction model to obtain the freshness index prediction value.

[0157] Optionally, the input layer includes a patch partition and a second convolutional layer; the first acquisition submodule is used to acquire the first feature data in the following manner:

[0158] Input multiple sets of hyperspectral data into the patch partition, and obtain the conversion data of the target dimension corresponding to each set of hyperspectral data;

[0159] According to the converted data and the second convolution layer, first feature data is obtained.

[0160] The output layer includes fully connected layers having the same number as the types of freshness indicators; the third acquisition submodule is used to obtain the freshness indicator prediction values ​​corresponding to the multiple sets of hyperspectral data in the following manner:

[0161] The second feature data is input into each fully connected layer to obtain the freshness index prediction value of the corresponding type output by each fully connected layer.

[0162] Optionally, if there are multiple fully connected layers, the third acquisition submodule is further used to determine the model loss value of the freshness prediction model according to the loss value and weight of each fully connected layer.

[0163] Optionally, different groups of hyperspectral data correspond to hyperspectral data in different wavelength ranges.

[0164] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0165] Fig. 9 1 is a block diagram of a chicken freshness detection device 1900 based on spectrum fusion provided by an exemplary embodiment of the present disclosure. For example, the chicken freshness detection device 1900 based on spectrum fusion can be provided as a server. Fig. 9 The chicken freshness detection device 1900 based on spectrum fusion includes a processor 1922, which may be one or more, and a memory 1932 for storing a computer program executable by the processor 1922. The computer program stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processor 1922 may be configured to execute the computer program to perform the above-mentioned chicken freshness detection method based on spectrum fusion.

[0166] In addition, the chicken freshness detection device 1900 based on spectrum fusion may further include a power supply component 1926 and a communication component 1950, wherein the power supply component 1926 may be configured to perform power management of the chicken freshness detection device 1900 based on spectrum fusion, and the communication component 1950 may be configured to implement communication of the chicken freshness detection device 1900 based on spectrum fusion, for example, wired or wireless communication. In addition, the chicken freshness detection device 1900 based on spectrum fusion may further include an input / output (I / O) interface 1958. The chicken freshness detection device 1900 based on spectrum fusion may operate based on an operating system stored in the memory 1932.

[0167] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the chicken freshness detection method based on spectral fusion are implemented. For example, the non-transitory computer-readable storage medium can be the memory 1932 including the program instructions, and the program instructions can be executed by the processor 1922 of the chicken freshness detection device 1900 based on spectral fusion to complete the chicken freshness detection method based on spectral fusion.

[0168] In another exemplary embodiment, a computer program product is also provided, which includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above-mentioned chicken freshness detection method based on spectral fusion when executed by the programmable device.

[0169] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0170] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0171] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A chicken freshness detection method based on spectral fusion, characterized in that: include: Obtain multiple sets of hyperspectral data of chicken; Input the multiple groups of hyperspectral data into a freshness prediction model to obtain a freshness index prediction value, wherein the feature extraction layer of the freshness prediction model includes at least one feature extraction unit, the feature extraction unit includes an interlaced group feature extraction module, and the interlaced group feature extraction module includes a main group module and a secondary group module; the main group module is used to determine a single group of spectral feature data; the secondary group module is used to determine fusion feature data according to a regrouping result of the single group of spectral feature data, and each regrouping result includes features of different single groups of spectral feature data from the corresponding main group module; The freshness of the chicken is determined according to the predicted value of the freshness index.

2. The method according to claim 1, characterized in that The main group module includes a main partition module and a first feature extraction module; The determining of a single set of spectral characteristic data comprises: Determine the main partition characteristic data of each main partition according to the characteristic data input to the main group module and the main partition module, wherein the number of the main partitions is the same as the number of groups of the hyperspectral data, and each of the main partition characteristic data corresponds to a group of hyperspectral data; Each of the main partition feature data is input into the corresponding first feature extraction module to determine a corresponding single set of spectral feature data.

3. The method according to claim 1, characterized in that The sub-group module includes a sub-partitioning module and a second feature extraction module; The step of determining the fused feature data according to the regrouping result of the single set of spectral feature data comprises: Determine sub-regional feature data for each sub-region according to the multiple single-group spectral feature data output by the sub-regional module and the corresponding main group module, wherein each sub-regional feature data includes features of different single-group spectral feature data with the same channel dimension and from the corresponding main group module; According to the sub-region feature data and the second feature extraction module, fusion feature data is determined.

4. The method according to claim 3, characterized in that The method of determining sub-partition feature data of each partition according to the plurality of single-group spectral feature data output by the sub-partition module and the corresponding main group module comprises: Reconstructing each of the single sets of spectral feature data; Determine sub-partition feature data for each partition according to the sub-partition module and the channel dimension of the reconstructed single set of spectral feature data; Wherein, reconstructing each of the single sets of spectral feature data comprises: Determine the number of channels and height of the reconstructed single set of spectral feature data according to the number of channels of the single set of spectral feature data, wherein the product of the number of channels and height of the reconstructed single set of spectral feature data is the number of channels of the single set of spectral feature data before reconstruction; The width of the reconstructed single set of spectral feature data is determined according to the height and width of the single set of spectral feature data.

5. The method according to claim 3, characterized in that: The first feature extraction module is a mobile visual transformer; the second feature extraction module is a mobile visual transformer; The number of the second feature extraction modules is determined according to the number of attention mechanisms and the number of sub-partitions in each of the second feature extraction modules, and each sub-partition feature data corresponds to one attention mechanism.

6. The method according to claim 1, characterized in that The feature extraction unit also includes a first convolution layer, which is used to convolve the feature data input to the feature extraction unit, and input the obtained convolution result to the interleaved group feature extraction module.

7. The method according to any one of claims 1 to 6, characterized in that The step of inputting the plurality of sets of hyperspectral data into a freshness prediction model to obtain a freshness index prediction value includes: Inputting the multiple sets of hyperspectral data into the input layer of the freshness prediction model to obtain first feature data; Inputting the first feature data into the feature extraction layer to obtain second feature data, wherein the second feature data is fused feature data output by the last interleaved group feature extraction module in the feature extraction layer; The second feature data is input into the output layer of the freshness prediction model to obtain the freshness index prediction value.

8. The method according to claim 7, characterized in that The input layer includes a patch partition and a second convolution layer; the first feature data is obtained according to the input layer of the multiple sets of hyperspectral data and the freshness prediction model, including: Inputting the plurality of sets of hyperspectral data into the patch partition, and obtaining conversion data of the target dimension corresponding to each set of hyperspectral data; Acquire the first feature data according to the conversion data and the second convolutional layer; The output layer includes fully connected layers having the same number as the types of freshness indicators; the step of obtaining freshness indicator prediction values ​​corresponding to the multiple sets of hyperspectral data according to the second feature data and the output layer of the freshness prediction model includes: The second feature data is input into each of the fully connected layers to obtain a freshness index prediction value of a corresponding type output by each of the fully connected layers.

9. A chicken freshness detection device based on spectral fusion, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 8.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Cold fresh beef freshness rapid detection model training method and freshness detection method

    CN119989178A