A group behavior recognition method

Through the combination of feature extraction network and hierarchical relationship network, key persons are identified and group behavior recognition results are generated, which solves the problem of integrating personal characteristics and interactive relationships in group behavior recognition, improves recognition accuracy and reduces computational complexity.

CN114495151BActive Publication Date: 2024-09-27HAINA CLOUD IOT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111483416.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-07
Publication Date
2024-09-27
Estimated Expiration
2041-12-07

AI Technical Summary

Technical Problem

When group behavior recognition handles scenarios involving multiple people, it is difficult to effectively combine personal characteristics and interactive relationships, resulting in low recognition accuracy and high computational complexity, and cannot effectively focus on key participants.

Method used

The feature extraction network (including CNN and LSTM) is used to extract personal features, the hierarchical relationship network captures the relationship features between people, identifies key people, and generates group behavior recognition results through the key person network and softmax classifier, combined with the CRF layer Make corrections.

Benefits of technology

It improves the accuracy of group behavior recognition, reduces computational complexity and enhances the accuracy of scene recognition by focusing on key participants and interactive relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114495151B
    Figure CN114495151B
Patent Text Reader

Abstract

The present invention belongs to the field of computer technology, and specifically, the present invention discloses a group behavior recognition method. The group behavior recognition method includes extracting the features of each person in the video to be recognized to obtain the personal features of each person; capturing the relationship features between people based on the personal features of each person to obtain the personal features with relationship features; identifying key persons from the video to be recognized; obtaining the group behavior recognition result based on the personal features with relationship features of the key persons; integrating the interactive relationship features between group members into the personal features of group members, and completing the final scene recognition by focusing on the key participant modeling to improve the recognition accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular, relates to a group behavior recognition method. Background Art

[0002] Human behavior recognition is a challenging computer vision problem and has been a hot topic of widespread concern in academia. The challenges include various factors, such as variability within action categories, background clutter, and similarities between different action categories. Group behavior recognition is a sub-topic of human behavior recognition. Its characteristic is that group activities are often completed by multiple people. Applications include video surveillance, sports analysis, and video search and retrieval. Application scenarios can include smart communities / parks, smart security, and other scenarios.

[0003] The special challenge of group behavior recognition is that it requires not only the characteristic attributes of a single person, but also the interaction information between members. In addition, due to the large number of group members, the features are redundant. How to streamline the group features and focus on a few key participants is another key factor in improving the accuracy and reducing the computational complexity of group recognition. This requires an algorithm that combines the interaction relationship between group members and focuses on the modeling of key participants to complete the final scene recognition.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the deficiencies in the prior art and provide a group behavior recognition method to improve recognition accuracy by integrating the interactive relationship characteristics between group members into the personal characteristics of group members and focusing on key participant modeling to complete the final scene recognition.

[0006] In order to solve the above technical problems, the basic concept of the technical solution adopted by the present invention is: a group behavior recognition method, comprising:

[0007] Extract the features of each person in the video to be identified to obtain each person's personal features;

[0008] According to each person's personal characteristics, the relationship characteristics between people are captured to obtain personal characteristics with relationship characteristics;

[0009] Identify key persons from the video to be identified;

[0010] According to the personal characteristics of key figures with relationship characteristics, the group behavior recognition results are obtained.

[0011] Furthermore, the step of extracting the features of each person in the video to be identified to obtain the personal features of each person includes:

[0012] Input the video to be identified into the feature extraction network to extract the features of each person and obtain the personal features of each person;

[0013] The feature extraction network includes CNN and LSTM.

[0014] Furthermore, the CNN includes spatial CNN and temporal CNN; the LSTM includes SLSTM and TLSTM;

[0015] The personal appearance features obtained by spatial CNN are: in represents the appearance characteristics of the i-th person, k is the number of people;

[0016] Input personal appearance features into SLSTM to obtain personal SLSTM features in, represents the SLSTM features of the i-th person;

[0017] Input personal optical flow features into SLSTM to obtain personal TLSTM features in, represents the TLSTM characteristics of the i-th person;

[0018] Then the feature output of all people in the tth frame is F t =(P1,P2...P i ...P k ).

[0019] Furthermore, the step of capturing the relationship characteristics between people based on the personal characteristics of each person and obtaining personal characteristics with relationship characteristics includes:

