Capture method based on video stream attitude simulation

By combining the lightweight network MHRNet and LSTM, video frame data processing and feature fusion are optimized, which solves the problems of large network parameters, high computational complexity and insufficient model perception capabilities in the existing technology, and achieves more accurate human posture capture. , especially the improvement in geometric consistency and temporal dependence between video frames.

CN118629085AInactive Publication Date: 2024-09-10北京汇畅数宇科技发展有限公司

Patent Information

Application Number
CN202311568789.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing human pose estimation methods based on video sequences suffer from large network parameters, high computational complexity, and insufficient model perception capabilities. Moreover, human pose estimation methods based on dynamic images perform poorly in video data and cannot guarantee the accuracy between video frames. Geometric consistency and time dependence, leading to poor estimation results.

Method used

The lightweight network MHRNet and the long short-term memory network LSTM are combined to optimize the attitude estimation data and build the attitude time constraint module by segmenting video frame data, fusing feature data, using the contact marking network and spatial pooling pyramid module to enhance the experience of the model. Vision and feature fusion capabilities.

Benefits of technology

It improves the accuracy of human posture capture, reduces the amount of model parameters and computational complexity, enhances the modeling ability of geometric consistency and time dependence between video frames, and improves feature extraction and processing under occlusion and small scale conditions. Capturing ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629085A
    Figure CN118629085A
Patent Text Reader

Abstract

The invention discloses a capturing method and system based on video stream posture simulation, and the method comprises the steps: continuously obtaining human body posture video frame data, processing each frame of graphic data in a segment through employing a lightweight network MHRNet, and obtaining the feature data of a human body posture joint point; performing data fusion on the feature data at different moments to obtain a spatial feature sequence of the human body posture, and inputting the spatial feature sequence into a long-short term memory (LSTM) network to obtain posture fusion data with time sequence features; performing motion capture on the attitude fusion data by adopting a contact mark network based on a convolution model to obtain attitude estimation data; and taking data close to joint nodes in the attitude estimation data set as trajectory data, and performing attitude balance optimization on the trajectory data to obtain attitude dynamic data, thereby effectively improving the accuracy of human body attitude capture, solving the problem of detail loss, and effectively capturing information of key points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video gesture capture, and in particular to a capture method based on video stream gesture simulation. Background Art

[0002] Human posture capture is an important task in image processing. It aims to estimate the key points of the human body, such as the head, shoulders, legs, etc., from the input image or time-series video, and then combine the joints into the correct human posture to infer the spatial position of the human body. Human posture estimation has become an important means for computers to capture human motion and behavior information. By connecting multiple frames of human posture in video images, a person's behavior trajectory can be formed, which can provide important behavior description information. Human posture estimation has a very broad application prospect.

[0003] At present, according to the type of different input data, the human body posture capture methods based on video streams are divided into the following two categories: human body posture estimation methods based on video sequences and human body posture estimation methods based on dynamic images. The main problems are as follows:

[0004] (1) Human posture estimation methods based on video sequences have problems such as large number of network parameters, high computational complexity, and insufficient model perception ability;

[0005] (2) Although the human body posture estimation method based on dynamic images has achieved remarkable results on dynamic images, when it is directly applied to video data in actual scenarios, there will be a decline in performance. The detection accuracy cannot be compared with the results on image data. The timing information between video frames is not fully considered. Especially when there are part occlusions and a large number of foreign objects in the video, the geometric consistency and time dependence between video frames cannot be guaranteed, which will produce poor estimation results. Summary of the invention

[0006] The purpose of the present invention is to provide a capture method based on video stream posture simulation to solve the technical problems in the prior art, such as large number of network parameters, high computational complexity, insufficient model perception ability, and inability to ensure geometric consistency and time dependency between video frames.

[0007] In order to solve the above technical problems, the present invention specifically provides the following technical solutions:

[0008] The present invention provides a capture method based on video stream posture simulation, comprising the following steps:

[0009] Continuously obtain human posture video frame data, divide the video frame data into a series of segments with a fixed number of frames according to the video frame time sequence, use the lightweight network MHRNet to process each frame of graphic data in the segment, and obtain feature data at the human posture joint points;

