Digital human construction method, device and computer equipment

The twin neural network is used to extract and reconstruct the body shape, appearance and motion posture characteristics of the digital human in the scene video, and combined with the adaptive loss function, solves the problem of difficult integration of the digital human and the scene, and improves the authenticity and fusion effect of the digital human construction.

CN118138833BActive Publication Date: 2024-08-30深圳威尔视觉科技有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410552757.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-08-30
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

In the existing technology, the construction of digital humans lacks the consideration of scene integration, which results in the generated digital humans having independent features and difficulty in showing a good integration effect with the scene, which affects the construction effect of the digital humans.

Method used

The twin neural network is used to extract and reconstruct the body shape appearance characteristics and motion posture characteristics of the digital human in the scene video. Through grayscale processing, Hog feature detection, Canny edge detection, spatio-temporal graph convolution network ST-GCN and other methods, combined with adaptive Loss function and weight adjustment achieve the best integration of digital people and scenes.

Benefits of technology

It improves the authenticity and scene integration effect of the digital human construction, making the digital human closer to the real person, and can automatically adjust according to the scene changes to ensure the best integration of the digital human and the scene.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118138833B
    Figure CN118138833B
Patent Text Reader

Abstract

The present invention relates to the field of digital human technology, and specifically to a method, device and computer equipment for constructing a digital human, comprising the following steps: obtaining a real-person motion video for constructing a digital human, and a scene video for carrying the digital human; extracting the body shape and appearance features and motion posture features of the real person in multiple real-person motion video frames as the body shape and appearance features and motion posture features of the digital human; using a twin neural network to reconstruct the body shape and appearance features and motion posture features of the digital human in the scene video to obtain a digital human integrated into the scene. The present invention uses a twin neural network to reconstruct the body shape and appearance features and motion posture features of the digital human in the scene video to obtain a digital human integrated into the scene, and uses an adaptive function to adaptively regulate the digital human integrated into the scene to improve the effect of constructing the digital human.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital human technology, and in particular to a digital human construction method, device and computer equipment. Background Art

[0002] Digital human refers to a comprehensive product that exists in the non-physical world, is created and used by computer means, and has multiple human characteristics (appearance characteristics, human performance and interaction capabilities, etc.). Virtual digital humans can be divided according to personality symbols and graphic dimensions, or according to character graphic dimensions. Character image, voice generation module, animation generation module, audio and video synthesis display module, and interaction module constitute the general system framework of virtual digital humans. Among them, the interactive application of digital humans is the most widely used, which can be applied to all walks of life in new media, and is simple and efficient.

[0003] At present, the construction of digital humans usually only focuses on the body shape and posture of the human body, and lacks consideration of scene integration. As a result, the generated digital humans have independent features and are difficult to integrate well with the scene, which affects the construction effect of the digital humans. Summary of the invention

[0004] The purpose of the present invention is to provide a method, device and computer equipment for constructing a digital human, so as to solve the technical problem that the prior art only constructs the human body shape and posture, lacks consideration of scene fusion, resulting in the generated digital human features being independent and difficult to present a good fusion effect with the scene, thus affecting the construction effect of the digital human.

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

[0006] In a first aspect of the present invention, the present invention provides a method for constructing a digital human, comprising the following steps:

[0007] Acquire a real-life motion video for constructing a digital human, and a scene video for carrying the digital human, wherein the real-life motion video comprises a plurality of real-life motion video frames, and the scene video comprises a plurality of scene video frames;

[0008] Extracting the body shape and appearance features and motion posture features of real people in multiple real-person motion video frames as the body shape and appearance features and motion posture features of digital humans;

[0009] By using the twin neural network, the body shape and appearance features and motion posture features of the digital human are used to reconstruct the digital human in the scene video to obtain a digital human integrated into the scene.

[0010] As a preferred solution of the present invention, the method for extracting the body shape and appearance features of a digital human comprises:

[0011] Grayscale processing is performed on each real-life motion video frame to obtain a grayscale image of the real-life motion video frame;

[0012] Performing Hog feature detection on the grayscale image to form a real person body bounding box in the grayscale image;

[0013] Automatically extracting the appearance features of the real person figure in the real person figure bounding box by using the Canny edge detection and feature point search method;

[0014] The real person's body shape and appearance features are used as the body shape and appearance features of the digital human.

[0015] As a preferred solution of the present invention, the method for extracting the motion posture features of the digital human comprises:

[0016] Using the spatiotemporal graph convolutional network ST-GCN, real-person motion posture estimation is performed based on multiple real-person motion video frames to obtain real-person motion posture features;

