A few-sample human action recognition method based on multi-dimensional feature fusion

By using millimeter wave radar and multi-dimensional feature fusion technology in human action recognition, combined with the two-stream residual prototype network, the problems of high computational complexity and privacy risks in the existing technology are solved, and high accuracy under small sample data sets is achieved. rate identification and security identification.

CN115937977BActive Publication Date: 2024-09-17ZHEJIANG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211579513.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2024-09-17
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

Existing human action recognition technology relies on large-scale data sets and complex neural networks, which results in high computational complexity, long data collection time, and is not suitable for small sample recognition. In addition, methods based on video images have problems such as privacy risks and large data volumes.

Method used

A multi-dimensional feature fusion method based on millimeter wave radar is used to build a data collection platform to perform background frame difference processing, Fourier transform and feature extraction. Combined with the dual-stream residual prototype network, the calculation amount is reduced and action recognition can be achieved with a small number of samples. .

Benefits of technology

It improves the accuracy and computational complexity of action recognition, achieves high recognition accuracy under small sample data sets, reduces the amount of calculation and enhances privacy and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115937977B
    Figure CN115937977B
Patent Text Reader

Abstract

A method for human motion recognition based on a few samples of multi-dimensional feature fusion, firstly performs background frame difference processing on the intermediate frequency signals of various actions to eliminate static targets and clutter interference, then performs two-dimensional Fourier transform and three-dimensional Fourier transform to obtain distance-speed information and distance-Doppler-azimuth information, then projects and compresses the distance-speed information in the speed dimension direction to obtain a micro-Doppler time-frequency diagram, and at the same time extracts the distance-Doppler-azimuth information from the perspective to obtain a distance-azimuth diagram; in order to reduce the amount of network calculation, the micro-Doppler time-frequency diagram and the distance-azimuth diagram are further converted into binary images, and divided into a training validation set and a test set according to a set ratio; finally, a residual prototype network with dual-stream feature fusion is designed based on metric learning to extract the multi-dimensional features of human motion, and the optimal model is trained and tested, thereby realizing human motion recognition under few sample conditions. The present invention improves the accuracy of motion recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of human motion recognition, and in particular to a few-sample human motion recognition method based on multi-dimensional feature fusion. Background Art

[0002] In recent years, with the rapid development of artificial intelligence technologies such as machine learning and neural networks, human motion recognition technology has become one of the research hotspots in the fields of computer vision, signal processing, pattern recognition, etc. It has broad market prospects and far-reaching social application value in security monitoring, human-computer interaction, safe driving, smart home and intrusion detection.

[0003] At present, the commonly used human motion recognition at home and abroad mainly includes three categories: wearable devices, video images and wireless radio frequency signals. In practical applications, human motion recognition based on wearable sensors is contact-type and must be worn close to the body. It has low universality, and the node energy consumption is limited. There are problems such as physical discomfort and forgetting to actively wear it. Human motion recognition based on video images has the risk of infringing personal privacy and is not suitable for private places such as toilets and bedrooms. It also requires sufficient light and is only effective under line-of-sight conditions. The amount of data that needs to be processed is large, and the overall implementation is relatively complex. In recent years, there have been many studies on human motion recognition methods based on continuous wave (CW) radar, ultra wide band (UWB) radar and frequency modulation continuous wave (FMCW) millimeter wave radar. The radar system with electromagnetic waves as information carrier is an active detection method that is different from the optical system technology and has complementary information. The characteristic information of time, frequency and phase contained in the electromagnetic wave reflects the scattering characteristics and motion state of the target, which verifies the good performance of radar in this field and its robustness, privacy and security. Among them, FMCW millimeter wave radar has a great advantage in human motion perception and recognition due to its low R&D cost, large market demand, short measurement time, low peak-to-average power ratio, and the ability to measure speed and distance at the same time.

[0004] The deep learning algorithms currently widely used for human motion recognition mainly rely on complex neural networks (such as CNN, LSTM, etc.) and large-scale data sets. However, for millimeter-wave radar, the entire motion data collection process is relatively time-consuming, especially the large-scale data sets required by deep learning networks generally take dozens of days or even months to collect, and complex neural networks also have great requirements on computer configuration. Therefore, how to learn and summarize the characteristics of different human motion analogies based on small samples, reduce computational complexity, and thus perform accurate classification and recognition has become an important goal of current research. Summary of the invention