[0010] The feature data at different times are fused to reduce the amount of data of the human body posture at each joint to obtain a spatial feature sequence of the human body posture, and the spatial feature sequence is input into a long short-term memory network LSTM to obtain posture fusion data with time series characteristics;

[0011] Using a contact marker network based on a convolutional model to perform motion capture on the posture fusion data to obtain posture estimation data, and optimizing the posture estimation data through a spatial pooling pyramid module to obtain a posture estimation data set;

[0012] The data near the joint nodes in the posture estimation data set are used as trajectory data, posture balance optimization is performed on the trajectory data to obtain posture dynamic data, and trajectory regression simulation is performed on the posture dynamic data to obtain posture capture data.

[0013] As a preferred solution of the present invention, the continuous human posture video frame data is input into a recurrent convolutional neural network to obtain video frame feature data arranged in a video frame time sequence, including:

[0014] The human body posture video frame data is input into the recurrent convolutional neural network. The recurrent convolutional neural network gradually extracts the spatial information of each frame image through the convolution layer and the pooling layer. The recurrent convolutional neural network adopts a directed cyclic calculation mode to obtain the convolutional neural network system state, which is expressed as:

[0015] h (t) =f(αh (t-1) ,βx (t) ,θ)

[0016] x (t) =σ(x (t-1) )

[0017] Among them, x (t) represents the convolutional layer input at time t, f represents the nonlinear activation function, and h (t) represents the hidden state at time t, h (t-1) represents the hidden state at time t-1, α and β represent the weight matrix under the hidden state, θ represents the bias vector, σ represents the activation function, and x (t-1) Represents the convolutional layer input at time t-1;

[0018] The spatial information is converted into a feature vector, and the feature vector is sorted according to a video frame time sequence to obtain video frame feature data.

[0019] As a preferred solution of the present invention, a lightweight network MHRNet based on time constraints is used for the video frame data according to the time sequence to obtain feature data at human body posture joints between adjacent frames, including:

[0020] Sorting the video frame data into consecutive frames according to the event sequence, obtaining the relationship between the consecutive frames and the time correlation, using LSTM as the model of the lightweight network MHRNet, obtaining the relationship between the geometric consistency and the time dependency between the video frame data, and extracting the video frame feature data based on the time sequence;

[0021] Input the video frame feature data into the lightweight network MHRNet to establish a heat map at the joint point, and fuse the heat map data at the joint of the previous frame and the current heat map data by adding and merging the hot spots of the current heat map element by element, to obtain the merged heat map data;

[0022] The merged heat map data is copied and processed by a recurrent convolutional neural network to obtain independent joint feature data in each frame, the joint feature data are fused, and the data with time constraints of the joint posture are obtained by group convolution, and the data with time constraints are used as the feature data at the joint points of the human body posture.

[0023] As a preferred solution of the present invention, the feature data at different times are reduced by posture time domain management to reduce the amount of data of human posture at each joint, and a spatial feature sequence of human posture is obtained by a multi-level convolutional neural network, including:

[0024] Inputting the feature data in different time periods into a multi-level convolutional neural network frame by frame according to the time sequence of the feature data, setting a central Gaussian map in the multi-level convolutional neural network to connect different convolution units to establish a recursive neural network;

[0025] In the recursive neural network, the same frames and time series vectors of the feature data with geometric consistency are obtained through a long short-term memory network LSTM, and the same frames are encoded through the time series vectors to obtain the association at the joint points;

[0026] The spatial coordinates based on the human body posture are established by the correlation at the joint points, and a learning weight is set for each joint point of the human body, and a weight vector corresponding to each joint point is obtained by inputting the feature data of the human body joint points into a multi-level convolutional neural network;

[0027] A three-dimensional convolution kernel is established through the weight vector to obtain different transformation matrices for each joint position learning, and the amount of joint data is adjusted in real time according to actual needs through the final capture of the feature data to obtain posture fusion data with time series characteristics;

[0028] As a preferred solution of the present invention, the posture fusion data is subjected to motion capture using a contact marker network to obtain posture estimation data, including:

[0029] The contact labeling network uses a graph convolution model to connect the spatial coordinates of the human body posture, classifies the distribution state of the joint points, and constructs a skeleton graph G(V, E, H) at the joint points according to the spatial coordinates of the human body posture, where V, E, and H represent the three-dimensional vectors of the human body posture in the spatial rectangular coordinate system, respectively. The output feature X of the joint in operation is obtained through the graph convolution model. Out :

[0030]

[0031] Among them, P = {r,u,l} represents the center of the human body, the upper body joints and the lower body joints respectively, p represents the human body joints, and A∈{0,1} n×n represents the n×n dimensional adjacency matrix, D∈R n×n represents the n×n dimensional joint angle matrix, X in ∈R n×n represents the input features of the joint points, Represents the learnable weight matrix and feature matrix at the human joint p at time t;

[0032] The output feature X out The long short-term memory network LSTM is connected, and the connection structure of the posture is obtained through the frame-by-frame time series vector output by the long short-term memory network LSTM. According to the connection structure of the posture, the two-dimensional joint nodes of the joint points are obtained by judging whether they are in contact, so as to capture the posture estimation data.

[0033] As a preferred solution of the present invention, the posture estimation data is optimized through a spatial pooling pyramid module to obtain a posture estimation data set, including:

[0034] The posture estimation data is downsampled layer by layer from bottom to top, a Gaussian pyramid data model is constructed, a LK optical flow algorithm is used to detect moving objects in the layer, and key frame data of pixel points in the layer are obtained;

[0035] Starting from the highest layer of the Gaussian pyramid data model, iterating the key frame data of the corresponding pixel points in each layer downward in sequence, defining an interval frame as taking one frame every three frames, extracting the key frame data layer by layer, and correcting the extraction results to obtain posture estimation data;

[0036] Establishing an MPII data set for the posture estimation data, and mapping the posture estimation data back to the final original image;

[0037] As a preferred solution of the present invention, the data near the joint nodes in the posture estimation data set are used as trajectory data, and the posture balance optimization is performed on the trajectory data to obtain posture dynamic data, including:

[0038] Obtain the perspective matrix K by mapping the original image data with the posture estimation data, set the projection scale s of the original image, and construct the loss function L by the posture estimation data in the posture estimation data set. c :

[0039] W′=sKX

[0040] L r (X,K)=‖W-KX‖ f

[0041]

[0042] Among them, X represents the three-dimensional posture predicted based on the original image, W represents the two-dimensional posture predicted based on the original image, W′ represents the posture after reverse prediction, f represents the dynamic posture data at the joint, and L r (X, K) represents the loss function of the reverse mapping, I2 represents the identity matrix set based on the original image, and L c Represents the loss function based on the original image parameter prediction;

[0043] Through the loss function L c Back-mapping detects pose deviations and adjusts convolution parameters in the recurrent convolutional neural network to dynamically capture pose data.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] The present invention adopts an LSTM module based on time constraints to model the geometric consistency and time dependency between video frames, and constructs a posture time constraint module to compress the search range of key points. Through the spatial pooling pyramid module, the model's perception field of view is increased, local detail features and global features are integrated, and the accuracy of human posture capture is effectively improved.

[0046] The high-resolution lightweight network MHRNet is used as the backbone network to reduce the number of model parameters and computational complexity and achieve the goal of lightweight network. The recurrent convolutional network model is used to provide more accurate features for small-scale key points and reduce the impact of positioning errors, solving the problem of detail loss. In the case of occlusion and small scale, the information of key points can be effectively captured, effectively improving the feature extraction and capture capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0048] Figure 1 A flow chart of a method for capturing video stream posture simulation provided by an embodiment of the present invention; Figure 2 The correlation at the joint points in the method for capturing video stream posture simulation provided by the embodiment of the present invention establishes a spatial coordinate synthesis graph based on the human body posture. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] like Figure 1 As shown, the present invention provides a capture method based on video stream posture simulation, comprising the following steps:

[0051] Continuously obtain human posture video frame data, divide the video frame data into a series of segments with a fixed number of frames according to the video frame time sequence, use the lightweight network MHRNet to process each frame of graphic data in the segment, and obtain feature data at the human posture joint points;

[0052] The feature data at different times are fused to reduce the amount of data of the human body posture at each joint to obtain a spatial feature sequence of the human body posture, and the spatial feature sequence is input into a long short-term memory network LSTM to obtain posture fusion data with time series characteristics;

[0053] In this embodiment, the video sequence is first divided into a series of segments with a fixed number of frames, and the lightweight network MHRNet is used to process each frame of the image to learn high-level key point features. Then, the joint point positions at different times are fused to generate a smaller search range for each joint point, thereby reducing the data volume of the spatial feature sequence and improving processing efficiency.

[0054] Using a contact marker network based on a convolutional model to perform motion capture on the posture fusion data to obtain posture estimation data, and optimizing the posture estimation data through a spatial pooling pyramid module to obtain a posture estimation data set;

[0055] In this embodiment, the contact marker network is used to correct imbalance states such as unnatural posture tilt on the basis of optimization, thereby improving the accuracy of posture estimation data during motion capture.

[0056] The data near the joint nodes in the posture estimation data set are used as trajectory data, posture balance optimization is performed on the trajectory data to obtain posture dynamic data, and trajectory regression simulation is performed on the posture dynamic data to obtain posture capture data.

[0057] Inputting the continuous human posture video frame data into a recurrent convolutional neural network to obtain video frame feature data arranged in a video frame time sequence, including:

[0058] The human body posture video frame data is input into the recurrent convolutional neural network. The recurrent convolutional neural network gradually extracts the spatial information of each frame image through the convolution layer and the pooling layer. The recurrent convolutional neural network adopts a directed cyclic calculation mode to obtain the convolutional neural network system state, which is expressed as:

[0059] h (t) =f(αh (t-1) ,βx (t) ,θ)

[0060] x (t) =σ(x (t-1) )

[0061] Among them, x (t) represents the convolutional layer input at time t, f represents the nonlinear activation function, and h (t) represents the hidden state at time t, h (t-1) represents the hidden state at time t-1, α and β represent the weight matrix under the hidden state, θ represents the bias vector, σ represents the activation function, and x (t-1) Represents the convolutional layer input at time t-1;

[0062] In this embodiment, the convolutional neural network system state not only connects the current input sequence and output, but also transmits and shares information between input sequences of different time steps through temporal continuity. The output is affected not only by the input at the current moment, but also by the input at the previous moment.

[0063] In this embodiment, the convolutional neural network can be used to process the spatial features and temporal features in the video sequence respectively. In the process of extracting video spatial information, the original pixel data of the video frame is transformed to obtain the corresponding feature vector description.

[0064] The spatial information is converted into a feature vector, and the feature vector is sorted according to a video frame time sequence to obtain video frame feature data.

[0065] In this embodiment, a convolutional neural network can be used to extract key features from each video frame and generate corresponding feature vectors. The feature vectors are then sent to the recurrent neural network, and the feature vectors are modeled by the recurrent neural network to capture dynamic relationships based on timing, and finally obtain key point information of the human body.

[0066] In this embodiment, after completing the spatial feature extraction, a fixed number of vector features are processed and time-related features are obtained using a recurrent neural network, thereby achieving video-based human posture estimation.

[0067] According to the time sequence, the video frame data is subjected to a time-constrained lightweight network MHRNet to obtain feature data at human body posture joints between adjacent frames, including:

[0068] Sorting the video frame data into consecutive frames according to the event sequence, obtaining the relationship between the consecutive frames and the time correlation, using LSTM as the model of the lightweight network MHRNet, obtaining the relationship between the geometric consistency and the time dependency between the video frame data, and extracting the video frame feature data based on the time sequence;

[0069] In this embodiment, the basic structure of the LSTM includes an output gate, an input gate and a forget gate, wherein the output gate controls the output information of the current time step, the input gate controls the influence of the input information of the current time step on the cell state, and the forget gate controls the influence of the cell state of the previous time step on the cell state of the current time step. LSTM can achieve good results in processing sequence data through the introduction of gating mechanism and special variables.