[0017] The real person's motion posture features are used as the digital human's motion posture features.

[0018] As a preferred solution of the present invention, the digital human reconstruction method comprises:

[0019] The body shape and appearance features and motion posture features of the digital human, as well as the scene video frame, are used as input items of the first neural network in the twin neural network, and the first neural network in the twin neural network outputs a reconstructed scene video frame containing the first digital human;

[0020] The body shape and appearance features and movement posture features of the digital human are used as input items of the second neural network in the twin neural network, and the second neural network in the twin neural network outputs the second digital human;

[0021] The mean square error between the first digital human and the second digital human, and the mean square error between the scene video frame and the reconstructed scene video frame are weightedly combined to form a loss function of the twin neural network;

[0022] Based on the loss function, the twin neural network is trained to obtain a digital human reconstruction model for reconstructing and integrating into the scene;

[0023] The digital human reconstruction model is: ; Wherein, H(G1) is the reconstructed scene video frame containing the first digital human, G1 is the first digital human, G2 is the second digital human, A is the body appearance feature, B is the motion posture feature, C is the scene video frame, net1 is the first neural network, and net2 is the second neural network.

[0024] As a preferred solution of the present invention, the loss function is: Loss=S1*MSE(G1,G2)+S2*MSE(C,H(G1));

[0025] Wherein, Loss is the loss function, S1 is the weight of the mean square error between the first digital human and the second digital human, S2 is the weight of the mean square error between the scene video frame and the reconstructed scene video frame, MSE(G1, G2) is the mean square error between the first digital human and the second digital human, MSE(C, H(G1)) is the mean square error between the scene video frame and the reconstructed scene video frame, H(G1) is the reconstructed scene video frame containing the first digital human, G1 is the first digital human, and G2 is the second digital human.

[0026] As a preferred solution of the present invention, the method for constructing the weight includes:

[0027] Obtain the scene feature change rate between video frames of each scene;

[0028] According to the rate of change of scene features, the S1 and S2 are set using an adaptive function;

[0029] in, ; ; In the formula, S1 is the weight of the mean square error between the first digital human and the second digital human, S2 is the weight of the mean square error between the scene video frame and the reconstructed scene video frame, p is the scene feature change rate, and k is a constant coefficient.

[0030] As a preferred solution of the present invention, the first quantification method of the scene feature change rate is to quantify using a correlation coefficient, and the scene feature change rate is: ; Where p is the rate of change of scene features, F i For the i scene video frames, F i+1 For the i +1 scene video frame, Pearson (F i , F i+1 ) is F i and F i+1 The correlation coefficient is , and n is the number of scene video frames.

[0031] As a preferred solution of the present invention, the second quantification method of the scene feature change rate is to use data variance for quantification, and the scene feature change rate is: ;

[0032] Where p is the rate of change of scene features, F i For the i scene video frames, F i+1 For the i+1 scene video frame, n is the number of scene video frames. In a second aspect of the present invention, the present invention provides a digital human construction device, which is applied to the digital human construction method, and the device comprises:

[0033] A data acquisition unit, used to acquire a real-life motion video for constructing a digital human, and a scene video for carrying the digital human, wherein the real-life motion video includes a plurality of real-life motion video frames, and the scene video includes a plurality of scene video frames;

[0034] A feature extraction unit, used to extract the body shape and appearance features and motion posture features of real people in multiple real-person motion video frames as the body shape and appearance features and motion posture features of digital people;

[0035] The deep learning unit is used to use the twin neural network to reconstruct the digital human based on the body appearance features and motion posture features of the digital human in the scene video, so as to obtain a digital human integrated into the scene.

[0036] In a third aspect of the present invention, the present invention provides a computer device, comprising: at least one processor; and

[0037] a memory communicatively coupled to the at least one processor;

[0038] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the computer device to perform the digital human construction method.

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

[0040] The present invention utilizes a twin neural network to reconstruct the digital human's body shape and appearance features and motion posture features in a scene video to obtain a digital human integrated into the scene, and utilizes an adaptive function to adaptively regulate the digital human integrated into the scene to improve the effect of digital human construction. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] 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.

[0042] Figure 1 A flow chart of a method for constructing a digital human provided by an embodiment of the present invention;

[0043] Figure 2A block diagram of a digital human construction device provided by an embodiment of the present invention;

[0044] Figure 3 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] 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.

[0046] like Figure 1 As shown, in a first aspect of the present invention, the present invention provides a method for constructing a digital human, comprising the following steps:

[0047] Acquire a real-life motion video for constructing a digital human, and a scene video for carrying the digital human, wherein the real-life motion video includes a plurality of real-life motion video frames, and the scene video includes a plurality of scene video frames;

[0048] Extracting the body shape and appearance features and motion posture features of real people in multiple real-person motion video frames as the body shape and appearance features and motion posture features of digital humans;

[0049] By using the twin neural network, the body shape and appearance features and motion posture features of the digital human are reconstructed in the scene video to obtain a digital human that is integrated into the scene.

[0050] In order to improve the authenticity of digital humans, the present invention uses the body shape and appearance characteristics and movement posture characteristics of real people to construct digital humans, which can make the digital humans closer to real people and improve the digital human construction effect.

[0051] The present invention extracts real-person body shape and appearance features and motion posture features from real-person motion videos through Canny edge detection and spatiotemporal graph convolutional network ST-GCN.

[0052] In order to enable the constructed digital human to be integrated into the scene rather than exist separately, the digital human exists in the scene, which further demonstrates the authenticity of the digital human construction. The twin neural network reconstructs the digital human's body appearance characteristics and motion posture characteristics in the scene video to obtain a digital human integrated into the scene.

[0053] Specifically, the present invention uses one of the two neural networks in the twin neural network to generate a digital human integrated into the scene, and the other to generate a digital human that exists independently of the scene. The difference between the two digital humans (the mean square error between the first digital human and the second digital human) and the difference between the scenes before and after the fusion of the digital humans (the mean square error between the scene video frame and the reconstructed scene video frame) are used to construct the loss function for twin function training, so that the digital human constructed by the twin neural network has the highest authenticity of the real body appearance characteristics and motion posture characteristics, and has the best integration with the scene video frame.

[0054] The training goal of the twin neural network is to minimize the loss function, which corresponds to the minimum difference between the two digital humans (the mean square error between the first digital human and the second digital human) on the one hand. Therefore, the digital human generated by the fused scene video frame has the highest similarity with the digital human generated by the detached scene video frame. The digital human generated by the detached scene video frame only comes from the real body appearance features and motion posture features. Therefore, the digital human generated by the fused scene video frame has the highest similarity with the digital human generated by the detached scene video frame. This shows that the digital human generated by the fused scene video frame retains the real body appearance features and motion posture features to the greatest extent, ensuring that the digital human generated by the twin network has the highest authenticity of the real body appearance features and motion posture features.

[0055] On the other hand, the scene difference before and after the fusion of the digital human (the mean square error between the scene video frame and the reconstructed scene video frame) is the smallest. Therefore, the scene video frame fused with the digital human and the original scene video frame without the digital human have the highest similarity. Therefore, the scene video frame fused with the digital human performs the best image fusion of the digital human, and the two are mutually inclusive and integrated, indicating that the generated digital human and the scene video frame have achieved the best fusion, ensuring that the digital human generated by the twin network can achieve the highest degree of fusion with the scene video frame.

[0056] Furthermore, the present invention sets adaptive weights for the difference between the two digital humans (the mean square error between the first digital human and the second digital human) and the difference between the scenes before and after the fusion of the digital humans (the mean square error between the scene video frame and the reconstructed scene video frame), and can adaptively reconstruct the digital human according to the frequency of changes in the reconstructed scene. Specifically:

[0057] When the reconstructed scene changes frequently, it means that the scene is highly dynamic. The digital human's focus on simulating the realism of the human will cause a defect of separation from the scene. The construction of the digital human can focus on ensuring the fusion effect of the scene. Therefore, the difference between the two digital humans in the loss function (the mean square error between the first digital human and the second digital human) is given a high weight. When training the twin neural network of the digital human, the focus is on minimizing the difference between the two digital humans (the mean square error between the first digital human and the second digital human), so as to achieve the purpose of ensuring the fusion effect of the scene.

[0058] When the frequency of changes in the reconstructed scene is low, it means that the scene is relatively fixed at this time. The construction of the digital human can focus on ensuring the authenticity of the simulated human. Therefore, the scene difference before and after the fusion of the digital human (the mean square error between the scene video frame and the reconstructed scene video frame) is given a high weight in the loss function. When training the twin neural network for constructing the digital human, the focus is on minimizing the scene difference before and after the fusion of the digital human (the mean square error between the scene video frame and the reconstructed scene video frame), so as to ensure that the digital human generated by the twin network has the authenticity of the real person's body appearance characteristics and motion posture characteristics.

[0059] The present invention uses Canny edge detection and spatiotemporal graph convolutional network ST-GCN to extract real-person body appearance features and motion posture features from real-person motion videos, as follows:

[0060] The method for extracting the body shape and appearance features of digital human includes:

[0061] Grayscale processing is performed on each real-life motion video frame to obtain a grayscale image of the real-life motion video frame;

[0062] Perform Hog feature detection on the grayscale image to form a real person body bounding box in the grayscale image;

[0063] Through Canny edge detection and feature point search methods, the appearance features of the real human figure are automatically extracted in the real human figure bounding box;

[0064] The physical appearance features of real people are used as the physical appearance features of digital humans.

[0065] The methods for extracting the motion posture features of digital humans include:

[0066] Using the spatiotemporal graph convolutional network ST-GCN, real-person motion posture estimation is performed based on multiple real-person motion video frames to obtain real-person motion posture features;

[0067] The motion posture features of real people are used as the motion posture features of digital humans.

[0068] Digital human reconstruction methods include:

[0069] The body shape and appearance features and motion posture features of the digital human, as well as the scene video frame, are used as input items of the first neural network in the twin neural network, and the first neural network in the twin neural network outputs a reconstructed scene video frame containing the first digital human;

[0070] The body shape and appearance features and movement posture features of the digital human are used as input items of the second neural network in the twin neural network, and the second neural network in the twin neural network outputs the second digital human;

[0071] The mean square error between the first digital human and the second digital human, and the mean square error between the scene video frame and the reconstructed scene video frame are weightedly combined to form a loss function of the twin neural network;

[0072] Based on the loss function, the twin neural network is trained to obtain a digital human reconstruction model used to reconstruct the digital human integrated into the scene.

[0073] The digital human reconstruction model is: ;

[0074] In the formula, H(G1) is the reconstructed scene video frame containing the first digital human, G1 is the first digital human, G2 is the second digital human, A is the body appearance feature, B is the motion posture feature, C is the scene video frame, net1 is the first neural network, and net2 is the second neural network. The loss function is:

[0075] Loss=S1*MSE(G1,G2)+S2*MSE(C,H(G1));

[0076] Wherein, Loss is the loss function, S1 is the weight of the mean square error between the first digital human and the second digital human, S2 is the weight of the mean square error between the scene video frame and the reconstructed scene video frame, MSE(G1, G2) is the mean square error between the first digital human and the second digital human, MSE(C, H(G1)) is the mean square error between the scene video frame and the reconstructed scene video frame, H(G1) is the reconstructed scene video frame containing the first digital human, G1 is the first digital human, and G2 is the second digital human.

[0077] In order to enable the constructed digital human to be integrated into the scene rather than exist separately, the digital human exists in the scene, which further demonstrates the authenticity of the digital human construction. The twin neural network reconstructs the digital human's body appearance characteristics and motion posture characteristics in the scene video to obtain a digital human integrated into the scene.

[0078] Specifically, the present invention uses one of the two neural networks in the twin neural network to generate a digital human integrated into the scene, and the other to generate a digital human that exists independently of the scene. The difference between the two digital humans (the mean square error between the first digital human and the second digital human) and the difference between the scenes before and after the fusion of the digital humans (the mean square error between the scene video frame and the reconstructed scene video frame) are used to construct the loss function for twin function training, so that the digital human constructed by the twin neural network has the highest authenticity of the real body appearance characteristics and motion posture characteristics, and has the best integration with the scene video frame.

[0079] The training goal of the twin neural network is to minimize the loss function, which corresponds to the minimum difference between the two digital humans (the mean square error between the first digital human and the second digital human) on the one hand. Therefore, the digital human generated by the fused scene video frame has the highest similarity with the digital human generated by the detached scene video frame. The digital human generated by the detached scene video frame only comes from the real body appearance features and motion posture features. Therefore, the digital human generated by the fused scene video frame has the highest similarity with the digital human generated by the detached scene video frame. This shows that the digital human generated by the fused scene video frame retains the real body appearance features and motion posture features to the greatest extent, ensuring that the digital human generated by the twin network has the highest authenticity of the real body appearance features and motion posture features.

[0080] On the other hand, the scene difference before and after the fusion of the digital human (the mean square error between the scene video frame and the reconstructed scene video frame) is the smallest. Therefore, the scene video frame fused with the digital human and the original scene video frame without the digital human have the highest similarity. Therefore, the scene video frame fused with the digital human performs the best image fusion of the digital human, and the two are mutually inclusive and integrated, indicating that the generated digital human and the scene video frame have achieved the best fusion, ensuring that the digital human generated by the twin network can achieve the highest degree of fusion with the scene video frame.

[0081] The weight construction methods include:

[0082] Obtain the scene feature change rate between video frames of each scene;

[0083] According to the rate of change of scene features, S1 and S2 are set using adaptive functions;

[0084] in, ; ; In the formula, S1 is the weight of the mean square error between the first digital human and the second digital human, S2 is the weight of the mean square error between the scene video frame and the reconstructed scene video frame, p is the scene feature change rate, and k is a constant coefficient.

[0085] Furthermore, the present invention sets adaptive weights for the difference between the two digital humans (the mean square error between the first digital human and the second digital human) and the difference between the scenes before and after the fusion of the digital humans (the mean square error between the scene video frame and the reconstructed scene video frame), and can adaptively reconstruct the digital human according to the frequency of changes in the reconstructed scene. Specifically:

[0086] When the reconstructed scene changes frequently, it means that the scene is highly dynamic. The digital human's focus on simulating the realism of the human will cause a defect of separation from the scene. The construction of the digital human can focus on ensuring the fusion effect of the scene. Therefore, the difference between the two digital humans in the loss function (the mean square error between the first digital human and the second digital human) is given a high weight. When training the twin neural network of the digital human, the focus is on minimizing the difference between the two digital humans (the mean square error between the first digital human and the second digital human), so as to achieve the purpose of ensuring the fusion effect of the scene.

[0087] When the frequency of changes in the reconstructed scene is low, it means that the scene is relatively fixed at this time. The construction of the digital human can focus on ensuring the authenticity of the simulated human. Therefore, the scene difference before and after the fusion of the digital human (the mean square error between the scene video frame and the reconstructed scene video frame) is given a high weight in the loss function. When training the twin neural network for constructing the digital human, the focus is on minimizing the scene difference before and after the fusion of the digital human (the mean square error between the scene video frame and the reconstructed scene video frame), so as to ensure that the digital human generated by the twin network has the authenticity of the real person's body appearance characteristics and motion posture characteristics.

[0088] The first one is to quantify the scene feature change rate using the correlation coefficient. The scene feature change rate is: ; Where p is the rate of change of scene features, F i For the i scene video frames, F i+1 For the i +1 scene video frame, Pearson (F i , F i+1 ) is F i and F i+1 The correlation coefficient is , and n is the number of scene video frames.

[0089] The second type is to quantify the scene feature change rate using data variance. The scene feature change rate is: ;

[0090] Where p is the rate of change of scene features, F i For the i scene video frames, F i+1 For the i +1 scene video frame, where n is the number of scene video frames.

[0091] like Figure 2 As shown, in a second aspect of the present invention, the present invention provides a digital human construction device, which is applied to a digital human construction method, and the device includes:

[0092] A data acquisition unit, used to acquire a real-life motion video for constructing a digital human, and a scene video for carrying the digital human, wherein the real-life motion video includes a plurality of real-life motion video frames, and the scene video includes a plurality of scene video frames;

[0093] A feature extraction unit, used to extract the body shape and appearance features and motion posture features of real people in multiple real-person motion video frames as the body shape and appearance features and motion posture features of digital people;

[0094] The deep learning unit is used to utilize the twin neural network to reconstruct the digital human's body appearance features and motion posture features in the scene video to obtain a digital human integrated into the scene.

[0095] like Figure 3 As shown, in a third aspect of the present invention, the present invention provides a computer device, comprising: at least one processor; and a memory communicatively connected to the at least one processor;

[0096] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the computer device to perform the digital human construction method.

[0097] The present invention utilizes a twin neural network to reconstruct a digital human based on the body shape and appearance features and motion posture features of a digital human in a scene video, thereby obtaining a digital human integrated into the scene. An adaptive function is then used to adaptively regulate the digital human integrated into the scene, thereby improving the effect of constructing the digital human.