[0005] In order to overcome the shortcomings of existing human action recognition, such as high price, difficult detection, dependence on large data sets and computational complexity, the present invention provides a few-sample human action recognition method based on multi-dimensional feature fusion, which can effectively recognize human actions with very few data sets.

[0006] The technical solution adopted by the present invention is:

[0007] A method for human action recognition based on a small number of samples and multi-dimensional feature fusion, the method comprising the following steps:

[0008] Step 1: Build a millimeter-wave radar information data collection platform and set radar parameters;

[0009] Step 2: The human body stands 2-3m in front of the radar and collects seven kinds of actions. Each action lasts for 2-3 seconds. The millimeter wave radar is used to mix the transmission signal and the reception signal to obtain the intermediate frequency signal, which is stored in the PC in .bin file format.

[0010] Step 3: The intermediate frequency information stored in the above is first subjected to background frame difference processing to remove noise, and then subjected to two-dimensional Fourier transform and three-dimensional Fourier transform to obtain a range Doppler map and a range azimuth map, and then the range Doppler map is projected in the velocity dimension to obtain a range-velocity map;

[0011] Step 4: Convert all the obtained range-velocity spectra and range-azimuth spectra into binary images to reduce the amount of network calculation, and then divide them into training set, validation set and test set;

[0012] Step 5: Input the two feature maps in the training set into the dual-stream residual prototype network, extract the micro-Doppler time features and distance-azimuth features of human motion and fuse them, then train to obtain a parameter model, and then verify the model with the validation set, and save the best model;

[0013] Step 6: Apply the best saved model to the test set to obtain the final human action classification result.

[0014] Furthermore, in step 1, the millimeter wave data acquisition platform used is TI's IWRI443BOOST and DCA1000EVM. The main parameters that need to be set during the acquisition process are: number of signal frames, number of signal chirps per frame, number of ADC sampling points for each chirp signal, signal starting frequency, ADC sampling rate, frequency modulation slope, and number of transmitting and receiving antennas.

[0015] Furthermore, in step 2, the human body stands 2-3 meters in front of the radar and collects 7 actions, specifically squatting (from standing to squatting), walking, standing (from sitting to standing), sitting down (from standing to sitting), raising hands, boxing and bowing (from standing to bending over and bowing), and the action duration is 2-3 seconds.

[0016] Furthermore, in step 3, background frame difference processing is performed on the digital intermediate frequency signal to obtain the distance-Doppler map and distance-azimuth map of the human body movement. The background frame difference method used responds to the change from one frame to another. The peak generated does not necessarily have a lower amplitude, which can not only eliminate the corresponding clutter, but also eliminate additional noise. The process is as follows:

[0017] (3.1) First, the obtained intermediate frequency signal is divided according to the total number of frames set, and then the I / Q data of each frame is processed by frame subtraction technology, that is, the next frame is subtracted from the previous frame. The calculation formula is:

[0018] D q (n,m)=Y q (n,m)-Y q-1 (n,m)

[0019] Among them, Y q (n,m) is the radar data of the qth frame, Y q-1 (n,m) is the radar data of the q-1th frame. The two frames of data are subtracted and the frame difference obtained is D q (n,m) is the calibration frame at time step q, where n and m represent the corresponding numbers on the fast and slow time axes, respectively;

[0020] (3.2) Each frame of data after frame difference processing is Hamming windowed at fast time (row) and slow time (column), and then a two-dimensional Fourier transform is performed to obtain RDM (range-Doppler map). RD(i,j,t) is used to represent the signal power value at the i-th range gate and j-th speed gate of RDM in the t-th frame. Then, the RDM is projected in the speed dimension, that is, the i-th dimension is compressed, and finally the required micro-Doppler map is obtained. The formula for projecting the speed dimension is as follows:

[0021]

[0022] (3.3) The frame-differenced data is subjected to a three-dimensional Fourier transform to obtain the range-Doppler-azimuth information, which is then output by switching the viewing angle to ultimately obtain a range-azimuth map.

