Skeleton action recognition method based on edge-aware multi-relation GCNs

By using the multi-relationship GCNs method based on edge perception in human action recognition, the perception range of graph nodes is expanded and detailed motion features are extracted, which solves the problem of insufficient modeling of joint points and limb physical associations in the existing technology, and improves improve the accuracy of human action recognition.

CN114842558BActive Publication Date: 2024-10-18SHENYANG AEROSPACE UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210624365.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2024-10-18
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

Existing human action recognition algorithms based on graph neural networks lack in-depth modeling of joint points and physical association processes of limbs, and graph convolutional networks are insufficient in capturing long-distance dependencies between non-physical adjacent nodes, resulting in The network is too smooth and the perception range is limited.

Method used

The multi-relationship GCNs method based on edge sensing is adopted to expand the sensing range of graph nodes by constructing a dual-stream network and dynamic edge sensing module DEP, using k-hops method to define neighborhoods, and extracting more information through Bi-level neighbor point feature aggregation method. Detailed motion characteristics.

Benefits of technology

It effectively extracts human movement information with stronger representation ability, describes different actions in detail, improves the accuracy of human action recognition, and captures different interaction details during human movement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114842558B_ABST
    Figure CN114842558B_ABST
Patent Text Reader

Abstract

The present invention provides a multi-relation GCNs skeleton action recognition method based on edge perception, including: obtaining human skeleton data; constructing a two-stream network for human action recognition; network input data, transforming human skeleton data, constructing a joint point graph to obtain joint point-limb motion data, constructing a limb graph to obtain limb-third-order motion data and inputting it into the two-stream network; using a dynamic edge perception module DEP to perform perception operations on the features of the edges in the joint point graph and the limb graph, and obtaining the perception weight of the edge; extracting motion features, obtaining the motion features of each graph node through a graph convolution function with a neighborhood range of k-hops, and obtaining the graph node motion features under different relations of the current layer by weighted average; repeatedly performing the acquisition of edge perception weights and extraction of motion features, obtaining the final node motion features of each stream and obtaining action recognition results. The perception range of the node is expanded, and the accuracy of human action recognition can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer vision and video understanding, and in particular to a multi-relation GCNs skeleton action recognition method based on edge perception. Background Art

[0002] The key to human motion recognition is to extract motion interaction objects and model the interaction relationship between them. Joint features and limb features are two important components of human skeleton data. They are interrelated during human motion and together constitute human motion from different perspectives. However, the existing human motion recognition algorithms based on graph neural networks focus on how to build a novel and complex convolutional network, for example, how to obtain joint features with stronger representation capabilities, and do not model motion from the perspective of the physical association process between joints and limbs. Although some algorithms use a two-stream network to process the joint stream and limb stream respectively, they only simply fuse the two-stream data at the end of the network. The correlation of the data itself is not fully considered, and the mining of the association information between the data is not deep enough. Therefore, it is necessary to model the linkage process between joints and limbs.

[0003] Existing graph convolutional networks use 1-hop neighborhood to represent node neighborhood information. The problem with this processing method is that it lacks the ability to capture long-distance dependencies between non-physically adjacent nodes, and the perception range of the nodes is limited. Most methods solve the problem of limited perception range by stacking multiple layers of graph convolutional layers, but this method will cause the network to be over-smoothed.

[0004] Therefore, it is necessary to develop a multi-relation GCNs skeleton action recognition method based on edge perception, where GCNs are graph convolutional networks (Graph Convolutional Networks), which use the k-hop method to define the neighborhood of graph nodes, retain rich graph structure information, expand the perception range of nodes, effectively extract human motion information with stronger representation capabilities, and describe different actions in detail, which can effectively improve the accuracy of human action recognition. Summary of the invention

[0005] The present invention aims to solve one of the technical problems existing in the prior art or related technology.

[0006] To this end, the present invention proposes a multi-relation GCNs skeleton action recognition method based on edge perception.

[0007] In view of this, the present invention proposes a multi-relation GCNs skeleton action recognition method based on edge perception, and the multi-relation GCNs skeleton action recognition method includes:

[0008] Obtain human skeleton data, and obtain human skeleton data during movement through ordinary cameras or depth cameras;

