Identification method of nutrient deficiency symptoms in citrus based on enhanced Raman spectroscopy and image assistance

Through enhanced Raman spectroscopy and image-assisted recognition methods, combined with genetic algorithms and convolutional neural networks, the accuracy problem of identifying early citrus deficiency symptoms has been solved, and effective response and accurate identification of trace element information inside citrus have been achieved.

CN114445817BActive Publication Date: 2024-10-29SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210089310.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-25
Publication Date
2024-10-29
Estimated Expiration
2042-01-25

AI Technical Summary

Technical Problem

It is difficult to accurately identify the early symptoms of nutrient deficiency in citrus with existing technology. The accuracy of traditional visible light image recognition methods is low, and spectral technology cannot effectively reflect the trace element information inside citrus.

Method used

An identification method based on enhanced Raman spectroscopy and image assistance is adopted. By acquiring enhanced Raman spectrum data and visible light images of citrus leaves, a corresponding identification network is constructed, and the final identification result is obtained using weighted summation. Genetic algorithms and multi-layer perceptrons are combined and EfficientNet convolutional neural network for feature extraction and classification.

Benefits of technology

It improves the identification accuracy of citrus deficiency symptoms, can effectively reflect the trace element information inside citrus, and improves the ability to identify early nutrient deficiency symptoms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114445817B_ABST
    Figure CN114445817B_ABST
Patent Text Reader

Abstract

The invention discloses a method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance, which belongs to the field of artificial intelligence and Raman spectroscopy application. The method comprises: obtaining enhanced Raman spectroscopy data of citrus leaves, constructing an enhanced Raman spectroscopy recognition network for identifying deficiency symptoms; obtaining visible light images of citrus leaves, constructing a visible light image-assisted classification network for identifying deficiency symptoms; respectively using an enhanced Raman spectroscopy recognition network and a visible light image-assisted classification network to identify the deficiency symptoms of the citrus leaves to be identified, and performing weighted summation on the identification results to obtain the final identification result of the citrus leaf deficiency symptoms. The invention amplifies Raman signals through surface enhanced Raman technology to reflect the weak component information inside the leaves; and uses a combination of an enhanced Raman spectroscopy recognition network and a visible light image-assisted classification network to make a comprehensive judgment on the deficiency symptoms, which greatly improves the accuracy of identifying citrus deficiency symptoms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the fields of artificial intelligence technology and Raman spectroscopy application technology, and more specifically to a method for identifying citrus nutrient deficiency symptoms based on enhanced Raman spectroscopy and image assistance. Background Art

[0002] Citrus needs nutrients such as nitrogen, phosphorus, potassium, calcium, magnesium, iron, manganese and copper to grow and bear fruit. The insufficiency or deficiency of any of these nutrients will have an adverse effect on the growth and fruiting of citrus. When there is a serious deficiency, citrus grows slowly, its drought resistance, cold resistance and resistance to diseases and pests are reduced, and its yield and quality decrease. Generally speaking, when citrus lacks a certain element, adding fertilizers containing other nutrients will have little or no effect on improving the growth and fruiting of the tree. Therefore, it is very important to determine which nutrient element citrus lacks in production, but accurate judgment requires content determination in the laboratory, and the measurement process is relatively complicated.

[0003] With the development of artificial intelligence technology, some researchers have combined artificial intelligence technology with images to establish a deep learning-based citrus nutritional status detection system. However, the symptoms of citrus nutrient deficiency are relatively complex, and the appearance of early and mid-stage nutrient deficiency is not obvious, making it difficult to identify with the naked eye. At present, the classification algorithm based on visible light images still cannot achieve a high accuracy rate in identifying citrus nutrient deficiency symptoms. With the continuous development of spectral applications, some researchers use spectral technology to judge citrus nutrition.