[0023] In step 4, all the obtained color micro-Doppler time-frequency images and range-azimuth images are converted into binary images, which can reduce the amount of network calculation, and then divided into a training validation set and a test set according to a set ratio.

[0024] In step 5, the test set data is subjected to feature extraction from the binary micro-Doppler time-frequency diagram and the range angle-degree diagram by the feature extraction module, and then feature fusion is performed, and then the center vector of each type of prototype is calculated and compared to obtain the final classification result. The process is as follows:

[0025] (5.1) First, the micro-Doppler time-frequency map and range-azimuth map of the training set are input into the two-stream residual prototype network proposed in the present invention for training; the two-stream residual prototype network proposed in the present invention removes one convolution block, but adds three residual blocks compared to the original prototype network. Each stream consists of three convolution blocks and three residual blocks, wherein the convolution block consists of a convolution kernel with a convolution kernel size of 3 and a step size of 1, a batch normalization layer, a ReLU activation function, and a pooling layer with a pool size of 2 and a step size of 2. The residual layer is formed by replacing the convolution kernel size in the convolution layer with 1; the residual block consists of three three convolution layers, each of which includes a convolution operation, a batch normalization BN operation, and a ReLU activation operation. The image features are extracted by a convolutional neural network, and then adaptive average pooling is used to remove some unnecessary features, and finally the feature vector of each sample is obtained;

[0026] (5.2) Then, the prototype μ of each category is obtained by calculating the mean of these feature vectors, and its expression is as follows:

[0027]

[0028] Where μ is the category prototype, |S| is the number of samples, and f θ is the feature extraction function, x i is the input sample;

[0029] (5.3) The unknown sample and the obtained prototype center vector are calculated; the Euclidean distance between the two is compared, and the formula for calculating the probability of the unknown sample being judged as each class is as follows:

[0030]

[0031] Where x is the test set sample, X is the true category of sample x, and C X is the prototype center vector of the real category, X′ is all possible categories, is the feature vector of sample x, obtain the distance of each type of prototype, and then select the prototype center closest to it as the final classification result The calculation formula is as follows:

[0032]

[0033] The technical concept of the present invention is as follows: millimeter wave radar has been a very popular research field in recent years. Many scholars have studied human behavior recognition using various signal processing methods and verified the effectiveness of processing signals through Fourier transform. The present invention's method for human action recognition based on a few samples of multi-dimensional feature fusion cleverly combines the binary processed micro-Doppler time-frequency graph, the distance-azimuth graph, and the dual-stream convolutional neural network based on metric learning, and realizes human action recognition with a smaller data set and a lower amount of computation.

[0034] The beneficial effects of the present invention are:

[0035] 1. The micro-Doppler time-frequency map and the distance-azimuth map are combined to enhance the feature extraction capability of each action and improve the accuracy of action recognition;

[0036] 2. By performing binary processing and normalization on the image, the amount of calculation and complexity of calculation are reduced;

[0037] 3. By building an improved residual prototype network with two-stream fusion based on metric learning method for human action recognition, a high recognition accuracy can be achieved even with very small data sets. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 The present invention is a flowchart of the human motion recognition method based on millimeter wave radar.

[0039] Figure 2 1 is a micro-Doppler time-frequency diagram of seven actions defined in an embodiment of the present invention, wherein (a) squatting, (b) walking, (c) standing, (d) sitting, (e) raising hands, (f) boxing, and (g) bowing;

[0040] Figure 3 is a distance-azimuth graph of eight actions defined in an embodiment of the present invention, wherein (a) squatting, (b) walking, (c) standing, (d) sitting, (e) raising hands, (f) boxing, and (g) bowing;

[0041] Figure 4 : is a network structure diagram of the method of the present invention, wherein (a) is a structure diagram of the overall dual-stream fusion network, and (b) is a network structure of a residual block and a convolutional block;

[0042] Figure 5 It is the classification result of the seven actions of the method of the present invention. DETAILED DESCRIPTION

[0043] Below we will explain the preferred embodiments of the present invention in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more simply and quickly understood by those skilled in the art, thereby making a clearer and more explicit division and definition of the protection scope of the present invention.

[0044] Reference Figure 1 to Figure 5 , a few-sample human action recognition method based on multi-dimensional feature fusion, comprising the following steps:

