Virtual object display method, device, equipment, storage medium and program product

By extracting acoustic features from user audio data and synthesizing the audio and video data of the target object, the problem of a single virtual object display method is solved, user interaction interest and product usage viscosity are improved, and diversified virtual object display is achieved.

CN115237248BActive Publication Date: 2024-10-15BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210701680.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-20
Publication Date
2024-10-15
Estimated Expiration
2042-06-20

AI Technical Summary

Technical Problem

The image and sound attributes of virtual objects in the existing technology are fixed and single, which cannot meet the personalized needs of users, resulting in a decrease in user interaction interest and product usage viscosity.

Method used

By extracting acoustic features from the user's audio data, generating facial key points and audio data of the target object, synthesizing the audio and video data of the target object's voice and image singing the target song, enriching the way users interact with virtual objects.

Benefits of technology

It improves the user's interactive interest and product usage viscosity, provides a variety of virtual object displays, and enhances the user's sense of participation and the fun of the interactive scene.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115237248B_ABST
    Figure CN115237248B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment, storage medium and program product for displaying a virtual object. The method includes: obtaining audio data of at least a portion of a target song from a user; extracting features from the audio data to obtain acoustic features of the audio data; obtaining target audio and video data of the virtual object based on the target object about at least a portion of the segment based on the acoustic features; and displaying the target audio and video data so that the virtual object sings at least a portion of the segment with the image and voice of the target object. According to the present disclosure, the user's interactive content is enriched, and the user's interactive interest and product usage stickiness are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment, storage medium and program product for displaying a virtual object. Background Art

[0002] In recent years, due to the rapid development of short videos and digital entertainment media, in order to enrich the user's interaction methods, virtual objects are set in more and more scenes to realize the interaction between users, or the interaction between users and virtual objects. However, the current interaction method is single, which reduces the user's interest in interaction and the stickiness of using the product. Summary of the invention

[0003] The present disclosure proposes a method, device, equipment, storage medium and program product for displaying virtual objects, so as to solve the technical problem that the single interaction mode reduces the user's interaction interest and the stickiness of using the product to a certain extent.

[0004] In a first aspect, the present disclosure provides a method for displaying a virtual object, comprising:

[0005] Acquire audio data of at least a portion of a target song from a user;

[0006] Extracting features from the audio data to obtain acoustic features of the audio data;

[0007] Obtaining target audio and video data of the virtual object about at least part of the segment based on the target object based on the acoustic features;

[0008] The target audio and video data are displayed so that the virtual object sings at least part of the segment in the image and voice of the target object.

[0009] In a second aspect of the present disclosure, a virtual object display device is provided, comprising:

[0010] An acquisition module, used to acquire audio data of at least a portion of a target song from a user;

[0011] A feature extraction module, used to extract features from the audio data to obtain acoustic features of the audio data;

[0012] A target data module, which obtains target audio and video data of the virtual object about at least part of the segment based on the target object based on the acoustic feature input;

[0013] A display module is used to display the target audio and video data so that the virtual object sings at least part of the segment with the image and voice of the target object.

[0014] According to a third aspect of the present disclosure, an electronic device is provided, characterized in that it includes one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the program includes instructions for executing the method described in the first aspect.

[0015] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium containing a computer program is provided. When the computer program is executed by one or more processors, the processors execute the method described in the first aspect.

[0016] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed on a computer, cause the computer to execute the method described in the first aspect.

[0017] From the above, it can be seen that the present disclosure provides a method, device, equipment, storage medium and program product for displaying virtual objects, which extracts acoustic features from the user's audio data about the target song, and then obtains audio and video data of the target song sung with the target object's voice and image based on the acoustic features. This enriches the user's interactive content and enhances the user's interactive interest and product stickiness. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 A schematic diagram of a display architecture of a virtual object according to an embodiment of the present disclosure.

[0020] Figure 2 The figure is a schematic diagram of the hardware structure of an exemplary electronic device according to an embodiment of the present disclosure.

[0021] Figure 3 The figure is a flowchart of a method for displaying a virtual object according to an embodiment of the present disclosure.

[0022] Figure 4 A schematic diagram of a virtual object display process according to an embodiment of the present disclosure.

[0023] Figure 5 A schematic diagram of a virtual object display according to an embodiment of the present disclosure.