[0098] 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 method for constructing a digital human, characterized in that: The following steps are involved: Acquire a real-life motion video for constructing a digital human, and a scene video for carrying the digital human, wherein the real-life motion video comprises a plurality of real-life motion video frames, and the scene video comprises a plurality of scene video frames; Extracting the body shape and appearance features and motion posture features of real people in multiple real-person motion video frames as the body shape and appearance features and motion posture features of digital humans; Using a twin neural network, in the scene video, the body shape and appearance features and motion posture features of the digital human are used to reconstruct the digital human, thereby obtaining a digital human integrated into the scene; Digital human reconstruction methods include: The body shape and appearance features and motion posture features of the digital human, as well as the scene video frame, are used as input items of the first neural network in the twin neural network, and the first neural network in the twin neural network outputs a reconstructed scene video frame containing the first digital human; The body shape and appearance features and movement posture features of the digital human are used as input items of the second neural network in the twin neural network, and the second neural network in the twin neural network outputs the second digital human; The mean square error between the first digital human and the second digital human, and the mean square error between the scene video frame and the reconstructed scene video frame are weightedly combined to form a loss function of the twin neural network; Based on the loss function, the twin neural network is trained to obtain a digital human reconstruction model used to reconstruct the digital human that is integrated into the scene. The digital human reconstruction model is: ; Where H(G1) is the reconstructed scene video frame containing the first digital human, G1 is the first digital human, G2 is the second digital human, A is the body appearance feature, B is the motion posture feature, C is the scene video frame, net1 is the first neural network, and net2 is the second neural network.

2. A method for constructing a digital human according to claim 1, characterized in that: The method for extracting the body shape and appearance features of the digital human comprises: Grayscale processing is performed on each real-life motion video frame to obtain a grayscale image of the real-life motion video frame; Performing Hog feature detection on the grayscale image to form a real person body bounding box in the grayscale image; Automatically extracting the appearance features of the real person figure in the real person figure bounding box by using the Canny edge detection and feature point search method; The real person's body shape and appearance features are used as the body shape and appearance features of the digital human.

3. A method for constructing a digital human according to claim 1, characterized in that: The method for extracting the motion posture features of the digital human comprises: Using the spatiotemporal graph convolutional network ST-GCN, real-person motion posture estimation is performed based on multiple real-person motion video frames to obtain real-person motion posture features; The real person's motion posture features are used as the digital human's motion posture features.

4. A method for constructing a digital human according to claim 1, characterized in that: The loss function is: Loss=S1*MSE(G1,G2)+S2*MSE(C,H(G1)); Wherein, Loss is the loss function, S1 is the weight of the mean square error between the first digital human and the second digital human, S2 is the weight of the mean square error between the scene video frame and the reconstructed scene video frame, MSE(G1, G2) is the mean square error between the first digital human and the second digital human, MSE(C, H(G1)) is the mean square error between the scene video frame and the reconstructed scene video frame, H(G1) is the reconstructed scene video frame containing the first digital human, G1 is the first digital human, and G2 is the second digital human.

5. A method for constructing a digital human according to claim 4, characterized in that: The weight construction method includes: Obtain the scene feature change rate between video frames of each scene; According to the rate of change of scene features, the S1 and S2 are set using an adaptive function; in, ; ; In the formula, S1 is the weight of the mean square error between the first digital human and the second digital human, S2 is the weight of the mean square error between the scene video frame and the reconstructed scene video frame, p is the scene feature change rate, and k is a constant coefficient.

6. A method for constructing a digital human according to claim 5, characterized in that: The quantification method of the scene feature change rate is to use the correlation coefficient for quantification, and the scene feature change rate is: ; Where p is the rate of change of scene features, F i For the i scene video frames, F i+1 For the i +1 scene video frame, Pearson (F i ,F i+1 ) is F i and F i+1 The correlation coefficient is , and n is the number of scene video frames.

7. A method for constructing a digital human according to claim 5, characterized in that: The quantification method of the scene feature change rate is to use data variance for quantification, and the scene feature change rate is: ; Where p is the rate of change of scene features, F i For the i scene video frames, and n is the number of scene video frames.

8. A digital human construction device, characterized in that: A method for constructing a digital human as described in any one of claims 1 to 7, wherein the device comprises: A data acquisition unit, used to acquire a real-life motion video for constructing a digital human, and a scene video for carrying the digital human, wherein the real-life motion video includes a plurality of real-life motion video frames, and the scene video includes a plurality of scene video frames; A feature extraction unit, used to extract the body shape and appearance features and motion posture features of real people in multiple real-person motion video frames as the body shape and appearance features and motion posture features of digital people; The deep learning unit is used to use the twin neural network to reconstruct the digital human based on the body appearance features and motion posture features of the digital human in the scene video, so as to obtain a digital human integrated into the scene.

9. A computer device, characterized in that: include: at least one processor; as well as a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the computer device to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Digital human live broadcast method and device, live broadcast management equipment and readable storage medium

    CN113473159A