[0045] Step 1: Build a millimeter-wave radar information data collection platform and set radar parameters;

[0046] Step 2: The human body stands 2-3m in front of the radar and collects seven kinds of actions. Each action lasts for 2-3 seconds. The millimeter wave radar is used to mix the transmission signal and the reception signal to obtain the intermediate frequency signal, which is stored in the PC in .bin file format.

[0047] Step 3: The intermediate frequency signal stored in the above is first subjected to background frame difference processing to remove noise, and then two-dimensional Fourier transform and three-dimensional Fourier transform are performed to obtain the range Doppler map and range azimuth map, and then the range Doppler map is projected in the velocity dimension to obtain the micro-Doppler time-frequency map; the background frame difference method responds to the change from one frame to another, and the peak generated does not necessarily have a lower amplitude, and the static response usually has a similar response, so it can not only eliminate the corresponding clutter, but also eliminate additional noise. The process is as follows:

[0048] (3.1) First, the obtained intermediate frequency signal is divided according to the total number of frames set, and then the I / Q data of each frame is processed by frame subtraction technology, that is, the next frame is subtracted from the previous frame. The calculation formula is:

[0049] D q (n,m)=Y q (n,m)-Y q-1 (n,m)

[0050] Among them, Y q (n,m) is the radar data of the qth frame, Y q-1 (n,m) is the radar data of the q-1th frame. The two frames of data are subtracted and the frame difference obtained is D q (n,m) is the calibration frame at time step q, where n and m represent the corresponding numbers on the fast and slow time axes, respectively;

[0051] (3.2) Each frame of data after frame difference processing is Hamming windowed at fast time (row) and slow time (column), and then a two-dimensional Fourier transform is performed to obtain RDM (range-Doppler map); RD(i,j,t) is used to represent the signal power value at the i-th range gate and j-th speed gate of RDM in the t-th frame, and then the RDM is projected in the speed dimension, that is, the i-th dimension is compressed, and finally the required micro-Doppler time-frequency map is obtained. The formula for projecting the speed dimension is as follows:

[0052]

[0053] (3.3) The frame-differenced data is subjected to a three-dimensional Fourier transform to obtain range-Doppler-azimuth information, which is then output by switching the viewing angle to finally obtain a range-azimuth map;

[0054] Step 4: Convert all the obtained color micro-Doppler time-frequency images and range-azimuth images into binary images, which can reduce the amount of network calculation, and then divide the data set according to the ratio of training validation set: test set = 1:4;

[0055] Step 5: Input the two feature maps in the training set into the residual prototype network of the dual stream, extract the micro-Doppler time features and distance-azimuth features of human body movements and fuse them, then train to obtain a parameter model, and then verify this model through the validation set, and save the best model. First, the test set data uses the feature extraction module to extract features from the micro-Doppler time-frequency map and the distance-azimuth map, and then perform feature fusion, and then calculate the center vector of each type of prototype, compare, and obtain the final classification result. The process is as follows:

[0056] (5.1) First, the micro-Doppler time-frequency map and distance-azimuth map of the training set are input into the dual-stream residual prototype network proposed in the present invention for training. Compared with the original prototype network, the dual-stream residual prototype network proposed in the present invention removes one convolution block, but adds three residual blocks. Each stream is composed of three convolution blocks and 3 residual blocks, wherein the convolution block is composed of a convolution kernel with a convolution kernel size of 3 and a step size of 1, a batch normalization layer, a ReLU activation function, and a pooling layer with a pool size of 2 and a step size of 2. The residual layer is formed by replacing the convolution kernel size in the convolution layer with 1; the residual block is composed of 3 three convolution layers, each of which includes a convolution operation, a batch normalization BN operation, and a ReLU activation operation. The image features are extracted by a convolutional neural network, and then adaptive average pooling is used to remove some unnecessary features, and finally the feature vector of each sample is obtained;

[0057] (5.2) Then, the prototype μ of each category is obtained by calculating the mean of these feature vectors, and its expression is as follows:

[0058]

[0059] Where μ is the category prototype, |S| is the number of samples, and f θ is the feature extraction function, x i is the input sample;

[0060] (5.3) The unknown sample and the obtained prototype center vector are calculated; the Euclidean distance between the two is compared, and the formula for calculating the probability of the unknown sample being judged as each class is as follows:

[0061]

[0062] Where x is the test set sample, X is the true category of sample x, and C X is the prototype center vector of the real category, X′ is all possible categories, is the feature vector of sample x, obtain the distance of each type of prototype, and then select the prototype center closest to it as the final classification result The calculation formula is as follows:

[0063]

[0064] Step 6: Apply the above model to the test set to obtain the final human action classification results.

[0065] In this embodiment, a millimeter-wave radar model IWR1443BOOST and a DCA1000EVM data acquisition card from TI are used to transmit the received data to the PC. The overall method recognition process is as follows: Figure 1 The specific implementation site is an open laboratory. We placed the radar data acquisition platform on a table with a height of 1.2m, and people stood about 2 to 3m away from the radar to collect radar signals for seven actions;

[0066] In order to ensure that each action data can be fully collected during each acquisition, the radar acquisition frame number is set to 50 frames, the acquisition time of each frame is set to 40ms, and the acquisition time of each position point is 2 seconds in total. After the acquisition is completed, the data packets containing human motion information are collected; each action can get a .bin file, one action collects 200 sets of samples, and seven actions collect a total of 1400 samples; extract the I / Q action information data of each pair of antennas from the .bin file of each position;

[0067] The IF data was preprocessed using MATLAB software, which included the following two steps: (1) the extracted signal was subjected to background frame difference processing to eliminate the noise caused by the complex background; (2) the data information after frame difference processing was subjected to two-dimensional Fourier transform and velocity-dimensional projection method to obtain the micro-Doppler time-frequency map, and then three-dimensional Fourier transform to obtain the range-azimuth map. The two feature maps were then binary processed to obtain the final image format for input to the network. The two feature maps for each action are shown in Figure 2. Figure 2 and Figure 3 As shown; and the data set is divided according to the ratio of training validation set: test set = 1:3.

[0068] The binary images of the training validation set are subjected to feature extraction and feature fusion by the residual neural network. The residual network structure and specific details are as follows Figure 4As shown in the figure, firstly, a part of the samples are specified as the prototypes of the model for learning, and the prototype vectors of each category are obtained. Then, the feature vectors of each sample to be identified are obtained through metric learning to obtain its vector representation, and then the Euclidean distance is compared with the previously learned prototype vectors. After continuous training, an optimal model is obtained.

[0069] The test set is input into the optimal model of the saved training set for test recognition. Finally, the confusion matrix of the seven human action recognition results in this embodiment is as follows: Figure 5 As shown, the average recognition accuracy rate reaches 94.67%, which verifies the effectiveness of the few-sample human action recognition method based on multi-dimensional feature fusion proposed in the present invention when there are few samples.

[0070] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for human action recognition based on a small number of samples and multi-dimensional feature fusion, wherein the method comprises the following steps: Step 1: Build a millimeter-wave radar information data collection platform and set radar parameters; Step 2: The human body stands 2-3m in front of the radar and collects seven kinds of actions. Each action lasts for 2-3 seconds. The millimeter wave radar is used to mix the transmission signal and the reception signal to obtain the intermediate frequency signal, which is stored in the PC in .bin file format; Step 3: The intermediate frequency signal stored in the above step 2 is first subjected to background frame difference processing to remove noise, and then subjected to two-dimensional Fourier transform and three-dimensional Fourier transform to obtain a range Doppler map and a range azimuth map, and then subjected to velocity dimension projection of the range Doppler map to obtain a range-velocity map; Step 4: Convert all the obtained range-velocity spectra and range-azimuth spectra into binary images to reduce the amount of network calculation, and then divide them into training set, validation set and test set; Step 5: Input the two feature maps in the training set into the dual-stream residual prototype network, extract the micro-Doppler time features and distance-azimuth features of human motion and fuse them, then train to obtain a parameter model, and then verify the model with the validation set, and save the best model; Compared with the original prototype network, the two-stream residual prototype network removes one convolution block but adds three residual blocks; each stream consists of three convolution blocks and three residual blocks, wherein the convolution block consists of a convolution kernel with a convolution kernel size of 3 and a step size of 1, a batch normalization layer, a ReLU activation function, and a pooling layer with a pool size of 2 and a step size of 2, and the residual layer is formed by replacing the convolution kernel size in the convolution layer with 1; the residual block consists of three three convolution layers, each of which includes a convolution operation, a batch normalization BN operation, and a ReLU activation operation; the image features are extracted by a convolutional neural network, and then some unnecessary features are removed by using adaptive average pooling, and finally a feature vector of each sample is obtained; Step 6: Apply the best saved model to the test set to obtain the final human action classification result.