[0004] The existing method for measuring citrus nutritional deficiency symptoms is based on the determination of nutrient element content under laboratory conditions. Different deficiency symptoms are judged according to the measured nutrient element content. The process of extracting and measuring elements in this method is complex and highly professional, which is not conducive to promotion. The method combining artificial intelligence technology and visible light images also has certain limitations. Specifically, visible light images can only show information on the surface of citrus. Leaves with early and mid-term deficiency symptoms are not obvious on the surface of citrus, and it is impossible to effectively distinguish different citrus deficiency symptoms. When the surface features are not clearly distinguished, neither domain experts nor existing visible light image recognition networks can identify them with high precision. Although the spectrum can reflect the internal information of citrus to a certain extent, it cannot respond to trace elements inside citrus, and it is impossible to effectively judge the nutritional elements through ordinary spectral technology.

[0005] Therefore, how to accurately identify the early symptoms of nutrient deficiency in citrus and effectively judge the symptoms of nutrient deficiency in citrus is an urgent problem that technicians in this field need to solve. Summary of the invention

[0006] In view of this, the present invention provides a method for identifying nutrient deficiency symptoms in citrus based on enhanced Raman spectroscopy and image assistance. From the perspective of Raman spectroscopy, an enhanced Raman spectrum that can amplify the intensity of Raman spectrum is used to judge the nutrient deficiency symptoms in citrus, and visible light images are used to assist in the judgment of nutrient deficiency symptoms in citrus.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A method for identifying citrus nutrient deficiency symptoms based on enhanced Raman spectroscopy and image assistance, comprising:

[0009] (1) Obtain enhanced Raman spectroscopy data of citrus leaves and construct an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms;

[0010] (2) Obtain visible light images of citrus leaves and construct a visible light image-assisted classification network for citrus nutrient deficiency symptom recognition;

[0011] (3) The enhanced Raman spectroscopy recognition network and the visible light image assisted classification network were used to identify the nutrient deficiency symptoms of citrus leaves, and the recognition results were weighted summed to obtain the final recognition results of citrus nutrient deficiency symptoms.

[0012] Preferably, the method (1) of obtaining enhanced Raman spectroscopy data of citrus leaves specifically comprises:

[0013] Obtain citrus leaves, wash and dry them, and grind them into powder to be tested; mix the powder to be tested with distilled water to prepare a sample solution to be tested; place the sample solution to be tested on a surface enhanced Raman chip, and use a micro-area Raman spectrum acquisition instrument to obtain enhanced Raman spectrum data of the citrus leaves.

[0014] Preferably, the method (1) of constructing an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms specifically comprises the following steps:

[0015] S11, preprocessing enhanced Raman spectroscopy data of citrus leaves;

[0016] S12, using a genetic algorithm to select a band on the preprocessed enhanced Raman spectroscopy data;

[0017] S13. Input the enhanced Raman spectroscopy data after band selection into a multi-layer perceptron for feature extraction, and construct an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms.

[0018] Preferably, the step S11 of preprocessing the enhanced Raman spectroscopy data of citrus leaves specifically includes:

[0019] Processing repeated enhanced Raman spectrum data collected in the same band, accumulating and averaging multiple enhanced Raman spectrum data collected in the same band as the enhanced Raman spectrum value collected in the band;

[0020] The enhanced Raman spectroscopy data after deduplication is interpolated to integer values ​​using the cubic spline interpolation method;

[0021] The enhanced Raman spectroscopy data interpolated to integer values ​​were baseline fitted using a polynomial least squares fitting method, and the curve value after fitting was taken as the preprocessed enhanced Raman spectroscopy data.

[0022] Preferably, the method (2) of constructing a visible light image-assisted classification network for identifying citrus nutrient deficiency symptoms specifically comprises:

[0023] S21. constructing a visible light image training network based on a destruction reconstruction algorithm, and training the visible light image training network using the acquired visible light image, wherein the visible light image training network includes an EfficientNet convolutional neural network model;

[0024] S22. Use the trained visible light image training network to build a visible light image auxiliary classification network for identifying citrus nutrient deficiency symptoms, use a small amount of visible light image data to train the auxiliary classifier network, and adjust the network weights.

[0025] Preferably, the step of constructing a visible light image training network based on a destruction reconstruction algorithm in S21 specifically includes:

[0026] S211, performing adaptation processing on the visible light image, dividing the input visible light image into sub-regions of 6×6 size according to the size of the leaf image;