[0009] Constructing a two-stream network, the two-stream network includes a low-order stream network and a high-order stream network, each stream includes 9 identical multi-relation graph convolution layers and a softmax classification function, to perform human action recognition;

[0010] Network input data, transform the human skeleton data, construct a joint point graph to obtain joint points-limb motion data to input into the low-order flow network, construct a limb graph to obtain second-order limb data-third-order motion data to input into the high-order flow network;

[0011] Obtaining the perception weight of the edge. In each of the multi-relation graph convolutional layers, firstly, using a dynamic edge perception module DEP to perform perception operations on the features of the edges in the joint point graph and the limb graph to obtain the perception weight of the edge;

[0012] Extract motion features, input the features of the joint point graph and the limb graph output by the previous convolution layer and the perception weights of the corresponding edges into the graph convolution function with a neighborhood range of k-hops to extract the motion features of each graph node in the joint point graph and the limb graph, use different hops to describe different interactive relationships between human body parts during the movement, and obtain the motion features of the graph nodes under different relationships in the current layer by weighted average;

[0013] Obtain action recognition results, repeatedly obtain edge perception weights and extract motion features, obtain final node motion features for each stream, send the node motion features into the softmax classification function to obtain action category scores, assign weights to each stream, and fuse the scores of the low-order stream network and the high-order stream network according to the weights to obtain action recognition results. The weights are obtained through experiments and usually take the same value.

[0014] Furthermore, the obtaining of human skeleton data includes:

[0015] A depth camera is used to directly obtain human skeleton data, or pictures and videos obtained by the ordinary camera are used to extract human skeleton data through a posture estimation algorithm, and the data is expressed as the three-dimensional or two-dimensional coordinates of each joint point;

[0016] A graph G is used to describe the physical structure of the human body. According to all the joint points extracted from the human skeleton data, the physical structure of the human body is defined as G = (V, E, W), wherein V is a node set representing all the joint points; E is an edge set representing the limbs between adjacent joint points; W is a weighted adjacency matrix of the edges, and the weights are obtained through learning.

[0017] Furthermore, the posture estimation algorithm is openpose.

[0018] Furthermore, the constructed dual-stream network includes a low-order stream network and a high-order stream network, the low-order stream network and the high-order stream network have the same structure, each stream includes 9 multi-relationship graph convolution layers with the same structure and a softmax classification function, each of the multi-relationship graph convolution layers includes an edge perception module DEP and a multi-relationship graph convolution module, wherein the low-order stream network uses joint point-limb motion data, and the high-order stream network uses the second-order limb data-third-order motion data as network input data.

[0019] Furthermore, the network input data includes:

[0020] According to the human body physical structure diagram, a joint point diagram is constructed, second-order limb motion data is calculated according to the joint point coordinates, the vector difference of the joint points at both ends of each edge is taken, and the joint point-limb motion data is used as the input of the low-order flow and input into the low-order flow network;

[0021] According to the human body physical structure diagram, a limb diagram is constructed, and the third-order motion data is calculated based on the second-order limb motion data. The second-order limb data-third-order motion data is used as the input of the high-order flow and input into the high-order flow network.

[0022] Furthermore, the acquiring the perceived weight of the edge includes:

[0023] Construct a dynamic edge perception module DEP and define the feature perception function of any edge as θ ij =P(f in (e ij ));

[0024] Among them, f in (e ij ) represents edge e ij The input features of edge e are as follows; P represents the edge feature perception operation, which is implemented using the convolution function; i and j are the edge ij The numbers of the two end nodes;

[0025] The input features of each edge in the joint point graph or the limb graph are sequentially input into the dynamic edge perception module DEP of the current multi-relationship graph convolution layer of the low-order flow network or the high-order flow network to obtain the perception weight of the corresponding edge.

[0026] Furthermore, the extracting motion features includes:

[0027] The node v in the human body physical structure graph G is i The neighborhood B(v i ) is expanded to k-hops, and a structured adjacency subgraph sG of each node is defined within the k-hop range. i, sG i is a subgraph of graph G, and defines v i For sG i The root node of sG i Introduce node v i A symmetric node in the human body physical structure diagram, representing the symmetric node as 0-hop;