[0020] Input each person's personal characteristics into the hierarchical relationship network to capture the relationship characteristics between people and obtain personal characteristics with relationship characteristics;

[0021] The hierarchical relationship network is a multi-layer perceptron network constructed by a residual structure.

[0022] Furthermore, the key figures include core figures and active figures;

[0023] The step of identifying key figures from the video to be identified includes: identifying the core figure according to the average motion intensity of each person in the video to be identified; and identifying active figures according to the spatial distance and motion feature correlation between other people in the video to be identified and the core figure.

[0024] Furthermore, the step of obtaining the group behavior recognition result according to the personal characteristics of the key person with relationship characteristics includes:

[0025] According to the personal characteristics of the key figures with relationship characteristics, the personal characteristics of the key figures with enhanced relationship characteristics are obtained, and according to the personal characteristics of the key figures with enhanced relationship characteristics, the group behavior recognition result is obtained.

[0026] Furthermore, the step of obtaining the key person's personal features with relationship-enhancing features based on the key person's personal features with relationship features includes:

[0027] Input the key person's personal characteristics with relationship characteristics into the key person network to obtain the key person's personal characteristics with enhanced relationship characteristics;

[0028] The key person network is BiLSTM.

[0029] Furthermore, the step of obtaining the group behavior recognition result according to the personal characteristics of the key person with the characteristics of strengthening the relationship includes:

[0030] Input the key person's personal characteristics with enhanced relationship characteristics into the group recognition network to obtain the group behavior recognition results;

[0031] The group identification network is a softmax classifier.

[0032] Furthermore, after the step of obtaining the group behavior recognition result according to the personal characteristics with relationship characteristics of the core person and the key person, the following step is further included:

[0033] The video to be identified and the corresponding recognition results are input into the CRF layer for error correction to obtain the final group behavior recognition results;

[0034] The CRF layer constructs each frame in the video to be identified as a node and the relationship between frames in the video sequence as edges.

[0035] After adopting the above technical scheme, the present invention has the following beneficial effects compared with the prior art.

[0036] 1. The final scene recognition is completed by modeling the interactive relationship between group members and focusing on key participants to improve recognition accuracy.

[0037] 2. This application proposes a new group member relationship modeling method, constructs an undirected relationship graph, captures the features of the edges in the interaction relationship graph by sharing a multi-layer perceptron, and sums the features of all edges of the node as the new feature of this node; in order to obtain a high-order hierarchical interaction relationship representation, multiple relationship layers are stacked, and the hierarchical relationship representation of each person is learned.

[0038] 3. This application also proposes a new key person modeling method, which defines the member with the strongest motion feature as the core person, and defines other key persons based on the spatial distance and motion feature correlation with the core person; then the features of all key persons are input into Bi-LSTM to learn the implicit interaction relationship between key persons.

[0039] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are part of the present invention and are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but do not constitute an improper limitation of the present invention. Obviously, the accompanying drawings described below are only some embodiments. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0041] Figure 1 is a flow chart of a group behavior recognition method provided by an embodiment of the present invention;

[0042] Figure 2 A schematic diagram of the structure of a group behavior recognition device provided by an embodiment of the present invention;

[0043] Figure 3 A schematic diagram of the structure of a group behavior recognition device provided in an embodiment of the present invention.

[0044] It should be noted that these drawings and textual descriptions are not intended to limit the conceptual scope of the present invention in any way, but are intended to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The following embodiments are used to illustrate the present invention but are not used to limit the scope of the present invention.

[0046] In the description of the present invention, it should be noted that the terms "upper", "lower", "front", "back", "left", "right", "vertical", "inside", "outside" and the like indicate directions or positional relationships based on the

[0047] The orientations or positional relationships shown in the drawings are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, they should not be understood as limitations on the present invention.

[0048] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0049] Human behavior recognition is a challenging computer vision problem and has always been a hot topic of widespread concern in academia. The special challenge of group behavior recognition is that it requires not only the characteristic attributes of a single person, but also the interaction information between members. In addition, due to the large number of group members, the features are redundant. How to streamline group features and focus on a few key participants is another key factor in improving the accuracy and reducing the computational complexity of group recognition. This requires an algorithm to combine the interaction relationship between group members and focus on the modeling of key participants to complete the final scene recognition.

[0050] In view of the above problems, the present invention proposes a group behavior recognition method, such as Figure 1 As shown, the following steps are included:

[0051] S1. Extract the features of each person in the video to be identified to obtain the personal features of each person;

[0052] S2. Based on each person’s personal characteristics, capture the relationship characteristics between people and obtain personal characteristics with relationship characteristics;

[0053] S3. Identify key persons from the video to be identified;

[0054] S4. Obtain group behavior recognition results based on the personal characteristics of key figures with relationship characteristics.

[0055] In the method of the present invention, when performing group behavior recognition on the video to be recognized, not only the personal characteristics of the group members are used, but also the interactive relationships of the group members are integrated, and the relationship characteristics are integrated into the personal characteristics of the group members, so as to extract more information that is beneficial to improving the recognition accuracy; subsequently, by focusing on key figures, while reducing the dimension of the feature data, the data that is crucial to the classification accuracy is retained, that is, the amount of data is reduced while ensuring the accuracy, thereby improving the recognition accuracy of group behavior.

[0056] Furthermore, step S1 extracts the features of each person in the video to be identified, and obtains the personal features of each person. Specifically, the video to be identified is input into a feature extraction network to extract the features of each person, and obtain the personal features of each person.

[0057] In a specific embodiment, the feature extraction network mainly includes CNN and LSTM. CNN includes spatial CNN and temporal CNN; LSTM includes SLSTM and TLSTM. First, both spatial CNN and temporal CNN belong to CNN and need to be trained before use.

[0058] Before using the spatial CNN, it is trained by inputting RGB images, and the trained spatial CNN is used to extract personal appearance features. Before using the temporal CNN, it is trained by inputting optical flow information in the video, and the trained temporal CNN is used to extract personal optical flow features.

[0059] Assuming that the bounding box of each person in the video to be identified is given, for spatial CNN, video frames are extracted from the video as input. For temporal CNN, the dense over-flow algorithm is first used to obtain the optical flow information in the video using OpenCV as the input of temporal CNN.

[0060] Specifically:

[0061] The personal appearance features obtained by spatial CNN are: in represents the appearance characteristics of the i-th person, and k is the number of people.

[0062] The individual optical flow feature obtained by temporal CNN is: in, Represents the optical flow feature of the i-th person.

[0063] Both SLSTM and TLSTM are LSTM. After LSTM makes full use of the long-term contextual relationship of the video, SLSTM features and TLSTM features are obtained. Before use, both SLSTM and TLSTM must be trained. Before use, SLSTM is trained by inputting personal appearance features extracted by spatial CNN. The trained SLSTM is used to extract personal SLSTM features. Before use, TLSTM is trained by inputting personal optical flow features extracted by temporal CNN. The trained TLSTM is used to extract personal TLSTM features.

[0064] Compared with the convolutional layer features in the network, the fully connected layer features have better semantics and higher-level abstract information, and are therefore more suitable as LSTM input. Therefore, we extract the FC6 layers of the spatial CNN and temporal CNN as LSTM inputs.

[0065] Specifically:

[0066] Input personal appearance features into SLSTM to obtain personal SLSTM features in, represents the SLSTM features of the i-th person;

[0067] Input personal optical flow features into TLSTM to obtain personal TLSTM features in, represents the TLSTM characteristics of the i-th person;

[0068] Then the feature output of the i-th person in the t frame is in, represents the appearance features of the i-th person in the t-th frame of the video to be identified, represents the optical flow feature of the i-th person in the t-th frame, represents the SLSTM feature of the i-th person in the t-th frame, shows the TLSTM features of the i-th person in the t-th frame, Represents the concatenation operator; Represents the pooling operator;

[0069] Then the feature output of all people in the tth frame is F t =(P1,P2...P i ...P k ).

[0070] Further, step S2: based on each person's personal characteristics, the relationship characteristics between people are captured to obtain personal characteristics with relationship characteristics, specifically:

[0071] Input each person's personal characteristics into the hierarchical relationship network to capture the relationship characteristics between people and obtain the personal characteristics with relationship characteristics;

[0072] In a specific embodiment, the hierarchical relationship network is a multi-layer perceptron network constructed by a residual structure.

[0073] Group behavior is accomplished by the joint efforts of multiple group members, and it is difficult to correctly distinguish it using only a single person's spatiotemporal model. Therefore, a new hierarchical relationship network, namely a multi-layer perceptron network, is designed to capture the relationship characteristics between people.