[0070] Input the video frame feature data into the lightweight network MHRNet to establish a heat map at the joint point, and fuse the heat map data at the joint of the previous frame and the current heat map data by adding and merging the hot spots of the current heat map element by element, to obtain the merged heat map data;

[0071] The merged heat map data is copied and processed by a recurrent convolutional neural network to obtain independent joint feature data in each frame, the joint feature data are fused, and the data with time constraints of the joint posture are obtained by group convolution, and the data with time constraints are used as the feature data at the joint points of the human body posture.

[0072] In this embodiment, the recurrent convolutional neural network is used to obtain the similarity and time correlation between consecutive frames for modeling, which can capture long-distance dependencies and better utilize timing information. For joints that are easily occluded or moved, memory cells make better use of their historical positions and use information in previous frames to better estimate the occluded joints, which helps to improve the accuracy of the estimation and obtain a stable sequence output.

[0073] In this embodiment, after the video frame is preprocessed by the recurrent neural network, it is input into the MHRNet network for feature extraction. First, the spatial features obtained at this moment and the spatial features obtained at the previous moment are subjected to posture time constraints according to the timing, and the key point detection is optimized within the compression range. Then, the final fusion heat map and the spatial feature information of the previous moment are input into the LSTM unit. After being processed by the LSTM unit, the obtained feature heat map is processed to achieve the purpose of expanding the field of view and maintaining the context information to a large extent. The timing information contained in the video sequence can be fully extracted and passed to the prediction of the key points in the next stage, thereby improving the prediction accuracy of the joint points.

[0074] like Figure 2 As shown, in this embodiment, a feature heat map is obtained after the LSTM unit is processed, the feature data at the joints of the feature heat map joints are time-series processed, key point prediction is performed on the time-series processed data to obtain prediction data between multi-joint lines, and the feature heat map data are connected by coordinate lines to obtain a rough description of the image posture in the video frame.

[0075] The feature data at different times are reduced by posture time domain management to reduce the amount of data of human posture at each joint, and a spatial feature sequence of human posture is obtained by a multi-level convolutional neural network, including:

[0076] Inputting the feature data in different time periods into a multi-level convolutional neural network frame by frame according to the time sequence of the feature data, setting a central Gaussian map in the multi-level convolutional neural network to connect different convolution units to establish a recursive neural network;

[0077] In this embodiment, by performing a multi-scale convolution operation on the time series feature map of the feature data, the receptive field is expanded, and time series features of different scales are obtained. During the calculation process, multiple pixels can be processed simultaneously, thereby improving the processing efficiency of the model.

[0078] In the recursive neural network, the same frames and time series vectors of the feature data with geometric consistency are obtained through a long short-term memory network LSTM, and the same frames are encoded through the time series vectors to obtain the association at the joint points;

[0079] The spatial coordinates based on the human body posture are established by the correlation at the joint points, and a learning weight is set for each joint point of the human body, and a weight vector corresponding to each joint point is obtained by inputting the feature data of the human body joint points into a multi-level convolutional neural network;

[0080] A three-dimensional convolution kernel is established through the weight vector to obtain different transformation matrices for each joint position learning, and the amount of joint data is adjusted in real time according to actual needs through the final capture of the feature data to obtain posture fusion data with time series characteristics;

[0081] The posture fusion data is subjected to motion capture using a contact marker network to obtain posture estimation data, including:

[0082] The contact labeling network uses a graph convolution model to connect the spatial coordinates of the human body posture, classifies the distribution state of the joint points, and constructs a skeleton graph G(V, E, H) at the joint points according to the spatial coordinates of the human body posture, where V, E, and H represent the three-dimensional vectors of the human body posture in the spatial rectangular coordinate system, respectively. The output feature X of the joint in operation is obtained through the graph convolution model. out :

[0083]