[0028] For any node v i In the multi-relation graph convolution module, the node output feature is the sum of the features of the node's neighboring points. When each of the neighboring points performs a convolution operation, the output of the dynamic edge perception module DEP is used as the weight of the convolution calculation. The input of the dynamic edge perception module DEP is based on the node v i and the current neighboring point v j is the edge of the endpoint,

[0029] Among them, f in (v j ) is the node v j The input feature of the current convolutional layer, f out (v i ) represents the node v i In the output feature of the current convolutional layer, B(v i ) represents node v i The set of adjacent points in graph G, Z i is a normalized term, indicating that the node v i The number of neighbors of ;

[0030] A Bi-level neighbor point feature aggregation method is adopted to obtain the motion feature of the root node in the current layer according to the sum of the neighbor point features, wherein the sum of the neighbor point features includes firstly performing feature aggregation according to the intra-hop nodes in the same hop neighborhood, and then performing node feature aggregation according to the inter-hop nodes between different hop neighborhoods.

[0031] Furthermore, the Bi-level neighbor point feature aggregation includes:

[0032] During intra-hop aggregation, for node v i The d-hops neighborhood, d∈{0,1,...,k}, takes the aggregate features of all neighboring points in the neighborhood, Among them, B d (v ti ) represents the node v i The set of d-hops neighboring points; It is a normalization term, which indicates the number of neighboring points within this neighborhood. The k value is determined according to actual needs.

[0033] Inter-hop aggregation uses aggregation functions Further aggregate the features between different hops to obtain node v i The output of the current layer in, represents the fusion weight of d-hops neighborhood features, which is calculated using the attention mechanism; σ is the activation function;

[0034] Among them, the function It can be implemented using a variety of different operators, such as vector addition operation Add; vector dot multiplication operation Mult; Corr operation *: The specific calculation method is: n is the feature dimension, and u is the number of shift bits.

[0035] Furthermore, obtaining the action recognition result includes:

[0036] Repeat the steps of obtaining edge perception weights and extracting motion features multiple times to obtain the final graph node motion features of each stream in the two-stream network and input them into the softmax classification function to obtain the action category score;

[0037] The scores of each stream in the dual-stream network are weighted averaged to obtain the final action recognition result, and usually the low-order stream network and the high-order stream network take the same weight.

[0038] The technical solution provided by the present invention may include the following beneficial effects:

[0039] A dynamic edge perception module is constructed to calculate the features related to limb movement as the node convolution weights, and the joint movement modeling of the two can extract more detailed and complex movement features; the k-hops neighborhood and Bi-level node feature aggregation methods can expand the perception range of the node to obtain more movement interaction information and effectively retain the graph structure information; the interaction relationship of the node is mapped to the connection distance of different hops, and a multi-relationship graph convolution module is proposed to capture different interaction details in the human body movement process; more movement features are implied in the high-order flow network motion data; effectively extracting human body movement information with stronger representation ability and describing different actions in detail can effectively improve the accuracy of human body movement recognition.

[0040] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

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

[0043] Figure 1 A flowchart of the steps of the edge-aware multi-relation GCNs skeleton action recognition method according to the present invention is shown. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0045] Example

[0046] Figure 1 A flowchart of the steps of the edge-aware multi-relation GCNs skeleton action recognition method according to the present invention is shown.

[0047] like Figure 1 As shown, this embodiment provides a multi-relation GCNs skeleton action recognition method based on edge perception, and the multi-relation GCNs skeleton action recognition method includes:

[0048] Step 1: Obtain human skeleton data by using a common camera or a depth camera to obtain human skeleton data during movement;

[0049] Step 2: construct a two-stream network, which includes a low-order stream network and a high-order stream network. Each stream includes 9 identical multi-relation graph convolutional layers and a softmax classification function to perform human action recognition.

[0050] Step 3: network input data, transform the human skeleton data, construct a joint point graph to obtain joint points - limb movement data to input into the low-order flow network, construct a limb graph to obtain second-order limb data - third-order movement data to input into the high-order flow network;

[0051] Step 4: Obtain the perception weight of the edge. In each multi-relation graph convolution layer, the dynamic edge perception module DEP is first used to perform perception operations on the features of the edges in the joint point graph and the limb graph to obtain the perception weight of the edge.