[0027] S212, performing random masking processing on sub-regions of the visible light image in a destruction module;

[0028] S213, inputting the visible light image data after random masking into the EfficientNet convolutional neural network model to extract characteristic information of deficiency symptoms;

[0029] S214, inputting the extracted nutrient deficiency symptom feature information into the regional alignment network for reconstruction learning, and at the same time, sending the nutrient deficiency symptom feature information into the fully connected layer for adversarial learning and classification;

[0030] S215, constructing an optimal objective function for nutrient deficiency symptom recognition based on the results of reconstruction learning, adversarial learning and classification;

[0031] S216. Use the stochastic gradient descent algorithm and cosine annealing to optimize the optimal objective function, and train the EfficientNet convolutional neural network after the objective function is optimized.

[0032] Preferably, the step S22 specifically includes:

[0033] Using the transfer learning method, the network weights in the trained visible light image training network are retained and loaded into the visible light image auxiliary classification network.

[0034] Preferably, the method (3) of performing weighted summation on the recognition results specifically includes:

[0035] Construct a decision maker, and use it to weight the recognition results of the enhanced Raman spectroscopy recognition network and the visible light image-assisted classification network with a weight of 0.6:0.4 to obtain the final result of citrus deficiency symptom recognition.

[0036] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance, which has the following beneficial effects:

[0037] The present invention uses surface enhanced Raman spectroscopy technology and a surface enhanced Raman chip to amplify Raman signals, which can reflect the weak component information inside the object and collect spectral information with rich waveforms.

[0038] The present invention uses the enhanced Raman spectrum recognition network and the visible light image auxiliary classification network to make a comprehensive judgment on the deficiency symptoms, which can greatly improve the accuracy of deficiency symptom recognition;

[0039] The present invention utilizes a reconstruction and destruction algorithm to train a convolutional neural network, enriches the types of training samples by adding random masking and adaptive region size selection in a destruction module, and uses a stochastic gradient descent SGD+cosine annealing training model, thereby obtaining a classification network with better feature extraction capability than directly training with a convolutional neural network. By utilizing a transfer learning method, the weights of a trained backbone network (EfficientNet) are reloaded into an auxiliary classifier network, and the auxiliary classifier network is trained with a small amount of visible light images to adjust the network weights, thereby obtaining a visible light classification network with good classification performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0041] Figure 1 A schematic diagram of the method provided by the present invention;

[0042] Figure 2 Identification network diagram for the present invention using enhanced Raman and image-assisted classification;

[0043] Figure 3 This is a diagram showing the structure of the enhanced Raman spectroscopy classification network MLP of the present invention;

[0044] Figure 4 A schematic diagram of the process of training the destruction reconstruction algorithm of the present invention;

[0045] Figure 5 A comparison chart of the spectrum collected without using the enhancement technology and the spectrum collected with the enhancement technology;

[0046] In the figure: 3-MLP input layer, 4-MLP first intermediate layer, 5-MLP second intermediate layer, 6-MLP output layer. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] like Figure 1 As shown, the present invention discloses a method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance, comprising:

[0049] (1) Obtain enhanced Raman spectroscopy data of citrus leaves and construct an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms;

[0050] (2) Obtain visible light images of citrus leaves and construct a visible light image-assisted classification network for citrus nutrient deficiency symptom recognition;

[0051] (3) The enhanced Raman spectroscopy recognition network and the visible light image assisted classification network were used to identify the nutrient deficiency symptoms of citrus leaves, and the recognition results were weighted summed to obtain the final recognition results of citrus nutrient deficiency symptoms.

[0052] In order to further optimize the above technical solution, in one embodiment, obtaining enhanced Raman spectroscopy data of citrus leaves specifically includes:

[0053] 1.1 Pick citrus leaves, wash them with clean water and dry them, set the temperature of the dryer to 70 degrees Celsius, place the dried leaves in the dryer, and weigh the leaves using an electronic balance during the drying process until the weight of the leaves no longer changes.