[0084] Among them, P = {r,u,l} represents the center of the human body, the upper body joints and the lower body joints respectively, p represents the human body joints, and A∈{0,1} n×n represents the n×n dimensional adjacency matrix, D∈R n×n represents the n×n dimensional joint angle matrix, X in ∈R n×n represents the input features of the joint points, Represents the learnable weight matrix and feature matrix at the human joint p at time t;

[0085] The output feature X out The long short-term memory network LSTM is connected, and the connection structure of the posture is obtained through the frame-by-frame time series vector output by the long short-term memory network LSTM. According to the connection structure of the posture, the two-dimensional joint nodes of the joint points are obtained by judging whether they are in contact, so as to capture the posture estimation data.

[0086] In this embodiment, the contact marker network is used to connect the joint point data of the two-dimensional posture, and the rich dependencies between the joints are captured from the two-dimensional posture mapping relationship in each frame to obtain the posture estimation data set and feature representation.

[0087] The posture estimation data is optimized through a spatial pooling pyramid module to obtain a posture estimation data set, including:

[0088] The posture estimation data is downsampled layer by layer from bottom to top, a Gaussian pyramid data model is constructed, a LK optical flow algorithm is used to detect moving objects in the layer, and key frame data of pixel points in the layer are obtained;

[0089] Starting from the highest layer of the Gaussian pyramid data model, iterating the key frame data of the corresponding pixel points in each layer downward in sequence, defining an interval frame as taking one frame every three frames, extracting the key frame data layer by layer, and correcting the extraction results to obtain posture estimation data;

[0090] Establishing an MPII data set for the posture estimation data, and mapping the posture estimation data back to the final original image;

[0091] In this embodiment, the LK optical flow algorithm is used to detect dynamic postures in the field of view, and the gray value I(x, y, t) of the image at time t is defined, and the offset of its gray value between two frames is Δx, Δy, Δt, and the change of gray value under the offset condition is obtained:

[0092]

[0093] Among them, ε is a high-order small quantity;

[0094] Set the speed of the dynamic object pixel in the field of view in the x and y directions to v x 、v y , get the final expression of optical flow:

[0095] v x I x +v y I y +I t =0

[0096] Among them, I x Represents the partial derivative of the pixel with respect to x, I y Represents the partial derivative of the pixel with respect to y, I t Represents the partial derivative of the pixel with respect to t.

[0097] The data at the adjacent joint nodes in the posture estimation data set are used as trajectory data, and posture balance optimization is performed on the trajectory data to obtain posture dynamic data, including:

[0098] Obtain the perspective matrix K by mapping the original image data with the posture estimation data, set the projection scale s of the original image, and construct the loss function L by the posture estimation data in the posture estimation data set. c :

[0099] W′=sKX

[0100] L r(X,K)=‖W-KX‖ f

[0101]

[0102] Among them, X represents the three-dimensional posture predicted based on the original image, W represents the two-dimensional posture predicted based on the original image, W′ represents the posture after reverse prediction, f represents the dynamic posture data at the joint, and L r (X, K) represents the loss function of the reverse mapping, I2 represents the identity matrix set based on the original image, and L c Represents the loss function based on the original image parameter prediction;

[0103] Through the loss function L c Back-mapping detects pose deviations and adjusts convolution parameters in the recurrent convolutional neural network to dynamically capture pose data.

[0104] In this embodiment, the loss function L is used c The trajectory data in the posture estimation dataset is balanced and optimized to reduce the robustness of posture changes. The deviation is checked through reverse mapping and then fine-tuned in the trajectory space so that the final output three-dimensional posture can match the two-dimensional posture after reverse mapping. The reverse iteration is defined by the output loss, and the convolution parameters are readjusted, which can effectively improve the accuracy of the motion capture data.

[0105] The present invention adopts an LSTM module based on time constraints to model the geometric consistency and time dependency between video frames, and constructs a posture time constraint module to compress the search range of key points. Through the spatial pooling pyramid module, the model's perception field of view is increased, local detail features and global features are integrated, and the accuracy of human posture capture is effectively improved.

[0106] The high-resolution lightweight network MHRNet is used as the backbone network to reduce the number of model parameters and computational complexity and achieve the goal of lightweight network. The recurrent convolutional network model is used to provide more accurate features for small-scale key points and reduce the impact of positioning errors, solving the problem of detail loss. In the case of occlusion and small scale, the information of key points can be effectively captured, effectively improving the feature extraction and capture capabilities.