[0052] Step 5: Extract motion features. Input the joint point graph and limb graph features and the perception weights of the corresponding edges output by the previous convolutional layer into the graph convolution function with a neighborhood range of k-hops to extract the motion features of each graph node in the joint point graph and limb graph. Use different hops to describe the different interactive relationships between human body parts during the movement, and obtain the graph node motion features under different relationships in the current layer by weighted average.

[0053] Step 6, obtain the action recognition result, repeat the process of obtaining the perception weight of the edge and extracting the motion features, obtain the final node motion features of each flow, send the node motion features to the softmax classification function to obtain the action category score, assign weights to each flow, and fuse the scores of the low-order flow network and the high-order flow network according to the weights to obtain the action recognition result. The weights are obtained through experiments and usually take the same value.

[0054] The neighborhood of graph nodes is defined using the k-hops method, which retains rich graph structure information, expands the perception range of nodes, effectively extracts human motion information with stronger representation capabilities, describes different actions in detail, and comprehensively describes the interaction process during human motion, which can effectively improve the accuracy of human motion recognition.

[0055] Furthermore, obtaining human skeleton data includes:

[0056] Use a depth camera to directly obtain human skeleton data or use a posture estimation algorithm to extract human skeleton data from pictures and videos obtained by an ordinary camera, and express it as the three-dimensional or two-dimensional coordinates of each joint point;

[0057] A graph G is used to describe the physical structure of the human body. Based on all the joints in the extracted human skeleton data, the physical structure of the human body is defined as G = (V, E, W), where V is a node set, representing all the joints; E is an edge set, representing the limbs between adjacent joints; W is a weighted adjacency matrix of the edges, and the weights are obtained through learning.

[0058] It should be noted that you can use pictures and videos obtained from ordinary cameras to extract human skeleton data through posture estimation algorithms, or you can use depth cameras to directly obtain human skeleton data, because most scenes use ordinary cameras, and the skeletons produced by actual depth cameras are more accurate, but depth cameras are more expensive and not popular, so you can choose to use ordinary cameras or depth cameras as needed.

[0059] Furthermore, the pose estimation algorithm is openpose.

[0060] Openpose is currently the most commonly used posture estimation method, with a stable algorithm, high efficiency, and open source code.

[0061] Furthermore, a dual-stream network is constructed including a low-order stream network and a high-order stream network. The low-order stream network and the high-order stream network have the same structure. Each stream includes 9 multi-relationship graph convolutional layers with the same structure and a softmax classification function. Each multi-relationship graph convolutional layer contains two parts: an edge perception module DEP and a multi-relationship graph convolutional module. Among them, the low-order stream network uses joint point-limb motion data, and the high-order stream network uses second-order limb data-third-order motion data as network input data.

[0062] The input data modalities of the dual-stream network are different, which can more comprehensively describe different aspects of the human body's motion process. The low-order stream network and the high-order stream network can be integrated and complemented to obtain better action recognition effects.

[0063] Furthermore, the network input data includes:

[0064] According to the physical structure diagram of the human body, a joint point diagram is constructed, and the second-order limb motion data is calculated according to the joint point coordinates. The vector difference of the joint points at both ends of each edge is taken, and the joint point-limb motion data is used as the input of the low-order flow and input into the low-order flow network;

[0065] According to the physical structure diagram of the human body, a limb diagram is constructed, and the third-order motion data is calculated based on the second-order limb motion data. The second-order limb data-third-order motion data is used as the input of the high-order flow and input into the high-order flow network.

[0066] The network input data is preprocessed to obtain input feature data that conforms to the low-order flow network and the high-order flow network.

[0067] Furthermore, obtaining the perceived weight of the edge includes:

[0068] Construct a dynamic edge perception module DEP and define the feature perception function of any edge as θ ij =P(f in (e ij ));

[0069] Among them, f in (e ij ) represents edge e ij The input features of edge e are as follows; P represents the edge feature perception operation, which is implemented using the convolution function; i and j are the edge ij The numbers of the two end nodes;

[0070] The input features of each edge in the joint point graph or limb graph are sequentially input into the dynamic edge perception module DEP of the current multi-relation graph convolutional layer of the low-order flow network or high-order flow network to obtain the perception weight of the corresponding edge.