[0054] 1.2 Take the dried leaves and place them in a grinder. Use the grinder to fully grind them to obtain each sample powder. Weigh the same mass of powder from each leaf and place it in a 40 ml dropper and stir to obtain the solution sample to be tested.

[0055] 1.3 Use a rubber-tipped dropper to take a drop of the solution to be tested and place it on the surface-enhanced Raman chip, and then place the surface-enhanced Raman chip on the micro-area Raman spectrum acquisition instrument to collect enhanced Raman spectrum data of citrus leaves.

[0056] In order to further optimize the above technical solution, in one embodiment, constructing an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms specifically includes the following steps:

[0057] S11. Preprocessing the enhanced Raman spectroscopy data of citrus leaves, specifically including:

[0058] Remove duplicate data collected in the same band. The Raman spectrometer collects a large number of bands, and the same band may be collected repeatedly. It is necessary to remove the duplicated data and accumulate and average multiple enhanced Raman spectral data collected in the same band as the spectral value collected in this band.

[0059] The enhanced Raman spectroscopy data without repeated data were interpolated to integer values ​​using the cubic spline interpolation method.

[0060] The polynomial least squares fitting method is used to fit the spectral data interpolated to integer values ​​to remove fluorescence interference and obtain the final enhanced Raman spectral data after preprocessing.

[0061] S12. The pre-processed enhanced Raman spectroscopy data is subjected to band selection using a genetic algorithm. The pre-processed enhanced Raman spectroscopy data has a large number of Raman spectroscopy bands and a large dimension, so a genetic algorithm is used to determine the length of the individual in the genetic algorithm according to the number of extracted features, and the chromosome length is set to 800. Then, a binary population is randomly generated for initialization, where 1 represents the presence of this feature and 0 represents the absence of this feature, ensuring that only 224 points in the chromosome have a binary number of 1, representing that 224 features are selected, and at the same time, the crossover probability is set to a value in the range of 0.7-0.8, and a two-point crossover is used to achieve crossover. Operation, randomly select two crossover points, swap the genes of two parent individuals, and obtain two offspring individuals. The mutation probability is in the range of 0.1-0.2. Use swap mutation, randomly select two positions on the chromosome, swap the gene values ​​of the two positions, and then train and test SVM based on these features. Use the classification accuracy of SVM as the fitness value for iteration. Chromosomes with high fitness values ​​have a better chance of inheriting the next generation until the maximum number of iterations reaches 100 times or the classification accuracy reaches more than 96%. Output the optimal classification accuracy and its corresponding chromosome. The position of 1 in the chromosome is the feature to be selected. Select 224 target bands for the enhanced Raman spectral data. Input the reduced-dimensional Raman spectral data into the multi-layer perceptron model (MLP) for further feature extraction.

[0062] S13. Input the enhanced Raman spectroscopy data after band selection into a multi-layer perceptron for feature extraction, and construct an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms.

[0063] In order to further optimize the above technical solution, in one embodiment, constructing a visible light image-assisted classification network for identifying citrus nutrient deficiency symptoms specifically includes:

[0064] S21. Constructing a visible light image training network based on a destruction reconstruction algorithm, wherein the visible light image training network includes an EfficientNet convolutional neural network model, and training the visible light image training network using the acquired visible light image; specifically including:

[0065] S211, performing adaptation processing on the visible light image, dividing the input visible light image into sub-regions of 6×6 size according to the size of the leaf image;

[0066] S212, performing random masking processing on sub-regions of the visible light image in a destruction module;

[0067] S213, inputting the visible light image data after random masking into the EfficientNet convolutional neural network model to extract characteristic information of deficiency symptoms;

[0068] S214, inputting the extracted nutrient deficiency symptom feature information into the regional alignment network for reconstruction learning, and at the same time, sending the nutrient deficiency symptom feature information into the fully connected layer for adversarial learning and classification;

[0069] S215, constructing an optimal objective function for nutrient deficiency symptom recognition based on the results of reconstruction learning, adversarial learning and classification;

[0070] S216. Use the stochastic gradient descent algorithm and cosine annealing to optimize the optimal objective function, and train the EfficientNet convolutional neural network after the objective function is optimized.

