Animation generation method, storage medium, electronic device and computer program product
By introducing a multi-object dimension animation generation method into AI technology, users are allowed to customize virtual character animation, which solves the problems of single animation generation effect and poor flexibility in the existing technology, and achieves more efficient and personalized animation performance.
Patent Information
- Application Number
- CN202410338066.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, when AI technology is used to capture character movements and expressions in video materials, the object dimensions are fixed, resulting in animation generation consuming a large amount of computing resources and poor flexibility. Players cannot customize animation content, making it difficult to meet personalized needs.
By obtaining multimedia files, select target objects of interest in multiple object dimensions, generate target migration data, control the characters in the virtual scene to generate appropriate animations, provide a graphical user interface that allows users to upload files and select objects of interest, extract and render the Define animation.
It improves the flexibility and diversity of animation generation, meets user customization needs, reduces computing resource consumption, and achieves richer virtual character animation performance.
Smart Images

Figure CN118537458A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an animation generation method, a storage medium, an electronic device, and a computer program product. Background Art
[0002] With the rapid development of the Internet and the game industry, virtual images have become an indispensable element in games. Game teams need to produce a large number of virtual character expressions and actions according to the plot or gameplay, so that the dynamic effects of virtual characters are more realistic, so as to improve game performance and increase player immersion. However, in traditional technology, when virtual character animation is produced by art hand-made or more complex expression and motion capture equipment, a lot of costs are consumed, and there is also a high threshold, which makes it impossible for players to generate the desired animation content independently. With the rise of artificial intelligence (AI) technology, it is mentioned in related technologies that AI technology can be used to capture character movements and expressions from video materials, and then the capture results are mapped into the game, thereby improving the production efficiency of virtual character animation. However, the defect of this capture method is that the dimension of the captured object is relatively fixed. That is, the actions and expressions captured in the video material are directly migrated to the virtual character at the same time when each animation is generated, which not only consumes a lot of computing resources, but also has poor flexibility in migrating data, resulting in a single animation generation effect. In addition, after players upload video materials, they cannot participate in the animation generation and display process of the virtual character, which makes it difficult to meet the players' customized animation generation and display needs.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] At least some embodiments of the present application provide an animation generation method, storage medium, electronic device and computer program product to at least solve the technical problems of poor flexibility and single animation generation effect in the animation generation method provided in the related art, which uses AI to perform overall data migration of character movements and expressions in video materials.
[0005] According to one embodiment of the present application, an animation generation method is provided, including: obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of a source object from multiple object dimensions; selecting a target focus object from multiple object dimensions; determining content to be extracted from the multimedia file according to the target focus object; generating target migration data based on the content to be extracted; and controlling a target character in a virtual scene to generate a target animation adapted to the target migration data.
[0006] According to one embodiment of the present application, an animation display method is provided, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes object identifiers of a target virtual character and multiple objects of interest in a virtual scene. The method includes: receiving a multimedia file uploaded by a user; responding to an object selection operation for multiple object identifiers, and determining a target object of interest from multiple objects of interest; responding to an animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target object of interest, and rendering the target virtual character based on the target migration data, generating a character animation that matches the target migration data; and playing the character animation.
[0007] According to one embodiment of the present application, an animation generation device is also provided, including: an acquisition module, used to acquire a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions; a selection module, used to select a target focus object from multiple object dimensions; a determination module, used to determine the content to be extracted from the multimedia file according to the target focus object; a generation module, used to generate target migration data based on the content to be extracted; and a control module, used to control the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0008] According to one embodiment of the present application, an animation display device is provided, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes the object identification of a target virtual character and multiple objects of interest in a virtual scene. The device includes: a receiving module, which is used to receive multimedia files uploaded by a user; a determination module, which is used to respond to object selection operations for multiple object identifications and determine a target object of interest from multiple objects of interest; a processing module, which is used to respond to animation generation operations for a target virtual character, extract target migration data from the multimedia file based on the target object of interest, and render the target virtual character based on the target migration data to generate a character animation that matches the target migration data; and a playback module, which is used to play the character animation.
[0009] According to one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned animation generation method in each embodiment of the present application when running.
[0010] According to one embodiment of the present application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the above-mentioned animation generation method in each embodiment of the present application.
[0011] According to another aspect of the embodiments of the present application, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the above-mentioned animation generation method in each embodiment of the present application is implemented.
[0012] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned animation generation method in each embodiment of the present application is implemented.
[0013] According to another aspect of the embodiments of the present application, a computer program is also provided. When the computer program is executed by a processor, the above-mentioned animation generation method in each embodiment of the present application is implemented.
[0014] In at least some embodiments of the present application, by selecting a target focus object from multiple object dimensions, determining the content to be extracted from the multimedia file to be identified according to the target focus object, and then generating target migration data based on the content to be extracted, so as to control the target character in the virtual scene to generate a target animation that matches the target migration data. Thus, by selecting different target focus objects, various types of migration data can be obtained, thereby achieving the purpose of flexibly generating migration data corresponding to the content to be extracted in multiple object dimensions to render virtual character animations that meet custom needs, thereby achieving the technical effect of improving the flexibility of the migration data generation method, the diversity of the animation rendering method, and meeting the user's custom animation generation needs, and further solving the technical problems of poor flexibility and single animation generation effect of the animation generation method provided in the related art using AI for overall data migration of character actions and expressions in video materials. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0016] Figure 1 A hardware structure block diagram of a mobile terminal according to an animation generation method according to one embodiment of the present application;
[0017] Figure 2 is a flow chart of an animation generation method according to one embodiment of the present application;
[0018] Figure 3 is a schematic diagram of an animation generation method according to one embodiment of the present application;
[0019] Figure 4 is a schematic diagram of another animation generation method according to one embodiment of the present application;
[0020] Figure 5 is a flow chart of an animation display method according to one embodiment of the present application;
[0021] Figure 6 is a schematic diagram of an interface of an animation display method according to one embodiment of the present application;
[0022] Figure 7 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application;
[0023] Figure 8 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application;
[0024] Fig. 9 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application;
[0025] Fig.10 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application;
[0026] Fig.11 is a schematic diagram of an expression animation according to one embodiment of the present application;
[0027] Fig.12 is a schematic diagram of an action animation according to one embodiment of the present application;
[0028] Fig.13 is a structural block diagram of an animation generating device according to one embodiment of the present application;
[0029] Fig.14 is a structural block diagram of an animation display device according to one embodiment of the present application;
[0030] Fig.15 is a schematic diagram of an electronic device according to one embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] The animation generation method in one embodiment of the present application can be run on a local terminal device or a server. When the animation generation method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0034] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the animation generation method are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0035] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by the conventional electronic device. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the display screen of the terminal, or provided to the player through holographic projection.
[0036] For example, the local terminal device can be a mobile terminal, a computer terminal or a similar computing device, which may include a display screen and a processor, wherein the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate the graphical user interface and control the display of the graphical user interface on the display screen.
[0037] Taking running on a mobile terminal as an example, the mobile terminal may be a smart phone, a tablet computer, a PDA, a mobile Internet device, a PAD, a game console, or other terminal devices. Figure 1 FIG. 1 is a hardware structure diagram of a mobile terminal of an animation generation method according to an embodiment of the present application. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 and a memory 104 for storing data. Optionally, the mobile terminal may further include a transmission device 106, an input and output device 108 and a display device 110.
[0038] Those skilled in the art will understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0039] According to one embodiment of the present application, an embodiment of an animation generation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] Figure 2 is a flowchart of an animation generation method according to one embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0041] Step S21, obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0042] Step S22, selecting a target object of interest from multiple object dimensions;
[0043] Step S23, determining the content to be extracted from the multimedia file according to the target object of interest;
[0044] Step S24, generating target migration data based on the content to be extracted;
[0045] Step S25, controlling the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0046] The multimedia files to be identified may be files in the form of pictures, audio, video, etc., which are used to provide original materials. The original materials can describe the source object's emotional expression from multiple object dimensions, so as to understand its emotional state by analyzing the source object's expression, language, body movements, etc. in different situations. For example, a person's emotional state can be inferred by analyzing his facial expression, tone, body posture, etc. in a photo, or the speaker's emotional expression can be understood by analyzing the tone, speed, language selection, etc. in an audio file. Multimedia files can be obtained through search engines, professional multimedia platforms or social media platforms, or they can be shot or recorded through photography, video or audio equipment.
[0047] After obtaining the original material, the target focus object is flexibly selected from multiple object dimensions, and the target focus object includes at least one of the following: facial expressions, body movements, voice, and lines. Multiple object dimensions can help analyze the emotions, intentions, attitudes, and behaviors of the characters, so as to understand the characters more comprehensively. Facial expressions can be used to understand the emotional state of the characters, body movements can reveal the characters' behavioral intentions, and voice and lines can convey the characters' thoughts and emotions. Comprehensive consideration of these factors can better understand the characters, so as to better shape the characters in the animation.
[0048] Exemplarily, according to different customized animation requirements of users, target attention objects are selected from multiple object dimensions to generate target animations, thereby generating multiple animation effects for the same multimedia file. For example, if a user wants to generate an animation in which a character needs to show various facial expressions, such as laughing, crying, surprise, etc., facial expressions can be selected as target attention objects, and the detailed changes of the character's facial expressions can be realized in the target animation, thereby presenting rich emotions and emotions. If a user wants to generate an animation in which a character needs to show various body movements, such as dancing, running, punching, etc., body movements can be selected as target attention objects, and the smooth changes of the character's body movements can be realized in the target animation, thereby presenting a lively image. If a user wants to generate an animation in which a character needs to dub and express the content of the dialogue, voice can be selected as the target attention object, and the synchronization of the character's lip shape and voice can be realized in the target animation, thereby presenting a real dialogue effect. If a user wants to generate an animation in which a character needs to show specific lines or plots, lines can be selected as target attention objects, and the accurate interpretation of the character's plot can be realized in the target animation, thereby presenting a vivid storyline. It should be noted that, in actual applications, the target focus object can also be a combination of multiple object dimensions, which is flexibly determined according to the user's animation generation requirements. The embodiment of the present application only gives an example, but does not constitute a specific limitation.
[0049] Furthermore, the content to be extracted is determined from the multimedia file according to the target object of attention. In the multimedia file, the content to be extracted can be determined by facial expressions, body movements, voices, lines, etc. If the target object of attention is a facial expression, the relevant content can be extracted through the expression of the character in the video or photo; if it is a body movement, the relevant content can be extracted through the movement of the character in the video or photo; if it is a voice, the relevant content can be extracted through the sound in the audio file; if it is a line, the relevant content can be extracted through the dialogue content in the video or audio file. Different content to be extracted can be selected from the multimedia file according to different target objects of attention. Thus, target migration data is generated based on the content to be extracted, and the target character in the virtual scene is controlled to generate a target animation adapted to the target migration data.
[0050] Based on the above steps S21 to S25, by selecting the target focus object from multiple object dimensions, determining the content to be extracted from the multimedia file to be identified according to the target focus object, and then generating target migration data based on the content to be extracted, so as to control the target character in the virtual scene to generate a target animation that matches the target migration data. Therefore, by selecting different target focus objects, various types of migration data can be obtained, thereby achieving the purpose of flexibly generating migration data corresponding to the content to be extracted in multiple object dimensions to render virtual character animations that meet custom needs, thereby achieving the technical effect of improving the flexibility of migration data generation methods, the diversity of animation rendering methods, and meeting users' custom animation generation needs, and further solving the technical problems of poor flexibility and single animation generation effect of the animation generation method provided in the related technology using AI for overall data migration of character actions and expressions in video materials.
[0051] The following is a further introduction to the animation generation method in the embodiment of the present application.
[0052] Optionally, in step S23, determining the content to be extracted from the multimedia file according to the target object of interest includes:
[0053] Step S231, in response to the target focused object including facial expressions and body movements, performing a confidence test on the display content of the source object in the multimedia file to obtain a test result, wherein the display content includes: the expression content and the movement content of the source object;
[0054] Step S232: in response to the detection result satisfying the first preset condition, obtaining the content to be extracted from the displayed content.
[0055] Specifically, when the target focus object includes facial expressions and body movements, the confidence level of the expression content and action content of the source object displayed in the multimedia file is detected to obtain the detection result. For the expression content of the source object, it is necessary to detect whether there are situations such as facial occlusion, large-angle side face, blurred original material, etc. that make the expression content unreliable; for the action content of the source object, it is necessary to detect whether the character is out of the frame, occluded, loose clothing, etc. The confidence level of each key point of the human body is different in different situations, and the final calculated confidence level will also be different. Exemplarily, when the confidence level in the detection result is greater than a preset threshold, such as 80%, it is determined that the detection result meets the first preset condition, and then the content to be extracted is obtained from the displayed content.
[0056] Based on the above optional embodiment, by responding to the target attention object including facial expressions and body movements, the display content of the source object in the multimedia file is tested for confidence, and a test result is obtained, and then in response to the test result satisfying the first preset condition, the content to be extracted is obtained from the display content, which can help identify and understand the emotional state of the source object, thereby more accurately extracting the content to be extracted. Further improve the ability to understand and analyze the content of multimedia files.
[0057] Optionally, in step S231, a confidence test is performed on the display content of the source object in the multimedia file, and the test result obtained includes:
[0058] Step S2311, obtaining multiple limb bone key points corresponding to the source object;
[0059] Step S2312, based on the confidence values corresponding to the multiple limb skeleton key points and the confidence weights corresponding to the multiple limb skeleton key points, the action content is tested for confidence to obtain a test result, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different limb parts corresponding to the multiple limb skeleton key points, and the confidence weights are used to distinguish the importance of different limb parts corresponding to the multiple limb skeleton key points in the limb structure.
[0060] Specifically, multiple limb bone key points corresponding to the source object can be obtained through image recognition technology. There are 26 limb bone key points. Each limb bone key point has a corresponding confidence value according to the degree of visualization and / or clarity of the limb part. The confidence value range is 0-100%. The confidence value can be obtained by annotating and training a large amount of human limb key data. For example, if the foot of the source object is completely outside the screen, the confidence value of the limb bone key point related to the foot is basically 0. The confidence weights corresponding to multiple limb bone key points are used to distinguish the importance of different limb parts corresponding to multiple limb bone key points in the limb structure. For example, among the 26 limb bone key points, limb bone key point 11, limb bone key point 12, and limb bone key point 19 are key points for controlling the center of mass of the human body. If the confidence values of these three points are low, it will seriously affect the stability of the entire character's movements. Therefore, the confidence weights of these three points are relatively high.
[0061] Exemplarily, when the multimedia file to be identified is a video file, the comprehensive action confidence is obtained by weighting multiple video frames. For example, the multimedia file to be identified is a 10s video, totaling 300 frames (30 frames / second), and the comprehensive action confidence of this video can be obtained by weighting the confidence values of 26 limb bone key points in the 300 video frames.
[0062] Based on the above optional embodiments, more accurate confidence detection of action content can be performed through the confidence values and weights corresponding to multiple limb skeleton key points. By obtaining multiple limb skeleton key points corresponding to the source object, the details and features of the action can be captured more comprehensively, thereby improving the accuracy and reliability of the detection. At the same time, by weighting the confidence values corresponding to multiple limb skeleton key points, the overall situation of the action can be better reflected, avoiding the influence of the error of a single key point on the overall detection result.
[0063] Optionally, in step S231, a confidence test is performed on the display content of the source object in the multimedia file, and the test result obtained includes:
[0064] Step S2313, obtaining a plurality of facial bone key points corresponding to the source object;
[0065] Step S2314, performing confidence detection on the expression content based on the confidence values corresponding to multiple facial bone key points to obtain a detection result, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different facial areas corresponding to multiple facial bone key points.
[0066] Specifically, multiple facial bone key points corresponding to the source object can be obtained through image recognition technology. There are 68 facial bone key points. Each facial bone key point has a corresponding confidence value according to the visualization degree and / or clarity degree of the limb part. The confidence value range is 0-100%. The confidence value can be obtained by annotating and training a large amount of human facial key data. For example, if the eyes of the source object are completely blocked, the confidence value of the facial bone key points related to the eyes is basically 0. The confidence weights corresponding to multiple facial bone key points are used to distinguish the importance of different facial parts corresponding to multiple facial bone key points in the expression structure. For example, among the 68 facial bone key points, the movement and change of these facial bone key points such as the upper edge of the eyebrows, the center of the eyebrows, the outer corners of the eyes, the top of the bridge of the nose, the bottom of the nose, the outer corners of the mouth and the tip of the mandible can obviously change the facial expression, thereby affecting people's emotions and communication, so the confidence weights of these facial bone key points are relatively high.
[0067] Exemplarily, when the multimedia file to be identified is a video file, the comprehensive expression confidence is obtained by weighting multiple video frames. For example, the multimedia file to be identified is a 10s video, totaling 300 frames (30 frames / second), and the comprehensive expression confidence of this video can be obtained by weighting the confidence values of 26 facial bone key points in the 300 video frames.
[0068] Based on the above optional embodiments, by obtaining multiple facial bone key points of the source object and performing analysis based on the confidence values corresponding to these facial bone key points, the confidence of the expression content can be accurately judged, thereby realizing the detection and analysis of the expression content, which can help to more accurately understand the expression state of the source object and provide strong support for face recognition, emotion analysis and other fields.
[0069] Optionally, in step S24, generating target migration data based on the content to be extracted includes:
[0070] Step S241, determining the limb skeleton key points corresponding to the limb action based on the content to be extracted;
[0071] Step S242, performing three-dimensional motion restoration on the limb skeleton key points corresponding to the limb motion to obtain three-dimensional motion data;
[0072] Step S243: redirecting the three-dimensional motion data using the body shape data of the target character to generate motion migration data.
[0073] Specifically, based on the content to be extracted, the limb skeleton key points corresponding to the limb action are determined, and the limb skeleton key points corresponding to the limb action are restored in three dimensions to obtain three-dimensional action data, that is, through 2D key point prediction, the 3D action data of the character is restored. Furthermore, the body shape data of the target character is used to redirect the three-dimensional action data according to the height, weight, and size of the target character to generate action migration data.
[0074] The essence of redirection is to assign the three-dimensional motion data to the target character according to the pre-provided body data of the target character as required, so as to keep the animation consistent. When using the body data of the target character to redirect the three-dimensional motion data, AI can be used for automatic redirection to directly obtain the animation effects of different body shapes, rather than waiting for professional art animators to repair them. The characteristics of redirection are: (1) According to the fatness of the target character's body shape, the three-dimensional motion data is adjusted so that the generated motion migration data will not have model penetration and can also avoid the unnatural feeling caused by the distance between the hands and feet and the torso being too far. Specifically, AI can be used to detect whether the model has a collision; (2) According to the height of the target character's body shape, the three-dimensional motion data is adjusted so that the generated motion migration data will not be attached to the air or sink into the ground; (3) Avoid sliding due to data migration body shape, which can be calculated by the length of the legs and feet of the front and back body shapes.
[0075] Based on the above optional embodiments, the details and features of limb movements can be accurately captured by extracting limb skeleton key points and restoring three-dimensional movements. By redirecting the three-dimensional movement data using the target character's body shape data, movement migration between characters of different body shapes can be achieved, making the movement performance between different characters more natural and realistic, thereby improving the efficiency and quality of motion capture and animation production.
[0076] Optionally, in step S24, generating target migration data based on the content to be extracted includes:
[0077] Step S244, determining initial expression data corresponding to the facial expression based on the content to be extracted;
[0078] Step S245, generating expression migration data corresponding to the initial expression data using a preset corresponding relationship, wherein the preset corresponding relationship is obtained through a pre-trained expression coding, and the expression coding is used to compare the coding distance between expression data of different characters.
[0079] The initial expression data may be the expression data of a real person, and the expression migration data is used to determine the expression data to be rendered and generated by the virtual character. The goal of expression coding is to map the initial expression data to a low-dimensional vector space, in which similar expressions have a close coding distance. Through expression coding, the expression frame of the character is detected, and the expression of the real person is migrated to the virtual character.
[0080] Specifically, a group of real person expression images and a group of virtual character expression images can be pre-selected. During the training process, one image is selected from a group of real person expression images and one image is selected from a group of virtual character expression images, and then the expression coding distance between the two images is compared. Through the comparison process of the expression coding distances between the above different images, the corresponding relationship between the real person expression data and the virtual character expression data can be finally found. In this way, the above preset corresponding relationship will be formed between a group of real person expression images and a group of virtual character expression images through continuous iterative training.
[0081] Therefore, after the initial expression data corresponding to the facial expression is determined based on the content to be extracted, the above-mentioned preset corresponding relationship can be used to find the expression migration data with the closest encoding distance to the initial expression data.
[0082] Based on the above optional embodiments, by determining the initial expression data corresponding to the facial expression based on the content to be extracted, and then using the preset corresponding relationship to generate expression migration data corresponding to the initial expression data, the migration of expressions between different characters can be achieved, thereby achieving richer and more diverse expression communication.
[0083] Optionally, the animation generation method in the embodiment of the present application further includes:
[0084] Step S233, in response to the multimedia file being a video file, locking contour information of at least one object displayed in the video file;
[0085] Step S234, based on the locked contour information, counting the frequency of occurrence of at least one object in the multiple frames of image materials in the video file to obtain a statistical result;
[0086] Step S235 , in response to the statistical result satisfying the second preset condition, determining the content to be extracted from the multimedia file according to the target object of interest.
[0087] Specifically, after inputting a video file, the valid interval of the video file will be detected first, that is, the contour information of at least one object displayed in the video file will be locked. When multiple objects are displayed in the video file, one of the objects can be locked first. Usually, the object with the largest contour displayed in the video file will be locked. Based on the locked contour information, the frequency of occurrence of at least one object in multiple frames of image material in the video file is counted to obtain statistical results. If it is determined based on the statistical results that the duration of at least one object appearing in multiple frames of image material in the video file accounts for more than 50% of the duration of the video file, it is determined that the statistical results meet the second preset condition, and the content to be extracted is determined from the multimedia file according to the target object of attention, thereby optimizing problems such as inaccurate character recognition caused by multi-person scenes and recognition errors caused by characters leaving the screen area.
[0088] Based on the above optional embodiments, in response to the multimedia file being a video file, the contour information of at least one object displayed in the video file is locked, and then based on the locked contour information, the frequency of occurrence of at least one object in multiple frames of image material in the video file is counted to obtain statistical results, and finally in response to the statistical results satisfying the second preset condition, the content to be extracted is determined from the multimedia file according to the target object of interest, thereby achieving automatic recognition and tracking of specific objects in the video file, thereby quickly and accurately obtaining relevant information of specific objects in the video file, which provides convenience for subsequent animation generation.
[0089] Figure 3 is a schematic diagram of an animation generation method according to one embodiment of the present application, such as Figure 3As shown, when the multimedia file to be identified is a video file, a target object of interest is selected from multiple object dimensions. If the target object of interest includes the expression and body movements of the source object, the expression content and movement content are extracted from the video file, and then the expression migration data and movement migration data are generated; if the target object of interest includes the expression of the source object, the expression content and head movement data are extracted from the video file, wherein the head movement data is the effect guarantee data generated when there is no body content in order to make the expression animation effect more vivid, and then the expression migration data and head movement migration parameters are generated; if the target object of interest includes the body movements of the source object, the movement content is extracted from the video file, and then the movement migration data is generated.
[0090] Taking the target object of interest including the expression and body movements of the source object as an example, after inputting the video file, the effective interval of the expression content and the movement content is first detected, that is, the contour information of at least one object displayed in the video file is locked, and based on the locked contour information, the frequency of occurrence of at least one object in the multi-frame image material of the video file is counted to obtain the statistical result. If it is determined based on the statistical result that the appearance time of at least one object in the multi-frame image material of the video file accounts for more than 50% of the video file length, the expression content and movement content to be extracted are determined from the multimedia file according to the target object of interest.
[0091] Furthermore, after confirming that the effective range is feasible, the confidence of the material needs to be tested. In the expression generation module, it is necessary to detect facial occlusion, wide-angle side faces, video blur, etc. to avoid unreliable expression content; in the action generation module, it is necessary to detect whether the character is out of the frame, blocked, loose clothing, etc. The confidence of the key points of the human limbs in different situations is different, and the final calculated confidence is also different. The final output is a clip with a confidence greater than 80%.
[0092] Next, when performing expression transfer, pre-train an expression encoding. The goal of expression encoding is to map the initial expression data to a low-dimensional vector space, in which similar expressions have a close expression encoding distance. Through expression encoding, the character's expression frame is detected, the expression of the real person is transferred to the virtual character, and the corresponding expression transfer data is generated. When performing action transfer, first identify the key points of the character's limb bones, and restore them to the character's 3D action data through 2D key point prediction, and present them in the form of skeletal animation. Finally, according to the different body shapes of the target characters, the 3D action data is redirected to generate action transfer data to reduce the problems of penetration and sliding caused by different body shapes.
[0093] Finally, the target character in the virtual scene is controlled to generate a target animation that matches the expression migration data and the action migration data.
[0094] Figure 4is a schematic diagram of another animation generation method according to one embodiment of the present application, such as Figure 4 As shown, when the multimedia file to be identified is an image file, since the image is a single frame input, there is no need to determine the valid interval, and the other implementation processes are similar to those of video files and will not be described in detail here.
[0095] Figure 5 is a flow chart of an animation display method according to one embodiment of the present application, wherein a graphical user interface is provided by a terminal device, and the content displayed by the graphical user interface includes the target virtual character in the virtual scene and the object identifiers of multiple objects of interest, such as Figure 5 As shown, the method comprises the following steps:
[0096] Step S51, receiving multimedia files uploaded by users;
[0097] Step S52, in response to the object selection operation for the multiple object identifiers, determining a target object of interest from the multiple objects of interest;
[0098] Step S53, in response to the animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target focus object, rendering the target virtual character based on the target migration data, and generating a character animation matching the target migration data;
[0099] Step S54, playing the character animation.
[0100] The multimedia files to be identified may be files in the form of pictures, audio, video, etc., which are used to provide original materials. The original materials can describe the source object's emotional expression from multiple object dimensions, so as to understand its emotional state by analyzing the source object's expression, language, body movements, etc. in different situations. For example, a person's emotional state can be inferred by analyzing his facial expression, tone, body posture, etc. in a photo, or the speaker's emotional expression can be understood by analyzing the tone, speed, language selection, etc. in an audio file. Multimedia files can be obtained through search engines, professional multimedia platforms or social media platforms, or they can be shot or recorded through photography, video or audio equipment.
[0101] In response to an object selection operation for multiple object identifiers, a target object of interest is determined from the multiple objects of interest, and the target object of interest includes at least any of the following: facial expressions, body movements, voices, and lines. Multiple objects can help analyze the emotions, intentions, attitudes, and behaviors of characters, so as to understand the characters more comprehensively. Facial expressions can be used to understand the emotional state of characters, body movements can reveal the behavioral intentions of characters, and voices and lines can convey the thoughts and emotions of characters. Comprehensive consideration of these factors can better understand characters, so as to better shape the character image in animation.
[0102] Exemplarily, according to different customized animation requirements of users, target attention objects are selected from multiple objects to generate target animations, thereby generating multiple animation effects for the same multimedia file. For example, if a user wants to generate an animation in which a character needs to show various facial expressions, such as laughing, crying, surprise, etc., facial expressions can be selected as target attention objects, and the delicate changes of the character's facial expressions can be realized in the target animation, thereby presenting rich emotions and emotions. If a user wants to generate an animation in which a character needs to show various body movements, such as dancing, running, punching, etc., body movements can be selected as target attention objects, and the smooth changes of the character's body movements can be realized in the target animation, thereby presenting a lively image. If a user wants to generate an animation in which a character needs to dub and express the content of the dialogue, voice can be selected as the target attention object, and the synchronization of the character's lip shape and voice can be realized in the target animation, thereby presenting a real dialogue effect. If a user wants to generate an animation in which a character needs to show specific lines or plots, lines can be selected as target attention objects, and the accurate interpretation of the character's plot can be realized in the target animation, thereby presenting a vivid storyline. It should be noted that, in actual applications, the target focus object may also be a combination of multiple objects, which is flexibly determined according to the user's animation generation requirements. The embodiment of the present application only gives an example, but does not constitute a specific limitation.
[0103] It should be noted that the object selection operation may be a touch operation in which a user touches the display screen of the terminal device with a finger and touches the terminal device. The touch operation may include single-point touch and multi-point touch, wherein the touch operation of each touch point may include click, long press, heavy press, swipe, etc. The object selection operation may also be a touch operation implemented by an input device such as a mouse, keyboard, or game controller.
[0104] Based on the above steps S51 to S54, by responding to the object selection operation for the object identifiers of multiple objects of interest, a target object of interest is determined from multiple objects of interest, and in response to the animation generation operation for the target virtual character, target migration data is extracted from the multimedia file based on the target object of interest, and the target virtual character is rendered based on the target migration data to generate and play a character animation that matches the target migration data, thereby achieving the purpose of flexibly and personally editing the virtual character display animation on the mobile terminal, thereby achieving the technical effect of improving the animation display editing flexibility of the mobile terminal and meeting the user's customized animation display needs, and further solving the technical problem in the related technology that after the player uploads the video material, the player cannot participate in the animation generation and display process of the virtual character, thereby making it difficult to meet the player's customized animation generation and display needs.
[0105] The following is a further introduction to the animation display method in the embodiment of the present application.
[0106] Optionally, in step S54, playing the character animation includes one of the following:
[0107] Step S541, in response to a single play operation for facial expressions, controlling the target character to generate an expression animation that matches the target migration data;
[0108] Step S542, in response to a single playback operation for a body movement, controlling the target character to generate a movement animation adapted to the target migration data alone;
[0109] Step S543, in response to the linkage playback operation for facial expressions and body movements, the target character is controlled to synchronously generate expression animations and movement animations that are compatible with the target migration data.
[0110] Based on the above optional embodiments, it is possible to achieve individual or coordinated control and generation of the facial expressions and body movements of the target character, so that the target character can generate corresponding expression animations and action animations according to the input target migration data, thereby achieving a more realistic and vivid character performance and improving the quality and realism of the character animation.
[0111] Optionally, the animation display method in the embodiment of the present application further includes: responding to a single playback operation for a facial expression, while controlling the target character to separately generate an expression animation adapted to the target migration data, and synchronously playing a head animation associated with the expression animation.
[0112] Based on the above optional embodiment, for a single playback operation of facial expressions, while controlling the target character to generate an expression animation that matches the target migration data, the head animation associated with the expression animation can be played synchronously, which can make the character's expression more vivid and natural, and enhance the character's expressiveness and communication ability. At the same time, it also improves the user experience, making the character more real and eye-catching in the virtual scene.
[0113] Figure 6 is a schematic diagram of an interface of an animation display method according to one embodiment of the present application, such as Figure 6 As shown in the figure, the content displayed in the graphical user interface includes the target virtual character in the virtual scene, and the user can enter the Figure 7 The smart animation interface shown. Figure 7 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application, such as Figure 7 As shown, users can choose to upload pictures or videos. Uploading pictures can generate single-frame animations, and uploading videos can generate animations of the same length as the video. The frame rate can be flexibly set as needed. Figure 7 A video prompt control is also provided in the . Clicking the video prompt control will enter the user prompt interface, which can inform the user of more suitable input content in the form of text and sample videos. Figure 7 There is also an upload control "+". Click the upload control to upload local pictures and videos. The size and format restrictions of videos and pictures can be pre-set. Then, select the object of multiple object identifiers to determine the target object of interest from multiple objects of interest. The multiple object identifiers are expressions, actions, voices, and lines. In this way, you can choose the content that needs to be extracted from the picture / video. The core is expression data and action data, or both. When selecting the video format input, additional voice and line options are provided. Voice refers to obtaining the original sound of the video, and lines refers to translating the lines in the voice into text. Figure 7 A generation control is also provided. Click the generation control to extract target migration data from the multimedia file based on the target focus object, render the target virtual character based on the target migration data, and generate a character animation that matches the target migration data. Figure 8 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application, such as Figure 8 As shown, after clicking the Generate control, the algorithm is called to generate the character animation. The user can click the Cancel control at any time to interrupt the generation process.
[0114] Fig. 9 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application, such as Fig. 9 As shown, after generating the character animation, click the Replace control to reselect the original material and return to Figure 7 The interface shown. By clicking the expression generation control or action generation control, you can preview the generated expression animation or action animation, and present it on the target character on the left. According to the preview effect, you can check the actual action to be adopted, and save the adopted expression action to the user's custom action for long-term use. Click the apply control to adopt the current expression action and enter Fig.10 The interface shown.
[0115] Fig.10 is a schematic diagram of an interface of another animation display method according to one embodiment of the present application, such as Fig.10 As shown, click the smart generation control to enter Figure 7 The smart animation interface shown in the figure. After the user clicks the play expression control, the expression animation can be played separately, after clicking the play action control, the action animation can be played separately, and after clicking the one-key play control, the expression animation and action animation can be played simultaneously. Fig.10 It also includes a loop playback control, which can be used to flexibly control whether to loop the character animation.
[0116] Fig.11 is a schematic diagram of an expression animation according to one embodiment of the present application, such as Fig.11 As shown, an expression image uploaded by a user is received, an object selection operation for multiple object identifiers is responded to, a target focus object is determined as an expression from multiple focus objects, an animation generation operation for a target virtual character is responded to, expression migration data is extracted from a multimedia file based on the target focus object, and a target virtual character is rendered based on the expression migration data, an expression animation matching the expression migration data is generated, and a single-frame expression animation can be played.
[0117] Fig.12 is a schematic diagram of an action animation according to one embodiment of the present application, such as Fig.12 As shown, an action image uploaded by a user is received, an object selection operation for multiple object identifiers is responded to, a target focus object is determined as an action from multiple focus objects, an animation generation operation for a target virtual character is responded to, action migration data is extracted from a multimedia file based on the target focus object, and a target virtual character is rendered based on the action migration data, and an action animation matching the action migration data is generated, so that a single-frame action animation can be played.
[0118] Compared with the expression and motion capture device, the animation generation method and animation display method in the embodiment of the present application do not require additional hardware equipment, and only need to use images or videos as input, thereby reducing equipment cost and complexity. In addition, since the AI animation migration technology is real-time, it can be applied and presented in real time in games or applications, providing a more vivid user experience. In general, the response time can be similar to the input video time.
[0119] In the actual player experience process, many materials that do not meet the usage scenarios will be uploaded, for example, characters disappear in the materials, multi-person scenes, expressions / actions are blocked, out of frame, etc. The method embodiment of the present application can block materials that do not meet the scenarios as much as possible, and ensure that the materials that meet the requirements are stably output to the players, thereby meeting the players' needs for custom animation generation.
[0120] In an embodiment of the present application, game players can generate actions that did not exist in the game before in real time. Through this method, players can find suitable film and television dramas, dance pictures, and video clips, and generate character animations (mainly expressions and actions) into virtual characters for the production of short video / picture materials, thereby improving the playability and dissemination of game content.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the animation generation method described in each embodiment of the present application.
[0122] In the present embodiment, an animation generating device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0123] Fig.13 is a structural block diagram of an animation generating device according to one embodiment of the present application, such as Fig.13 As shown, the device comprises:
[0124] An acquisition module 1301 is used to acquire a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0125] A selection module 1302 is used to select a target object of interest from multiple object dimensions;
[0126] A determination module 1303, configured to determine content to be extracted from the multimedia file according to the target object of interest;
[0127] A generating module 1304, configured to generate target migration data based on the content to be extracted;
[0128] The control module 1305 is used to control the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0129] Optionally, the determination module 1303 is also used to: in response to the target object of attention including facial expressions and body movements, perform a confidence check on the display content of the source object in the multimedia file to obtain a detection result, wherein the display content includes: the expression content and action content of the source object; in response to the detection result satisfying the first preset condition, obtain the content to be extracted from the display content.
[0130] Optionally, the determination module 1303 is also used to: obtain multiple limb skeleton key points corresponding to the source object; perform confidence detection on the action content based on the confidence values corresponding to the multiple limb skeleton key points and the confidence weights corresponding to the multiple limb skeleton key points to obtain the detection results, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different limb parts corresponding to the multiple limb skeleton key points, and the confidence weights are used to distinguish the importance of different limb parts corresponding to the multiple limb skeleton key points in the limb structure.
[0131] Optionally, the determination module 1303 is also used to: obtain multiple facial bone key points corresponding to the source object; perform confidence detection on the expression content based on the confidence values corresponding to the multiple facial bone key points to obtain a detection result, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different facial areas corresponding to the multiple facial bone key points.
[0132] Optionally, the generation module 1304 is also used to: determine the limb skeleton key points corresponding to the limb movement based on the content to be extracted; perform three-dimensional motion restoration on the limb skeleton key points corresponding to the limb movement to obtain three-dimensional motion data; and redirect the three-dimensional motion data using the body shape data of the target character to generate motion migration data.
[0133] Optionally, generation module 1304 is also used to: determine initial expression data corresponding to the facial expression based on the content to be extracted; and generate expression migration data corresponding to the initial expression data using a preset correspondence relationship, wherein the preset correspondence relationship is obtained through a pre-trained expression coding, and the expression coding is used to compare the coding distance between expression data of different characters.
[0134] Optionally, the animation generation device also includes: a locking module 1306, which is used to lock the contour information of at least one object displayed in the video file in response to the multimedia file being a video file; a statistical module 1307, which is used to count the appearance frequency of at least one object in multiple frames of image materials in the video file based on the locked contour information to obtain statistical results; the determination module 1303 is also used to determine the content to be extracted from the multimedia file according to the target object of interest in response to the statistical result satisfying the second preset condition.
[0135] In an embodiment of the present application, by selecting a target focus object from multiple object dimensions, determining the content to be extracted from the multimedia file to be identified according to the target focus object, and then generating target migration data based on the content to be extracted, so as to control the target character in the virtual scene to generate a target animation that matches the target migration data. Therefore, by selecting different target focus objects, various types of migration data can be obtained, thereby achieving the purpose of flexibly generating migration data corresponding to the content to be extracted in multiple object dimensions to render virtual character animations that meet custom needs, thereby achieving the technical effect of improving the flexibility of the migration data generation method, the diversity of the animation rendering method, and meeting the user's custom animation generation needs, and further solving the technical problems of poor flexibility and single animation generation effect of the animation generation method provided in the related art using AI for overall data migration of character actions and expressions in video materials.
[0136] Fig.14 is a structural block diagram of an animation display device according to one embodiment of the present application, wherein a graphical user interface is provided through a terminal device, and the contents displayed by the graphical user interface include object identifiers of a target virtual character and multiple objects of interest in a virtual scene, such as Fig.14 As shown, the device comprises:
[0137] The receiving module 1401 is used to receive multimedia files uploaded by users;
[0138] A determination module 1402, configured to determine a target object of interest from among multiple objects of interest in response to an object selection operation for multiple object identifiers;
[0139] The processing module 1403 is used to respond to the animation generation operation for the target virtual character, extract the target migration data from the multimedia file based on the target focus object, render the target virtual character based on the target migration data, and generate the character animation matching the target migration data;
[0140] The playing module 1404 is used to play the character animation.
[0141] Optionally, the playback module 1404 is also used to: respond to a single playback operation for facial expressions, control the target character to separately generate an expression animation that matches the target migration data; respond to a single playback operation for body movements, control the target character to separately generate an action animation that matches the target migration data; respond to a linked playback operation for facial expressions and body movements, control the target character to synchronously generate an expression animation and an action animation that matches the target migration data.
[0142] Optionally, the playback module 1404 is further used to: respond to a single playback operation on a facial expression, while controlling the target character to separately generate an expression animation adapted to the target migration data, and synchronously play the head animation associated with the expression animation.
[0143] In an embodiment of the present application, by responding to an object selection operation for object identifiers of multiple objects of interest, a target object of interest is determined from multiple objects of interest, and an animation generation operation for a target virtual character is responded to. Target migration data is extracted from a multimedia file based on the target object of interest, and a target virtual character is rendered based on the target migration data to generate and play a character animation that matches the target migration data. This achieves the purpose of flexibly and individually editing the virtual character display animation on a mobile terminal, thereby achieving the technical effect of improving the animation display editing flexibility of the mobile terminal and meeting the user's customized animation display needs. This further solves the technical problem in the related art that after the player uploads the video material, the player cannot participate in the animation generation and display process of the virtual character, thereby making it difficult to meet the player's customized animation generation and display needs.
[0144] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0145] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0146] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0147] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.
[0148] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0149] S1, obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0150] S2, select the target object of attention from multiple object dimensions;
[0151] S3, determining the content to be extracted from the multimedia file according to the target object of interest;
[0152] S4, generating target migration data based on the content to be extracted;
[0153] S5, controlling the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0154] Optionally, the above-mentioned computer-readable storage medium is also configured to store program code for executing the following steps: in response to the target object of attention including facial expressions and body movements, performing a confidence check on the display content of the source object in the multimedia file to obtain a detection result, wherein the display content includes: the expression content and action content of the source object; in response to the detection result satisfying a first preset condition, obtaining the content to be extracted from the display content.
[0155] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: obtaining multiple limb skeleton key points corresponding to the source object; performing confidence detection on the action content based on the confidence values corresponding to the multiple limb skeleton key points and the confidence weights corresponding to the multiple limb skeleton key points to obtain the detection results, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different limb parts corresponding to the multiple limb skeleton key points, and the confidence weights are used to distinguish the importance of different limb parts corresponding to the multiple limb skeleton key points in the limb structure.
[0156] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: obtaining multiple facial bone key points corresponding to the source object; performing confidence detection on the expression content based on the confidence values corresponding to the multiple facial bone key points to obtain a detection result, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different facial areas corresponding to the multiple facial bone key points.
[0157] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: determining the limb skeleton key points corresponding to the limb movement based on the content to be extracted; performing three-dimensional motion restoration on the limb skeleton key points corresponding to the limb movement to obtain three-dimensional motion data; and redirecting the three-dimensional motion data using the body shape data of the target character to generate motion migration data.
[0158] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: determining initial expression data corresponding to the facial expression based on the content to be extracted; generating expression migration data corresponding to the initial expression data using a preset correspondence relationship, wherein the preset correspondence relationship is obtained through a pre-trained expression coding, and the expression coding is used to compare the coding distance between expression data of different characters.
[0159] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to the multimedia file being a video file, locking the contour information of at least one object displayed in the video file; based on the locked contour information, counting the frequency of occurrence of at least one object in multiple frames of image material in the video file to obtain statistical results; in response to the statistical results satisfying a second preset condition, determining the content to be extracted from the multimedia file according to the target object of interest.
[0160] In the computer-readable storage medium of this embodiment, by selecting the target focus object from multiple object dimensions, determining the content to be extracted from the multimedia file to be identified according to the target focus object, and then generating target migration data based on the content to be extracted, so as to control the target character in the virtual scene to generate a target animation adapted to the target migration data, thereby obtaining various types of migration data by selecting different target focus objects, thereby achieving the purpose of flexibly generating migration data corresponding to the content to be extracted in multiple object dimensions to render virtual character animations that meet custom needs, thereby achieving the technical effect of improving the flexibility of the migration data generation method, the diversity of the animation rendering method, and meeting the user's custom animation generation needs, and further solving the technical problems of poor flexibility and single animation generation effect of the animation generation method provided in the related technology using AI for overall data migration of character actions and expressions in video materials.
[0161] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0162] S1, receiving multimedia files uploaded by users;
[0163] S2, in response to an object selection operation for multiple object identifiers, determining a target object of interest from multiple objects of interest;
[0164] S3, in response to the animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target focus object, rendering the target virtual character based on the target migration data, and generating a character animation matching the target migration data;
[0165] S4, play the character animation.
[0166] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a single playback operation for facial expressions, controlling the target character to separately generate an expression animation that matches the target migration data; in response to a single playback operation for body movements, controlling the target character to separately generate an action animation that matches the target migration data; in response to a linked playback operation for facial expressions and body movements, controlling the target character to synchronously generate an expression animation and an action animation that match the target migration data.
[0167] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a single playback operation for a facial expression, while controlling the target character to separately generate an expression animation that matches the target migration data, synchronously playing a head animation associated with the expression animation.
[0168] In the computer-readable storage medium of this embodiment, by responding to the object selection operation for the object identifiers of multiple objects of interest, a target object of interest is determined from the multiple objects of interest, and in response to the animation generation operation for the target virtual character, target migration data is extracted from the multimedia file based on the target object of interest, and the target virtual character is rendered based on the target migration data to generate and play the character animation matching the target migration data, thereby achieving the purpose of flexibly and individually editing the virtual character display animation on the mobile terminal, thereby achieving the technical effect of improving the animation display editing flexibility of the mobile terminal and meeting the user's customized animation display needs, and further solving the technical problem in the related technology that after the player uploads the video material, the player cannot participate in the animation generation and display process of the virtual character, thereby making it difficult to meet the player's customized animation generation and display needs.
[0169] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0170] In an exemplary embodiment of the present application, a program product capable of implementing the above method of the present embodiment is stored on a computer-readable storage medium. In some possible implementations, various aspects of the embodiments of the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present application described in the above "Exemplary Method" section of the present embodiment.
[0171] According to the program product for implementing the above method in the embodiment of the present application, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the embodiment of the present application is not limited thereto. In the embodiment of the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0172] The program product may be in any combination of one or more computer-readable media. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive) of computer-readable storage media include: an electrical connection with one or more wires, a portable 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 thereof.
[0173] It should be noted that the program code contained in the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0174] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0175] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0176] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0177] S1, obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0178] S2, select the target object of attention from multiple object dimensions;
[0179] S3, determining the content to be extracted from the multimedia file according to the target object of interest;
[0180] S4, generating target migration data based on the content to be extracted;
[0181] S5, controlling the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0182] Optionally, the processor can also be configured to execute the following steps through a computer program: in response to the target object of attention including facial expressions and body movements, performing a confidence check on the display content of the source object in the multimedia file to obtain a detection result, wherein the display content includes: the expression content and action content of the source object; in response to the detection result satisfying a first preset condition, obtaining the content to be extracted from the display content.
[0183] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: obtaining multiple limb skeleton key points corresponding to the source object; performing confidence detection on the action content based on the confidence values corresponding to the multiple limb skeleton key points and the confidence weights corresponding to the multiple limb skeleton key points to obtain the detection results, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different limb parts corresponding to the multiple limb skeleton key points, and the confidence weights are used to distinguish the importance of different limb parts corresponding to the multiple limb skeleton key points in the limb structure.
[0184] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: obtaining multiple facial bone key points corresponding to the source object; performing confidence detection on the expression content based on the confidence values corresponding to the multiple facial bone key points to obtain a detection result, wherein the confidence value is used to distinguish the degree of visualization and / or clarity of different facial areas corresponding to the multiple facial bone key points.
[0185] Optionally, the processor can also be configured to execute the following steps through a computer program: determine the limb skeleton key points corresponding to the limb movement based on the content to be extracted; perform three-dimensional motion restoration on the limb skeleton key points corresponding to the limb movement to obtain three-dimensional motion data; and redirect the three-dimensional motion data using the body shape data of the target character to generate motion migration data.
[0186] Optionally, the processor can also be configured to perform the following steps through a computer program: determining initial expression data corresponding to the facial expression based on the content to be extracted; generating expression migration data corresponding to the initial expression data using a preset correspondence relationship, wherein the preset correspondence relationship is obtained through a pre-trained expression coding, and the expression coding is used to compare the coding distance between expression data of different characters.
[0187] Optionally, the processor may also be configured to execute the following steps through a computer program: in response to the multimedia file being a video file, locking the contour information of at least one object displayed in the video file; based on the locked contour information, counting the frequency of occurrence of at least one object in multiple frames of image material in the video file to obtain statistical results; in response to the statistical results satisfying a second preset condition, determining the content to be extracted from the multimedia file according to the target object of interest.
[0188] In the electronic device of the embodiment of the present application, by selecting the target focus object from multiple object dimensions, the content to be extracted is determined from the multimedia file to be identified according to the target focus object, and then the target migration data is generated based on the content to be extracted, so as to control the target character in the virtual scene to generate a target animation adapted to the target migration data. Therefore, by selecting different target focus objects, various types of migration data can be obtained, and the purpose of flexibly generating migration data corresponding to the content to be extracted in multiple object dimensions to render virtual character animations that meet custom needs is achieved, thereby achieving the technical effect of improving the flexibility of the migration data generation method, the diversity of the animation rendering method, and meeting the user's custom animation generation needs, and further solving the technical problems of poor flexibility and single animation generation effect of the animation generation method provided in the related technology using AI for overall data migration of character actions and expressions in video materials.
[0189] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0190] S1, receiving multimedia files uploaded by users;
[0191] S2, in response to an object selection operation for multiple object identifiers, determining a target object of interest from multiple objects of interest;
[0192] S3, in response to the animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target focus object, rendering the target virtual character based on the target migration data, and generating a character animation matching the target migration data;
[0193] S4, play the character animation.
[0194] Optionally, the processor can also be configured to perform the following steps through a computer program: in response to a single playback operation for facial expressions, control the target character to separately generate an expression animation that matches the target migration data; in response to a single playback operation for body movements, control the target character to separately generate an action animation that matches the target migration data; in response to a linked playback operation for facial expressions and body movements, control the target character to synchronously generate an expression animation and an action animation that matches the target migration data.
[0195] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to a single playback operation for a facial expression, while controlling the target character to separately generate an expression animation that matches the target migration data, synchronously playing a head animation associated with the expression animation.
[0196] In the electronic device of this embodiment, by responding to the object selection operation for the object identifiers of multiple objects of interest, a target object of interest is determined from the multiple objects of interest, and in response to the animation generation operation for the target virtual character, target migration data is extracted from the multimedia file based on the target object of interest, and the target virtual character is rendered based on the target migration data to generate and play the character animation that matches the target migration data, thereby achieving the purpose of flexibly and individually editing the virtual character display animation on the mobile terminal, thereby achieving the technical effect of improving the animation display editing flexibility of the mobile terminal and meeting the user's customized animation display needs, and further solving the technical problem in the related art that after the player uploads the video material, the player cannot participate in the animation generation and display process of the virtual character, thereby making it difficult to meet the player's customized animation generation and display needs.
[0197] Fig.15 is a schematic diagram of an electronic device according to an embodiment of the present application. Fig.15 As shown, the electronic device 1500 is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0198] like Fig.15 As shown, the electronic device 1500 is in the form of a general computing device. The components of the electronic device 1500 may include but are not limited to: at least one processor 1510, at least one memory 1520, a bus 1530 connecting different system components (including the memory 1520 and the processor 1510), and a display 1540.
[0199] The memory 1520 stores program codes, which can be executed by the processor 1510, so that the processor 1510 executes the steps described in the method section of the embodiment of the present application according to various exemplary implementations of the present application.
[0200] The memory 1520 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 15201 and / or a cache memory unit 15202, and may further include a read-only memory unit (ROM) 15203, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0201] In some examples, the memory 1520 may also include a program / utility 15204 having a set (at least one) of program modules 15205, such program modules 15205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include the implementation of a network environment. The memory 1520 may further include a memory remotely disposed relative to the processor 1510, and these remote memories may be connected to the electronic device 1500 via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0202] Bus 1530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a local bus of processor 1510, or a bus using any of a variety of bus architectures.
[0203] The display 1540 may be, for example, a touch screen type liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 1500 .
[0204] Optionally, the electronic device 1500 may also communicate with one or more external devices 1600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 1500, and / or any device that enables the electronic device 1500 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 1550. Furthermore, the electronic device 1500 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1560. Fig.15 As shown, the network adapter 1560 communicates with other modules of the electronic device 1500 via the bus 1530. It should be understood that although Fig.15 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 1500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0205] The electronic device 1500 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply and / or a camera.
[0206] It can be understood by those skilled in the art that Fig.15 The structure shown is for illustration only and does not limit the structure of the above electronic device. Fig.15 More or fewer components as shown, or with Figure 1 The memory 1520 may be used to store computer programs and corresponding data, such as the computer programs and corresponding data corresponding to the animation generation method in the embodiment of the present application. The processor 1510 executes various functional applications and data processing by running the computer programs stored in the memory 1520, that is, implementing the above-mentioned animation generation method.
[0207] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and the computer program implements the method provided in the embodiment when executed by a processor.
[0208] Optionally, the computer program included in the above-mentioned computer program product is executed by a processor to perform the following steps:
[0209] S1, obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0210] S2, select the target object of attention from multiple object dimensions;
[0211] S3, determining the content to be extracted from the multimedia file according to the target object of interest;
[0212] S4, generating target migration data based on the content to be extracted;
[0213] S5, controlling the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0214] Optionally, the computer program included in the above-mentioned computer program product is executed by a processor to perform the following steps:
[0215] S1, receiving multimedia files uploaded by users;
[0216] S2, in response to an object selection operation for multiple object identifiers, determining a target object of interest from multiple objects of interest;
[0217] S3, in response to the animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target focus object, rendering the target virtual character based on the target migration data, and generating a character animation matching the target migration data;
[0218] S4, play the character animation.
[0219] The embodiments of the present application also provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which may be used to store a computer program, and when the computer program is executed by a processor, the method provided in the embodiments is implemented.
[0220] Optionally, the computer program stored in the non-volatile computer-readable storage medium is used by the processor to execute the following steps:
[0221] S1, obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0222] S2, select the target object of attention from multiple object dimensions;
[0223] S3, determining the content to be extracted from the multimedia file according to the target object of interest;
[0224] S4, generating target migration data based on the content to be extracted;
[0225] S5, controlling the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0226] Optionally, the computer program stored in the non-volatile computer-readable storage medium is used by the processor to execute the following steps:
[0227] S1, receiving multimedia files uploaded by users;
[0228] S2, in response to an object selection operation for multiple object identifiers, determining a target object of interest from multiple objects of interest;
[0229] S3, in response to the animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target focus object, rendering the target virtual character based on the target migration data, and generating a character animation matching the target migration data;
[0230] S4, play the character animation.
[0231] The embodiment of the present application further provides a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the method provided in the above embodiment is implemented.
[0232] Optionally, the computer program is executed by a processor to perform the following steps:
[0233] S1, obtaining a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions;
[0234] S2, select the target object of attention from multiple object dimensions;
[0235] S3, determining the content to be extracted from the multimedia file according to the target object of interest;
[0236] S4, generating target migration data based on the content to be extracted;
[0237] S5, controlling the target character in the virtual scene to generate a target animation adapted to the target migration data.
[0238] Optionally, the computer program is executed by a processor to perform the following steps:
[0239] S1, receiving multimedia files uploaded by users;
[0240] S2, in response to an object selection operation for multiple object identifiers, determining a target object of interest from multiple objects of interest;
[0241] S3, in response to the animation generation operation for the target virtual character, extracting target migration data from the multimedia file based on the target focus object, rendering the target virtual character based on the target migration data, and generating a character animation matching the target migration data;
[0242] S4, play the character animation.
[0243] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0244] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0245] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0246] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0247] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0248] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0249] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An animation generation method, characterized in that: include: Acquire a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions; Selecting a target object of interest from the multiple object dimensions; Determining content to be extracted from the multimedia file according to the target object of interest; generating target migration data based on the content to be extracted; The target character in the virtual scene is controlled to generate a target animation adapted to the target migration data.
2. The animation generation method according to claim 1, characterized in that: Determining the content to be extracted from the multimedia file according to the target object of interest includes: In response to the target object of interest including facial expressions and body movements, a confidence detection is performed on the display content of the source object in the multimedia file to obtain a detection result, wherein the display content includes: the expression content and the movement content of the source object; In response to the detection result satisfying a first preset condition, the content to be extracted is obtained from the displayed content.
3. The animation generation method according to claim 2, characterized in that: Performing a confidence test on the display content of the source object in the multimedia file to obtain the test result includes: Acquire multiple limb bone key points corresponding to the source object; The action content is subjected to confidence detection based on the confidence values corresponding to the multiple limb skeleton key points and the confidence weights corresponding to the multiple limb skeleton key points to obtain the detection result, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different limb parts corresponding to the multiple limb skeleton key points, and the confidence weights are used to distinguish the importance of different limb parts corresponding to the multiple limb skeleton key points in the limb structure.
4. The animation generation method according to claim 2, characterized in that: Performing a confidence test on the display content of the source object in the multimedia file to obtain the test result includes: Acquire multiple facial bone key points corresponding to the source object; The confidence test of the expression content is performed based on the confidence values corresponding to the multiple facial bone key points to obtain the test result, wherein the confidence values are used to distinguish the degree of visualization and / or clarity of different facial areas corresponding to the multiple facial bone key points.
5. The animation generation method according to claim 2, characterized in that: Generating the target migration data based on the content to be extracted includes: Determine the limb skeleton key points corresponding to the limb action based on the content to be extracted; Performing three-dimensional motion restoration on limb skeleton key points corresponding to the limb motion to obtain three-dimensional motion data; The three-dimensional motion data is redirected using the body shape data of the target character to generate motion migration data.
6. The animation generation method according to claim 2, characterized in that: Generating the target migration data based on the content to be extracted includes: Determining initial expression data corresponding to the facial expression based on the content to be extracted; The expression migration data corresponding to the initial expression data is generated by using a preset corresponding relationship, wherein the preset corresponding relationship is obtained by a pre-trained expression coding, and the expression coding is used to compare the coding distance between expression data of different characters.
7. The animation generation method according to claim 1, characterized in that: The animation generation method further comprises: In response to the multimedia file being a video file, locking contour information of at least one object displayed in the video file; Based on the locked contour information, counting the occurrence frequency of the at least one object in the multiple frames of image materials in the video file to obtain a statistical result; In response to the statistical result satisfying a second preset condition, the content to be extracted is determined from the multimedia file according to the target object of interest.
8. An animation display method, characterized in that: A graphical user interface is provided by a terminal device, wherein the content displayed by the graphical user interface includes object identifiers of a target virtual character and a plurality of objects of interest in a virtual scene, and the animation display method includes: Receive multimedia files uploaded by users; In response to an object selection operation for a plurality of object identifiers, determining a target object of interest from the plurality of objects of interest; In response to an animation generation operation for the target virtual character, target migration data is extracted from the multimedia file based on the target focus object, and the target virtual character is rendered based on the target migration data to generate a character animation matching the target migration data; Play the character animation.
9. The animation display method according to claim 8, characterized in that: Playing the character animation includes one of the following: In response to a single playback operation for a facial expression, controlling the target character to individually generate an expression animation adapted to the target migration data; In response to a single playback operation for a body movement, controlling the target character to separately generate a movement animation adapted to the target migration data; In response to the linked playback operation of the facial expression and the body movement, the target character is controlled to synchronously generate expression animation and action animation adapted to the target migration data.
10. The animation display method according to claim 9, characterized in that: The animation display method also includes: In response to a single play operation for the facial expression, while controlling the target character to independently generate the expression animation adapted to the target migration data, the head animation associated with the expression animation is played synchronously.
11. An animation generating device, characterized in that: include: An acquisition module, used for acquiring a multimedia file to be identified, wherein the multimedia file is used to provide original material, and the original material is used to describe the emotional expression of the source object from multiple object dimensions; A selection module, used for selecting a target object of interest from the multiple object dimensions; A determination module, configured to determine content to be extracted from the multimedia file according to the target object of interest; A generating module, used for generating target migration data based on the content to be extracted; The control module is used to control the target character in the virtual scene to generate a target animation adapted to the target migration data.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the animation generation method described in any one of claims 1 to 7 or the animation display method described in any one of claims 8 to 10 when executed by a processor.
13. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the animation generation method described in any one of claims 1 to 7 or the animation display method described in any one of claims 8 to 10.
14. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the animation generation method described in any one of claims 1 to 7 or the animation display method described in any one of claims 8 to 10.
Citation Information
Cited By
Animation generation method, storage medium, electronic device, and computer program product
WO2025195064A1