[0071] A dynamic edge perception module is constructed to calculate the features related to limb movement as the node convolution weights, and the joint movement modeling of the two can extract more detailed and complex movement features.

[0072] Furthermore, it is characterized in that extracting motion features comprises:

[0073] The node v in the human body physical structure graph G i The neighborhood B(v i ) is expanded to k-hops, and a structured adjacency subgraph sG of each node is defined within the k-hop range. i , sG i is a subgraph of graph G, and defines v i For sG i The root node of sG i Introduce node v i In the symmetric nodes in the human body physical structure diagram, the symmetric nodes are represented as 0-hop;

[0074] For any node v i In the multi-relation graph convolution module, the node output feature is the sum of the features of the node’s neighboring points. When each neighboring point performs convolution operation, the output of the dynamic edge perception module DEP is used as the weight of the convolution calculation. The input of the dynamic edge perception module DEP is based on the node v i and the current neighboring point v j is the edge of the endpoint,

[0075] Among them, f in (v j ) is the node v j The input feature of the current convolutional layer, f out (v i ) represents the node v i In the output feature of the current convolutional layer, B(v i ) represents node v i The set of adjacent points in graph G, Z i is a normalized term, indicating that the node v i The number of neighbors of ;

[0076] The bi-level neighbor point feature aggregation method is adopted to obtain the motion feature of the root node in the current layer according to the sum of the neighbor point features. The sum of the neighbor point features includes firstly performing feature aggregation according to the intra-hop nodes in the same hop neighborhood, and then performing feature aggregation according to the inter-hop nodes between different hop neighborhoods.

[0077] Among them, f in (v j ) is the node v j The input features are vi Neighborhood B(v i ) participates in the calculation, and this neighboring point is represented by v j ; There are symmetric nodes in the structured adjacency subgraph, and others have fixed distances. The symmetric nodes are not necessarily a number. In order to unify the representation, they are written as 0 and represented by 0-hop.

[0078] It should be noted that the node v in the node set i The neighborhood B(v i ) is expanded to k-hops, which can enhance the perception ability of nodes and the problem of two-stream network capturing the interaction relationship between long-distance nodes; in sG i Introduce node v i The symmetric nodes in the human body structure graph further increase the receptive field range of the root node, effectively describing the movement interaction between symmetrical limbs during human movement; in order to effectively retain the human body structure information in the adjacent subgraph during the adjacent point feature aggregation process, a Bi-level adjacent point feature aggregation method is proposed.

[0079] Furthermore, Bi-level neighbor point feature aggregation includes:

[0080] During intra-hop aggregation, for node v i The d-hops neighborhood, d∈{0,1,...,k}, takes the aggregate features of all neighboring points in the neighborhood, Among them, B d (v ti ) represents the node v i The set of d-hops neighboring points; It is a normalization term, which indicates the number of neighboring points within this neighborhood. The k value is determined according to actual needs.

[0081] Inter-hop aggregation uses aggregation functions Further aggregate the features between different hops to obtain node v i The output of the current layer in, represents the fusion weight of d-hops neighborhood features, which is calculated using the attention mechanism; σ is the activation function;

[0082] Among them, the function It can be implemented using a variety of different operators, such as vector addition operation Add; vector dot multiplication operation Mult; Corr operation *: The specific calculation method is: n is the feature dimension, and u is the number of shift bits.

[0083] Among them, Corr operation*: is a conventional representation, where an n-dimensional real vector multiplied by an n-dimensional real vector obtains an n-dimensional real vector.

[0084] It should be noted that k is the maximum value of d. For example, if k = 3, d can be 0, 1, 2, and 3 respectively, and each hop is calculated once; the fusion weight refers to the total number of hop aggregated features and the weight of the final weighted fusion of the features of these hops; when d is 0, it is a symmetric node in the structure graph, and every adjacent point in the structured adjacent subgraph must participate in the calculation and be grouped by hop value.

[0085] The k-hops neighborhood and Bi-level node feature aggregation methods can expand the perception range of the nodes to obtain more motion interaction information and effectively retain the graph structure information; the interaction relationship of the nodes is mapped to the connection distance of different hops, and a multi-relationship graph convolution module is proposed to capture different interaction details during human movement.