[0071] S22. Use the trained visible light image training network to perform feature extraction and classification, and construct a visible light image-assisted classification network for identifying citrus nutrient deficiency symptoms.

[0072] Specifically, using the transfer learning method, the network weights in the trained visible light image training network are retained and loaded into the visible light image auxiliary classification network.

[0073] In order to further optimize the above technical solution, in one embodiment, weighted summing of the recognition results specifically includes:

[0074] A decision maker was constructed, and the recognition results of the enhanced Raman spectroscopy recognition network and the visible light image-assisted classification network were weighted summed with a weight of 0.6:0.4 to obtain the final result of citrus deficiency symptom identification.

[0075] like Figure 2 As shown, in another embodiment, building a recognition network for enhanced Raman spectroscopy and visible light image auxiliary classification specifically includes:

[0076] The preprocessed enhanced Raman spectral data are input into the spectral feature extraction network. The Raman spectral data has a large number of bands and a large dimension, so a genetic algorithm is used to select 224 bands of interest from the enhanced Raman spectral data. The reduced dimensionality Raman spectral data are input into the multi-layer perceptron model (MLP) for further feature extraction.

[0077] The convolutional neural network EfficientNet is used to replace the backbone network in the damaged reconstruction. After the training is completed, the weights of the backbone network in the damaged reconstruction are loaded onto the neural network model of the visible light auxiliary classifier, and a small amount of visible light image data is used for the final training of the auxiliary classifier network. The neural network model on the trained auxiliary classifier is used to extract features, and the original image is flipped left-right and subjected to random illumination enhancement respectively. The flipped image, the random illumination enhancement image and the original image are simultaneously input into the neural network for feature extraction. Different feature information is extracted according to different input images, and finally the pixel-deficient recognition results of different images are averaged and weighted summed.

[0078] The scoring results of enhanced Raman spectroscopy for each category and the scoring results of visible light-assisted classifier were weighted and summed with a weight of 0.6 to 0.4 to finally obtain the scoring results for each category, and the final judgment was made based on the results.

[0079] like Figure 3 As shown, in the above embodiment, the number of neurons in the input layer of the multilayer perceptron model is 224, the number of neurons in the first intermediate layer is 112, the number of neurons in the second intermediate layer is 56, and the number of neurons in the output layer is 28.

[0080] like Figure 4 As shown, in another embodiment, the visible light image model training process adopts a destruction and reconstruction algorithm, which is a novel fine-grained image recognition model, mainly composed of four parts, namely, a destruction module, a classification network, a region alignment network and an adversarial learning network. The destruction-reconstruction method solves the problem that the basic classification network cannot focus well on the key areas of the sample by introducing a destruction module, a region alignment network and an adversarial learning network. Due to the uneven distribution of the characteristic areas of the sample, in order to enable the network to better learn these characteristic areas, adaptive processing is performed on the destruction module of the destruction and reconstruction algorithm, and the input image is divided into 6×6 sub-areas, increasing the area of ​​the leaf sub-areas, so that the pathological information contained in each leaf sub-area is richer. Considering the size of the data scale, random sub-area masking is added to the original destruction module to prevent the model from memorizing the training data and overfitting. By adding the sub-area masking function, the diversity of the data can be greatly enriched. The EfficientNet convolutional neural network simultaneously considers the depth, width and resolution of the input image of the network, unlike the traditional method of arbitrarily scaling the network dimension, so the present invention uses EfficientNet as the overall backbone network.

[0081] Set the initial image to I, the corrupted image to φ(I), and its corresponding one-to-many label l (category), and the combination is<I,φ(I),l> Used to train the model. The classification network maps the input image into a probability distribution vector C(I, θ cls ), where θ cls Represents all learnable parameters in the classification network. The loss function L of the classification network cls for:

[0082]

[0083] in is the collection of training set images.