[0074] The hierarchical relational network processes one video frame at a time, and the input video frame has multiple potential relation graphs and associated N feature vectors. N feature vectors and a relation graph are provided to a single relation layer and mapped to N new relation representations. The basic module of the hierarchical relational network is the individual relation processing unit, which is used to process individuals in the scene. By aggregating the information of each neighbor in the relation graph, each person's feature vector is mapped to a new representation. Within a relation layer, this person relation processing unit is used to process each person in the scene. This provides a new feature representation for each person in the scene that captures their personal characteristics as well as the characteristics of their neighbors. Then, using the residual structure, multiple relation layers are constructed, each with its own graph structure and relation unit parameters, to learn high-order relation representations of the participants. Finally, the features of the characters are merged to construct scene features.

[0075] Specifically, given individual feature vectors, these vectors are fed into stacked relational layers. Each relational layer is associated with a relational graph (in the method of the present invention, each layer uses a complete graph). Each layer shares a shared MLP that computes feature representations of two adjacent participants, and the output pooled feature vector is used as the input of the next layer.

[0076] The formula is as follows: Given a video frame, the representation P of the i-th person in the l-th relation layer is i l , that is, the personal characteristics of the i-th person with relationship characteristics in the l-th relationship layer, calculated as follows

[0077] P i 0 =P i (1)

[0078]

[0079] Where P i 0 is the personal feature of the ith person after the feature extraction network, is the relationship graph G from layer l l The set of relationship edges of the i-th person in , and is the concatenation operator. in, is the set of personal features with relationship features for all persons in the lth layer, where N l It is the dimension of the personal characteristics of each person with relational characteristics at the lth level.

[0080] Functional MLP l The shared parameter is θ l The MLP of the lth network layer, i.e., the multilayer perceptron, is an end-to-end differentiable model. The input size of the MLP is 2N l-1 and output size Nl Given two concatenated vectors, MLP l Map them to new vectors that capture the relationship characteristics between members.

[0081] Through the residual structure, multiple compressed relational layers are cascaded, and each compressed relational layer has its own graph structure, and the reduced-dimensional individual features can be constructed from one layer to another until the desired compact relational representation is formed. The final scene representation S is the set of individual features of all members with relational features from the output of the last relational layer, and is defined as:

[0082]

[0083] Where P i L is the output representation of the i-th person in the last relational layer L, i.e., the personal features of the i-th person in the relational layer L with relational features, is the pooling operator.

[0084] Furthermore, step S3 identifies key characters from the video to be identified; the definition of key characters is to reduce the dimension of feature data while retaining the key to classification accuracy. In the method of the present invention, key characters are divided into core characters and active characters. The core characters are mainly identified based on the average motion intensity of each person in the video to be identified; the active characters are identified based on the spatial distance and motion feature correlation between other people in the video to be identified and the core characters.

[0085] In group behavior, usually only a few participants essentially define the behavior attributes of the group. Therefore, the method of the present invention proposes a new key person modeling method, which can subdivide key persons into core persons and active persons.

[0086] For the core person, the average motion intensity of each person in the video to be identified is first calculated, and then the member with the strongest average motion intensity is determined as the core person.

[0087] First, calculate the average motion intensity of each person in the video to be identified. The formula is as follows:

[0088]

[0089]

[0090] in, represents the exercise intensity of the i-th person at time t, MI i SF represents the average motion intensity of the i-th person in the entire video. i(u, v, m) represents the movement of the i-th person at time (u, v), where T1, w, and h represent what. i The larger the value, the greater the contribution of the person to the group. Therefore, MI is defined as i The largest member is the core character. Then, based on the spatial distance and motion feature correlation between other people in the video to be identified and the core character, other key characters, i.e. active characters, are defined. The calculation formula is as follows:

[0091]

[0092] in, represents the motion characteristics of the i-th person, represents the motion feature correlation between the i-th person and the j-th person, where d1 is a normalization factor; the dot product is used to calculate the motion correlation in the present invention.

[0093]

[0094] in, represents the center coordinates of the i-th person's bounding box, Represents the distance correlation between the i-th person and the j-th person. This paper uses Euclidean distance to represent the spatial distance correlation. represents the Euclidean distance between the i-th person and the j-th person.

[0095] Then the two functions are fused to form a scalar weight to comprehensively consider the motion feature relationship and spatial distance relationship of the two people. The calculation formula of the scalar weight is as follows:

[0096]