[0086] It should be noted that the k-hops neighborhood of a node describes different adjacency relationships between nodes. Nodes with different connection distances have different interaction relationships with the human body during movement. That is, different interaction relationships between nodes can be mapped to different adjacency structures to complete the relation→hop mapping.

[0087] Furthermore, obtaining the action recognition result includes:

[0088] Repeat the steps of obtaining edge perception weights and extracting motion features multiple times to obtain the final node motion features of each stream in the two-stream network and input them into the softmax classification function to obtain the action category score;

[0089] The final action recognition result is obtained by taking a weighted average of the scores of each stream in the two-stream network. Usually, the low-order stream network and the high-order stream network take the same weight.

[0090] Among them, the score of each stream in the dual-stream network is obtained through the output of the softmax classification function. Each stream refers to a low-order stream network and a high-order stream network. Each stream includes 9 multi-relationship graph convolution layers with the same structure and a softmax classification function. Each of the multi-relationship graph convolution layers includes an edge perception module DEP and a multi-relationship graph convolution module.

[0091] The experimental results show that the multi-relation GCNs skeleton action recognition method of this application can effectively obtain the collaborative features of human motion, and has achieved good skeleton action recognition results on the NTU-RGB+D and NTU-RGB+D 120 datasets.

[0092] It should be noted that in actual implementation, the dynamic edge perception module DEP may occupy more video memory. You can choose which layers to add the dynamic edge perception module DEP to based on actual needs and computing power. When the DEP module is not added, the node convolution is implemented using the original graph convolution function.

[0093] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0094] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A multi-relation GCNs skeleton action recognition method based on edge perception, characterized in that: The multi-relation GCNs skeleton action recognition method comprises: Obtain human skeleton data, and obtain human skeleton data during movement through ordinary cameras or depth cameras; Constructing a two-stream network, the two-stream network includes a low-order stream network and a high-order stream network, each stream includes 9 identical multi-relation graph convolution layers and a softmax classification function, to perform human action recognition; Network input data, transform the human skeleton data, construct a joint point graph to obtain joint points-limb motion data to input into the low-order flow network, construct a limb graph to obtain second-order limb data-third-order motion data to input into the high-order flow network; Obtaining the perception weight of the edge. In each of the multi-relation graph convolutional layers, firstly, using a dynamic edge perception module DEP to perform perception operations on the features of the edges in the joint point graph and the limb graph to obtain the perception weight of the edge; Extract motion features, input the features of the joint point graph and the limb graph output by the previous convolution layer and the perception weights of the corresponding edges into the graph convolution function with a neighborhood range of k-hops to extract the motion features of each graph node in the joint point graph and the limb graph, use different hops to describe different interactive relationships between human body parts during the movement, and obtain the motion features of the graph nodes under different relationships in the current layer by weighted average; Obtain action recognition results, repeatedly obtain edge perception weights and extract motion features, obtain final node motion features for each stream, send the node motion features into the softmax classification function to obtain action category scores, assign weights to each stream, and fuse the scores of the low-order stream network and the high-order stream network according to the weights to obtain action recognition results. The weights are obtained through experiments and take the same value.

2. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 1 is characterized in that: The obtaining of human skeleton data comprises: A depth camera is used to directly obtain human skeleton data, or pictures and videos obtained by the ordinary camera are used to extract human skeleton data through a posture estimation algorithm, and the data is expressed as the three-dimensional or two-dimensional coordinates of each joint point; A graph G is used to describe the physical structure of the human body. According to all the joint points extracted from the human skeleton data, the physical structure of the human body is defined as G = (V, E, W), wherein V is a node set representing all the joint points; E is an edge set representing the limbs between adjacent joint points; W is a weighted adjacency matrix of the edges, and the weights are obtained through learning.

3. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 2 is characterized in that: The pose estimation algorithm is openpose.

4. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 2, characterized in that: The dual-stream network constructed includes a low-order stream network and a high-order stream network. The low-order stream network and the high-order stream network have the same structure. Each stream includes 9 multi-relationship graph convolution layers with the same structure and a softmax classification function. Each of the multi-relationship graph convolution layers includes an edge perception module DEP and a multi-relationship graph convolution module. The low-order stream network uses joint point-limb motion data, and the high-order stream network uses the second-order limb data-third-order motion data as network input data.

5. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 4 is characterized in that: The network input data includes: According to the human body physical structure diagram, a joint point diagram is constructed, second-order limb motion data is calculated according to the joint point coordinates, the vector difference of the joint points at both ends of each edge is taken, and the joint point-limb motion data is used as the input of the low-order flow and input into the low-order flow network; According to the human body physical structure diagram, a limb diagram is constructed, and the third-order motion data is calculated based on the second-order limb motion data. The second-order limb data-third-order motion data is used as the input of the high-order flow and input into the high-order flow network.

6. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 5, characterized in that: The acquiring edge perception weight comprises: Construct a dynamic edge perception module DEP and define the feature perception function of any edge as θ ij =P(f in (e ij )); Among them, f in (e ij ) represents edge e ij The input features of edge e are as follows; P represents the edge feature perception operation, which is implemented using the convolution function; i and j are the edge ij The numbers of the two end nodes; The input features of each edge in the joint point graph or the limb graph are sequentially input into the dynamic edge perception module DEP of the current multi-relationship graph convolution layer of the low-order flow network or the high-order flow network to obtain the perception weight of the corresponding edge.

7. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 6, characterized in that: The extracting motion features comprises: The node v in the human body physical structure graph G is i The neighborhood B(v i ) is expanded to k-hops, and a structured adjacency subgraph sG of each node is defined within the k-hop range. i , sG i is a subgraph of graph G, and defines v i For sG i The root node of sG i Introduce node v i A symmetric node in the human body physical structure diagram, representing the symmetric node as 0-hop; For any node v i In the multi-relation graph convolution module, the node output feature is the sum of the features of the node's neighboring points. When each of the neighboring points performs a convolution operation, the output of the dynamic edge perception module DEP is used as the weight of the convolution calculation. The input of the dynamic edge perception module DEP is based on the node v i and the current neighboring point v j is the edge of the endpoint, Among them, f in (v j ) is the node v j The input feature of the current convolutional layer, f out (v i ) represents the node v i In the output feature of the current convolutional layer, B(v i ) represents node v i The set of adjacent points in graph G, Z i is a normalized term, indicating that the node v i The number of neighbors of ; A Bi-level neighbor point feature aggregation method is adopted to obtain the motion feature of the root node in the current layer according to the sum of the neighbor point features, wherein the sum of the neighbor point features includes firstly performing feature aggregation according to the intra-hop nodes in the same hop neighborhood, and then performing node feature aggregation according to the inter-hop nodes between different hop neighborhoods.

8. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 7, characterized in that: The Bi-level neighbor point feature aggregation includes: During intra-hop aggregation, for node v i The d-hops neighborhood, d∈{0,1,...,k}, takes the aggregate features of all neighboring points in the neighborhood, Among them, B d (v ti ) represents the node v i The set of d-hops neighboring points; It is a normalization term, which indicates the number of neighboring points within this neighborhood. The k value is determined according to actual needs. Inter-hop aggregation uses aggregation functions Further aggregate the features between different hops to obtain node v i The output of the current layer in, represents the fusion weight of d-hops neighborhood features, which is calculated using the attention mechanism; σ is the activation function; Among them, the function It is implemented using a variety of different operators, including vector addition operation Add, vector dot product operation Mult, and Corr operation*: The specific calculation method is: n is the feature dimension, and u is the number of shift bits.

9. The edge-aware multi-relation GCNs skeleton action recognition method according to claim 4, characterized in that: The obtaining of the action recognition result comprises: Repeat the steps of obtaining edge perception weights and extracting motion features multiple times to obtain the final graph node motion features of each stream in the two-stream network and input them into the softmax classification function to obtain the action category score; The scores of each stream in the dual-stream network are weighted averaged to obtain the final action recognition result, and the low-order stream network and the high-order stream network take the same weight.

Citation Information

Patent Citations

  • Method for constructing human body behavior recognition model based on graph convolution network

    CN111652124A

  • Pedestrian re-identification method and system based on key point optimization and multi-hop attention graph convolution

    CN113361334A