[0084] Using damaged images does not always bring useful information for classification. The damage module will introduce noise, and the features learned from these noisy visual patterns are harmful to the classification task. For this reason, an adversarial network is used to prevent the noise patterns caused by overfitting damage blocks from entering the feature space. For an image I, it is divided into N×N sub-regions, each region is marked as R i,j , i and j represent the row and column indices respectively, 1<i, j<N. A one-hot label vector d∈{0,1} is attached to each image, and 0 or 1 is used to indicate whether the image has been corrupted. A discriminator is added as a new branch in the network output layer to determine whether the image I has been corrupted in the following way:

[0085] D(I;θ adv )=softmax(θ adv C(I,θ[1,m]cls))

[0086] Where C(I,θ[1,m]cls) is the feature vector output from the mth layer of the backbone classification network, θ[1,m]cls is the learnable parameter from the 1st layer to the mth layer of the classification network, and θ adv ∈R d×2 is a linear mapping discriminator network loss L adv The calculation method is:

[0087]

[0088] The discriminator is used to distinguish the damaged image from the original image, and then calculate the loss. The discriminator is required to distinguish whether it is a damaged image or an original image to achieve the purpose of removing the noisy visual pattern in the feature domain. cls and L adv Together, they promote “destructive” learning, enhance discriminative local details, and filter out irrelevant features.

[0089] Using the region reconstruction loss L loc The region align network measures the position accuracy of different regions in the image, guiding the base network to model the semantic correlation between regions through end-to-end training:

[0090] M(I)=h(C(I;θ[1,n]cls);θ loc )

[0091] In the model, the two channels in M(I) correspond to the row and column position coordinates respectively, h is the region alignment network, and θ loc is the parameter of the region alignment network. σ(i,j) M in I σ(i,j) (φ(I)), predicted region R (i,j)M in I i,j (I,i,j). These two predictions M σ(i,j) (φ(I)) and M i,j The true value of (I,i,j) is (i,j). Then calculate the region alignment loss L loc , defined as the L1 distance between the predicted coordinates and the original coordinates, the alignment loss L loc The expression is:

[0092] L loc =

[0093] The region reconstruction loss helps locate the main objects in the image and tends to find correlations between sub-regions. Through end-to-end training, the region reconstruction loss can help the classification base network build a deep understanding of the object and model the structural information. Destruction learning mainly helps to learn from discriminative regions, while reconstruction learning helps to rearrange the learned local details according to the semantic correlations between regions.

[0094] In the destruction reconstruction algorithm, the input image is randomly shuffled through the destruction module, and then the feature information is extracted through the backbone network. The extracted feature information is sent to the region alignment network for reconstruction learning, and also sent to the fully connected layer for adversarial learning and classification. Through classification, adversarial and region alignment losses, the network can use enhanced local details and well-modeled object part correlations for fine-grained recognition. After the above learning steps, the loss function is combined to minimize the following objective function:

[0095] L=αL cls +βL adv +γL loc, Among them, α, β, and γ represent the proportion coefficients of classification loss, adversarial loss, and reconstruction loss to the total loss, respectively, and α+β+γ=1.

[0096] When using the gradient descent algorithm to optimize the objective function during network training, the closer to the global minimum of the loss, the smaller the learning rate should be to make the model as close to this minimum as possible. Cosine annealing can control the learning rate through the cosine function to make the model loss closer to the global minimum. In the cosine function, as the x value increases, the cosine value first decreases slowly, then accelerates, and then decreases again.

[0097]

[0098] Slowly decrease. This descent mode can be used in conjunction with the learning rate to produce good results in a very efficient way. In model training, the model is trained by using stochastic gradient descent SGD + cosine annealing to simulate the cyclic learning rate, so as to accelerate the convergence of the model and prevent the model from overfitting. After training, the EfficientNet network has good feature extraction capabilities and can distinguish samples from a fine-grained perspective. Therefore, the backbone weights of the EfficientNet in the destruction and reconstruction are loaded into the network of the auxiliary classifier.

[0099] pass Figure 5 It can be seen from the middle curve that the spectrum curve collected without using the enhancement technology tends to be smoother, and the curve collected by the present invention using the enhancement technology has more obvious characteristic peaks and richer waveforms, which can amplify the signal of the spectrum.