2. The method for human action recognition based on a small number of samples and multi-dimensional feature fusion according to claim 1, characterized in that: In step 1, the millimeter wave data acquisition platform used is TI's IWRI443BOOST and DCA1000EVM. The parameters that need to be set during the acquisition process are: number of signal frames, number of signal chirps per frame, number of ADC sampling points for each chirp signal, signal starting frequency, ADC sampling rate, frequency modulation slope, and number of transmitting and receiving antennas.

3. The method for human action recognition based on a small number of samples and multi-dimensional feature fusion according to claim 1 or 2, characterized in that: In step 2, a human body stands 2-3 meters in front of the radar and collects seven actions, namely squatting, walking, standing, sitting, raising hands, boxing and bowing.

4. The method for human action recognition based on a small number of samples and multi-dimensional feature fusion according to claim 1 or 2, characterized in that: In step 3, background frame difference processing is performed on the digital intermediate frequency signal to obtain a range-Doppler map and a range-azimuth map of the human body movement, and the process is as follows: (3.1) First, the obtained intermediate frequency signal is divided according to the total number of frames set, and then the I / Q data of each frame is processed by frame subtraction technology, that is, the next frame is subtracted from the previous frame. The calculation formula is: D q (n,m)=Y q (n,m)-Y q-1 (n,m) Among them, Y q (n,m) is the radar data of the qth frame, Y q-1 (n,m) is the radar data of the q-1th frame. The two frames of data are subtracted and the frame difference obtained is D q (n,m) is the calibration frame at time step q, where n and m represent the corresponding numbers on the fast and slow time axes, respectively; (3.2) Each frame of data after frame difference processing is Hamming windowed at fast time and slow time, and then a two-dimensional Fourier transform is performed to obtain RDM, i.e., range-Doppler map. RD(i,j,t) is used to represent the signal power value at the i-th range gate and j-th speed gate of RDM in the t-th frame, and then the RDM is projected in the speed dimension, i.e., the i-th dimension is compressed, and finally the required micro-Doppler time-frequency map is obtained. The formula for projecting the speed dimension is as follows: (3.3) The frame-differenced data is subjected to a three-dimensional Fourier transform to obtain the range-Doppler-azimuth information, which is then output by switching the viewing angle to ultimately obtain a range-azimuth map.

5. The method for human action recognition based on a small number of samples and multi-dimensional feature fusion according to claim 1 or 2, characterized in that: In step 4, all the obtained color micro-Doppler time-frequency images and range-azimuth images are converted into binary images, which can reduce the amount of network calculation, and then divided into a training validation set and a test set according to a set ratio.

6. The method for human action recognition based on a small number of samples and multi-dimensional feature fusion according to claim 1 or 2, characterized in that: In step 5, the test set data is subjected to feature extraction from the binary micro-Doppler time-frequency diagram and the distance-angle diagram by the feature extraction module, and then feature fusion is performed, and then the center vector of each type of prototype is calculated and compared to obtain the final classification result. The process is as follows: (5.1) First, the micro-Doppler time-frequency map and range-azimuth map of the training set are input into the two-stream residual prototype network for training; (5.2) Then, the prototype μ of each category is obtained by calculating the mean of these feature vectors, and its expression is as follows: Where μ is the category prototype, |S| is the number of samples, and f θ is the feature extraction function, x i is the input sample; (5.3) The unknown sample and the obtained prototype center vector are calculated; the Euclidean distance between the two is compared, and the formula for calculating the probability of the unknown sample being judged as each class is as follows: Where x is the test set sample, X is the true category of sample x, and C X is the prototype center vector of the real category, X′ is all possible categories, is the feature vector of sample x, obtain the distance of each type of prototype, and then select the prototype center closest to it as the final classification result The calculation formula is as follows: