Cross-target gesture recognition method based on multi-modal fusion
Through the multi-modal fusion gesture recognition method, WiFi and video data are combined for comparative fusion learning and cross-modal generation, which solves the problems of WiFi and video heterogeneity and lack of new user features in gesture recognition, significantly improving the recognition accuracy and robustness.
Patent Information
- Application Number
- CN202410715131.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-04
AI Technical Summary
Existing gesture recognition methods based on WiFi and video have problems with low spatial resolution, illumination changes, and limited viewing angles in recognition accuracy, and it is difficult to solve the heterogeneity between WiFi and video, resulting in gesture recognition when new users join. Recognition accuracy decreases.
A multi-modal fusion cross-target gesture recognition method is adopted. By obtaining WiFi data and video data, comparative fusion learning is performed, gesture features are extracted, and a generation network is used for cross-modal generation. A loss function is constructed to solve the heterogeneity problem and generate WiFi data of target domain users is used to train gesture recognition models to improve recognition accuracy.
It effectively solves the heterogeneity problem between WiFi and video data, improves the accuracy and robustness of gesture recognition, especially when new users join, makes up for the lack of features through cross-modal generation, and significantly improves cross-target tasks. performance.
Smart Images

Figure CN118568663A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of gesture recognition, and in particular, to a cross-target gesture recognition method based on multimodal fusion. Background Art
[0002] In recent years, with the rapid development of deep learning and artificial intelligence, the application prospects of gesture recognition technology in smart home, healthcare, autonomous driving and other fields have become more extensive. The advancement of this technology has led to the continuous improvement of gesture recognition methods, bringing higher accuracy and benefits to various fields. These methods mainly cover various gesture recognition methods such as WiFi-based and video-based.
[0003] Nowadays, with the widespread use of WiFi signals around the world, its functions have expanded from being used only for wireless communications to the field of wireless sensing. The principle of this technology is that WiFi signals will undergo physical phenomena such as reflection, scattering, and diffraction during propagation, forming multiple propagation paths. At the same time, the movement of objects will affect the propagation of signals, thereby changing the phase and amplitude of the channel state information (CSI) in the physical layer of the WiFi signal. Ultimately, by analyzing the changes in channel state information, wireless sensing technology can achieve perception of space and human activities. In order to improve the perception performance of the model, researchers actively explore traditional machine learning algorithms and deep learning-based methods. Traditional machine learning algorithms analyze the time domain and frequency domain features of CSI data, use algorithms such as SVM and random forest to establish classification models, and realize gesture recognition. The deep learning-based method designs a deep neural network model, including multiple convolutional layers, pooling layers, and fully connected layers, to extract and classify behavioral features that are independent of the environment. In addition, some methods use generative models to generate CSI data for different scenarios and different targets to ensure the robustness of the model in different fields. With the rise of deep learning, video-based gesture recognition has made great progress. Most methods use large-scale datasets and deep learning models to achieve accurate recognition by learning the semantic information of gestures in videos. In addition, the introduction of transfer learning and self-supervised learning also enhances the generalization and adaptability of the model. Therefore, video-based gesture recognition methods have broad application prospects and potential in applications such as smart homes and game control.
[0004] Although existing gesture recognition methods based on WiFi and video have achieved good recognition accuracy, since WiFi is perceived through physical phenomena such as reflection, the spatial resolution is low, which in turn affects the recognition ability of WiFi. Although video data has rich spatial information, it is often affected by factors such as lighting changes and limited viewing angles. Therefore, integrating the advantages of the two modalities plays a positive role in improving the accuracy of gesture recognition. With the widespread application of multimodal learning in the field of human-computer interaction, multimodal fusion gesture recognition methods based on WiFi and video have also received widespread attention. However, existing methods find it difficult to solve the heterogeneity between WiFi and video, and when new users join, the gesture recognition accuracy decreases due to the lack of their features. Summary of the invention
[0005] In order to overcome at least one deficiency in the prior art, the present application provides a cross-target gesture recognition method based on multimodal fusion.
[0006] In a first aspect, a cross-target gesture recognition method based on multimodal fusion is provided, comprising:
[0007] Acquire multimodal data, where the multimodal data includes WiFi data and video data, where the WiFi data is WiFi data of a source domain user performing gesture actions, and the video data includes gesture video data of a source domain user performing gesture actions and daily life video data of a target domain user;
[0008] Perform comparative fusion learning on WiFi data and gesture video data of source domain users performing gesture actions to extract gesture features;
[0009] Extract human skeleton point data from the gesture video data of the source domain user when performing gesture actions, and determine the spatial matrix of the source domain user based on the skeleton point data; extract human skeleton point data from the daily life video data of the target domain user, and determine the spatial matrix of the target domain user based on the skeleton point data;
[0010] Based on the generative network, cross-modal generation is performed based on the WiFi data of the source domain users to obtain the WiFi data of the target domain users. During the cross-modal generation process, the loss function is constructed based on the spatial matrix of the source domain users and the spatial matrix of the target domain users.
[0011] The gesture recognition model is trained based on the gesture features and the WiFi data of the target domain user to obtain a trained gesture recognition model;
[0012] The WiFi data of the target domain user to be identified is input into the trained gesture recognition model to obtain the gesture recognition result of the target domain user.
[0013] In one embodiment, the WiFi data and the gesture video data of the source domain user performing the gesture action are compared and fused to learn, and the gesture features are extracted, including:
[0014] Use 2D convolution to extract features from WiFi data to obtain WiFi features;
[0015] 3D convolution is used to extract features from gesture video data to obtain video features;
[0016] The WiFi features and video features are weighted and combined to obtain fusion features;
[0017] Based on the fusion features, the contrastive learning method is used to extract gesture features.
[0018] In one embodiment, human skeleton point data is extracted according to the gesture video data when the source domain user performs the gesture action, and the spatial matrix of the source domain user is determined according to the skeleton point data, including:
[0019] According to the gesture video data, the 3D human posture estimation method is used to extract the 17 skeleton point data of the human body; each skeleton point data includes the coordinates of three dimensions: X, Y and Z;
[0020] The spatial matrix of the source domain user is determined based on the 17 skeleton point data. The spatial matrix of the source domain user includes spatial matrices of three dimensions: X, Y, and Z. The spatial matrix of the X dimension is expressed by the following formula:
[0021]
[0022] Among them, X i ′ ,j is the element value of the i-th row and j-th column in the X-dimensional space matrix, x i is the coordinate of the X dimension in the i-th bone point data, x j It is the coordinate of the X dimension in the jth bone point data.
[0023] In one embodiment, the total loss function in the cross-modal generation process is:
[0024]
[0025] in, is the total loss function, For the first fight against loss, For the second counter loss, is the cycle consistency loss, is the spatial difference loss; 1 , 2 Represent two hyperparameters respectively;
[0026] First confrontation loss Second confrontation loss It is expressed by the following formula:
[0027]
[0028] Among them, G 1 and G 2 For two generators, D y and D X are two discriminators, X is the dataset of source domain users, Y is the dataset of target domain users, x is the sample in X, y is the sample in Y, P data () is the distribution of y, P data () is the distribution of x, E represents the expectation, D Y () indicates inputting y into D Y The output obtained, G 1 () indicates inputting x into G 1 The output obtained, D X () means input x into D X The output obtained, G 2 () indicates that y is input into G 2 The output obtained is;
[0029] Cycle consistency loss It is expressed by the following formula:
[0030]
[0031] in,‖·‖ 1 is 1 norm;
[0032] Spatial difference loss It is expressed by the following formula:
[0033]
[0034] Among them, n represents the number of dimensions, X t ′ is the X-dimensional spatial matrix of the target domain user, X s ′ is the X-dimensional spatial matrix of the source domain user, Y t ′ is the Y-dimensional spatial matrix of the target domain user, Y s ′ is the Y-dimensional spatial matrix of the source domain user, Z t ′ is the Z-dimensional spatial matrix of the target domain user, Z s ′ is the spatial matrix of the Z dimension of the source domain user.
[0035] In one embodiment, the method further comprises:
[0036] De-noising the WiFi data, and determining the starting point and the ending point of the gesture data in the WiFi data, so as to extract the gesture data in the WiFi data;
[0037] The background of the video data is removed, and the starting point and the ending point of the gesture data in the video data are determined to extract the gesture data in the video data.
[0038] In a second aspect, a cross-target gesture recognition device based on multimodal fusion is provided, comprising:
[0039] A data acquisition module is used to acquire multimodal data, where the multimodal data includes WiFi data and video data. The WiFi data is WiFi data when a source domain user performs gesture actions, and the video data includes gesture video data when the source domain user performs gesture actions and daily life video data of a target domain user.
[0040] The contrast fusion learning module is used to perform contrast fusion learning on the WiFi data and the gesture video data of the source domain user performing gesture actions, and extract gesture features;
[0041] A spatial matrix determination module is used to extract human skeleton point data based on the gesture video data of the source domain user when performing gesture actions, and determine the spatial matrix of the source domain user based on the skeleton point data; extract human skeleton point data based on the daily life video data of the target domain user, and determine the spatial matrix of the target domain user based on the skeleton point data;
[0042] A cross-modal generation module is used to perform cross-modal generation based on the WiFi data of the source domain user based on the generation network to obtain the WiFi data of the target domain user. During the cross-modal generation process, the loss function is constructed based on the spatial matrix of the source domain user and the spatial matrix of the target domain user.
[0043] A model training module is used to train a gesture recognition model based on gesture features and WiFi data of target domain users to obtain a trained gesture recognition model;
[0044] The recognition module is used to input the WiFi data of the target domain user to be recognized into the trained gesture recognition model to obtain the gesture recognition result of the target domain user.
[0045] In one embodiment, the contrast fusion learning module is further used for:
[0046] Use 2D convolution to extract features from WiFi data to obtain WiFi features;
[0047] 3D convolution is used to extract features from gesture video data to obtain video features;
[0048] The WiFi features and video features are weighted and combined to obtain fusion features;
[0049] Based on the fusion features, the contrastive learning method is used to extract gesture features.
[0050] In one embodiment, the space matrix determination module is further used to:
[0051] According to the gesture video data, the 3D human posture estimation method is used to extract the 17 skeleton point data of the human body; each skeleton point data includes the coordinates of three dimensions: X, Y and Z;
[0052] The spatial matrix of the source domain user is determined based on the 17 skeleton point data. The spatial matrix of the source domain user includes spatial matrices of three dimensions: X, Y, and Z. The spatial matrix of the X dimension is expressed by the following formula:
[0053]
[0054] Among them, X i ′ ,j is the element value of the i-th row and j-th column in the X-dimensional space matrix, x i is the coordinate of the X dimension in the i-th bone point data, x j It is the coordinate of the X dimension in the jth bone point data.
[0055] In a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned cross-target gesture recognition method based on multimodal fusion is implemented.
[0056] In a fourth aspect, a computer program product is provided, including a computer program / instruction, which, when executed by a processor, implements the above-mentioned cross-target gesture recognition method based on multimodal fusion.
[0057] Compared with the prior art, the present application has the following beneficial effects: the cross-target gesture recognition method based on multimodal fusion of the present application uses a comparative fusion learning method for WiFi data and video data to extract gesture features, effectively solving the heterogeneity of the two modalities, and uses a cross-modal generation method for WiFi data to obtain WiFi data of new users to solve the problem of missing target features due to changes in perceived targets; the method of the present application shows good performance in cross-target tasks and is superior to the currently available multimodal fusion methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The present application may be better understood by referring to the following description given in conjunction with the accompanying drawings, which together with the following detailed description are included in this specification and form a part of this specification. In the drawings:
[0059] Figure 1 A flowchart of a cross-target gesture recognition method based on multimodal fusion according to an embodiment of the present application is shown;
[0060] Figure 2 The experimental scene diagram is shown;
[0061] Figure 3 The performance comparison diagrams of the method of the present application and other four multimodal fusion methods are shown, wherein (a) is a performance comparison diagram of the method of the present application and other four multimodal fusion methods using the collected data set MixGR, and (b) is a performance comparison diagram of the method of the present application and other four multimodal fusion methods using the public data set MM-Fi;
[0062] Figure 4 A performance comparison chart of the method of the present application and a single-modal gesture recognition method is shown;
[0063] Figure 5 The figure shows the performance diagram of gesture recognition of the method of the present application in a cross-target scenario, wherein (a) is a schematic diagram of gesture recognition performance in a cross-target scenario using the collected dataset MixGR, and (b) is a schematic diagram of gesture recognition performance in a cross-target scenario using the public dataset MM-Fi;
[0064] Figure 6 The figure shows the accuracy comparison of cross-target gesture recognition using cross-modal generated WiFi data and non-cross-modal generated WiFi data, where (a) is the accuracy comparison of cross-target gesture recognition using cross-modal generated WiFi data and non-cross-modal generated WiFi data at different orientations, and (b) is the accuracy comparison of cross-target gesture recognition using cross-modal generated WiFi data and non-cross-modal generated WiFi data at the same orientation;
[0065] Figure 7 The figure shows the accuracy comparison of cross-target gesture recognition under contrastive fusion learning method and non-contrastive fusion learning method, wherein (a) is the accuracy comparison of cross-target gesture recognition under contrastive fusion learning method and non-contrastive fusion learning method at different orientations, and (b) is the accuracy comparison of cross-target gesture recognition under contrastive fusion learning method and non-contrastive fusion learning method at the same orientation;
[0066] Figure 8A comparison chart of gesture recognition accuracy under different methods is shown, where (a) is a comparison chart of gesture recognition accuracy under different methods at different locations, and (b) is a comparison chart of gesture recognition accuracy under different methods at the same location;
[0067] Fig. 9 A structural block diagram of a cross-target gesture recognition device based on multimodal fusion according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0068] The exemplary embodiments of the present application will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.
[0069] It is also necessary to explain here that, in order to avoid obscuring the present application due to unnecessary details, only the device structure closely related to the scheme according to the present application is shown in the drawings, while other details that are not closely related to the present application are omitted.
[0070] It should be understood that the present application is not limited to the described implementation forms due to the following description with reference to the accompanying drawings. In this article, where feasible, the embodiments can be combined with each other, features between different embodiments can be replaced or borrowed, and one or more features can be omitted in one embodiment.
[0071] The present application provides a cross-target gesture recognition method based on multimodal fusion. Figure 1 A flowchart of a cross-target gesture recognition method based on multimodal fusion according to an embodiment of the present application is shown. Figure 1 , methods include:
[0072] Step S1, obtaining multimodal data, the multimodal data including WiFi data and video data, the WiFi data is WiFi data when the source domain user performs gesture actions, and the video data includes gesture video data when the source domain user performs gesture actions and daily life video data of the target domain user.
[0073] In terms of data acquisition, WiFi data is obtained by extracting the channel state information (CSI) in its physical layer, which provides valuable information such as the amplitude and phase of the subcarrier. However, due to the interference of environmental noise, CSI becomes unstable, resulting in the inability to accurately reflect the gesture characteristics. Therefore, here, the Butterworth filter is used to denoise the WiFi data. Since the execution of gestures will cause a large fluctuation in the CSI signal, the variance threshold evaluation method is used to determine the starting and ending points of the gesture data in the WiFi data to extract the gesture data in the WiFi data.
[0074] The video data is collected from RGB video. In order to reduce the amount of data while retaining the original gesture features, it is converted into grayscale video. Subsequently, the segmentation method is used to separate the user and the background to eliminate the interference of the background on the gesture features. Then, the optical flow technology is used to calculate the average optical flow intensity of each gesture frame, determine the starting and ending points of the gesture data in the video data, and extract the gesture data in the video data.
[0075] Step S2: performing comparative fusion learning on the WiFi data and the gesture video data of the source domain user performing gesture actions to extract gesture features.
[0076] After data preprocessing, high-quality WiFi and video data are obtained. However, WiFi data is two-dimensional, while video data is three-dimensional, and their data forms are different. Therefore, this step adopts a contrastive fusion learning method to solve the heterogeneity of the two types of data and enable the model to learn the features of different types of gestures.
[0077] Step S3, extracting human skeleton point data based on the gesture video data of the source domain user performing gesture actions, and determining the spatial matrix of the source domain user based on the skeleton point data; extracting human skeleton point data based on the daily life video data of the target domain user, and determining the spatial matrix of the target domain user based on the skeleton point data.
[0078] Step S4, based on the generation network, cross-modal generation is performed according to the WiFi data of the source domain user to obtain the WiFi data of the target domain user; in the cross-modal generation process, the loss function is constructed based on the spatial matrix of the source domain user and the spatial matrix of the target domain user.
[0079] Step S5: training the gesture recognition model based on the gesture features and the WiFi data of the target domain user to obtain a trained gesture recognition model. Here, the gesture recognition model may adopt a traditional network model such as a convolutional neural network (CNN) and a classifier.
[0080] Step S6: input the WiFi data of the target domain user to be identified into the trained gesture recognition model to obtain the gesture recognition result of the target domain user.
[0081] The multimodal fusion cross-target gesture recognition method of this embodiment uses a comparative fusion learning method for WiFi data and video data to extract gesture features, effectively solving the heterogeneity of the two modalities, and uses a cross-modal generation method for WiFi data to obtain WiFi data of new users to solve the problem of missing target features due to changes in perceived targets; the method of this application shows good performance in cross-target tasks and is superior to the currently available multimodal fusion methods.
[0082] In one embodiment, in step S2, the WiFi data and the gesture video data of the source domain user performing the gesture action are compared and fused to learn, and the gesture features are extracted, including:
[0083] Use 2D convolution to extract features from WiFi data to obtain WiFi features;
[0084] 3D convolution is used to extract features from gesture video data to obtain video features;
[0085] The WiFi features and video features are weighted and combined to obtain fusion features;
[0086] Based on the fusion features, the contrastive learning method is used to extract gesture features.
[0087] In the contrastive learning method, any enhanced feature can be selected as an anchor point. During the entire training process, the similarity between features is learned by minimizing the distance between the anchor point and the positive feature while maximizing the distance with the negative feature. Contrastive learning enhances the similarity between features of the same category and highlights the differences between features of different categories. This method helps to better preserve the semantic information of different categories during feature fusion and thus extract gesture features.
[0088] In one embodiment, in step S3, human skeleton point data is extracted according to the gesture video data when the source domain user performs the gesture action, and the spatial matrix of the source domain user is determined according to the skeleton point data, including:
[0089] According to the gesture video data, the 3D human posture estimation method is used to extract the 17 skeleton point data of the human body; each skeleton point data includes the coordinates of three dimensions: X, Y and Z;
[0090] In order to make the connection between the skeleton points closer, the spatial matrix of the source domain user is determined based on the 17 skeleton point data. The spatial matrix of the source domain user includes the spatial matrices of the three dimensions of X, Y and Z. Here, the integration of the spatial matrices of the three dimensions of X, Y and Z can reflect the spatial changes of the gesture; the spatial matrix of the X dimension is expressed by the following formula:
[0091]
[0092] Among them, X i ′ ,j is the element value of the i-th row and j-th column in the X-dimensional space matrix, x i is the coordinate of the X dimension in the i-th bone point data, x j It is the coordinate of the X dimension in the jth bone point data.
[0093] It should be noted that in step S3, human skeleton point data is extracted based on the daily life video data of the target domain user, and the spatial matrix of the target domain user is determined based on the skeleton point data. The specific process is the same as the process of determining the spatial matrix of the source domain user in this embodiment, and will not be repeated here.
[0094] In one embodiment, in step S4, the generative network can learn the distribution law of data and generate data close to the real world, so as to achieve a fake-real effect. Most generative networks are used in the fields of images, texts, etc. In step S4 of this embodiment, the problem of missing features is compensated by the generated WiFi data. In order to meet the needs of cross-target tasks, a cyclic generative adversarial network is used as the backbone, which mainly includes three parts: a generator, a discriminator, and a loss function.
[0095] The generator consists of two parts: G1 and G2. G1 is used to convert source domain WiFi data into target domain WiFi data, while G2 is used to convert target domain WiFi data back to source domain WiFi data. This bidirectional conversion process ensures the integrity and consistency of data in different domains, thereby ensuring the quality of the generated WiFi data. G1 and G2 use a residual network structure to avoid losing gesture features during the generation process.
[0096] The discriminator plays a key role in the generative adversarial network and is responsible for evaluating the authenticity of the generated gesture samples. The discriminator of the source domain and target domain WiFi data is designed in the generative network to distinguish the authenticity of the generated samples in the two domains. The discriminator captures the local and global features of WiFi data through methods such as convolution and normalization, and then uses these features to evaluate the authenticity of the generated WiFi signal.
[0097] The loss function consists of three parts: adversarial loss, cycle consistency loss, and spatial difference loss. The adversarial loss measures the difference between the WiFi data generated by the generator and the real WiFi data. By continuously optimizing the generator, the data generated by it gradually approaches the real data, thereby deceiving the discriminator. The cycle consistency loss ensures that the generated WiFi data can be restored to the original data after passing through generator G1 and generator G2, which means that the generator must not only generate realistic WiFi data, but also retain the gesture features in the WiFi data. The spatial difference loss calculates the difference of the spatial matrix. However, directly subtracting the matrix cannot effectively highlight the significant changes in spatial features. Therefore, the mean square error of the matrix is used to achieve this goal.
[0098] The total loss function in the cross-modal generation process is:
[0099]
[0100] in, is the total loss function, For the first fight against loss, For the second counter loss, is the cycle consistency loss, is the spatial difference loss; 1 , 2 Represent two hyperparameters respectively;
[0101] First confrontation loss Second confrontation loss It is expressed by the following formula:
[0102]
[0103] Among them, G 1 and G 2 For two generators, D Y and D X are two discriminators, X is the dataset of source domain users, Y is the dataset of target domain users, x is the sample in X, y is the sample in Y, P data () is the distribution of y, P data () is the distribution of x, E represents the expectation, D Y () indicates inputting y into D Y The output obtained, G 1 (x) means inputting x into G 1 The output obtained, D X (x) means inputting x into D X The output obtained, G 2 (y) means input y into G 2 The output obtained; D Y (G1 (x)) represents the G 1 (x) Input to D Y The output obtained, D X (G 2 (y)) represents the 2 (y) Input to D X The output obtained.
[0104] Cycle consistency loss It is expressed by the following formula:
[0105]
[0106] in,‖·‖ 1 is 1 norm;
[0107] Spatial difference loss It is expressed by the following formula:
[0108]
[0109] Where n represents the number of dimensions, X′ t is the X-dimensional spatial matrix of the target domain user, X′ s is the X-dimensional spatial matrix of the source domain user, Y′ t is the Y-dimensional spatial matrix of the target domain user, Y′ s is the Y-dimensional spatial matrix of the source domain user, Z′ t is the Z-dimensional spatial matrix of the target domain user, Z′ s is the spatial matrix of the Z dimension of the source domain user.
[0110] In order to further verify the effectiveness of the cross-target gesture recognition method based on multimodal fusion in this application, the following experimental analysis was carried out.
[0111] The proposed cross-target gesture recognition method is evaluated using the collected multimodal dataset MixGR and the public multimodal dataset MM-Fi. As shown in Table 1, MixGR contains two modalities: WiFi and video, and MM-Fi contains five modalities: WiFi, video, depth video, lidar, and millimeter wave radar.
[0112] Table 1 Dataset
[0113] Dataset Modal volunteer Gesture categories Number of samples MixGR WiFi, Video 10*5 6 1800 MM-Fi WiFi, video, deep video, lidar, millimeter wave radar 10*4 9 8640
[0114] 1. Dataset Introduction
[0115] The MixGR dataset was collected by 10 volunteers (including 3 females) in 5 different orientations, with each volunteer performing 6 gestures. Figure 2The experimental scene diagram is shown. During the data collection process, a camera device was used to record the gesture videos of volunteers in different directions. In addition, two microcomputers equipped with Intel 5300 network cards were used as WiFi transmitters and receivers respectively. The transmitter and receiver were equipped with three antennas respectively, and each pair of antennas recorded 30 subcarrier data, so each WiFi data collected a total of 270 subcarriers.
[0116] MM-Fi includes data from five modalities: video, depth video, WiFi, lidar, and millimeter wave radar. The dataset was collected in four different environments, with 10 volunteers performing 27 activities (including 9 gestures) in each environment, and each activity contained 297 frames. Two modalities were mainly used for experiments: video and WiFi. Video data was collected using a high-precision camera with a resolution of 640x480, which provides rich visual information. WiFi data was collected using TP-Link N750 and Atheros CSI tools on the 5GHz band with a bandwidth of 40MHz. The reflector and receiver consist of three pairs of antennas, each pair of antennas records 114 subcarriers, so the WiFi data that can be collected is 3x114x10. Finally, 9 gesture data from the 27 activities were selected for experiments.
[0117] 2. Experimental Setup
[0118] First, the cross-target gesture recognition method based on WiFi and video multimodal fusion proposed in this application is compared with four other multimodal fusion methods, namely Attnsense, Deepsense, Concat and Cosmo. Secondly, in order to prove the effectiveness of the method in heterogeneous multimodal fusion, it is compared with WiGr and Snapture, which are WiFi-based and video-based unimodal gesture recognition methods. WiGr uses a dual-path prototype network for WiFi cross-domain gesture recognition, and Snapture develops a gesture recognition network that combines static and dynamic gestures. At the same time, in order to evaluate the performance of the method in the cross-target gesture recognition scenario, each user is tested as a target domain user in turn.
[0119] In the method of cross-modal generation of WiFi data from video data, the WiFi data of the target domain users is cross-modally generated through the gesture data of 9 people. Subsequently, the quality of the generated WiFi data of the target domain users is evaluated using SenseFi, a benchmark library for WiFi perception research based on deep learning. During the test, the generated WiFi data of the target domain users is randomly mixed with the real WiFi data. Finally, the mixed WiFi data is input into the SenseFi benchmark for testing.
[0120] The methods proposed in this application mainly involve contrastive fusion learning methods and cross-modal generation methods. In order to prove the effectiveness of these two methods, ablation experiments were designed to evaluate the performance of the two methods. For the contrastive fusion learning method, the accuracy of cross-target gesture recognition with and without contrastive fusion learning was compared; for the cross-modal generation method, cross-target gesture recognition experiments using only contrastive fusion learning and contrastive fusion learning combined with cross-modal generation were designed, and the accuracy of cross-target gesture recognition of target domain user WiFi data generated by contrastive fusion learning combined with generative adversarial network GAN was compared.
[0121] 3. Experimental environment
[0122] In the experimental environment, Python 3.8 was selected as the programming language, and pytorch v1.8 was used as the backend framework. The server infrastructure includes an Intel(R) Xeon(R) CPU E5-2698 v4 processor, four Tesla V100 graphics processors and 256GB memory. The Ubuntu 20 operating system was used. Such powerful hardware and software configuration provides sufficient computing resources and performance, allowing the training and inference tasks to be completed smoothly.
[0123] 4. Evaluate the results
[0124] In the experiment, the same software, hardware, and data division method were used to ensure the fairness of the experiment. Figure 3 The performance comparison diagram of the method of the present application and other four multimodal fusion methods is shown, where (a) is a performance comparison diagram of the method of the present application and other four multimodal fusion methods using the collected data set MixGR, and (b) is a performance comparison diagram of the method of the present application and other four multimodal fusion methods using the public data set MM-Fi; the experimental results show that the gesture recognition accuracy of the method of the present application (hereinafter referred to as MixGR) is better than that of the other four multimodal fusion methods. In addition, in the collected data set MixGR and the public MM-Fi data set, the gesture recognition accuracy of the method of the present application exceeds 90%.
[0125] Figure 4 The performance comparison chart of the present invention method and the single-modal gesture recognition method is shown; compared with the WiFi-based gesture recognition method WiGr and the video-based gesture recognition method Snapture, the gesture recognition accuracy of the present invention method MixGR is improved by 21.74% and 18.21% respectively. By fusing WiFi data and video data, the present invention method MixGR achieves better results in gesture recognition accuracy, demonstrating its multimodal fusion learning capability.
[0126] Figure 5The figure shows the performance diagram of gesture recognition of the method of the present application in a cross-target scenario, wherein (a) is a schematic diagram of gesture recognition performance in a cross-target scenario using the collected dataset MixGR, and (b) is a schematic diagram of gesture recognition performance in a cross-target scenario using the public dataset MM-Fi; Figure 5 The accuracy of cross-target gesture recognition when each user is regarded as a target domain user is demonstrated, highlighting its effectiveness in cross-target gesture recognition tasks.
[0127] The WiFi data generated by the cross-modality of the video data is crucial to the recognition performance of the method of this application. Figure 6 A comparison chart of the accuracy of cross-target gesture recognition using cross-modally generated WiFi data and non-cross-modally generated WiFi data is shown, where (a) is a comparison chart of the accuracy of cross-target gesture recognition using cross-modally generated WiFi data and non-cross-modally generated WiFi data at different orientations, and (b) is a comparison chart of the accuracy of cross-target gesture recognition using cross-modally generated WiFi data and non-cross-modally generated WiFi data at the same orientation. Figure 6 (a) is the experimental result obtained using the dataset MixGR. Figure 6 (b) in the figure is the experimental result obtained using the dataset MM-Fi. The experimental results show that the proposed method MixGR has obvious advantages when using cross-modal generated WiFi data for cross-target gesture recognition tasks, which means that the cross-modal generated WiFi data is closer to the real WiFi data.
[0128] Figure 7 The figure shows the accuracy comparison of cross-target gesture recognition under the contrastive fusion learning method and the non-contrastive fusion learning method, where (a) is the accuracy comparison of cross-target gesture recognition under the contrastive fusion learning method and the non-contrastive fusion learning method at different orientations, and (b) is the accuracy comparison of cross-target gesture recognition under the contrastive fusion learning method and the non-contrastive fusion learning method at the same orientation. Figure 7 (a) is the experimental result obtained using the dataset MixGR. Figure 7 (b) in the figure is the experimental result obtained using the dataset MM-Fi. When comparing the fusion learning method, the accuracy of cross-target gesture recognition of the method of the present application has been significantly improved, which highlights the key role of contrastive fusion learning in promoting multimodal fusion and improving gesture recognition accuracy.
[0129] Figure 8 A comparison chart of gesture recognition accuracy under different methods is shown, where (a) is a comparison chart of gesture recognition accuracy under different methods at different locations, and (b) is a comparison chart of gesture recognition accuracy under different methods at the same location. Figure 8(a) is the experimental result obtained using the dataset MixGR. Figure 8 (b) in the figure is the experimental result obtained using the MM-Fi dataset. The experimental results show that the WiFi data generated using the cross-modal generation method has a significant advantage over the other two methods, which proves the effectiveness of the cross-modal generation method.
[0130] Using the same inventive concept as the cross-target gesture recognition method based on multimodal fusion, this embodiment also provides a corresponding cross-target gesture recognition device based on multimodal fusion. Fig. 9 FIG. 1 shows a structural block diagram of a cross-target gesture recognition device based on multimodal fusion according to an embodiment of the present application, see Fig. 9 , the device comprises:
[0131] A data acquisition module 91 is used to acquire multimodal data, where the multimodal data includes WiFi data and video data, where the WiFi data is WiFi data when a source domain user performs gesture actions, and the video data includes gesture video data when the source domain user performs gesture actions and daily life video data of a target domain user;
[0132] A comparison fusion learning module 92 is used to compare and fuse the WiFi data and the gesture video data of the source domain user when performing gesture actions, and extract gesture features;
[0133] The spatial matrix determination module 93 is used to extract human skeleton point data from the gesture video data of the source domain user when performing gesture actions, and determine the spatial matrix of the source domain user according to the skeleton point data; extract human skeleton point data from the daily life video data of the target domain user, and determine the spatial matrix of the target domain user according to the skeleton point data;
[0134] A cross-modal generation module 94 is used to perform cross-modal generation based on the WiFi data of the source domain user based on the generation network to obtain the WiFi data of the target domain user; during the cross-modal generation process, a loss function is constructed based on the spatial matrix of the source domain user and the spatial matrix of the target domain user;
[0135] A model training module 95 is used to train a gesture recognition model based on gesture features and WiFi data of target domain users to obtain a trained gesture recognition model;
[0136] The recognition module 96 is used to input the WiFi data of the target domain user to be recognized into the trained gesture recognition model to obtain the gesture recognition result of the target domain user.
[0137] The cross-target gesture recognition device based on multimodal fusion of this embodiment has the same inventive concept as the cross-target gesture recognition method based on multimodal fusion described above. Therefore, the specific implementation of the device can be seen in the embodiment of the cross-target gesture recognition method based on multimodal fusion described above, and its technical effect corresponds to the technical effect of the above method, which will not be repeated here.
[0138] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned cross-target gesture recognition method based on multimodal fusion is implemented.
[0139] An embodiment of the present application provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the above-mentioned cross-target gesture recognition method based on multimodal fusion is implemented.
[0140] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A cross-target gesture recognition method based on multimodal fusion, characterized in that: include: Acquire multimodal data, where the multimodal data includes WiFi data and video data, where the WiFi data is WiFi data when a source domain user performs a gesture action, and the video data includes gesture video data when the source domain user performs a gesture action and daily life video data of a target domain user; Performing comparative fusion learning on the WiFi data and the gesture video data of the source domain user performing gesture actions to extract gesture features; Extracting human skeleton point data according to the gesture video data when the source domain user performs a gesture action, and determining the spatial matrix of the source domain user according to the skeleton point data; Extracting human skeleton point data according to the daily life video data of the target domain user, and determining the spatial matrix of the target domain user according to the skeleton point data; Based on the generation network, cross-modal generation is performed according to the WiFi data of the source domain user to obtain the WiFi data of the target domain user; in the cross-modal generation process, a loss function is constructed based on the spatial matrix of the source domain user and the spatial matrix of the target domain user; Training a gesture recognition model based on the gesture features and the WiFi data of the target domain user to obtain a trained gesture recognition model; The WiFi data of the target domain user to be identified is input into the trained gesture recognition model to obtain the gesture recognition result of the target domain user.
2. The method according to claim 1, characterized in that in, The WiFi data and the gesture video data of the source domain user performing gesture actions are compared and fused to learn each other, and gesture features are extracted, including: Performing feature extraction on the WiFi data using 2D convolution to obtain WiFi features; Using 3D convolution to extract features from the gesture video data to obtain video features; Performing weighted combination on the WiFi feature and the video feature to obtain a fusion feature; The gesture features are extracted by using a contrastive learning method based on the fusion features.
3. The method according to claim 1, characterized in that in, Extracting human skeleton point data according to gesture video data when the source domain user performs a gesture action, and determining a spatial matrix of the source domain user according to the skeleton point data, including: According to the gesture video data, a 3D human body posture estimation method is used to extract 17 skeleton point data of the human body; each of the skeleton point data includes coordinates in three dimensions: X, Y and Z; The spatial matrix of the source domain user is determined according to the 17 skeleton point data. The spatial matrix of the source domain user includes spatial matrices of three dimensions: X, Y, and Z. The spatial matrix of the X dimension is expressed by the following formula: Among them, X i ′ ,j is the element value of the i-th row and j-th column in the X-dimensional space matrix, x i is the coordinate of the X dimension in the i-th bone point data, x j It is the coordinate of the X dimension in the jth bone point data.
4. The method according to claim 1, characterized in that The total loss function in the cross-modal generation process is: in, is the total loss function, For the first fight against loss, For the second counter loss, is the cycle consistency loss, is the spatial difference loss; λ1 and λ2 represent two hyper parameters respectively; The first adversarial loss The second adversarial loss It is expressed by the following formula: Among them, G1 and G2 are two generators, D Y and D X are two discriminators, X is the dataset of source domain users, Y is the dataset of target domain users, x is the sample in X, y is the sample in Y, P data (y) is the distribution of y, P data (x) is the distribution of x, E is the expectation, D Y (y) means input y into D Y The output obtained, G1(x) represents the output obtained by inputting x into G1, D X (x) means inputting x into D X The output obtained, G2(y) represents the output obtained by inputting y into G2; The cycle consistency loss It is expressed by the following formula: Among them, ‖·‖1 is the 1-norm; The spatial difference loss It is expressed by the following formula: Among them, n represents the number of dimensions, X t ′ is the X-dimensional spatial matrix of the target domain user, X s ′ is the X-dimensional spatial matrix of the source domain user, Y t ′ is the Y-dimensional spatial matrix of the target domain user, Y s ′ is the Y-dimensional spatial matrix of the source domain user, Z t ′ is the Z-dimensional spatial matrix of the target domain user, Z s ′ is the spatial matrix of the Z dimension of the source domain user.
5. The method according to claim 1, characterized in that The method further comprises: De-noising the WiFi data, and determining the starting point and the ending point of the gesture data in the WiFi data, so as to extract the gesture data in the WiFi data; Background elimination is performed on the video data, and a starting point and an ending point of the gesture data in the video data are determined to extract the gesture data in the video data.
6. A cross-target gesture recognition device based on multimodal fusion, characterized in that: include: A data acquisition module, used to acquire multimodal data, wherein the multimodal data includes WiFi data and video data, wherein the WiFi data is WiFi data when a source domain user performs gesture actions, and the video data includes gesture video data when the source domain user performs gesture actions and daily life video data of a target domain user; A comparison and fusion learning module is used to compare and fuse the WiFi data and the gesture video data of the source domain user when performing gesture actions, and extract gesture features; A space matrix determination module, used to extract human skeleton point data according to the gesture video data when the source domain user performs a gesture action, and determine the space matrix of the source domain user according to the skeleton point data; Extracting human skeleton point data according to the daily life video data of the target domain user, and determining the spatial matrix of the target domain user according to the skeleton point data; A cross-modal generation module, configured to perform cross-modal generation based on the WiFi data of the source domain user based on the generation network to obtain WiFi data of the target domain user; in the cross-modal generation process, a loss function is constructed based on the spatial matrix of the source domain user and the spatial matrix of the target domain user; A model training module, used to train a gesture recognition model based on the gesture features and the WiFi data of the target domain user to obtain a trained gesture recognition model; The recognition module is used to input the WiFi data of the target domain user to be recognized into the trained gesture recognition model to obtain the gesture recognition result of the target domain user.
7. The device according to claim 6, characterized in that The contrast fusion learning module is also used for: Performing feature extraction on the WiFi data using 2D convolution to obtain WiFi features; Using 3D convolution to extract features from the gesture video data to obtain video features; Performing weighted combination on the WiFi feature and the video feature to obtain a fusion feature; The gesture features are extracted by using a contrastive learning method based on the fusion features.
8. The device according to claim 6, characterized in that The spatial matrix determination module is further used for: According to the gesture video data, a 3D human body posture estimation method is used to extract 17 skeleton point data of the human body; each of the skeleton point data includes coordinates in three dimensions: X, Y and Z; The spatial matrix of the source domain user is determined according to the 17 skeleton point data. The spatial matrix of the source domain user includes spatial matrices of three dimensions: X, Y, and Z. The spatial matrix of the X dimension is expressed by the following formula: Among them, X i ′ ,j is the element value of the i-th row and j-th column in the X-dimensional space matrix, x i is the coordinate of the X dimension in the i-th bone point data, x j It is the coordinate of the X dimension in the jth bone point data.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the cross-target gesture recognition method based on multimodal fusion is implemented as described in any one of claims 1 to 5.
10. A computer program product, characterized in that It includes a computer program / instruction, which, when executed by a processor, implements the cross-target gesture recognition method based on multimodal fusion as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Multi-modal human body behavior recognition method and related equipment
CN113902995A
Gesture recognition method and system based on multi-modal feature fusion and small sample learning
CN116343261A
Device-free human identification and device-free gesture recognition
US20220124154A1
Cited By
Non-inductive safety monitoring method and system based on radio frequency identification technology
CN121434900A
A non-inductive safety monitoring method and system based on radio frequency identification technology
CN121434900B