[0100] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0101] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance, characterized in that: The method comprises: (1) Obtain enhanced Raman spectroscopy data of citrus leaves and construct an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms; The step (1) of constructing an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms specifically includes the following steps: S11, preprocessing enhanced Raman spectroscopy data of citrus leaves; S12, using a genetic algorithm to select a band on the preprocessed enhanced Raman spectroscopy data; S13, inputting the enhanced Raman spectroscopy data after band selection into a multi-layer perceptron for feature extraction, and constructing an enhanced Raman spectroscopy recognition network for identifying citrus deficiency symptoms; The step S11 of preprocessing the enhanced Raman spectrum data of citrus leaves specifically includes: Processing repeated enhanced Raman spectrum data collected in the same band, accumulating and averaging multiple enhanced Raman spectrum data collected in the same band as the enhanced Raman spectrum value collected in the band; The enhanced Raman spectroscopy data after deduplication is interpolated to integer values ​​using the cubic spline interpolation method; The enhanced Raman spectroscopy data interpolated to integer values ​​are baseline fitted using a polynomial least squares fitting method, and the curve value after fitting is taken as the enhanced Raman spectroscopy data after preprocessing; (2) Obtain visible light images of citrus leaves and construct a visible light image-assisted classification network for citrus nutrient deficiency symptom recognition; The step (2) of constructing a visible light image-assisted classification network for identifying citrus nutrient deficiency symptoms specifically includes: S21. constructing a visible light image training network based on a destruction reconstruction algorithm, and training the visible light image training network using the acquired visible light image, wherein the visible light image training network includes an EfficientNet convolutional neural network model; S22, using the trained visible light image training network to construct a visible light image-assisted classification network for citrus nutrient deficiency symptom recognition; The step S21 specifically includes: S211, performing adaptation processing on the visible light image, dividing the input visible light image into sub-regions of 6×6 size according to the size of the leaf image; S212, performing random masking processing on sub-regions of the visible light image in a destruction module; S213, inputting the visible light image data after random masking into the EfficientNet convolutional neural network model to extract characteristic information of deficiency symptoms; S214, inputting the extracted nutrient deficiency symptom feature information into the regional alignment network for reconstruction learning, and inputting the nutrient deficiency symptom feature information into the fully connected layer for adversarial learning and classification; S215, constructing an optimal objective function for nutrient deficiency symptom recognition based on the results of reconstruction learning, adversarial learning and classification; S216. Use the stochastic gradient descent algorithm and cosine annealing to optimize the optimal objective function, and train the EfficientNet convolutional neural network after the objective function is optimized; (3) The enhanced Raman spectroscopy recognition network and the visible light image assisted classification network were used to identify the nutrient deficiency symptoms of citrus leaves, and the recognition results were weighted summed to obtain the final recognition results of citrus nutrient deficiency symptoms.

2. The method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance according to claim 1, characterized in that: The step (1) of obtaining enhanced Raman spectroscopy data of citrus leaves specifically includes: Obtain citrus leaves, wash and dry them, and grind them into powder to be tested; mix the powder to be tested with distilled water to prepare a sample solution to be tested; place the sample solution to be tested on a surface enhanced Raman chip, and use a micro-area Raman spectrum acquisition instrument to obtain enhanced Raman spectrum data of the citrus leaves.

3. The method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance according to claim 1, characterized in that: The step S22 specifically includes: Using the transfer learning method, the network weights in the trained visible light image training network are retained and loaded into the visible light image auxiliary classification network.

4. The method for identifying citrus deficiency symptoms based on enhanced Raman spectroscopy and image assistance according to claim 1, characterized in that: The step (3) of performing weighted summation on the recognition results specifically includes: A decision maker was constructed, and the recognition results of the enhanced Raman spectroscopy recognition network and the visible light image-assisted classification network were weighted summed with a weight of 0.6:0.4 to obtain the final result of citrus deficiency symptom identification.

Citation Information

Patent Citations

  • Method for monitoring content of polyurethane prepolymer-NCO on line through Raman spectrum

    CN104764731A

  • Citrus huanglongbing detection method based on fusion of hyperspectrum imaging and chlorophyll fluorescence imaging

    CN110553999A