[0107] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A capture method based on video stream posture simulation, characterized in that: The following steps are involved: Continuously obtain human posture video frame data, divide the video frame data into a series of segments with a fixed number of frames according to the video frame time sequence, use the lightweight network MHRNet to process each frame of graphic data in the segment, and obtain feature data at the human posture joint points; The feature data at different times are fused to reduce the amount of data of the human body posture at each joint to obtain a spatial feature sequence of the human body posture, and the spatial feature sequence is input into a long short-term memory network LSTM to obtain posture fusion data with time series characteristics; Using a contact marker network based on a convolutional model to perform motion capture on the posture fusion data to obtain posture estimation data, and optimizing the posture estimation data through a spatial pooling pyramid module to obtain a posture estimation data set; The data near the joint nodes in the posture estimation data set are used as trajectory data, posture balance optimization is performed on the trajectory data to obtain posture dynamic data, and trajectory regression simulation is performed on the posture dynamic data to obtain posture capture data.

2. A capture method based on video stream posture simulation according to claim 1, characterized in that: Inputting the continuous human posture video frame data into a recurrent convolutional neural network to obtain video frame feature data arranged in a video frame time sequence, including: The human body posture video frame data is input into the recurrent convolutional neural network. The recurrent convolutional neural network gradually extracts the spatial information of each frame image through the convolution layer and the pooling layer. The recurrent convolutional neural network adopts a directed cyclic calculation mode to obtain the convolutional neural network system state, which is expressed as: h (t) =f(αh (t-1) ,βx (t) ,i) x (t) =σ(x (t-1) ) Among them, x (t) represents the convolutional layer input at time t, f represents the nonlinear activation function, and h (t) represents the hidden state at time t, h (t-1) represents the hidden state at time t-1, α and β represent the weight matrix under the hidden state, θ represents the bias vector, σ represents the activation function, and x (t-1) Represents the convolutional layer input at time t-1; The spatial information is converted into a feature vector, and the feature vector is sorted according to a video frame time sequence to obtain video frame feature data.

3. A capture method based on video stream posture simulation according to claim 2, characterized in that: According to the time sequence, the video frame data is subjected to a time-constrained lightweight network MHRNet to obtain feature data at human body posture joints between adjacent frames, including: Sorting the video frame data into consecutive frames according to the event sequence, obtaining the relationship between the consecutive frames and the time correlation, using LSTM as the model of the lightweight network MHRNet, obtaining the relationship between the geometric consistency and the time dependency between the video frame data, and extracting the video frame feature data based on the time sequence; Input the video frame feature data into the lightweight network MHRNet to establish a heat map at the joint point, and fuse the heat map data at the joint of the previous frame and the current heat map data by adding and merging the hot spots of the current heat map element by element, to obtain the merged heat map data; The merged heat map data is copied and processed by a recurrent convolutional neural network to obtain independent joint feature data in each frame, the joint feature data are fused, and the data with time constraints of the joint posture are obtained by group convolution, and the data with time constraints are used as the feature data at the joint points of the human body posture.

4. The capture method based on video stream posture simulation according to claim 3 is characterized in that: The feature data at different times are reduced by posture time domain management to reduce the amount of data of human posture at each joint, and a spatial feature sequence of human posture is obtained by a multi-level convolutional neural network, including: Inputting the feature data in different time periods into a multi-level convolutional neural network frame by frame according to the time sequence of the feature data, setting a central Gaussian map in the multi-level convolutional neural network to connect different convolution units to establish a recursive neural network; In the recursive neural network, the same frames and time series vectors of the feature data with geometric consistency are obtained through a long short-term memory network LSTM, and the same frames are encoded through the time series vectors to obtain the association at the joint points; The spatial coordinates based on the human body posture are established by the correlation at the joint points, and a learning weight is set for each joint point of the human body, and a weight vector corresponding to each joint point is obtained by inputting the feature data of the human body joint points into a multi-level convolutional neural network; A three-dimensional convolution kernel is established through the weight vector to obtain different transformation matrices for each joint position learning, and the amount of joint data is adjusted in real time according to actual needs through the final capture of the feature data to obtain posture fusion data with time series characteristics.

