A multi-modal hierarchical fusion human-computer interaction method and system
Through the multi-modal hierarchical fusion of human-computer interaction methods, monocular cameras and microphones are used to collect data, combined with voice and skeleton recognition, to generate comprehensive control instructions, which solves the problems of existing system complexity and single interaction mode, and achieves high-level Real-time and stable complex control effects.
Patent Information
- Application Number
- CN202210312681.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-28
AI Technical Summary
The existing human-computer interaction system has complex composition, single interaction mode, simple control instructions, cannot realize complex control, and has low real-time and stability.
Using a multi-modal hierarchical fusion human-computer interaction method, video and voice data are collected through a monocular camera and microphone, and combined with speech recognition, bone extraction network and gesture recognition to generate comprehensive control instructions for motion control of unmanned systems.
It simplifies the system hardware platform, realizes the fusion of multi-modal data, avoids the limitations of a single interaction mode, improves the real-time performance and stability of the system, and enables complex command control in a normal environment.
Smart Images

Figure CN114637404B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot interaction technology, and in particular to a multi-modal hierarchical fusion human-computer interaction method and system. Background Art
[0002] With the continuous development of society and the continuous advancement of science and technology, robots are gradually penetrating into every aspect of our lives, and they are also changing from traditional dedicated scene robots to human-machine collaborative interactive robots in general scenes. However, the traditional human-machine interactive recognition method has a single recognition mode and a low degree of intelligence. It can only execute fixed single control instructions for simple single recognition modes.
[0003] There are relevant literatures that record intelligent human-computer interaction systems, but they all have shortcomings, which are specifically reflected in the following aspects: the human-computer interaction system is complex and even requires special human tracking equipment; the robot's interaction mode is single, the control instructions are simple, and it is impossible to achieve refined and complex control; the action interaction based on RGB is not real-time and has low stability. Summary of the invention
[0004] In view of the above technical problems, the present invention provides a multi-modal hierarchical fusion human-computer interaction method and system.
[0005] The technical solution adopted by the present invention to solve the technical problem is:
[0006] A multi-modal hierarchical fusion human-computer interaction method, the method comprising the following steps:
[0007] Step S100: using a monocular camera and a microphone to collect video of human interaction actions and voice, and extracting video data and voice data from the obtained video;
[0008] Step S200: sending the speech data to a speech recognition module for speech recognition to obtain a speech recognition result;
[0009] Step S300: sending the video data to a trained skeleton extraction network to obtain a skeleton sequence image, and obtaining a human skeleton sequence image and a hand skeleton sequence image according to the skeleton sequence image;
[0010] Step S400: sending the human skeleton sequence image to an action recognition module to perform action recognition to obtain an action recognition result;
[0011] Step S500: sending the hand skeleton sequence image to a gesture recognition module for gesture recognition to obtain a gesture recognition result;
[0012] Step S600: Send the speech recognition result, the action recognition result and the gesture recognition result to a fusion decision module to obtain a comprehensive control instruction, and send the comprehensive control instruction to the unmanned system terminal for motion control.
[0013] Preferably, step S400 includes:
[0014] Step S410: normalize and preprocess the original bone sequence data of the human skeleton sequence image to obtain original point data
[0015] Step S420: The original point data Expand: Process and expand the point data of the original bone sequence in the spatial and temporal dimensions to obtain spatial difference data in the spatial dimension. And the time difference optical flow data in the time dimension
[0016] Step S430: adding a channel attention mechanism in the multi-stream recognition network to learn different weight values for the original point data, spatial difference data and temporal difference optical flow data;
[0017] Step S440: Using the ST-GCN network as the backbone, extracting features from the three stream data;
[0018] Step S450: Add a spatial attention mechanism to the features extracted by the ST-GCN backbone network, learn different weight values for different parts of the human body, and obtain action recognition results through the action classifier network.
[0019] Preferably, step S410 is specifically as follows:
[0020]
[0021] in:
[0022]
[0023] Where J represents the skeleton point data, x / y / z represents the original three-dimensional coordinate data of the skeleton point, (x)' / (y)' / (z)' represents the preprocessed three-dimensional coordinate data, (x / y / z) max / min Indicates the maximum or minimum value of the coordinate data, max / min(·) indicates the maximum or minimum value operation, i indicates the current bone number, t indicates the current frame number, V is the total number of bone points, and T is the total number of frames in the sequence.
[0024] Preferably, step S420 is specifically as follows:
[0025]
[0026]
[0027] Preferably, step S430 is specifically:
[0028]
[0029] in, represents the input feature, F′ represents the output of the channel operation, Represents element-wise multiplication;
[0030] M c (·) is the channel attention operation, specifically:
[0031] M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F)))
[0032] Among them, MLP(·) represents multi-layer perceptron, AvgPool(·) represents average pooling feature, MaxPool(·) represents maximum pooling feature, and σ(·) represents sigmoid activation function.
[0033] Preferably, step S440 is specifically as follows:
[0034] f out =D -1 (A+A′)F′W
[0035] Among them, f out represents the output data of the ST-GCN network, D is the degree matrix representing the number of connections of each node, W represents the weight parameter of the network, A is the adjacency matrix used to represent the connection between each joint point, and A′ is a learnable matrix used to learn the relationship between non-connected nodes.
[0036] Preferably, step S450 is specifically:
[0037]
[0038] Where: F represents the input image, F″ represents the output of the spatial operation, Represents element-wise multiplication;
[0039] M s (·) is the spatial attention operation, which is specifically expressed as follows:
[0040] M s (F) = σ(f 7×7 [AvgPool(f out )]; f 7×7 [MaxPool(f out )])
[0041] Among them, f 7×7 Represents a 7×7 convolution operation.
[0042] Preferably, step S600 includes:
[0043] Step S610: judging the speech recognition result, if it is invalid, setting the sequence number parameter and mode parameter to the default value; if it is a valid speech, setting the corresponding sequence number parameter and mode parameter;
[0044] Step S620: judging the gesture recognition result, if invalid, setting the motion parameter to a default value, and if valid, setting the corresponding motion parameter;
[0045] Step S630: generating a motion instruction according to the motion recognition result, wherein the motion instruction is one of forward, backward, left and right;
[0046] Step S640: The motion instruction, the motion parameter, the sequence number parameter and the mode parameter are integrated to form a comprehensive control instruction, and the comprehensive control instruction is sent to the unmanned system terminal through ROS for motion control.
[0047] A multi-modal hierarchical fusion human-computer interaction system comprises a monocular camera, a microphone, a control device and an unmanned vehicle system, wherein the monocular camera and the microphone are both connected to the control device, and the control device is connected to the unmanned vehicle system;
[0048] The monocular camera and microphone are used to capture video of human interaction actions and voice;
[0049] The control device is used to execute the above multi-modal hierarchical fusion human-computer interaction method to obtain a comprehensive control instruction and send it to the unmanned vehicle system;
[0050] The unmanned vehicle system is used to move according to the received comprehensive control instruction.
[0051] Preferably, it also includes a simulation system, which is connected to the control device. The control device is also used to send comprehensive control instructions to the simulation system, and the simulation system is used to perform simulation control according to the received comprehensive control instructions.
[0052] Compared with the prior art, the advantages of the present invention are: (1) Simple system hardware platform: The human-computer interaction system of the present invention is simple in composition and only relies on microphones and monocular cameras for video acquisition. No external electronic components are required, and no special human tracking equipment is required. The system is not complicated and the platform construction work is easy to complete; (2) Good interaction effect: The multi-modal hierarchical fusion algorithm of motion, gesture and voice proposed by the present invention can fuse the interaction data of multiple modes, thereby avoiding the problem of single control instructions and simple control mode generated by a single interaction mode, thereby realizing complex command control of unmanned systems or simulation systems; (3) High real-time and strong stability: The action recognition module of this system adopts a recognition method based on skeleton points, which only retains limb information and removes redundant information, thereby improving the real-time performance of the algorithm. At the same time, for the image quality problems often encountered by RGB images such as illumination and blur, the skeleton point recognition method has stronger robustness and stability, so that the system can run faster and better in a normal external environment without interference. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a flow chart of a human-computer interaction method for multi-modal fusion of motion, gesture and voice in one embodiment of the present invention;
[0054] Figure 2 A network structure diagram of an action recognition module in one embodiment of the present invention;
[0055] Figure 3 A hierarchical fusion decision module in an embodiment of the present invention;
[0056] Figure 4 The figure is a corresponding relationship diagram between various identification modules and instruction parameters in one embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings.
[0058] In one embodiment, Figure 1 As shown, a multi-modal hierarchical fusion human-computer interaction method comprises the following steps:
[0059] Step S100: Use a monocular camera and a microphone to capture video of human interaction actions and voice, and extract video data and voice data from the obtained video.
[0060] Step S200: sending the speech data to a speech recognition module for speech recognition to obtain a speech recognition result.
[0061] Specifically, the speech recognition module is composed of iFlytek speech recognition SDK (a software development kit), which transmits voice data to the remote iFlytek database for speech recognition; the speech recognition results are used to select the serial number parameters and mode parameters of the unmanned system, the serial number parameters represent the unmanned system terminal with the corresponding serial number, and the mode parameters include speed / position.
[0062] Step S300: sending the video data to a trained skeleton extraction network to obtain a skeleton sequence image, and obtaining a human skeleton sequence image and a hand skeleton sequence image according to the skeleton sequence image.
[0063] Specifically, the skeleton extraction network is a mediapipe network (a multimedia machine learning model application framework developed and open sourced by Google Research).
[0064] Step S400: sending the human skeleton sequence image to a motion recognition module to perform motion recognition to obtain a motion recognition result.
[0065] Specifically, the action recognition results are used to select motion instructions for the unmanned system.
[0066] In one embodiment, step S400 includes:
[0067] Step S410: normalize and preprocess the original bone sequence data of the human skeleton sequence image to obtain original point data
[0068] Step S420: The original point data Expand: Process and expand the point data of the original bone sequence in the spatial and temporal dimensions to obtain spatial difference data in the spatial dimension. And the time difference optical flow data in the time dimension
[0069] Step S430: adding a channel attention mechanism in the multi-stream recognition network to learn different weight values for the original point data, spatial difference data and temporal difference optical flow data;
[0070] Step S440: Using the ST-GCN (space-time graph convolutional network model) network as the backbone to extract features of the three data;
[0071] Step S450: Add a spatial attention mechanism to the features extracted by the ST-GCN backbone network, learn different weight values for different parts of the human body, and obtain action recognition results through the action classifier network.
[0072] Specifically, the network structure diagram of the action recognition module is as follows: Figure 2 shown.
[0073] In one embodiment, step S410 is specifically as follows:
[0074]
[0075] in:
[0076]
[0077] Where J represents the skeleton point data, x / y / z represents the original three-dimensional coordinate data of the skeleton point, (x)′ / (y)′ / (z)′ represents the preprocessed three-dimensional coordinate data, (x / y / z) max / min Indicates the maximum or minimum value of the coordinate data, max / min(·) indicates the maximum or minimum value operation, i indicates the current bone number, t indicates the current frame number, V is the total number of bone points, and T is the total number of frames in the sequence.
[0078] Specifically, the preprocessing processes the skeleton sequence data between 0 and 1.
[0079] In one embodiment, step S420 is specifically as follows:
[0080]
[0081]
[0082] Forming a raw point data Spatial difference data and temporal optical flow data Multi-stream recognition network structure composed of
[0083] In one embodiment, step S430 is specifically as follows:
[0084]
[0085] in, represents the input feature, F′ represents the output of the channel operation, Represents element-wise multiplication;
[0086] M c (·) is the channel attention operation, specifically:
[0087] M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F)))
[0088] Among them, MLP(·) represents multi-layer perceptron, AvgPool(·) represents average pooling feature, MaxPool(·) represents maximum pooling feature, and σ(·) represents sigmoid activation function.
[0089] In one embodiment, step S440 is specifically as follows:
[0090] f out =D -1 (A+A′)F′W
[0091] Among them, f out represents the output data of the ST-GCN network, D is the degree matrix representing the number of connections of each node, W represents the weight parameter of the network, A is the adjacency matrix used to represent the connection between each joint point, and A′ is a learnable matrix used to learn the relationship between non-connected nodes.
[0092] Specifically, considering the adjacency matrix for the connection between nodes in the original ST-GCN network: A is the adjacency matrix used to represent the connection between each joint point, but the traditional adjacency matrix only considers the physical connection relationship between nodes, and ignores the relationship between unconnected nodes; therefore, a learnable matrix A′ is added to learn the relationship between unconnected nodes, so as to increase the feature expression ability of the network.
[0093] In one embodiment, step S450 is specifically as follows:
[0094]
[0095] Where F represents the input image, F″ represents the output of the spatial operation, Determines element-wise multiplication;
[0096] M s (·) is the spatial attention operation, which is specifically expressed as follows:
[0097] M s (F) = σ(f 7×7 [AvgPool(Ff out )]; f 7×7 [MaxPool(f out )])
[0098] Among them, f 7×7 Represents a 7×7 convolution operation.
[0099] Step S500: sending the hand skeleton sequence image to a gesture recognition module to perform gesture recognition to obtain a gesture recognition result.
[0100] Specifically, the gesture recognition result is used to select motion parameters of the unmanned system.
[0101] Step S600: Send the speech recognition result, the action recognition result and the gesture recognition result to a fusion decision module to obtain a comprehensive control instruction, and send the comprehensive control instruction to the unmanned system terminal for motion control.
[0102] In one embodiment, step S600 includes:
[0103] Step S610: judging the speech recognition result, if it is invalid, setting the sequence number parameter and mode parameter to the default value; if it is a valid speech, setting the corresponding sequence number parameter and mode parameter.
[0104] Specifically, the default value of the sequence number parameter is No. 1, and the default value of the mode parameter is the default value position control.
[0105] Step S620: judging the gesture recognition result, if invalid, setting the motion parameter to the default value, if valid, setting the corresponding motion parameter.
[0106] Specifically, the default value of the motion parameter is 1m or 1m / s
[0107] Step S630: forming a motion instruction according to the action recognition result, wherein the motion instruction is one of forward, backward, left and right.
[0108] Step S640: The motion instruction, the motion parameter, the sequence number parameter and the mode parameter are integrated to form a comprehensive control instruction, and the comprehensive control instruction is sent to the unmanned system terminal through ROS (Robot Operating System) for motion control.
[0109] Specifically, the decision process diagram of the hierarchical fusion decision module is as follows: Figure 3 As shown in the figure, the corresponding relationship between each recognition module and the instruction parameter is shown in Figure 4 As shown, the final comprehensive control instruction is, for example, unmanned vehicle No. 1, move forward 1m / s.
[0110] Furthermore, the integrated control instructions can also be sent to the Airsim simulation system for motion simulation.
[0111] A multi-modal hierarchical fusion human-computer interaction system comprises a monocular camera, a microphone, a control device and an unmanned vehicle system, wherein the monocular camera and the microphone are both connected to the control device, and the control device is connected to the unmanned vehicle system;
[0112] The monocular camera and microphone are used to capture video of human interaction actions and voice;
[0113] The control device is used to execute a multi-modal hierarchical fusion human-computer interaction method to obtain a comprehensive control instruction and send it to the unmanned vehicle system;
[0114] The unmanned vehicle system is used to move according to the received comprehensive control instruction.
[0115] In one embodiment, the interactive system further includes a simulation system, which is connected to the control device. The control device is further configured to send comprehensive control instructions to the simulation system, and the simulation system is configured to perform simulation control according to the received comprehensive control instructions.
[0116] Compared with the prior art, the advantages of the present invention are: (1) Simple system hardware platform: The human-computer interaction system of the present invention is simple in composition and only relies on microphones and cameras for video acquisition. No external electronic components are required, and no special human tracking equipment is required. The system is not complicated and the platform construction work is easy to complete; (2) Good interaction effect: The multi-modal hierarchical fusion algorithm of motion, gesture and voice proposed in the present invention can fuse the interaction data of multiple modes, thereby avoiding the problem of single control instructions and simple control mode generated by a single interaction mode, thereby realizing complex instruction control of unmanned systems or simulation systems; (3) High real-time and strong stability: The action recognition module of this system adopts a recognition method based on skeleton points. Compared with the action recognition method such as RGB, only limb information is retained and redundant information is removed, thereby improving the real-time performance of the algorithm. At the same time, for the image quality problems often encountered by RGB images such as illumination and blur, the skeleton point recognition method has stronger robustness and stability, so that the system can run faster and better in a normal external environment without interference.
[0117] The above is a detailed introduction to a multimodal hierarchical fusion human-computer interaction method and system provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A multi-modal hierarchical fusion human-computer interaction method, characterized in that: The method comprises the following steps: Step S100: using a monocular camera and a microphone to collect video of human interaction actions and voice, and extracting video data and voice data from the obtained video; Step S200: sending the speech data to a speech recognition module for speech recognition to obtain a speech recognition result; Step S300: sending the video data to a trained skeleton extraction network to obtain a skeleton sequence image, and obtaining a human skeleton sequence image and a hand skeleton sequence image according to the skeleton sequence image; Step S400: sending the human skeleton sequence image to an action recognition module to perform action recognition to obtain an action recognition result; Step S500: sending the hand skeleton sequence image to a gesture recognition module for gesture recognition to obtain a gesture recognition result; Step S600: sending the speech recognition result, the action recognition result and the gesture recognition result to a fusion decision module to obtain a comprehensive control instruction, and sending the comprehensive control instruction to the unmanned system terminal for motion control; Step S400 includes: Step S410: normalize and preprocess the original bone sequence data of the human skeleton sequence image to obtain original point data Step S420: The original point data Expand: Process and expand the point data of the original bone sequence in the spatial and temporal dimensions to obtain spatial difference data in the spatial dimension. And the time difference optical flow data in the time dimension Step S430: adding a channel attention mechanism to the multi-stream recognition network to learn different weight values for the original point data, spatial difference data, and temporal difference optical flow data; Step S440: Using the ST-GCN network as the backbone, extracting features from the three data; Step S450: adding a spatial attention mechanism to the features extracted by the ST-GCN backbone network, learning different weight values for different parts of the human body, and obtaining action recognition results through the action classifier network; Step S430 is specifically as follows: in, represents the input feature, F' represents the output of the channel operation, represents element-wise multiplication; M c (·) is the channel attention operation, specifically: M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F))) Among them, MLP(·) represents multi-layer perceptron, AvgPool(·) represents average pooling feature, MaxPool(·) represents maximum pooling feature, and σ(·) represents sigmoid activation function; Step S440 is specifically as follows: f out =D -1 (A+A')F'W Among them, f out represents the output data of the ST-GCN network, D is the degree matrix representing the number of connections of each node, W represents the weight parameter of the network, A is the adjacency matrix used to represent the connection between each joint point, and A' is a learnable matrix used to learn the relationship between non-connected nodes; Step S450 is specifically as follows: Among them, F" represents the output of spatial operation, represents element-wise multiplication; M s (·) is the spatial attention operation, which is specifically expressed as follows: M s (F)=σ(f 7×7 [AvgPool(f out )];f 7×7 [MaxPool(f out )]) Among them, f 7×7 Represents a 7×7 convolution operation.
2. The method according to claim 1, characterized in that: Step S410 is specifically as follows: in: Where J represents the skeleton point data, x / y / z represents the original three-dimensional coordinate data of the skeleton point, (x)' / (y)' / (z)' represents the preprocessed three-dimensional coordinate data, (x / y / z) max / min Indicates the maximum or minimum value of the coordinate data, max / min(·) indicates the maximum or minimum value operation, i indicates the current bone number, t indicates the current frame number, V is the total number of bone points, and T is the total number of frames in the sequence.
3. The method according to claim 2, characterized in that Step S420 is specifically as follows:
4. The method according to claim 3, characterized in that Step S600 includes: Step S610: judging the speech recognition result, if it is invalid, setting the sequence number parameter and mode parameter to the default value; if it is a valid speech, setting the corresponding sequence number parameter and mode parameter; Step S620: judging the gesture recognition result, if invalid, setting the motion parameter to a default value, if valid, setting the corresponding motion parameter; Step S630: generating a motion instruction according to the motion recognition result, wherein the motion instruction is one of forward, backward, left and right; Step S640: The motion instruction, the motion parameter, the sequence number parameter and the mode parameter are integrated to form a comprehensive control instruction, and the comprehensive control instruction is sent to the unmanned system terminal through ROS for motion control.
5. A multi-modal hierarchical fusion human-computer interaction system, characterized in that: It includes a monocular camera, a microphone, a control device and an unmanned vehicle system, wherein the monocular camera and the microphone are both connected to the control device, and the control device is connected to the unmanned vehicle system; The monocular camera and microphone are used to capture video of human interaction actions and voice; The control device is used to execute the method according to any one of claims 1 to 4 to obtain a comprehensive control instruction and send it to the unmanned vehicle system; The unmanned vehicle system is used to move according to the received comprehensive control instruction.
6. The system according to claim 5, characterized in that It also includes a simulation system, which is connected to the control device. The control device is also used to send comprehensive control instructions to the simulation system, and the simulation system is used to perform simulation control according to the received comprehensive control instructions.
