Multi-style lip shape synthesis method, device, equipment and storage medium
Through a multi-style lip synthesis network, the target face image, short-term lip style video and audio are combined to extract and fuse feature parameters to generate diversified and expressive speaker animations, solving the problem of speaker synthesis styles in the existing technology. Achieving diverse and expressive lip synthesis effects with a single issue.
Patent Information
- Application Number
- CN202110807540.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-16
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-07-16
AI Technical Summary
In the existing technology, the synthesized speaker's speaking style is single and lacks diversity, resulting in the synthesized speaker's expression and mouth shape lacking expressiveness.
Through the multi-style lip synthesis network, the target face image, short-term lip style video and target audio are input, expression prediction parameters and shape parameters are extracted, combined with the generation of speaker animation of the target style, and deep neural networks are used for feature extraction and fusion. , to achieve diverse stylized lip synthesis.
It realizes the generation of diverse and expressive stylized lip shapes, and can synthesize different styles of speaker animations based on different short-term lip shape videos, ensuring the diversity and expressiveness of the speaker's expressions and mouth shapes.
Smart Images

Figure CN114022597B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, and in particular to a multi-style lip shape synthesis method, device, equipment and storage medium. Background Art
[0002] Speaker synthesis is to synthesize an animation with synchronized audio and video based on the input audio, which has broad application prospects in the fields of film production, telephone conferencing, human-computer interaction, etc. In the prior art, one method is to first extract features from the audio, and use a neural network to predict the expression parameter sequence of the face model based on the obtained audio features, and then generate a speaker video. Another method is to model the speaking styles of different speakers, extract the audio features of the input audio, combine the audio features with the feature codes of different speakers, obtain the deformation of the expression through time domain convolution, and add the deformation of the expression to the original template to obtain a synthesized speaker. By adjusting the feature codes of different speakers, speakers with different styles can be obtained.
[0003] The problem with the first method is that the speaking style of the synthesized speaker is monotonous and cannot achieve the expected effect. Although the second method models the styles of different speakers, the speaking styles of the same individual in different scenarios are still quite different. Modeling the individual will lead to a lack of diversity in the synthesized speaking style, which in turn leads to a lack of expressiveness in the speaker's expression and lip shape. Summary of the invention
[0004] The embodiments of the present application provide a multi-style lip shape synthesis method, apparatus, device and storage medium, aiming to generate a speaker animation containing diverse and expressive stylized lip shapes.
[0005] A first aspect of an embodiment of the present application provides a multi-style lip shape synthesis method, the method comprising:
[0006] Input the target face image, short-term lip style video and target audio into the multi-style lip synthesis network;
[0007] The multi-style lip shape synthesis network obtains expression prediction parameters and shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio;
[0008] The expression prediction parameters are combined with the shape parameters to obtain a speaker animation of a target style.
[0009] Optionally, the multi-style lip shape synthesis network is obtained through training, and the training steps include:
[0010] Collect short speech videos of a single speaker;
[0011] Extracting the audio corresponding to the short speech video and the face image of the speaker in the short speech video;
[0012] The short speech video, the audio corresponding to the short speech video and the face image of the speaker in the short speech video are input into the multi-style lip shape synthesis network, and the multi-style lip shape synthesis network is trained to obtain a trained multi-style lip shape synthesis network.
[0013] Optionally, the multi-style lip shape synthesis network obtains expression prediction parameters and shape parameters of the target face through the target face image, the short-time lip shape style video and the target audio, including:
[0014] Extracting features of the target face image to obtain face shape parameters;
[0015] The features of the short-time lip-sync style video and the features of the target audio are fused to obtain the expression prediction parameters.
[0016] Optionally, the feature fusion of the short-time lip-sync style video and the target audio to obtain the expression prediction parameter includes:
[0017] Extracting features from the short-term lip shape video to obtain lip shape style features;
[0018] Extracting features from the target audio to obtain audio features;
[0019] The audio feature is fused with the lip style feature to obtain the expression prediction parameter.
[0020] Optionally, the expression of the lip shape style feature is:
[0021]
[0022] Among them, style code represents the lip style feature, expression(t) represents the expression parameter sequence, σ(expression(t)) represents the calculation of the variance in the time domain, represents partial derivative, Represents vector concatenation.
[0023] Optionally, the method further comprises:
[0024] Inputting another short-term lip style video with a different style from the short-term lip style video into the multi-style lip synthesis network;
[0025] The multi-style lip shape synthesis network generates a speaker animation corresponding to the video based on the other short-term lip shape style video.
[0026] A second aspect of an embodiment of the present application provides a multi-style lip shape synthesis device, the device comprising:
[0027] A data input module, used to input a target face image, a short-term lip style video, and a target audio into a multi-style lip synthesis network;
[0028] A parameter extraction module, used for the multi-style lip shape synthesis network to obtain expression prediction parameters and shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio;
[0029] The first animation generation module is used to combine the expression prediction parameters with the shape parameters to obtain a speaker animation of a target style.
[0030] Optionally, the multi-style lip shape synthesis network is obtained through training, and the training steps include:
[0031] Collect short speech videos of a single speaker;
[0032] Extracting the audio corresponding to the short speech video and the face image of the speaker in the short speech video;
[0033] The short speech video, the audio corresponding to the short speech video and the face image of the speaker in the short speech video are input into the multi-style lip shape synthesis network, and the multi-style lip shape synthesis network is trained to obtain a trained multi-style lip shape synthesis network.
[0034] Optionally, the parameter extraction module includes:
[0035] A shape parameter extraction submodule is used to extract features of the target face image to obtain the face shape parameters;
[0036] The expression prediction parameter extraction submodule is used to perform feature fusion on the features of the short-time lip style video and the features of the target audio to obtain the expression prediction parameters.
[0037] Optionally, the expression prediction parameter extraction submodule includes:
[0038] A lip shape style feature extraction submodule is used to extract features from the short-term lip shape video to obtain lip shape style features;
[0039] An audio feature extraction submodule, used to extract features from the target audio to obtain audio features;
[0040] The feature fusion submodule is used to fuse the audio feature with the lip style feature to obtain the expression prediction parameter.
[0041] Optionally, the expression of the lip shape style feature is:
[0042]
[0043] Among them, style code represents the lip style feature, expression(t) represents the expression parameter sequence, σ(expression(t)) represents the calculation of the variance in the time domain, represents partial derivative, Represents vector concatenation.
[0044] Optionally, the device further comprises:
[0045] A video input submodule, used for inputting another short-term lip-sync style video with a style different from that in the short-term lip-sync style video into the multi-style lip-sync synthesis network;
[0046] The second animation generation submodule is used for the multi-style lip shape synthesis network to generate a speaker animation corresponding to the video based on the other short-term lip shape style video.
[0047] A third aspect of an embodiment of the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.
[0048] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect of the present application are implemented.
[0049] The multi-style lip shape synthesis method provided by the present application is adopted to input the target face image, the short-time lip shape style video and the target audio into the multi-style lip shape synthesis network; the multi-style lip shape synthesis network obtains the expression prediction parameters and the shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio; the expression prediction parameters are combined with the shape parameters to obtain the target style speaker animation. The present application extracts the target face image, the features of the short-time lip shape style video and the audio features, and then combines the expression parameters with the shape parameters of the target face image to obtain the target style speaker animation. According to the different short-time lip shape style videos, speaker animations of different target styles can be synthesized. By extracting the features of the short-time lip shape style video and modeling the short-time lip shape style features, it is more conducive to synthesizing different styles of speaking animations, ensuring the synthesis of diversified and expressive stylized lip shapes. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0051] Figure 1 is a flow chart of a multi-style lip shape synthesis method proposed in an embodiment of the present application;
[0052] Figure 2 is a method block diagram of a multi-style lip shape synthesis method proposed in an embodiment of the present application;
[0053] Figure 3 2 is a schematic diagram of a multi-style lip shape synthesis device proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] In the embodiment of the present application, in order to accurately synthesize diverse and expressive stylized lip shapes, a "style imitation" paradigm is proposed. The main content is to synthesize a speaker animation that is synchronized with the input audio and consistent with the style of the speaker in the short-term video at the other end of the input. This paradigm can synthesize diverse stylized lip shapes from a shorter and finer-grained time scale.
[0056] refer to Figure 1 , Figure 1 XX is a flow chart of the method XX proposed in one embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0057] S11: Input the target face image, short-term lip style video and target audio into the multi-style lip synthesis network.
[0058] In this embodiment, the target face image is the face image used in the final synthesized speaker animation, the short lip style video is a short video with a picture of a single speaker speaking, the target audio is the audio of the speaker's words in the final synthesized speaker animation, and the multi-style lip synthesis network (Latent-Style-Fusion (LSF) Model) is a deep neural network proposed in this embodiment for generating a target speaker animation. It is a latent style fusion model, which is mainly responsible for performing tasks such as image feature extraction and audio feature extraction, and combining image features with audio features.
[0059] In this embodiment, the target face image, the short-time lip style video and the target audio can be freely combined. The target face image requires that the facial features of the face in the image are clearly visible, which is convenient for feature extraction. The time of the short-time lip style video is generally 5-10 seconds. Generally, the lip style of a speaker remains unchanged within 10 seconds. If it exceeds 10 seconds, the speaker's lip style may change, resulting in the extracted features not being typical and representative, and not accurately reflecting the speaker's lip style characteristics in a short time. The duration of the target audio is arbitrary. After receiving the target face image, the short-time lip style video and the target audio, the multi-style lip synthesis network can output a speaker animation video with the same duration as the target audio, in which the speaker's lip style is the same as the speaker's lip style in the short-time lip style video.
[0060] For example, the target face image can be any face image, as long as the facial features are clearly visible. The short-term lip-syncing style video can be a 10-second speech video, which is required to clearly display the facial expressions and movements of the speaker in the video. The target audio can be an audio of a speech, an audio of a singing, etc., which does not need to correspond to the lip-syncing style video. In the speaker video synthesized by the multi-style lip-syncing synthesis network, the face shape is the same as the character in the target face image, the lip shape of the speaker is the same style as the lip shape of the speaker in the short-term lip-syncing style video, and the voice and content of the speaker are the voice and content in the target audio.
[0061] S12: The multi-style lip shape synthesis network obtains expression prediction parameters and shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio.
[0062] In this embodiment, the multi-style lip shape synthesis network obtains the shape parameters of the target face image through the target face image, which is used to generate the face of the character in the speaker animation, and obtains the expression prediction parameters through the short-term lip shape style video and the target audio. The expression prediction parameters are the parameters of the speaker's expression in the speaker animation of the target style output by the multi-style lip shape synthesis network. Different expression parameters correspond to different lip shapes. The specific steps are:
[0063] S12-1: Extract features of the target face image to obtain face shape parameters.
[0064] In this embodiment, after the target face image is input into the multi-style lip shape synthesis network, the feature extraction layer of the network extracts features of the target face image, and performs deep three-dimensional reconstruction of the target face image, mainly by modeling the individual facial shape, expression, and posture of the target face image to obtain a feature vector, which contains the shape parameters of the face.
[0065] For example, the face shape parameters can reflect the shape, size, expression and posture of the face in the target face image. For example, the face shape parameters show that the length of the face is 20 cm and the width is 12 cm. The specific values of the facial features can also be displayed. The face can be modeled based on these values. Face extraction can use a deep network, such as a convolutional neural network CNN, etc., which is not limited here.
[0066] S12-2: Fusing the features of the short-time lip-sync style video and the features of the target audio to obtain the expression prediction parameters.
[0067] In this embodiment, the features of the short-term lip style video and the features of the target audio are fused to obtain expression prediction parameters. The specific steps are:
[0068] S12-2-1: Extract features from the short-term lip shape video to obtain lip shape style features.
[0069] In this embodiment, the video feature extraction layer in the multi-style lip shape synthesis network extracts the input short-term lip shape video features to obtain the lip shape style features. In this embodiment, the expression of the lip shape style features is:
[0070]
[0071] Among them, style code represents the lip style feature, expression(t) represents the 3D expression parameter sequence, σ(expression(t)) represents the calculation of the variance in the time domain, represents partial derivative, Represents vector concatenation.
[0072] For example, a deep neural network can be used to perform feature recognition on each frame of a short lip shape video to obtain the expression, posture and individual face shape of the speaker in each frame, and then obtain the lip shape style features. The deep neural network can be a convolutional neural network CNN, etc., which is not limited here.
[0073] S12-2-2: Extract features of the target audio to obtain audio features.
[0074] In this embodiment, a speech recognition system can be used to extract features of the target audio. First, the audio features are encoded, and then the latent features of the audio, that is, the audio features, are obtained through a deep neural network.
[0075] For example, the speech recognition system may be a Deepspeech system, which is an end-to-end speech recognition system that can recognize semantic features in audio.
[0076] S12-2-3: Fusion the audio features with the lip style features to obtain the expression prediction parameters.
[0077] In this embodiment, the audio feature is the hidden layer feature of the neural network obtained by the speech recognition system. The hidden layer feature is fused with the lip shape style feature to obtain a fused feature vector, which is processed by the deep neural network to output the expression prediction parameter.
[0078] S13: Combining the expression prediction parameter with the shape parameter to obtain a speaker animation of a target style.
[0079] In this embodiment, the expression prediction parameters and the shape parameters of the target face image are outputted by the deep neural network, and they are fused to obtain a fused parameter vector, which contains the expression, posture, individual face shape and other information of the speaker in the target style speaker animation. That is, a face image is generated according to the shape parameters, and then the lip shape is synthesized onto the face image according to the expression prediction parameters. In the generated speaker animation, the face image of the target speaker is the same as the target face image, and the lip shape style of the speaker is the same as the lip shape of the speaker in the short-time lip shape video. The synthesized speaker animation is synchronized with the target audio, and the synthesized speaker animation is the speaker animation of the target style, and the target style is the lip shape style of the speaker in the short-time lip shape style video. The extracted expression parameter sequences are all 3D expression parameter sequences, and the characters in the generated speaker animation are 3D speakers with rich expression and detail expression.
[0080] Using the multi-style lip shape synthesis method provided in this embodiment, a paradigm of "style imitation" is proposed, a stylized representation of lip shape for short-term action sequences is proposed, and the lip shape style features of short-term lip shape style videos within 5-10 seconds are modeled. The multi-style lip shape synthesis network extracts the lip shape style features from the short-term lip shape style videos and synthesizes them onto the target face image. The generated speaking animation synthesizes the target style features, thereby achieving diversified and expressive stylized lip shape synthesis. Using short-term lip shape style videos of 5-10 seconds, the lip shape style features extracted from each short-term lip shape style video are obvious and unified, which is helpful for the multi-style lip shape synthesis network to perform style imitation.
[0081] In another embodiment of the present application, in order to generate a speaker animation with multiple lip shapes, the style change can also be achieved by changing a short-time style video. The specific steps include:
[0082] S21: Input another short-term lip style video with a style different from that of the short-term lip style video into the multi-style lip synthesis network.
[0083] S22: The multi-style lip shape synthesis network generates a speaker animation corresponding to the video based on the other short-term lip shape style video.
[0084] In this embodiment, the multi-style lip synthesis network has generated a speaker animation. By inputting another short-time lip style video into the multi-style lip synthesis network, the speaking style of the speaker can be changed. The speaker will imitate the latest input short-time lip style video to speak. Because only the new short-time lip style video is input, the multi-style lip synthesis network will not change the target facial image and target audio. It will only extract the corresponding lip features based on the new short-time lip style video, combine the lip features with the original audio features to obtain corresponding expression parameters, and combine the corresponding expression parameters with the original face shape parameters to obtain an animation of the speaker corresponding to the video. The style of the speaker in the animation will be updated to the lip style of the speaker in the newly input short-time lip style.
[0085] The method proposed in this embodiment, when the lip style of the speaker animation needs to be changed, only the input short-time lip style video needs to be replaced, and no other operations need to be performed. It is convenient and fast. The multi-style lip synthesis network will re-synthesize a speaker animation with the target style based on the current input short-time lip style video. It is achieved that the speaker with the same face can use different lip styles to speak the same paragraph, ensuring the diversity of the lip styles of the synthesized speaker animation.
[0086] In another embodiment of the present application, the training process of the multi-style lip shape synthesis network includes the following steps:
[0087] S31: Collect short speech videos containing a single speaker.
[0088] In this embodiment, it is first necessary to collect multiple short-term speaking videos containing a single speaker. The speaker in the video needs to be single. If there are multiple speakers in the video, feature extraction errors may occur, resulting in failure to synthesize the speaker animation normally.
[0089] S32: extracting the audio corresponding to the short speech video and the face image of the speaker in the short speech video.
[0090] In this embodiment, the short speech video needs to be processed. First, the facial image of the speaker corresponding to the short speech video is obtained, which can be obtained by taking a screenshot. Then, the audio of the speaker's speech content in the video is separated and saved separately. The specific method of obtaining the target audio is not limited.
[0091] S33: inputting the short speech video, the audio corresponding to the short speech video, and the face image of the speaker in the short speech video into the multi-style lip shape synthesis network, training the multi-style lip shape synthesis network, and obtaining a trained multi-style lip shape synthesis network.
[0092] In this embodiment, a short speaking video, the audio corresponding to the short speaking video, and the facial image of the speaker corresponding to the short speaking video are input into a multi-style lip synthesis network. The multi-style lip synthesis network extracts the corresponding lip style features, audio features, and face shape parameters, and generates an animation of the speaker. The difference between the generated animation and the original video is compared to obtain a loss value, which is returned to the network, and the network parameters are adjusted. After the adjustment, the next round of training is performed again until the parameters are adjusted to the optimal level, thereby obtaining a trained multi-style lip synthesis network.
[0093] The following is a further description of the embodiments of the present application in conjunction with the accompanying drawings:
[0094] like Figure 2 As shown, Figure 2 4 is a method block diagram of a multi-style lip shape synthesis method proposed in an embodiment of the present application.
[0095] like Figure 2 As stated, Figure 2 The input in includes three parts: face image input (target face image), style reference video (short-time lip style video), and audio input (target audio). After that, the multi-style lip synthesis network performs deep 3D reconstruction of the target face image and short-time lip style video, that is, feature extraction, and models the expression, posture, and individual (individual face shape) of the target face image. The target audio features are obtained through the speech recognition system. The target audio features are processed by the encoder of the residual neural network to obtain the hidden features of the target audio. The style encoding (lip style features) is fused with the hidden features of the target audio. The expression prediction parameters are output through the residual neural network encoder. The expression prediction parameters are combined with the face shape parameters to predict the action parameters, that is, predict the expression, posture, and individual face shape of the task in the target style speaker animation, and generate the target style speaker animation according to these parameters. Dropout is a regularization technology to prevent overfitting of the network.
[0096] Based on the same inventive concept, an embodiment of the present application provides a multi-style lip shape synthesis device. Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a multi-style lip shape synthesis device 300 proposed in an embodiment of the present application. Figure 3 As shown, the device comprises:
[0097] A data input module 301 is used to input a target face image, a short-term lip style video and a target audio into a multi-style lip synthesis network;
[0098] A parameter extraction module 302, used for the multi-style lip shape synthesis network to obtain expression prediction parameters and shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio;
[0099] The first animation generation module 303 is used to combine the expression prediction parameter with the shape parameter to obtain a speaker animation of a target style.
[0100] Optionally, the multi-style lip shape synthesis network is obtained through training, and the training steps include:
[0101] Collect short speech videos of a single speaker;
[0102] Extracting the audio corresponding to the short speech video and the face image of the speaker in the short speech video;
[0103] The short speech video, the audio corresponding to the short speech video and the face image of the speaker in the short speech video are input into the multi-style lip shape synthesis network, and the multi-style lip shape synthesis network is trained to obtain a trained multi-style lip shape synthesis network.
[0104] Optionally, the parameter extraction module includes:
[0105] A shape parameter extraction submodule is used to extract features of the target face image to obtain the face shape parameters;
[0106] The expression prediction parameter extraction submodule is used to perform feature fusion on the features of the short-time lip style video and the features of the target audio to obtain the expression prediction parameters.
[0107] Optionally, the expression prediction parameter extraction submodule includes:
[0108] A lip shape style feature extraction submodule is used to extract features from the short-term lip shape video to obtain lip shape style features;
[0109] An audio feature extraction submodule, used to extract features from the target audio to obtain audio features;
[0110] The feature fusion submodule is used to fuse the audio feature with the lip style feature to obtain the expression prediction parameter.
[0111] Optionally, the expression of the lip shape style feature is:
[0112]
[0113] Among them, style code represents the lip style feature, expression(t) represents the expression parameter sequence, σ(expression(t)) represents the calculation of the variance in the time domain, represents partial derivative, Represents vector concatenation.
[0114] Optionally, the device further comprises:
[0115] A video input submodule, used for inputting another short-term lip-sync style video with a style different from that in the short-term lip-sync style video into the multi-style lip-sync synthesis network;
[0116] The second animation generation submodule is used for the multi-style lip shape synthesis network to generate a speaker animation corresponding to the video based on the other short-term lip shape style video.
[0117] Based on the same inventive concept, another embodiment of the present application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the multi-style lip shape synthesis method as described in any of the above embodiments of the present application.
[0118] Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executed, implements the steps in the multi-style lip shape synthesis method described in any of the above embodiments of the present application.
[0119] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0120] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0121] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0122] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0123] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0125] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0126] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0127] The above is a detailed introduction to a multi-style lip shape synthesis method, device, equipment and storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A multi-style lip shape synthesis method, characterized in that: The method comprises: Input the target face image, short-term lip style video and target audio into the multi-style lip synthesis network; The multi-style lip shape synthesis network obtains expression prediction parameters and shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio, including: Extracting features of the target face image to obtain shape parameters of the face image; The feature of the short-time lip style video and the feature of the target audio are subjected to feature fusion to obtain the expression prediction parameter, including: Extracting features from the short-term lip style video to obtain lip style features; Extracting features from the target audio to obtain audio features; The audio feature is combined with the lip shape style feature to obtain the expression prediction parameter; Combining the expression prediction parameter with the shape parameter to obtain a target style speaker animation includes: Generate a corresponding face image according to the shape parameters; synthesizing the lip shape into the face image according to the expression prediction parameter to obtain the speaker animation, wherein the face image in the speaker animation is the same as the target face image, and the lip shape style in the speaker animation is the same as the lip shape style in the short-time lip shape style video; The expression of the lip shape style feature is: Among them, style code represents the lip style feature, expression(t) represents the expression parameter sequence, σ(expression(t)) represents the calculation of the variance in the time domain, represents partial derivative, Represents vector concatenation.
2. The method according to claim 1, characterized in that The multi-style lip shape synthesis network is obtained through training, and the training steps include: Collect short speech videos of a single speaker; Extracting the audio corresponding to the short speech video and the face image of the speaker in the short speech video; The short speech video, the audio corresponding to the short speech video and the face image of the speaker in the short speech video are input into the multi-style lip shape synthesis network, and the multi-style lip shape synthesis network is trained to obtain a trained multi-style lip shape synthesis network.
3. The method according to claim 1, characterized in that The method further comprises: Inputting another short-term lip style video with a different style from the short-term lip style video into the multi-style lip synthesis network; The multi-style lip shape synthesis network generates a speaker animation corresponding to the video based on the other short-term lip shape style video.
4. A multi-style lip shape synthesis device, characterized in that: The device comprises: A data input module, used to input a target face image, a short-term lip style video, and a target audio into a multi-style lip synthesis network; The parameter extraction module is used for the multi-style lip shape synthesis network to obtain expression prediction parameters and shape parameters of the target face image through the target face image, the short-time lip shape style video and the target audio, including: Extracting features of the target face image to obtain shape parameters of the face image; The feature of the short-time lip style video and the feature of the target audio are subjected to feature fusion to obtain the expression prediction parameter, including: Extracting features from the short-term lip style video to obtain lip style features; Extracting features from the target audio to obtain audio features; The audio feature is combined with the lip shape style feature to obtain the expression prediction parameter; The first animation generation module is used to combine the expression prediction parameter with the shape parameter to obtain a speaker animation of a target style, including: Generate a corresponding face image according to the shape parameters; synthesizing the lip shape into the face image according to the expression prediction parameter to obtain the speaker animation, wherein the face image in the speaker animation is the same as the target face image, and the lip shape style in the speaker animation is the same as the lip shape style in the short-time lip shape style video; The expression of the lip shape style feature is: Among them, style code represents the lip style feature, expression(t) represents the expression parameter sequence, σ(expression(t)) represents the calculation of the variance in the time domain, represents partial derivative, Represents vector concatenation.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 3 are implemented.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Processing method, device and apparatus of talking videos and storage medium
CN108962216A
Speech-driven lip-synchronous face video synthesis algorithm based on concatenated convolution LSTM
CN109308731A
Image processing method and device, terminal equipment and storage medium
CN110390704A
Video generation method and device, electronic equipment and readable storage medium
CN111294665A
System and Method for Generation of Human Like Video Response for User Queries
US20180285456A1