5. A capture method based on video stream posture simulation according to claim 4, characterized in that: The posture fusion data is subjected to motion capture using a contact marker network to obtain posture estimation data, including: The contact labeling network uses a graph convolution model to connect the spatial coordinates of the human body posture, classifies the distribution state of the joint points, and constructs a skeleton graph G(V, E, H) at the joint points according to the spatial coordinates of the human body posture, where V, E, and H represent the three-dimensional vectors of the human body posture in the spatial rectangular coordinate system, respectively. The output feature X of the joint in operation is obtained through the graph convolution model. out : Among them, P = {r,u,l} represents the center of the human body, the upper body joints and the lower body joints respectively, p represents the human body joints, and A∈{0,1} n×n represents the n×n dimensional adjacency matrix, D∈R n×n represents the n×n dimensional joint angle matrix, X in ∈R n×n represents the input features of the joint points, Represents the learnable weight matrix and feature matrix at the human joint p at time t; The output feature X out The long short-term memory network LSTM is connected, and the connection structure of the posture is obtained through the frame-by-frame time series vector output by the long short-term memory network LSTM. According to the connection structure of the posture, the two-dimensional joint nodes of the joint points are obtained by judging whether they are in contact, so as to capture the posture estimation data.

6. A capture method based on video stream posture simulation according to claim 5, characterized in that: The posture estimation data is optimized through a spatial pooling pyramid module to obtain a posture estimation data set, including: The posture estimation data is downsampled layer by layer from bottom to top, a Gaussian pyramid data model is constructed, a LK optical flow algorithm is used to detect moving objects in the layer, and key frame data of pixel points in the layer are obtained; Starting from the highest layer of the Gaussian pyramid data model, iterating the key frame data of the corresponding pixel points in each layer downward in sequence, defining an interval frame as taking one frame every three frames, extracting the key frame data layer by layer, and correcting the extraction results to obtain posture estimation data; An MPII data set is established for the posture estimation data, and the posture estimation data is mapped back to the final original image.

7. A capture method based on video stream posture simulation according to claim 6, characterized in that: The data at the adjacent joint nodes in the posture estimation data set are used as trajectory data, and posture balance optimization is performed on the trajectory data to obtain posture dynamic data, including: Obtain the perspective matrix K by mapping the original image data with the posture estimation data, set the projection scale s of the original image, and construct the loss function L by the posture estimation data in the posture estimation data set. c : W′=sKX L r (X,K)=‖W-KX‖ f Among them, X represents the three-dimensional posture predicted based on the original image, W represents the two-dimensional posture predicted based on the original image, W′ represents the posture after reverse prediction, f represents the dynamic posture data at the joint, and L r (X, K) represents the loss function of the reverse mapping, I2 represents the identity matrix set based on the original image, and L c Represents the loss function based on the original image parameter prediction; Through the loss function L c Back-mapping detects pose deviations and adjusts convolution parameters in the recurrent convolutional neural network to dynamically capture pose data.

Citation Information

Patent Citations

  • Behavior identification method for long-time fast and slow network fusion based on attitude articulation points

    CN110059598A

  • Camera shutter speed adjusting method and device based on artificial intelligence

    CN112235514A

  • End-to-end multi-view three-dimensional human body posture estimation method and system and storage medium

    CN112560757A

  • Violent behavior detection method and system

    WO2021051547A1

Cited By

  • Three-dimensional motion capture and intelligent analysis system and method based on monocular camera

    CN119169701A

  • A monocular camera-based three-dimensional motion capture and intelligent analysis system and method

    CN119169701B

  • Human body action recognition method based on long short-term memory network and Transform algorithm

    CN119360442A

  • Underwater human body posture recognition method and system based on MediaPipe

    CN120126060A

  • An Underwater Human Pose Recognition Method and System Based on MediaPipe

    CN120126060B