[0024] Figure 6 Schematic diagram of a virtual object display device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0026] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0028] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0029] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0030] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0031] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0032] In common interactive scenarios involving music, users can interact with virtual objects, or use virtual objects to interact with other users. However, the image, sound and other attributes of virtual objects in these scenarios are often fixed and single, which cannot meet the personalized needs of users for virtual objects with different attributes, resulting in a decrease in users' interactive interest and product usage stickiness. Therefore, how to enrich the interaction methods between users and virtual objects and enhance users' interactive interest and product usage stickiness has become a technical problem that needs to be solved urgently.

[0033] In view of this, the embodiments of the present disclosure provide a method, device, equipment, storage medium and program product for displaying a virtual object. By extracting acoustic features from the user's audio data about a target song, and then generating facial key points of the target object based on the acoustic features, audio and video data of the target song sung with the target object's voice and image can be obtained. This enriches the user's interactive content and enhances the user's interactive interest and product stickiness.

[0034] Figure 1 A schematic diagram of a virtual object display architecture according to an embodiment of the present disclosure is shown. Figure 1 , the display architecture 100 of the virtual object may include a server 110, a terminal 120, and a network 130 providing a communication link. The server 110 and the terminal 120 may be connected via a wired or wireless network 130. The server 110 may be an independent physical server, or a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0035] The terminal 120 may be implemented in hardware or software. For example, when the terminal 120 is implemented in hardware, it may be various electronic devices having a display screen and supporting page display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, and desktop computers, etc. When the terminal 120 device is implemented in software, it may be installed in the electronic devices listed above; it may be implemented as multiple software or software modules (such as software or software modules used to provide distributed services), or it may be implemented as a single software or software module, which is not specifically limited here.

[0036] It should be noted that the method for displaying a virtual object provided in the embodiment of the present application can be executed by the terminal 120 or by the server 110. It should be understood that Figure 1 The number of terminals, networks and servers in the embodiment is only for illustration and is not intended to limit the number of terminals, networks and servers. Any number of terminals, networks and servers may be provided as required.

[0037] Figure 2 FIG. 2 shows a schematic diagram of the hardware structure of an exemplary electronic device 200 provided in an embodiment of the present disclosure. Figure 2 As shown, the electronic device 200 may include: a processor 202, a memory 204, a network module 206, a peripheral interface 208 and a bus 210. The processor 202, the memory 204, the network module 206 and the peripheral interface 208 are connected to each other in communication within the electronic device 200 through the bus 210.

[0038] Processor 202 may be a central processing unit (CPU), an image processor, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. Processor 202 may be used to perform functions related to the technology described in this disclosure. In some embodiments, processor 202 may also include multiple processors integrated into a single logical component. For example, Figure 2 As shown, processor 202 may include a plurality of processors 202a, 202b, and 202c.

[0039] The memory 204 may be configured to store data (eg, instructions, computer code, etc.). Figure 2As shown, the data stored in the memory 204 may include program instructions (e.g., program instructions for implementing the display method of the virtual object of the embodiment of the present disclosure) and data to be processed (e.g., the memory may store configuration files of other modules, etc.). The processor 202 may also access the program instructions and data stored in the memory 204, and execute the program instructions to operate on the data to be processed. The memory 204 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 204 may include a random access memory (RAM), a read-only memory (ROM), an optical disk, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.

[0040] The network module 206 can be configured to provide communication with other external devices to the electronic device 200 via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC) etc.), a cellular network, the Internet or a combination thereof. It is understood that the type of network is not limited to the above specific examples. In some embodiments, the network module 106 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc., in any combination.

[0041] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to achieve information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.

[0042] The bus 210 can be configured to transmit information between various components of the electronic device 200 (e.g., the processor 202, the memory 204, the network module 206, and the peripheral interface 208), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.

[0043] It should be noted that, although the architecture of the electronic device 200 only shows the processor 202, the memory 204, the network module 206, the peripheral interface 208 and the bus 210, in the specific implementation process, the architecture of the electronic device 200 may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the architecture of the electronic device 200 may also only include the components necessary for implementing the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.

[0044] See also Figure 3 , Figure 3A schematic diagram of a method for displaying a virtual object according to an embodiment of the present disclosure is shown. The method 300 can be used to display a virtual object and can be Figure 1 The server 110 or the terminal 120 can be implemented, or the server 110 and the terminal 120 can be implemented together. Figure 2 The electronic device 200 is implemented in FIG. Figure 3 As shown, the method 300 may include the following steps. Here, the way of obtaining and using personal information and the requirements of the data involved in this technical solution can refer to the description of the beginning part of the specific implementation method of this disclosure.

[0045] In step S310, the user's audio data of at least a partial segment of the target song is obtained.

[0046] The audio data may include audio data of at least a portion of the target song sung by the user. Further, the audio data may not include background music. For example, the user sings dry voice, and the user may sing audio data of a section of song S1 in song S without background music.

[0047] In step S320, feature extraction is performed on the audio data to obtain acoustic features of the audio data.

[0048] Among them, acoustic features can refer to the voice characteristics of audio data, which can reflect the user's singing style and method, such as the rhythm, tempo, timbre, pitch, volume, etc. of the user when singing.

[0049] In some embodiments, the acoustic features include, but are not limited to, Linear Prediction Cepstral Coefficients (LPCC) or Mel Frequency Cepstral Coefficients (MFCC).

[0050] In step S330, target audio and video data of the virtual object based on the target object regarding the at least partial segment is obtained based on the acoustic features.

[0051] Among them, the target audio and video data may refer to the target image data and target audio data displayed by the virtual object.

[0052] In some embodiments, obtaining the target audio and video data of the virtual object based on the target object about the at least part of the segment based on the acoustic feature includes:

[0053] The acoustic features are input into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object regarding at least a portion of the segment.

[0054] According to the trained virtual object model, the user's audio data can be presented by the virtual object in the image and sound of the target object. Figure 4 As shown, Figure 4 A schematic diagram of a virtual object display process according to an embodiment of the present disclosure is shown. Figure 4 In the example, the audio data Data_S1 of the segment S1 of the target song S sung by the user User can be collected via the image acquisition device of the terminal (such as a camera, etc.). The acquisition module 410 acquires the audio data Data_S1, inputs it into the feature extraction module 420 for acoustic feature extraction, and obtains the corresponding acoustic feature F_S1. The acoustic feature F_S1 is then input into the trained virtual object model in the target data module 430, and the target audio and video data can be output. The target audio and video data is displayed via the display module 440: the virtual object User' is displayed in the image of the target object T (which can be specified by the user), and the segment S1 of the target song S is sung in the voice of the target object T. According to the embodiment of the present disclosure, the singing voice of any user can be generated into the singing voice of the specified target object, and the virtual object can be sung in the image of the target object, which helps to enhance the user's interest in interaction. At the same time, when interacting with other users, no relevant data of the user will be retained, which protects the privacy of the user and further enhances the security of user interaction.

[0055] In some embodiments, the trained virtual object model includes a trained first network and a trained second network;

[0056] Inputting the acoustic features into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object about at least part of the segment, comprising:

[0057] Inputting the acoustic features into the trained first network to obtain target audio data based on the sound of the target object and facial key point information based on the image of the target object;

[0058] Inputting the facial key point information into the trained second network to obtain target image data based on the image of the target object;

[0059] The target audio data and the target image data are combined to obtain the target audio and video data.

[0060] Specifically, the trained virtual object model can generate a virtual object that displays the image and voice of the target object based on the user's acoustic features. The trained first network can determine the facial key point information based on the user's acoustic features, and the trained second network can generate a virtual object that appears in the image of the target object and sings the target song with the timbre of the target object and the singing style of the user based on the facial key point information.

[0061] In some embodiments, inputting the acoustic features into the trained first network to obtain facial key point information based on the image of the target object includes:

[0062] Performing sound recognition on the audio data based on the acoustic features to obtain user singing parameters of the audio data; wherein the user singing parameters include lyrics, and at least one of rhythm, pitch or tempo;

[0063] The positions of key points of the face in the target object are determined based on the user singing parameters to obtain the key points information of the face.

[0064] Among them, because different words have different pronunciations when users sing songs, as well as different singing parameters such as rhythm, tempo, and pitch, these singing parameters will cause the key points of the user's face to change. For example, the lip key points, eye key points, eyebrow key points, face key points, face angles, etc. will move continuously as the user sings. Moreover, even when different users sing the same song, the key points and their positions of the same segment of the face are different. And these factors that cause the changes in the key points of the face and their positions can be reflected in the acoustic features of the aforementioned audio data, that is, the key points of the user's face and their positions can be determined based on the extracted acoustic features, thereby reflecting the facial image characteristics of the user during the singing. In order to reflect these personalized facial image characteristics on the virtual object that appears in the image of the target object, the first network can be trained to convert the user's acoustic features into the key points of the face based on the image of the target object, and the second network can be trained to construct the image of the virtual object based on the key points of the face and the facial image of the target object, so as to achieve the display effect that the image of the virtual object is the image of the target object, and the changes in the key points of the face of the virtual object during the singing are consistent with the user's singing. This can increase user participation, form diverse virtual objects, enrich the interaction scenarios, and further enhance user interest in interaction and stickiness to the product.

[0065] In some embodiments, inputting the facial key point information into the trained second network to obtain target image data based on the image of the target object includes:

[0066] generating the virtual object based on the face image of the target object;

[0067] The positions of the facial key points in the virtual object are updated based on the facial key point information to obtain the target image data.

[0068] Specifically, the facial key point information output by the trained first network can reflect the facial features of the user when singing the target song. A corresponding virtual object can be established based on the facial image of the target object. At this time, the image of the virtual object is the facial image of the target object. The position of the facial key points of the virtual object is adjusted according to the facial key point information determined by the first network, so that a virtual object consistent with the facial image of the user when singing can be obtained. Then, the acoustic features of each frame of audio data can obtain the corresponding facial key point position after passing through the trained first network, and the facial key point position corresponding to all audio frames can represent the position change of the facial key point when singing the song, thereby reflecting the changes in the facial features of the person when singing. On this basis, the facial key points of the virtual object change according to the position change of the facial key points, so that when the virtual object is displayed, the face can present the same expression and demeanor as the user when singing.

[0069] In some embodiments, inputting the acoustic features into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object about at least part of the segment includes:

[0070] Performing sound recognition on the audio data based on the acoustic features to obtain user singing parameters of the audio data; wherein the user singing parameters include lyrics, and at least one of rhythm, pitch or tempo;

[0071] The target audio data is generated based on the user singing parameters and the timbre of the target object, and the target audio data includes audio data of singing the at least part of the segment with the timbre of the target object and the user singing parameters.

[0072] The first network is also used to convert the user's audio data into target audio data of a target song sung with the timbre of the target object. Since the singing parameters reflect the lyrics content and singing attributes such as rhythm, pitch or tempo of the audio data, the target audio data can be synthesized based on the timbre of the target object according to the singing parameters, thereby converting the user's singing voice into a singing voice sung with the timbre of the target object.

[0073] In some embodiments, method 300 may further include:

[0074] Acquire first audio and video data of the target object;

[0075] Extracting features from the first audio and video data to obtain a first acoustic feature and a first facial key point of the target object;

[0076] The first acoustic feature and the first facial key point are used as training data to train the first network to obtain the trained first network.

[0077] Specifically, the first network can be a neural network. In the process of training the first network, relevant audio and video data of the target object can be obtained, for example, audio and video data of the target object singing taken with the authorization of the target object, or audio and video data of the target object singing downloaded from the network with the authorization of the target object. The neural network is trained using the first audio and video data of the target object. For example, the first audio and video data is subjected to acoustic feature and facial feature extraction to obtain the first acoustic feature and the first facial key point. The first acoustic feature can be a Mel feature, and the first facial key point can be represented by the position information (e.g., coordinates) of the facial key point. The first acoustic feature is used as the input layer feature of the neural network, and the position information of the first facial key point is used as the output layer feature of the neural network to train the neural network, thereby obtaining a trained first network.

[0078] In some embodiments, the trained first network may further include a sound conversion model for converting audio data into target audio data based on the timbre of the target object based on the user singing parameters and the timbre of the target object. Specifically, the training song information such as lyrics, rhythm, tempo, pitch, etc. of the training song may be obtained as input layer features of the sound conversion model, and the audio data of the target object singing the training song may be used as output layer features to train the sound conversion model.

[0079] In some embodiments, method 300 may further include:

[0080] Determine the position of the first facial key point based on the first audio and video data;

[0081] Generate a first virtual object related to the target object based on the first image data in the first audio and video data;

[0082] The second network is trained using the first facial key points and the first virtual object as training data to obtain the trained second network.

[0083] Among them, the position of the first facial key point can be used as the input layer feature of the second network, and the first virtual object of the target object can be used as the output layer feature to train the second network, thereby obtaining a trained second network.

[0084] In step S340, the target audio and video data is displayed so that the virtual object sings at least part of the segment in the image and voice of the target object.

[0085] When the user sings the audio data about the target song, the virtual object is displayed with the facial image of the target object, and sings the target song with the timbre of the target object and the singing parameters of the user.

[0086] In some embodiments, the user includes a first user and a second user, and the virtual object includes a first virtual object corresponding to the first user and a second virtual object corresponding to the second user;

[0087] The method further comprises:

[0088] Acquire second audio data of a first user regarding a first segment of the target song and third audio data of a second user regarding a second segment of the target song;

[0089] Performing feature extraction on the second audio data to obtain a second acoustic feature of the second audio data, and performing feature extraction on the third audio data to obtain a third acoustic feature of the third audio data;

[0090] Inputting the second acoustic feature into the trained first virtual object model to obtain first target audio and video data of the first segment of the first virtual object based on the first target object; and inputting the third acoustic feature into the trained second virtual object model to obtain second target audio and video data of the second segment of the second virtual object based on the second target object;

[0091] Merging the first target audio data and the second target audio data to obtain fused audio and video data;

[0092] Display the fused audio and video data to simultaneously show the first virtual object having the first image of the first target object and the second virtual object having the second image of the second target object; and according to the time sequence of obtaining the first audio data and the second audio data, display the first virtual object singing the first segment with the first image and first voice of the first target object, and display the second virtual object singing the second segment with the second image and second voice of the second target object.

[0093] Among them, Figure 5 As stated, Figure 5 A schematic diagram of virtual object display according to an embodiment of the present disclosure is shown. Figure 5In the example, the first user User1 and the second user User2 can sing the same target song through their respective terminals. The first user User1 and the second user User2 can both see through their respective terminals that the first virtual object User1' corresponding to the first user User1 is displayed as the image of the first target object, and the second virtual object User2' corresponding to the second user User2 is displayed as the image of the second target object. The first user User1 sings the first segment S1 of the target song S at time t1, and the second user User2 sings the first segment S2 of the target song S at time t2, and time t1 is earlier than time t2. Then, according to the method of the embodiment of the present disclosure, while seeing the first virtual object User1' and the second virtual object User2', the first user User1 and the second user User2 can also hear the first virtual object User1' sing the first segment S1 with the first timbre of the first target object and the singing parameters of the first user User1, and then the second virtual object User2' sings the second segment S2 with the second timbre of the second target object and the singing parameters of the second user User2. In this way, according to the method of the embodiment of the present disclosure, interaction between different users can also be realized, further enriching the user's interaction scenes, improving the fun of interaction, and thus improving the user's interest in interaction and the stickiness of using the product.

[0094] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.

[0095] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0096] Based on the same technical concept, corresponding to any of the above-mentioned embodiments, the present disclosure also provides a virtual object display device. Here, the method of obtaining and using personal information and the requirements of the data involved in this technical solution can be found in the description of the beginning part of the specific implementation method of the present disclosure.

[0097] refer to Figure 6, the display device of the virtual object comprises:

[0098] An acquisition module, used to acquire audio data of at least a portion of a target song from a user;

[0099] A feature extraction module, used to extract features from the audio data to obtain acoustic features of the audio data;

[0100] A target data module, which obtains target audio and video data of the virtual object about at least part of the segment based on the target object based on the acoustic feature input;

[0101] A display module is used to display the target audio and video data so that the virtual object sings at least part of the segment with the image and voice of the target object.

[0102] In some embodiments, the target data module is further used to:

[0103] The acoustic features are input into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object regarding at least a portion of the segment.

[0104] In some embodiments, the trained virtual object model includes a trained first network and a trained second network; the target data module is further used to:

[0105] Inputting the acoustic features into the trained first network to obtain target audio data based on the sound of the target object and facial key point information based on the image of the target object;

[0106] Inputting the facial key point information into the trained second network to obtain target image data based on the image of the target object;

[0107] The target audio data and the target image data are combined to obtain the target audio and video data.

[0108] In some embodiments, the target data module is further used to:

[0109] Performing sound recognition on the audio data based on the acoustic features to obtain user singing parameters of the audio data; wherein the user singing parameters include lyrics, and at least one of rhythm, pitch or tempo;

[0110] The target audio data is generated based on the user singing parameters and the timbre of the target object, and the target audio data includes audio data of singing the at least part of the segment with the timbre of the target object and the user singing parameters.

[0111] In some embodiments, the target data module is further used to:

[0112] Performing sound recognition on the audio data based on the acoustic features to obtain user singing parameters of the audio data; wherein the user singing parameters include lyrics, and at least one of rhythm, pitch or tempo;

[0113] The positions of key points of the face in the target object are determined based on the user singing parameters to obtain the key points information of the face.

[0114] In some embodiments, the target data module is further used to:

[0115] generating the virtual object based on the face image of the target object;

[0116] The positions of the facial key points in the virtual object are updated based on the facial key point information to obtain the target image data.

[0117] In some embodiments, the acquisition module is further used to: acquire first audio and video data of the target object;

[0118] The feature extraction module is also used to: perform feature extraction on the first audio and video data to obtain a first acoustic feature and a first facial key point of the target object;

[0119] The target data module is also used to: train the first network using the first acoustic feature and the first facial key point as training data to obtain the trained first network.

[0120] In some embodiments, the feature extraction module is further used to: determine the position of the first facial key point based on the first audio and video data;

[0121] The target data module is also used to: generate a first virtual object about the target object based on the first image data in the first audio and video data; and train the second network using the first facial key points and the first virtual object as training data to obtain the trained second network.

[0122] In some embodiments, the user includes a first user and a second user, and the virtual object includes a first virtual object corresponding to the first user and a second virtual object corresponding to the second user;

[0123] The acquisition module is also used to: acquire second audio data of the first user regarding the first segment of the target song and third audio data of the second user regarding the second segment of the target song;

[0124] The feature extraction module is further used to: perform feature extraction on the second audio data to obtain a second acoustic feature of the second audio data, and perform feature extraction on the third audio data to obtain a third acoustic feature of the third audio data;

[0125] The target data module is further used to: input the second acoustic feature into the trained first virtual object model to obtain first target audio and video data about the first segment of the first virtual object based on the first target object; and input the third acoustic feature into the trained second virtual object model to obtain second target audio and video data about the second segment of the second virtual object based on the second target object; and fuse the first target audio data and the second target audio data to obtain fused audio and video data;

[0126] The display module is also used to: display the fused audio and video data to simultaneously display the first virtual object having the first image of the first target object and the second virtual object having the second image of the second target object; and according to the time sequence of obtaining the first audio data and the second audio data, display the first virtual object singing the first segment with the first image and first voice of the first target object, and the second virtual object singing the second segment with the second image and second voice of the second target object.

[0127] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0128] The device of the above embodiment is used to implement the corresponding virtual object display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0129] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the virtual object display method described in any of the above embodiments.

[0130] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0131] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the virtual object display method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0132] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0133] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0134] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0135] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A method for displaying a virtual object, characterized in that: include: Acquire audio data of at least a portion of a target song from a user; Extracting features from the audio data to obtain acoustic features of the audio data; Inputting the acoustic features into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object about at least part of the segment, comprising: Inputting the acoustic features into the first network trained in the virtual object model to obtain target audio data based on the sound of the target object and facial key point information based on the image of the target object; Inputting the facial key point information into a second network trained in the virtual object model to generate the virtual object based on the facial image of the target object, and updating the positions of the facial key points of the virtual object based on the facial key point information so that the facial key points of the virtual object change according to the position changes of the facial key point information, thereby obtaining target image data based on the image of the target object; Merging the target audio data and the target image data to obtain the target audio and video data; Displaying the target audio and video data so that the virtual object sings at least part of the segment with the image and voice of the target object; The users include a first user and a second user, and the virtual objects include a first virtual object corresponding to the first user and a second virtual object corresponding to the second user; The method further comprises: Acquire second audio data of a first user regarding a first segment of the target song and third audio data of a second user regarding a second segment of the target song; Performing feature extraction on the second audio data to obtain a second acoustic feature of the second audio data, and performing feature extraction on the third audio data to obtain a third acoustic feature of the third audio data; Inputting the second acoustic feature into the trained first virtual object model to obtain first target audio and video data of the first segment of the first virtual object based on the first target object; and inputting the third acoustic feature into the trained second virtual object model to obtain second target audio and video data of the second segment of the second virtual object based on the second target object; Merging the first target audio and video data with the second target audio and video data to obtain fused audio and video data; Display the fused audio and video data to simultaneously show the first virtual object having the first image of the first target object and the second virtual object having the second image of the second target object; and according to the time sequence of obtaining the second audio data and the third audio data, display the first virtual object singing the first segment with the first image and first voice of the first target object, and display the second virtual object singing the second segment with the second image and second voice of the second target object.