[0097] and Represents the distance and motion features of the core character c0. It represents the correlation between the i-th person and the core person c0. After normalization, the sum of the interaction relationships between other members in the group and the core member is 1.

[0098] Furthermore, step S4 obtains the group behavior recognition result based on the key person's personal characteristics with relationship characteristics. The specific process is: first, based on the key person's personal characteristics with relationship characteristics, obtain the key person's personal characteristics with enhanced relationship characteristics, and based on the key person's personal characteristics with enhanced relationship characteristics, obtain the group behavior recognition result.

[0099] When obtaining the personal features of the key person with enhanced relationship features, the personal features of the key person with relationship features are first input into the key person network to obtain the personal features of the key person with enhanced relationship features; wherein the key person network is BiLSTM.

[0100] In a specific embodiment, the member features of the group are arranged in descending order according to relevance, and the four people with the strongest relevance to the core person are retained as active persons. The personal features of the key person with relationship features are input into the BiLSTM to obtain the personal features of the key person with enhanced relationship features.

[0101] BiLSTM bidirectional long short-term memory network, forward hidden state sequence generated by BiLSTM and the backward hidden state sequence The final representation of the i-th person at time t is That is, the personal feature vector of the i-th person with the enhanced relationship feature is the output calculated by summing up step by step. Let H be the output vector The feature vector produced by the BiLSTM layer is a matrix composed of , where T1 is the number of people in the scene.

[0102] Furthermore, the personal features of the key figures with enhanced relationship features are input into the group recognition network to obtain the group behavior recognition results; wherein the group recognition network adopts a softmax classifier.

[0103] First, the scene representation r is expressed as a weighted sum of H:

[0104] M=tanh(H) (9)

[0105] α=softmax(ω T M) (10)

[0106] r=Hα T (11)

[0107] in d ω is the dimension of personal characteristics, is a set of personal features of all people in the scene with enhanced relationship features, ω is a trainable parameter vector, ω T is its transpose, α is the weight factor, α T is its transpose. The dimensions of ω, α and r are d ω ,R and d ω The method of the present invention finally obtains the feature representation for classification as follows:

[0108] h * =tanh(r)

[0109] In this setting, our method uses a softmax classifier to predict labels from a set of scenes r The classifier transforms the hidden state h * As input:

[0110]

[0111] in represents the probability when the scene is r and the label is y, W (r) is the matrix parameter, b (r) is a vector parameter.

[0112] The cost function is the true class label The negative log-likelihood of :

[0113]

[0114] in is the true label represented by one-hot encoding, is the probability of each category estimated by softmax, where m represents the number of target classes and λ is the L2 regularization hyperparameter. Combining dropout with L2 regularization, we finally get the corresponding weight value. The larger the weight value, the more important it is to the group.

[0115] Furthermore, after step S4, the process further includes inputting the video to be identified and the corresponding identification result into the CRF layer for error correction to obtain the final group behavior identification result. The CRF layer takes each frame in the video to be identified as a node and constructs the relationship between the frames in the video sequence as an edge.

[0116] In order to better improve the recognition accuracy, the present invention inputs the probability value of the group recognition candidate label obtained by the softmax layer into the CRF layer, and uses the binary potential function to encourage features with strong interactive relationships to be assigned the same category label, so as to correct the video frames with wrong categories and ultimately achieve the purpose of optimizing video accuracy.

[0117] Different from other methods, this method takes each frame as a node and the relationship between frames in the video sequence as edges to form a fully connected random field to capture long-distance dependencies. The Kipps energy in the fully connected conditional random field model is expressed as:

[0118]

[0119] Therefore, this paper uses the variable r of the i-th frame i , and the interaction relationship (edge) between frames to re-determine the category label y corresponding to the i-th frame i . Where ψ u (y i) is a one-dimensional potential function, and the two-dimensional potential function is defined as:

[0120] ψ p (y i ,y j )=μ(y i ,y j )k(f i ,f j ) (16)

[0121] Among them, μ(y i ,y j ) is the label compatibility function, which is given by the Potts model μ(y i ,y j )=[y i ,≠y j ] is given, and this penalty mechanism is introduced for frame features with high similarity but assigned different labels; vector f i and f j Represent the feature vectors of the i-th frame and the j-th frame, r i S and r i S are the appearance features of the i-th and j-th frames, r i T and r i T are the motion features of the i-th and j-th frames respectively; k(f i ,f j ) represents the Gaussian kernel function, ω1, θ1 and θ2 are kernel parameters, expressed as follows:

[0122]

[0123] It can be seen that the kernel function is affected by the feature vector, that is, the same group should have similar underlying appearance features and motion features. Finally, the output candidate label probability of the CRF layer is re-identified to obtain the final classification result.

[0124] like Figure 2 As shown, the present invention also provides a group behavior recognition device, the group behavior recognition device comprising:

[0125] A personal feature extraction unit is used to extract the features of each person in the video to be identified to obtain the personal features of each person;

[0126] A relationship feature extraction unit is used to capture the relationship features between people based on each person's personal features, and obtain personal features with relationship features;

[0127] A key person identification unit, used to identify key persons from the video to be identified;

[0128] The recognition unit is used to obtain group behavior recognition results based on the personal characteristics of key persons with relationship characteristics.

[0129] The present application embodiment provides a device for setting a patrol route, such as Figure 3 As shown, it includes a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the group behavior recognition method as described in any one of the above method embodiments.

[0130] The present invention also provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed by a processor, the steps of the above-mentioned group behavior recognition method are implemented.

[0131] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0132] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment, it is not used to limit the present invention. Any technician familiar with this patent can make some changes or modify the technical contents suggested above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the solution of the present invention.

Claims

1. A group behavior recognition method, characterized in that: include: Extract the features of each person in the video to be identified to obtain each person's personal features; Input each person's personal characteristics into the hierarchical relationship network to capture the relationship characteristics between people and obtain personal characteristics with relationship characteristics; the hierarchical relationship network is a multi-layer perceptron network constructed by residual structure; Identify key persons from the video to be identified, including identifying the core person included in the key person according to the average motion intensity of each person in the video to be identified; identify active persons included in the key person according to the spatial distance and motion feature correlation between other persons in the video to be identified and the core person; obtain the key person's personal features with enhanced relationship features based on the key person's personal features with relationship features, and obtain group behavior recognition results based on the key person's personal features with enhanced relationship features; It also includes: constructing an undirected relationship graph, capturing the features of the edges in the interaction relationship graph by sharing a multi-layer perceptron, and summing the features of all edges of the node as the new features of the node; Multiple relation layers are stacked, and the hierarchical relation representation of each person is learned to obtain a high-order hierarchical exchange relation representation.

2. The group behavior recognition method according to claim 1, characterized in that: The step of extracting the features of each person in the video to be identified to obtain the personal features of each person includes: Input the video to be identified into the feature extraction network to extract the features of each person and obtain the personal features of each person; The feature extraction network includes CNN and LSTM.

3. The group behavior recognition method according to claim 2, characterized in that: The CNN includes spatial CNN and temporal CNN; the LSTM includes SLSTM and TLSTM; The personal appearance features obtained by spatial CNN are: in represents the appearance characteristics of the i-th person, k is the number of people; Input personal appearance features into SLSTM to obtain personal SLSTM features in, represents the SLSTM features of the i-th person; Input personal optical flow features into TLSTM to obtain personal TLSTM features in, represents the TLSTM characteristics of the i-th person; Then the feature output of all people in the tth frame is F t =(P1,P2...P i ...P k ).

4. The group behavior recognition method according to claim 1, characterized in that: The step of obtaining the key person's personal characteristics with relationship-enhancing characteristics according to the key person's personal characteristics with relationship characteristics comprises: Input the key person's personal characteristics with relationship characteristics into the key person network to obtain the key person's personal characteristics with enhanced relationship characteristics; The key person network is BiLSTM.

5. The group behavior recognition method according to claim 4, characterized in that: The step of obtaining the group behavior recognition result according to the personal characteristics of the key person with the characteristics of strengthening the relationship includes: Input the key person's personal characteristics with enhanced relationship characteristics into the group recognition network to obtain the group behavior recognition results; The group identification network is a softmax classifier.

6. The group behavior recognition method according to claim 5, characterized in that: After the step of obtaining the group behavior recognition result according to the personal characteristics of the key person with relationship characteristics, the method further includes: The video to be identified and the corresponding recognition results are input into the CRF layer for error correction to obtain the final group behavior recognition results.

7. The group behavior recognition method according to claim 6, characterized in that: The CRF layer constructs each frame in the video to be identified as a node and the relationship between frames in the video sequence as edges.