Method, device and storage medium for generating virtual human driving parameters
By performing data conversion and emotion analysis on multimedia data, the target facial features parameters are generated and the virtual human driving parameters are adjusted, which solves the problem of high complexity in generating virtual human driving parameters and achieves personalized adjustment and improved realism of the virtual human image.
Patent Information
- Application Number
- CN202311399934.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-10-25
AI Technical Summary
In the existing technology, the generation process of virtual human driving parameters is complicated and the operation threshold is high, making it difficult for ordinary people to generate or adjust virtual human driving parameters.
By detecting multimedia data, performing data conversion and emotion analysis, the target facial features parameters are generated, and the driving parameters of the preset virtual portrait are adjusted according to these parameters to generate target driving parameters compatible with different formats.
The complexity of the virtual human control technology is reduced, making the virtual human image more realistic and expressive. It can present a unique expression style according to different needs and situations, and simplifies user operations.
Smart Images

Figure CN117453932B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a method, device and storage medium for generating virtual human driving parameters. Background Art
[0002] The Metaverse is a virtual digital world consisting of multiple interactive platforms and virtual reality technologies. In the Metaverse, people can use virtual identities to interact with other users, explore virtual environments, participate in various activities, and experience experiences that the real world cannot provide. The Metaverse usually has unlimited possibilities and freedom, and can cover multiple fields such as games, social networks, virtual reality, and artificial intelligence, becoming an important scene for people's work, study, and entertainment. With the development and emergence of concepts such as mobile Internet, AI, and the Metaverse, virtual people can be used to replace artificial people in many fields such as live broadcasting and venue guidance.
[0003] The current technical defect is that the operating threshold is high, and it is difficult for ordinary people to generate or adjust the driving parameters of virtual humans. It can be seen that the control technology of virtual humans is relatively complex. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem that the control technology of virtual humans is relatively complex.
[0005] A first aspect of the present invention provides a method for generating virtual human driving parameters, the method comprising:
[0006] When a parameter generation request is detected, multimedia data carried in the generation request is obtained, and a preset virtual human portrait is obtained;
[0007] Performing a data conversion operation according to the multimedia data to obtain phoneme data, and performing an emotion analysis operation according to the multimedia data to obtain emotion parameters;
[0008] Generate target facial features parameters according to the phoneme data and the emotion parameters;
[0009] According to the target facial features parameters, adjusting the default driving parameters of the preset virtual human portrait, and using the current driving parameters of the preset virtual human as driving parameters;
[0010] According to the driving parameters and a preset parameter format, a target driving parameter corresponding to the parameter format is generated.
[0011] Optionally, in a first implementation of the first aspect of the present invention, the step of adjusting the default driving parameters of the preset virtual human portrait according to the target facial features parameters to obtain the driving parameters comprises:
[0012] Identifying facial features of the preset virtual human portrait;
[0013] Determining the facial features as target facial features;
[0014] According to the target facial features, the target facial features parameters are inserted into the default driving parameters of the preset virtual human portrait to obtain the driving parameters of the preset virtual human portrait.
[0015] Optionally, in a second implementation of the first aspect of the present invention, the step of determining the facial features as the target facial features includes:
[0016] According to the target facial feature parameters, determining the facial feature parts to be adjusted corresponding to the target facial feature parameters;
[0017] According to the facial features to be adjusted, the target facial features are determined among the facial features.
[0018] Optionally, in a third implementation of the first aspect of the present invention, the step of inserting the target facial features parameters into the default driving parameters of the preset virtual human portrait according to the target facial features to obtain the driving parameters of the preset virtual human portrait includes:
[0019] Determine the parameters to be replaced corresponding to the target facial features in the default driving parameters of the preset virtual human portrait;
[0020] According to the interpolation method, the parameters to be replaced are replaced with the target facial feature parameters, so as to insert the target facial feature parameters into the default driving parameters of the preset virtual human portrait to obtain the driving parameters of the preset virtual human portrait.
[0021] Optionally, in a fourth implementation of the first aspect of the present invention, the step of obtaining a preset virtual human portrait includes:
[0022] Parsing the parameter generation request to obtain a parsing result;
[0023] Determining virtual person remark information in the parsing result;
[0024] The preset virtual human portrait is obtained from a preset virtual human database according to the virtual human remark information.
[0025] Optionally, in a fifth implementation manner of the first aspect of the present invention, the step of performing a data conversion operation according to the multimedia data to obtain phoneme data includes:
[0026] Determine a data type of the multimedia data, the type comprising text and / or audio;
[0027] A conversion algorithm corresponding to the data type is called to convert the multimedia data into the phoneme data.
[0028] Optionally, in a sixth implementation of the first aspect of the present invention, the step of generating target facial features parameters according to the phoneme data and the emotion parameter includes:
[0029] According to the phoneme data and the emotion parameters, mouth shape parameters and / or expression parameters are generated to obtain the target facial features parameters.
[0030] Optionally, in a seventh implementation manner of the first aspect of the present invention, after the step of generating, according to the driving parameters and a preset parameter format, a target driving parameter corresponding to the parameter format, the method further includes:
[0031] The target drive parameters are output according to an interface corresponding to the parameter format.
[0032] The second aspect of the present invention provides a device for generating virtual human driving parameters, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the device for generating virtual human driving parameters executes the above-mentioned method for generating virtual human driving parameters.
[0033] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for generating virtual human driving parameters.
[0034] In an embodiment of the present invention, when a parameter generation request is detected, the multimedia data carried by the generation request is obtained, and a preset virtual human portrait is obtained; a data conversion operation is performed according to the multimedia data to obtain phoneme data, and an emotion analysis operation is performed according to the multimedia data to obtain emotion parameters; target facial features parameters are generated according to the phoneme data and the emotion parameters; the default driving parameters of the preset virtual human portrait are adjusted according to the target facial features parameters, and the current driving parameters of the preset virtual human are used as driving parameters; according to the driving parameters and the preset parameter format, the target driving parameters corresponding to the parameter format are generated. The device for generating virtual human driving parameters can perform a data conversion operation on the multimedia data obtained in the parameter generation request to obtain phoneme data, and perform an emotion analysis operation to obtain emotion parameters. In this way, the input multimedia content can be understood and analyzed more comprehensively, and key information can be extracted therein. By generating target facial features parameters according to the phoneme data and the emotion parameters, the default driving parameters of the preset virtual human portrait can be accurately adjusted. The facial features and actions of the virtual human such as the expression and mouth shape can better match the input multimedia content and emotional state, thereby enhancing the authenticity and expressiveness of the virtual human image. By using the current driving parameters of the preset virtual human as driving parameters and generating target driving parameters according to the driving parameters and the preset parameter format, the device for generating driving parameters of the virtual human can realize personalized adjustment of the driving of the virtual human image. In this way, each virtual human can present a unique performance style and characteristics according to different needs and situations. The user only needs to input multimedia data, and the device for generating driving parameters of the virtual human can generate driving parameters of the virtual human in multiple formats for the user to call, which can reduce the complexity of the virtual human control technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of a first embodiment of a method for generating driving parameters of a virtual human in an embodiment of the present invention;
[0036] Figure 2 Schematic diagram of a second embodiment of a method for generating driving parameters of a virtual human in an embodiment of the present invention;
[0037] Figure 3 It is a schematic diagram of an embodiment of a device for generating virtual human driving parameters in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The embodiments of the present invention provide a method, a device and a storage medium for generating virtual human driving parameters.
[0039] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0040] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0041] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for generating virtual human driving parameters in an embodiment of the present invention includes:
[0042] 101. When a parameter generation request is detected, multimedia data carried in the generation request is obtained, and a preset virtual human portrait is obtained;
[0043] In this embodiment, for multimedia files, such as pictures, audio or video, corresponding file parsing algorithms can be used to extract data therein. For example, for images, an image processing library or algorithm can be used to parse image files to extract pixel data therein. For audio, an audio processing library or algorithm can be used to parse audio files to extract sound waveform data or spectrum data therein. For videos, corresponding video processing libraries or algorithms can also be used to parse video files to extract frame data or motion information therein.
[0044] If the multimedia data is transmitted over the network, the corresponding data transmission protocol can be used to obtain the data. For example, for HTTP transmission, an HTTP request can be used to obtain the carried multimedia data. For real-time streaming media transmission, a streaming media protocol (such as RTSP, WebRTC, etc.) can be used to obtain the real-time transmitted multimedia data.
[0045] If the multimedia data is transmitted through the client application, the corresponding client interface or SDK can be used to obtain the data. For example, for mobile applications, the interface or SDK provided by the mobile development platform can be used to obtain multimedia data such as pictures, audio or video.
[0046] Furthermore, the device for generating the virtual human driving parameters carries a preset virtual human portrait.
[0047] Optionally, the device for generating virtual human driving parameters carries a preset virtual human database, parses the parameter generation request, and obtains a parsing result; determines the virtual human remark information in the parsing result; and obtains the preset virtual human portrait in the preset virtual human database according to the virtual human remark information.
[0048] Optionally, a natural language processing (NLP) algorithm and machine learning technology are used to parse the parameter generation request. The algorithm can be based on rules, statistical models, or deep learning models. For example, a recursive neural network (RNN) or Transformer model can be used to perform semantic analysis on the generation request to extract key information and operation instructions.
[0049] Optionally, different types of databases such as relational databases, graph databases, or document databases are used in combination with corresponding query algorithms to implement data retrieval and matching. For example, a structured query language (SQL) may be used for database query, or a graph query language (such as Cypher) of a graph database may be used for graph data query.
[0050] Optionally, a feature matching algorithm is used to compare key features in the analysis result with preset virtual human portraits in the database for matching. For example, a feature vector matching algorithm such as cosine similarity or Euclidean distance can be used to calculate the similarity of features to determine the best matching portrait.
[0051] Optionally, the parameter generation request is parsed to obtain a parsing result; the virtual person remark information is determined in the parsing result; and the preset virtual person portrait is obtained from a preset virtual person database according to the virtual person remark information. Among them, by parsing the parameters and determining the virtual person remark information, the user's needs can be accurately understood. The virtual person portrait in the preset virtual person database is carefully designed and annotated, so it can be ensured that the obtained preset virtual person portrait is consistent with the user's needs. This can provide more accurate and expected results. The preset virtual person portrait is obtained from the preset virtual person database according to the virtual person remark information, so that a personalized virtual person image can be achieved. The user can obtain a virtual person portrait that meets his needs and preferences by entering different remark information. This can increase the user's participation and satisfaction. By using the preset virtual person database, the types and characteristics of the virtual person portrait can be easily expanded and updated. New preset virtual person portraits can be added and updated according to user needs and market trends. This can provide a more diverse and rich selection of virtual person images to meet the needs of different users and applications.
[0052] 102. Perform a data conversion operation according to the multimedia data to obtain phoneme data, and perform an emotion analysis operation according to the multimedia data to obtain emotion parameters;
[0053] In this embodiment, for audio data, an audio processing algorithm can be used to perform data conversion operations to convert audio into phoneme data. The algorithms used include but are not limited to speech signal processing algorithms, acoustic models, and speech recognition technologies. For example, algorithms such as Mel frequency cepstral coefficients (MFCC) and linear predictive coding (LPC) can be used to extract phoneme-related features, and then these features are mapped to phoneme sequences using an acoustic model.
[0054] Optionally, for multimedia data such as text, speech or images, sentiment analysis algorithms can be used to perform sentiment analysis operations to extract sentiment parameters. Sentiment analysis can be based on technologies such as natural language processing (NLP), speech emotion recognition, and computer vision. For example, for text data, sentiment analysis can be performed using sentiment classification models based on machine learning or deep learning. For speech data, a speech emotion recognition model can be used to identify the emotional state in speech. For image data, computer vision technology can be used to extract expression or emotional features in images.
[0055] Optionally, deep learning algorithms have shown strong capabilities in data conversion operations and sentiment analysis operations. For example, deep learning models such as convolutional neural networks (CNNs), recurrent neural networks (RNNs), or Transformer models can be used to process audio data or multimedia data to achieve data conversion and sentiment analysis tasks.
[0056] Optionally, determine the data type of the multimedia data, the type including text and / or audio; call the conversion algorithm corresponding to the data type to convert the multimedia data into the phoneme data. Specifically, for the input multimedia data, its data type needs to be determined first. The data type can be determined by checking the file extension, media file header information or using a special multimedia file parsing library. For example, the data type can be determined to be text by checking whether the file extension is .txt, or the data type can be determined to be audio by reading the information in the audio file header.
[0057] Furthermore, for text data, a text-to-phoneme conversion algorithm can be used. The algorithm maps each word or syllable in the text to a corresponding phoneme, that is, the smallest unit of speech pronunciation. This conversion can usually be achieved with the help of speech synthesis technology or speech recognition technology. By translating the content in the text into a corresponding phoneme sequence, the text can be converted into phoneme data.
[0058] Furthermore, for audio data, audio signal processing and speech recognition techniques can be used to convert it into phoneme data. This involves steps such as preprocessing audio data, feature extraction, and acoustic model training. First, the audio data is preprocessed by framing, windowing, and other preprocessing operations, and then audio features such as Mel Spectral Coefficients (MFCC) are extracted. Finally, a trained acoustic model, such as a hidden Markov model (HMM), is used to achieve the conversion of audio to phonemes.
[0059] 103. Generate target facial features parameters according to the phoneme data and the emotion parameter;
[0060] In this embodiment, the mapping relationship between phonemes and target facial features parameters is established using phoneme data and emotion parameters. This can be achieved through machine learning methods, rule matching, or statistical modeling. For example, a deep learning model such as a conditional generative adversarial network (Conditional GAN) or an autoencoder can be used to take phonemes as input to generate corresponding target facial features parameters.
[0061] Optionally, an emotional expression model is constructed based on the emotional parameters to generate the target facial features parameters. A deep learning model can be used, such as a recurrent neural network (RNN), a convolutional neural network (CNN), or a Transformer model. The emotional parameters can be used as input, and during the training process, the model can learn the distribution of the target facial features parameters under different emotional states.
[0062] Optionally, a dataset is constructed using existing phoneme data and corresponding target facial features parameters, and trained using a data-driven algorithm. This includes regression algorithms, support vector machines (SVMs), or random forests. The algorithm can predict and generate corresponding target facial features parameters based on the characteristics of the phoneme data and emotion parameters.
[0063] In this embodiment, the target facial features parameters can be generated according to the phoneme data and the emotion parameters through the phoneme-facial features mapping algorithm, the emotion expression model or the data-driven algorithm. These algorithms can be trained according to the existing data set to learn the correlation between the phonemes and the target facial features, so as to generate the target facial features parameters that meet the requirements.
[0064] Optionally, mouth shape parameters and / or expression parameters are generated according to the phoneme data and the emotion parameters to obtain the target facial features parameters.
[0065] 104. According to the target facial features parameters, adjust the default driving parameters of the preset virtual human portrait, and use the current driving parameters of the preset virtual human as driving parameters;
[0066] In this embodiment, an optimization algorithm, such as a gradient descent method, a genetic algorithm, or a particle swarm optimization, is used to adjust the default driving parameters of the preset virtual human portrait. These algorithms can automatically adjust the values of the driving parameters according to the error or loss function between the target facial features parameters and the current driving parameters, so that they can better match the target facial features parameters.
[0067] Optionally, a parameter regression model is constructed, and the target facial features parameters are used as input to predict the corresponding driving parameters. Machine learning methods such as linear regression, support vector regression (SVR) or neural network can be used. Through the trained model, a mapping relationship between the target facial features parameters and the driving parameters can be established, and the predicted driving parameters can be used to adjust the default driving parameters of the preset virtual human portrait.
[0068] Optionally, a data set is constructed, which contains different target facial features parameters and corresponding driving parameters. Then, a sample matching algorithm, such as a nearest neighbor algorithm or a kernel function-based method, is used to match the target facial features parameters with samples in the data set, thereby obtaining driving parameters that are most similar to the target facial features parameters.
[0069] 105. Generate target driving parameters corresponding to the parameter format according to the driving parameters and a preset parameter format.
[0070] Optionally, the target drive parameters are output according to the interface corresponding to the parameter format. Parameters with different parameter formats can be called by devices with different compatibilities. Generating target drive parameters with different compatibilities can meet the needs of various different systems and devices. Different systems and devices may have different interface and parameter format requirements. By generating compatible target drive parameters, the application scope can be expanded so that the drive parameters can be used and integrated on more platforms.
[0071] Optionally, the target drive parameters are output according to the interface corresponding to the parameter format. Parameters with different parameter formats can be called by virtual humans of different versions. Different versions of virtual humans may be driven using different parameter formats. By outputting the target drive parameters and providing options for different parameter formats, the needs of virtual humans of different versions can be met, and multi-version adaptation can be achieved. This will enhance the flexibility and scalability of virtual humans, enabling them to adapt to different application scenarios and user requirements.
[0072] In a complete case, the first step is to locate the mouth and eyes of the image through image recognition; the second step is to analyze the mouth shape and expression parameters through text or audio, and then convert them into driving parameters in various formats (such as the relative movement distance of mouth opening and closing) through calculation; the third step is to apply the driving parameters obtained in the second step to the positions of the mouth and eyes obtained in the first step to drive the virtual human; at the same time, parameters that can be used for driving other types of models, such as blendshape, are provided through API.
[0073] In an embodiment of the present invention, when a parameter generation request is detected, the multimedia data carried by the generation request is obtained, and a preset virtual human portrait is obtained; a data conversion operation is performed according to the multimedia data to obtain phoneme data, and an emotion analysis operation is performed according to the multimedia data to obtain emotion parameters; target facial features parameters are generated according to the phoneme data and the emotion parameters; the default driving parameters of the preset virtual human portrait are adjusted according to the target facial features parameters, and the current driving parameters of the preset virtual human are used as driving parameters; according to the driving parameters and the preset parameter format, the target driving parameters corresponding to the parameter format are generated. The device for generating virtual human driving parameters can perform a data conversion operation on the multimedia data obtained in the parameter generation request to obtain phoneme data, and perform an emotion analysis operation to obtain emotion parameters. In this way, the input multimedia content can be understood and analyzed more comprehensively, and key information can be extracted therein. By generating target facial features parameters according to the phoneme data and the emotion parameters, the default driving parameters of the preset virtual human portrait can be accurately adjusted. The facial features and actions of the virtual human such as the expression and mouth shape can better match the input multimedia content and emotional state, thereby enhancing the authenticity and expressiveness of the virtual human image. By using the current driving parameters of the preset virtual human as driving parameters and generating target driving parameters according to the driving parameters and the preset parameter format, the device for generating driving parameters of the virtual human can realize personalized adjustment of the driving of the virtual human image. In this way, each virtual human can present a unique performance style and characteristics according to different needs and situations. The user only needs to input multimedia data, and the device for generating driving parameters of the virtual human can generate driving parameters of the virtual human in multiple formats for the user to call, which can reduce the complexity of the virtual human control technology.
[0074] See also Figure 2 , Figure 2 This is a second embodiment of the method for generating virtual human driving parameters in an embodiment of the present invention. In step 102, the following steps may be performed:
[0075] 1021. Identify facial features of the preset virtual human portrait;
[0076] Optionally, based on the target facial feature parameters, the facial feature parts to be adjusted corresponding to the target facial feature parameters are determined; based on the facial feature parts to be adjusted, the target facial feature parts are determined among the facial feature parts.
[0077] 1022. Determine that the facial feature part is a target facial feature part;
[0078] 1023. According to the target facial features, insert the target facial features parameters into the default driving parameters of the preset virtual human portrait to obtain the driving parameters of the preset virtual human portrait.
[0079] In this embodiment, a face recognition algorithm is used to identify the facial features of a preset virtual human portrait.
[0080] Optionally, in the default driving parameters of the preset virtual human portrait, the parameters to be replaced corresponding to the target facial features are determined; according to the interpolation method, the parameters to be replaced are replaced with the target facial features parameters, so as to insert the target facial features parameters into the default driving parameters of the preset virtual human portrait, and obtain the driving parameters of the preset virtual human portrait. Specifically, linear interpolation, spline interpolation or model-based interpolation methods can be used to achieve this. For example, a weight is calculated for each target facial feature, and then the target facial features parameters are weightedly summed with the default driving parameters of the preset virtual human portrait to obtain the final driving parameters.
[0081] Optionally, this can be achieved by using a deep learning model, such as a convolutional neural network (CNN) or a facial landmark detector. The face recognition algorithm can locate the positions of the facial features such as eyes, nose, mouth, etc. in the preset virtual human portrait. The target detection algorithm can also be used to determine which facial features are target facial features.
[0082] Optionally, a deep learning model such as RCNN, YOLO or SSD can be used for implementation. The object detection algorithm can further determine the area belonging to the target facial features among the identified facial features. The target facial features parameters can also be inserted into the default driving parameters of the preset virtual human portrait according to the target facial features.
[0083] In the embodiment of the present invention, through the face recognition algorithm, the target detection algorithm and the parameter interpolation algorithm, it is possible to realize the recognition of the facial features of the preset virtual human portrait and the insertion of the parameters of the target facial features, thereby obtaining the driving parameters of the preset virtual human portrait. It can ensure that the characteristics of the target facial features are accurately integrated into the preset virtual human portrait, and realize a more satisfactory facial animation or virtual image.
[0084] Figure 31 is a schematic diagram of the structure of a device for generating virtual human driving parameters provided by an embodiment of the present invention. The device 500 for generating virtual human driving parameters may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the device 500 for generating virtual human driving parameters. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the device 500 for generating virtual human driving parameters.
[0085] The device 500 for generating virtual human driving parameters may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the device for generating virtual human driving parameters shown does not constitute a limitation on the device for generating virtual human driving parameters, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0086] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for generating virtual human driving parameters.
[0087] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0088] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0089] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for generating virtual human driving parameters, characterized in that: The method for generating the virtual human driving parameters includes: When a parameter generation request is detected, multimedia data carried in the generation request is obtained, and a preset virtual human portrait is obtained; Performing a data conversion operation according to the multimedia data to obtain phoneme data, and performing an emotion analysis operation according to the multimedia data to obtain emotion parameters; Generate target facial features parameters according to the phoneme data and the emotion parameters; According to the target facial features parameters, adjusting the default driving parameters of the preset virtual human portrait, and using the current driving parameters of the preset virtual human as driving parameters; According to the driving parameters and a preset parameter format, generating a target driving parameter corresponding to the parameter format; The step of adjusting the default driving parameters of the preset virtual human portrait according to the target facial features parameters to obtain the driving parameters comprises: Identifying facial features of the preset virtual human portrait; Determining the facial features as target facial features; According to the target facial features, inserting the target facial features parameters into the default driving parameters of the preset virtual human portrait to obtain the driving parameters of the preset virtual human portrait; Wherein, the step of determining the target facial features in the facial features comprises: According to the target facial feature parameters, determining the facial feature parts to be adjusted corresponding to the target facial feature parameters; According to the facial features to be adjusted, determining the target facial features among the facial features; The step of inserting the target facial features parameters into the default driving parameters of the preset virtual human portrait according to the target facial features to obtain the driving parameters of the preset virtual human portrait comprises: Determine the parameters to be replaced corresponding to the target facial features in the default driving parameters of the preset virtual human portrait; According to the interpolation method, the parameters to be replaced are replaced with the target facial feature parameters, so as to insert the target facial feature parameters into the default driving parameters of the preset virtual human portrait to obtain the driving parameters of the preset virtual human portrait.
2. The method for generating virtual human driving parameters according to claim 1, characterized in that: The step of obtaining a preset virtual human portrait comprises: Parsing the parameter generation request to obtain a parsing result; Determining virtual person remark information in the parsing result; The preset virtual human portrait is obtained from a preset virtual human database according to the virtual human remark information.
3. The method for generating virtual human driving parameters according to any one of claims 1 to 2, characterized in that: The step of performing a data conversion operation according to the multimedia data to obtain phoneme data comprises: Determine a data type of the multimedia data, the type comprising text and / or audio; A conversion algorithm corresponding to the data type is called to convert the multimedia data into the phoneme data.
4. The method for generating virtual human driving parameters according to claim 1, characterized in that: The step of generating target facial features parameters according to the phoneme data and the emotion parameters comprises: According to the phoneme data and the emotion parameters, mouth shape parameters and / or expression parameters are generated to obtain the target facial features parameters.
5. The method for generating virtual human driving parameters according to claim 1, characterized in that: After the step of generating target driving parameters corresponding to the parameter format according to the driving parameters and the preset parameter format, the method further includes: The target drive parameters are output according to an interface corresponding to the parameter format.
6. A device for generating virtual human driving parameters, characterized in that: The device for generating virtual human driving parameters comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the device for generating virtual human driving parameters to execute the method for generating virtual human driving parameters according to any one of claims 1-5.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating virtual human driving parameters as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Interaction information processing method, and network model training method and device
CN114895817A
Three-dimensional face driving method and device, electronic equipment and readable storage medium
CN116310435A