2. The method according to claim 1, characterized in that Inputting the acoustic features into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object about at least part of the segment, comprising: Performing sound recognition on the audio data based on the acoustic features to obtain user singing parameters of the audio data; wherein the user singing parameters include lyrics, and at least one of rhythm, pitch or tempo; The target audio data is generated based on the user singing parameters and the timbre of the target object, and the target audio data includes audio data of singing the at least part of the segment with the timbre of the target object and the user singing parameters.

3. The method according to claim 1, characterized in that: Inputting the acoustic features into the trained first network to obtain facial key point information based on the image of the target object includes: Performing sound recognition on the audio data based on the acoustic features to obtain user singing parameters of the audio data; wherein the user singing parameters include lyrics, and at least one of rhythm, pitch or tempo; The positions of key points of the face in the target object are determined based on the user singing parameters to obtain the key points information of the face.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire first audio and video data of the target object; Extracting features from the first audio and video data to obtain a first acoustic feature and a first facial key point of the target object; The first acoustic feature and the first facial key point are used as training data to train the first network to obtain the trained first network.

5. The method according to claim 4, characterized in that The method further comprises: Determine the position of the first facial key point based on the first audio and video data; Generate a first virtual object related to the target object based on the first image data in the first audio and video data; The second network is trained using the first facial key points and the first virtual object as training data to obtain the trained second network.

6. A display device for a virtual object, characterized in that: include: An acquisition module, used to acquire audio data of at least a portion of a target song from a user; A feature extraction module, used to extract features from the audio data to obtain acoustic features of the audio data; A target data module, used to input the acoustic features into a trained virtual object model to obtain target audio and video data of the virtual object based on the target object about at least part of the segment, including: Inputting the acoustic features into the first network trained in the virtual object model to obtain target audio data based on the sound of the target object and facial key point information based on the image of the target object; Inputting the facial key point information into a second network trained in the virtual object model to generate the virtual object based on the facial image of the target object, and updating the positions of the facial key points of the virtual object based on the facial key point information so that the facial key points of the virtual object change according to the position changes of the facial key point information, thereby obtaining target image data based on the image of the target object; Merging the target audio data and the target image data to obtain the target audio and video data; a display module, configured to display the target audio and video data so that the virtual object sings at least part of the segment with the image and voice of the target object; wherein the user includes a first user and a second user, and the virtual object includes a first virtual object corresponding to the first user and a second virtual object corresponding to the second user; The acquisition module is also used to: acquire second audio data of the first user regarding the first segment of the target song and third audio data of the second user regarding the second segment of the target song; The feature extraction module is further used to: perform feature extraction on the second audio data to obtain a second acoustic feature of the second audio data, and perform feature extraction on the third audio data to obtain a third acoustic feature of the third audio data; The target data module is further used to: input the second acoustic feature into the trained first virtual object model to obtain first target audio and video data about the first segment of the first virtual object based on the first target object; and input the third acoustic feature into the trained second virtual object model to obtain second target audio and video data about the second segment of the second virtual object based on the second target object; and fuse the first target audio and video data with the second target audio and video data to obtain fused audio and video data; The display module is also used to: display the fused audio and video data to simultaneously display the first virtual object having the first image of the first target object and the second virtual object having the second image of the second target object; and according to the time sequence of obtaining the second audio data and the third audio data, display the first virtual object singing the first segment with the first image and first voice of the first target object, and the second virtual object singing the second segment with the second image and second voice of the second target object.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the program.

8. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 5.

9. A computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 5.