Virtual object animation generation method and apparatus, electronic device, computer-readable storage medium, and computer program product
By acquiring and correcting the posture information of the target object in the video, combined with motion priors, the problems of high cost and poor motion coherence in existing motion capture technology are solved, and efficient and accurate motion capture and virtual object animation generation are achieved.
Patent Information
- Application Number
- PCT/CN2024/071344
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-06
- Filing Date
- 2024-01-09
- Publication Date
- 2024-09-12
AI Technical Summary
Existing motion capture technology suffers from problems such as high cost, poor motion coherence, and inaccurate execution. In particular, the end-to-end video motion capture method has weak generalization capabilities, resulting in unsatisfactory motion capture effects.
By obtaining the initial three-dimensional posture information, two-dimensional posture information and foot contact information of the target object in the video to be processed, combined with the motion prior information, the posture change information is corrected, the corrected posture information is generated, and its movements are Redirect to virtual objects to improve the accuracy and consistency of motion capture.
It reduces the cost of motion capture, improves the efficiency of motion capture and the motion coherence and rationality of virtual object animation videos, and expands the application scenarios of motion capture.
Smart Images

Figure CN2024071344_12092024_PF_FP_ABST
Abstract
Description
Virtual object animation generation method, device, electronic device, computer-readable storage medium, and computer program product
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 202310244258.5 and application date of March 6, 2023, and claims the priority of the above Chinese patent application. The entire content of the above Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present application relates to image processing technology, and in particular to a method, device, electronic device, computer-readable storage medium, and computer program product for generating virtual object animation. Background Art
[0004] Motion retargeting is widely used in animation and filmmaking, and motion capture is a key technology in this field. Motion capture involves recording the motion of an object in three-dimensional space and simulating its trajectory onto a digital model. For example, by detecting and recording the trajectory of a performer's limbs in three-dimensional space, the performer's gestures and movements are captured. These captured gestures and movements are then converted into digital, abstract movements, which are then used to control a virtual model in a software application to perform the same movements as the performer, generating animation sequences. In recent years, motion capture technology has been widely used in many fields, including virtual reality, three-dimensional gaming, and human bio-engineering. Motion capture can be achieved using optical motion capture, inertial motion capture, and end-to-end video motion capture. Optical and inertial motion capture require external equipment and a venue for motion capture, resulting in high costs. End-to-end video motion capture methods are limited by insufficient training data, poor generalization capabilities, and poor motion capture quality. Retargeting the captured movements onto a virtual object can lead to problems such as poor motion coherence and inaccurate execution.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a virtual object animation generation method, device, electronic device, computer-readable storage medium and computer program product, which can ensure the accuracy of the motion obtained through motion capture while reducing the cost of motion capture.
[0007] The technical solution of the embodiment of the present application is implemented as follows:
[0008] The present invention provides a method for generating a virtual object animation, the method comprising:
[0009] Acquire a video to be processed, and determine initial three-dimensional posture information, two-dimensional posture information, and foot contact information of a target object in the video to be processed;
[0010] Determining, based on the initial three-dimensional posture information of the target object, posture change information between two adjacent video frames in the video to be processed;
[0011] Determining the to-be-corrected posture information of the target object based on the initial three-dimensional posture information of the target object and the posture change information;
[0012] Correcting the to-be-corrected posture information of the target object based on the two-dimensional posture information and the foot contact information of the target object to obtain corrected posture information of the target object;
[0013] The corrected posture information action is redirected to a virtual object to generate a virtual object animation video corresponding to the video to be processed.
[0014] The present invention provides a device for generating a virtual object animation, comprising:
[0015] A first acquisition module is configured to acquire a video to be processed and determine initial three-dimensional posture information, two-dimensional posture information, and foot contact information of a target object in the video to be processed;
[0016] a first determining module configured to determine posture change information between adjacent video frames based on initial three-dimensional posture information of the target object;
[0017] a second determining module configured to determine the to-be-corrected posture information of the target object based on the initial three-dimensional posture information of the target object and the posture change information between the adjacent video frames;
[0018] a first processing module configured to perform correction processing on the to-be-corrected posture information of the target object based on the two-dimensional posture information and foot contact information of the target object to obtain corrected posture information of the target object;
[0019] The action redirection module is configured to redirect the corrected posture information action to a virtual object and generate a virtual object animation video corresponding to the video to be processed.
[0020] An embodiment of the present application provides an electronic device, comprising:
[0021] a memory for storing computer-executable instructions;
[0022] The processor is configured to implement the virtual object animation generation method provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.
[0023] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for implementing the virtual object animation generation method provided in the embodiment of the present application when executed by a processor.
[0024] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the virtual object animation generation method provided in the embodiment of the present application is implemented.
[0025] The embodiments of the present application have the following beneficial effects:
[0026] After obtaining the video to be processed, the initial three-dimensional posture information, two-dimensional posture information and foot grounding information of the target object in the video to be processed are first determined, and then the posture change information between the adjacent video frames is determined based on the initial three-dimensional posture information of the target object. The posture change information is used as a motion prior and combined with the initial three-dimensional posture information of each video frame to determine the posture information to be corrected. Then, based on the two-dimensional posture information and foot grounding information of the target object, the posture information to be corrected is corrected to obtain the corrected posture information of the target object. Since the posture information to be corrected of the target object is determined based on the posture change information as a motion prior and the initial three-dimensional posture information of each video frame, when correcting the posture information to be corrected, the posture change information is actually corrected, which can not only improve the correction efficiency, thereby improving the motion capture efficiency, but also ensure the motion continuity and rationality of the virtual object animation video obtained by redirecting the corrected posture information action to the virtual object. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a schematic diagram of the structure of a motion capture system 100 provided in an embodiment of the present application;
[0028] FIG2 is a schematic diagram of the structure of a server 400 provided in an embodiment of the present application;
[0029] FIG3A is a schematic diagram of a flow chart of a method for generating a virtual object animation according to an embodiment of the present application;
[0030] FIG3B is a schematic diagram of an implementation process for determining initial three-dimensional posture information, two-dimensional posture information, and foot contact information of a target object according to an embodiment of the present application;
[0031] FIG3C is a schematic diagram of an implementation process for determining posture change information provided in an embodiment of the present application;
[0032] FIG3D is a schematic diagram of an implementation flow of training a priori motion models provided in an embodiment of the present application;
[0033] FIG4A is a schematic diagram of an implementation flow of determining posture information to be corrected according to an embodiment of the present application;
[0034] FIG4B is a schematic diagram of an implementation flow of correcting the posture information to be corrected according to an embodiment of the present application;
[0035] FIG4C is a schematic diagram of an implementation flow of determining a reprojection error according to an embodiment of the present application;
[0036] FIG5A is a schematic diagram of an implementation flow of determining prior information provided by an embodiment of the present application;
[0037] FIG5B is a schematic diagram of an implementation flow of determining a regularization error according to an embodiment of the present application;
[0038] FIG5C is another flowchart of a method for generating a virtual object animation according to an embodiment of the present application;
[0039] FIG6 is a schematic diagram of a joint point tree provided in an embodiment of the present application;
[0040] FIG7A is a human body mesh obtained under the base template established by the SMPL model provided in an embodiment of the present application;
[0041] FIG7B is a human body mesh obtained under the base template established by the SMPL model provided in an embodiment of the present application;
[0042] FIG7C is a schematic diagram of a human body model obtained after adjusting shape parameters according to an embodiment of the present application;
[0043] FIG8A is a schematic diagram of another flow chart of a method for generating a virtual object animation according to an embodiment of the present application;
[0044] FIG8B is a schematic diagram of the overall processing flow of the virtual object animation generation method provided in an embodiment of the present application;
[0045] FIG9 is a schematic diagram of the network structure of a 3D posture estimation module provided in an embodiment of the present application;
[0046] FIG10A is a schematic diagram of the network structure of a 2D posture estimation module provided in an embodiment of the present application;
[0047] FIG10B is a schematic diagram of the network structure of a foot grounding prediction module provided in an embodiment of the present application;
[0048] FIG10C is a schematic diagram of a variational autoencoder provided in an embodiment of the present application;
[0049] FIG10D is a schematic diagram of the network structure of the motion prior model provided in an embodiment of the present application;
[0050] FIG11 is a schematic diagram of an application interface of a virtual object animation generation method provided in an embodiment of the present application in a virtual engine. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0052] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0053] In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0054] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0056] Before further explaining the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0057] 1) Motion capture, also known as motion capture, refers to recording the movement of an object in three-dimensional space and simulating its motion trajectory into a digital model.
[0058] 2) Skinned Multi-Person Linear Model (SMPL) is a skinned, vertex-based 3D human model that can accurately represent different shapes and poses of the human body.
[0059] A key technology in the virtual object animation generation method is motion capture. In order to better understand the virtual object animation generation method provided in the embodiment of the present application, the implementation process and shortcomings of the optical motion capture method, inertial motion capture method and end-to-end video motion capture method provided in the related technology are first explained.
[0060] The optical motion capture system is based on computer vision principles. Multiple high-speed cameras continuously identify target feature points from different angles, combined with a skeleton-solving algorithm to capture motion. Theoretically, for any point in space, as long as it can be seen by two or more cameras simultaneously, the 3D position of that point in space at that moment can be determined. When the camera continuously shoots at a high frame rate, the motion trajectory of that point can be derived from the image sequence. This technology requires a dedicated venue with no obvious interference and requires actors wearing optical motion capture equipment to capture movements. While optical motion capture technology offers high accuracy, it requires space, equipment, and personnel, resulting in high costs.
[0061] Inertial motion capture technology requires the use of inertial sensors, such as accelerometers, gyroscopes, and magnetometers, at key points on the human body. These sensors capture the target object's motion data, including the posture and orientation of body parts. This data is then transmitted to a data processing device via a data transmission device. After data correction and processing, a three-dimensional model is ultimately created, allowing the model to move naturally and realistically with the human body. This technology requires professional performers to wear specific equipment. Due to the accuracy of the inertial equipment, the capture effect is inferior to optical motion capture technology, and it cannot solve the problem of the virtual character's heels being pressed against the ground.
[0062] End-to-end video motion capture methods require acquiring 3D human body data in real-world environments, which is quite challenging. Implementing this technology requires not only cameras but also additional equipment. Therefore, directly outputting 3D positions from images as network input is difficult. To address this data shortage, current approaches employ training methods that replace backgrounds and clothing, but the capture results are less than ideal.
[0063] Based on this, the embodiments of the present application provide a method, apparatus, device and computer-readable storage medium for generating virtual object animation, which can introduce human motion priors on the basis of end-to-end prediction, and make the accuracy meet the actual application requirements through further iterative optimization. At the same time, compared with optical motion capture and inertial motion capture, this solution does not require additional scenes and equipment, only monocular video is required, which expands the application scenarios of motion capture. The following describes an exemplary application of the computer device provided by the embodiment of the present application. The device provided by the embodiment of the present application can be implemented as various types of user terminals such as laptops, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), and can also be implemented as servers. Below, an exemplary application when the device is implemented as a server will be described.
[0064] Refer to Figure 1, which is a schematic diagram of the architecture of the motion capture system 100 provided in an embodiment of the present application. In order to support a motion capture application, the terminal (terminal 200-1 and terminal 200-2 are shown as examples) is connected to the server 400 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0065] In the motion capture system, the terminal 200 is at least used to capture video and send the captured video to the server 400 via the network 300. The server 400 performs motion capture processing or stores the video in the database 500. The terminal 200 can use the image capture device in the terminal to capture the video.
[0066] Server 400 obtains a video to be processed, which can be a video obtained from terminal 200 or a pre-stored video obtained from database 500. Server 400 then determines the initial three-dimensional pose information, two-dimensional pose information, and foot contact information of a target object in the video to be processed. Based on the initial three-dimensional pose information of the target object, server 400 determines pose change information between two adjacent video frames in the video to be processed. Based on the initial three-dimensional pose information and pose change information of the target object, server 400 determines the target object's pose information to be corrected. Based on the target object's two-dimensional pose information and foot contact information, server 400 corrects the target object's pose information to be corrected to obtain corrected pose information. Finally, server 400 redirects the corrected pose information to a virtual object, generating a virtual object animation video corresponding to the video to be processed. Because the target object's pose information to be corrected incorporates pose change information determined based on motion priors, server 400 actually corrects the pose change information when correcting the pose information to be corrected. This not only improves correction efficiency, thereby improving motion capture efficiency, but also ensures the consistency and rationality of the virtual object animation video generated by redirecting the corrected pose information to the virtual object. Afterwards, the server 400 sends the virtual object animation video to the terminal 200 , so that the terminal 200 plays the virtual object animation video, wherein the virtual object in the virtual object animation video performs the action corresponding to the corrected posture information.
[0067] In some embodiments, the server 400 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 200 can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, car terminal, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0068] Referring to Figure 2, Figure 2 is a schematic diagram of the structure of a server 400 provided in an embodiment of the present application. The server 400 shown in Figure 2 includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in the server 400 are coupled together via a bus system 440. It will be understood that the bus system 440 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 440 in Figure 2.
[0069] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0070] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0071] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0072] The memory 450 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0073] In some embodiments, the memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
[0074] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and process hardware-based tasks;
[0075] A network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include Bluetooth, Wi-Fi, and Universal Serial Bus (USB).
[0076] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information);
[0077] The input processing module 454 is configured to detect one or more user inputs or interactions from one of the one or more input devices 432 and to translate the detected inputs or interactions.
[0078] In some embodiments, the apparatus provided by the embodiments of the present application can be implemented in software. FIG2 shows a virtual object animation generation apparatus 455 stored in a memory 450. The apparatus 455 can be software in the form of a program or plug-in, and includes the following software modules: a first acquisition module 4551, a first determination module 4552, a second determination module 4553, a first processing module 4554, and an action redirection module 4555. These modules are logical and can be arbitrarily combined or further separated according to the functions implemented. The functions of each module will be described below.
[0079] In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware. As an example, the apparatus provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the virtual object animation generation method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0080] The virtual object animation generation method provided in the embodiment of the present application will be explained in combination with the exemplary application and implementation of the server provided in the embodiment of the present application.
[0081] In order to better understand the virtual object animation generation method provided in the embodiment of the present application, artificial intelligence, its various branches, and the application fields involved in the virtual object animation generation method provided in the embodiment of the present application are first explained.
[0082] Artificial Intelligence (AI) refers to the theories, methods, techniques, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, to perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that seeks to understand the essence of intelligence and produce new intelligent machines that can respond in a manner similar to human intelligence. AI also studies the design principles and implementation methods of various intelligent machines, enabling them to possess the capabilities of perception, reasoning, and decision-making.
[0083] Artificial intelligence technology is a comprehensive discipline covering a wide range of fields, encompassing both hardware and software technologies. Basic AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, speech processing, natural language processing, and machine learning / deep learning. The virtual object animation generation method provided in the embodiments of this application primarily addresses machine learning, as described below.
[0084] Machine learning (ML) is a multidisciplinary field that encompasses probability theory, statistics, approximation theory, convex analysis, and algorithmic complexity theory. It specifically studies how computers can simulate or implement human learning behaviors to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is at the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications span all areas of AI. Machine learning and deep learning typically include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, and inductive learning.
[0085] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, autonomous driving, drones, robots, smart medical care, smart customer service, etc. It is believed that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0086] The following describes the virtual object animation generation method provided by the embodiment of the present application. As mentioned above, the electronic device that implements the virtual object animation generation method of the embodiment of the present application can be a server. Therefore, the execution entity of each step will not be repeated below.
[0087] Refer to Figure 3A, which is a flow chart of an image processing method provided in an embodiment of the present application, and will be explained in conjunction with the steps shown in Figure 3A.
[0088] In step 101, a video to be processed is obtained, and initial three-dimensional posture information, two-dimensional posture information, and foot contact information of a target object in the video to be processed are determined.
[0089] The video to be processed is a monocular video, that is, a video captured by a single image acquisition device. The target object in the video to be processed performs a series of actions, rather than being stationary. The target object can be a natural person, a digital person, or even an avatar. The video to be processed can be captured by the image acquisition device in the terminal, downloaded from the network, or sent to the server from another device.
[0090] In some embodiments, referring to FIG3B , “determining the initial three-dimensional posture information, two-dimensional posture information, and foot grounding information of the target object in the video to be processed” in step 101 in FIG3A can be implemented by following steps 1011 to 1014, which will be explained below in conjunction with FIG3B .
[0091] In step 1011, a trained three-dimensional posture estimation model, a trained two-dimensional posture estimation model, and a trained foot contact detection model are obtained.
[0092] In some embodiments, the first training video can be used to train the preset initial three-dimensional posture estimation model, the initial two-dimensional posture estimation model and the initial foot ground detection model to obtain a trained three-dimensional posture estimation model, a trained two-dimensional posture estimation model and a trained foot ground detection model. During the training process, a preset initial three-dimensional pose estimation model, an initial two-dimensional pose estimation model, and an initial foot grounding detection model are first obtained, and a first training video including multiple first training video frames is obtained. The three-dimensional pose information, two-dimensional pose information, and foot grounding information of the target object in each first training video frame are respectively obtained. The three-dimensional pose information of the target object in each first training video frame is determined as the three-dimensional annotation information of each first training video frame, the two-dimensional pose information of the target object in each first training video frame is determined as the two-dimensional annotation information of each first training video frame, and the foot grounding information of the target object in each first training video frame is determined as the grounding annotation information of each first training video frame. Then, the initial three-dimensional pose estimation model is trained using each first training video frame and the three-dimensional annotation information corresponding to each first training video frame to obtain a trained three-dimensional pose estimation model; the initial two-dimensional pose estimation model is trained using each first training video frame and the two-dimensional annotation information corresponding to each first training video frame to obtain a trained two-dimensional pose estimation model; and the initial foot grounding detection model is trained using each first training video frame and the grounding annotation information corresponding to each first training video frame to obtain a trained foot grounding detection model.
[0093] In step 1012, the trained three-dimensional pose estimation model is used to perform pose estimation on the video to be processed to obtain initial three-dimensional pose information of the target object in the video to be processed.
[0094] In some embodiments, a constructed joint point tree and the total number of video frames N in the video to be processed are first obtained. The joint point tree is a tree structure constructed based on a plurality of predefined joint points and their mutual influence relationships. Then, a trained 3D pose estimation model is used to estimate the pose of the target object in the i-th video frame of the N video frames to obtain the initial 3D pose information of the target object in the i-th video frame. The initial 3D pose information includes the rotation information of each joint point of the target object in the i-th video frame relative to its parent node, as well as the orientation information, rotation information, and offset information of the entire skeleton, where i = 1, 2, ..., N.
[0095] In step 1013, the trained two-dimensional pose estimation model is used to perform pose estimation on the video to be processed to obtain two-dimensional pose information of the target object.
[0096] In some embodiments, the i-th video frame among N video frames is input into a trained two-dimensional pose estimation model, and the pose of the target object in the i-th video frame is estimated to obtain initial two-dimensional pose information of the target object in the i-th video frame. The initial two-dimensional pose information includes at least the position coordinates of each joint point of the target object in the i-th video frame, where i=1, 2, ..., N. Assuming that the target object has 24 predefined joint points, the position coordinates of the j-th joint point can be expressed as (m j , n j ), the initial two-dimensional posture information of the target object in the i-th video frame can be represented as a 24*2-dimensional feature matrix.
[0097] In some embodiments, the two-dimensional posture information of the target object may also include confidence information of preset joint points. The confidence information is used to characterize the credibility of the position coordinates of each joint point. The greater the confidence information of a joint point, the higher the credibility of the position coordinates of the joint point.
[0098] In step 1014, the trained foot contact detection model is used to perform prediction processing on the two-dimensional posture information of the target object to obtain the foot contact information of the target object.
[0099] The two-dimensional posture information of the target object in the i-th video frame obtained in step 1013 is input into the trained foot contact detection model to determine whether the target object's foot is contacted in the i-th video frame, thereby obtaining the foot contact information of the target object in the i-th video frame. The foot contact information can be represented as a 4-dimensional vector (rf, rb, lf, lb), where rf is used to describe whether the right toe is contacted, rb is used to describe whether the right heel is contacted, lf is used to describe whether the left toe is contacted, and lb is used to describe whether the left heel is contacted. For example, when the right toe is contacted, the value of rf is 1, and when the right toe is not contacted, the value of rf is 0. Assuming that the right toe of the target object is contacted, the right heel is not contacted, the left toe is contacted, and the left heel is contacted, then the foot contact information of the target object is (1, 0, 1, 1).
[0100] In step 102, based on the initial three-dimensional posture information of the target object, posture change information between two adjacent video frames in the video to be processed is determined.
[0101] In some embodiments, the initial three-dimensional posture information may include initial posture parameters and initial shape parameters. Assuming that the current video frame is the i-th video frame, when step 102 is implemented, the initial posture parameters of the i-th video frame are predicted based on the motion prior model to obtain the posture change information of the target object from the i-1-th video frame to the i-th video frame. It should be noted here that the posture change information of the target object from the i-1-th video frame to the i-th video frame determined based on the motion prior model is an estimated value, which is different from the posture change information of the target object from the i-1-th video frame to the i-th video frame determined based on the initial posture parameters of the target object in the i-1-th video frame and the initial posture parameters of the target object in the i-th video frame. Where i = 1, 2, ..., N-1, N is the total number of video frames of the video to be processed.
[0102] In some embodiments, referring to FIG. 3C , step 102 in FIG. 3A may be implemented by following steps 1021 to 1022 , which will be described below in conjunction with FIG. 3C .
[0103] In step 1021, a trained motion prior model is obtained.
[0104] In some embodiments, referring to FIG. 3D , before step 1021 , a trained motion prior model may be obtained by following steps 211 to 215 , which will be described below in conjunction with FIG. 3D .
[0105] In step 211 , a training video and a preset motion prior model are obtained.
[0106] The training video includes multiple training video frames, in which a target object performs a series of actions. The motion prior model can be a neural network model or a deep learning model. The motion prior model is used to predict the target object's posture changes between two adjacent video frames.
[0107] In step 212 , the kth training video frame and the k+1th training video frame are determined as the kth training data pair.
[0108] In some embodiments, M training video frames included in a training video are first obtained, and then two adjacent training video frames are used as a training data pair. That is, the M training video frames can form M-1 training data pairs, and the kth training data pair consists of the kth training video frame and the k+1th training video frame. Where k = 1, 2, ..., M-1, and M is the total number of video frames in the training video.
[0109] In step 213, encoding processing is performed on the two training video frames in the k-th training data pair to obtain encoding results of the two training video frames in the k-th training data pair in the latent space.
[0110] Here, the training pose parameters of the two training video frames in the kth training data pair are first obtained, and then the training pose parameters of the two training video frames are encoded to obtain the encoding results of the two training video frames in the kth training data pair in the latent space. The encoder that encodes the training pose parameters can be a variational autoencoder. The variational autoencoder is pre-trained using a large dataset of human 3D poses. The training dataset includes 3D poses of the human body, which are poses that the human body can perform. By encoding the training pose parameters of the kth training video frame and the k+1th training video frame in the kth training data pair in the latent space, poses that the human body cannot perform can be prevented.
[0111] In step 214 , based on the encoding results of the two training video frames in the k th training data pair in the latent space, the predicted change information of the two training video frames in the k th training data pair is determined.
[0112] In some embodiments, the encoding difference information between the encoding result of the kth training video frame in the latent space and the encoding result of the k+1th training video frame in the latent space is determined, and then the encoding difference information is decoded using a decoder to obtain the predicted change information of the two training video frames in the kth training data pair.
[0113] In step 215 , based on the predicted change information of the two training video frames in each training data pair, the parameters of the preset motion prior model are adjusted to obtain a trained motion prior model.
[0114] In some embodiments, the reference change information of the kth training video frame and the k+1th training video frame can be determined based on the training posture parameters of the kth training video frame and the training posture parameters of the k+1th training video frame, and then the change difference between the reference change information and the predicted change information of each training data pair is determined, and the change difference is back-propagated to the motion prior model, and the parameters of the motion prior model are adjusted using the gradient descent algorithm to obtain a trained motion prior model.
[0115] In some embodiments, the motion prior model may include an encoder, a decoder, and a posture change determination module, wherein parameters of the posture change determination module may be determined by a change mean and a change standard deviation determined by a plurality of encoding difference information. The posture change determination module in the trained motion prior model may be a module that conforms to a normal distribution.
[0116] Through the above steps 211 to 215, first, the two adjacent training video frames in the training video are formed into multiple training data pairs, and then the two training video frames included in each training data pair are encoded using a variational autoencoder, so as to ensure that the posture corresponding to the obtained encoding result is a posture that can be made by the human body, and then the predicted change information of the two training video frames in each training data pair is determined by the encoding result, and the parameters of the motion prior model are adjusted based on the multiple posture change information to obtain a trained motion prior model.
[0117] In step 1022, the trained motion prior model is used to predict the initial posture parameters of the target object to obtain posture change information between adjacent video frames.
[0118] In some embodiments, the encoder in the trained motion prior model is first used to encode the initial posture parameters of the target object in each video frame to obtain the encoding results corresponding to the target object in each video frame, and then the posture change determination module in the trained motion prior model is used to predict the encoding results to obtain various prediction results, and finally the decoder in the trained motion prior model is used to decode the prediction results to obtain posture change information between adjacent video frames.
[0119] The dimension of the posture change information is the same as that of the posture parameter, for example, it can be 24*3.
[0120] Through the above steps 1021 and 1022, the trained motion prior model is used to determine the posture change information of the target object between adjacent video frames, which can ensure the continuity of the action execution.
[0121] In step 103 , the to-be-corrected posture information of the target object is determined based on the initial three-dimensional posture information of the target object and the posture change information.
[0122] In some embodiments, referring to FIG. 4A , step 103 in FIG. 3A may be implemented by following steps 1031 to 1035 , which will be described below in conjunction with FIG. 4A .
[0123] In step 1031, the video to be processed is divided into a plurality of video segments.
[0124] In some embodiments, the total number of video frames of the video to be processed can be first obtained, and then the number of video frames included in the video segment can be determined based on the total number of video frames, so as to use the video frame number to divide the video to be processed into multiple video segments. The total number of video frames can be an integer multiple of the number of video frames to ensure that the number of video frames in each video segment is the same. For example, the total number of video frames can be 500 frames and the number of video frames can be 50. In this case, the video to be processed can be divided into 10 video segments, each of which includes 50 video frames.
[0125] In some embodiments, the video to be processed can be directly divided into multiple video segments according to a preset number of video frames. For example, the video to be processed can be divided according to the number of video frames being 45. In this way, only the last video segment may include fewer than 45 video frames, while the other video segments all include 45 video frames.
[0126] In step 1032 , when it is determined that the i-th video frame is the first frame in the video segment, the initial three-dimensional posture information of the target object is determined as the posture information to be corrected of the target object.
[0127] Wherein, i=1, 2, ..., N, N is the total number of video frames of the video to be processed, and the i-th video frame is the current video frame where the target object is located.
[0128] In the embodiment of the present application, the initial 3D pose information of the first video frame of the video clip is used as a reference, and thus the initial 3D pose information of the target object in the first video frame is determined as the pose information to be corrected of the target object.
[0129] In step 1033 , when it is determined that the i-th video frame is not the first frame in the video segment, the corrected posture information of the target object in the (i-1)-th video frame is obtained.
[0130] The corrected posture information includes corrected posture parameters and corrected shape parameters.
[0131] In step 1034, the to-be-corrected posture parameters of the target object are determined based on the posture change information of the target object from the (i-1)th video frame to the i-th video frame and the corrected posture parameters of the target object corresponding to the (i-1)th video frame.
[0132] In some embodiments, the posture change information of the target object from the (i-1)th video frame to the i-th video frame and the corrected posture parameter of the target object corresponding to the (i-1)th video frame are accumulated and determined as the posture parameter to be corrected of the target object.
[0133] In step 1035 , the initial shape parameters corresponding to the target object and the to-be-corrected posture parameters of the target object are determined as the to-be-corrected posture information of the target object.
[0134] Since the height, weight and size of a person generally do not change much due to the performance of different actions, in an embodiment of the present application, the initial shape parameters corresponding to the target object in the i-th video frame and the posture parameters to be corrected of the target object in the i-th video frame are determined as the posture information to be corrected of the target object in the i-th frame.
[0135] In the above steps 1031 to 1035, the video to be processed is first divided into multiple video segments, and the first video frame of each video segment is used as the reference information, which can reduce the amount of error accumulation, and when determining the posture information to be corrected, the initial shape parameters of the target object are determined as the shape parameters to be corrected, which can reduce the amount of data processing. In addition, since the posture parameters to be corrected of the target object in other video frames except the first frame in the video segment are obtained by accumulating the corrected posture parameters of the previous frame and the posture change information, it can be understood that during correction, only the posture change information is corrected, which not only improves the correction efficiency, but also ensures the continuity and naturalness of the movement.
[0136] In step 104 , the to-be-corrected posture information of the target object is corrected based on the two-dimensional posture information and the foot contact information of the target object to obtain the corrected posture information of the target object.
[0137] In some embodiments, referring to FIG. 4B , step 104 in FIG. 3A may be implemented by following steps 1041 to 1045 , which will be described below in conjunction with FIG. 4B .
[0138] In step 1041 , a reprojection error of the i-th video frame is determined based on the pose information to be corrected, the two-dimensional pose information, and the camera parameters of the target object.
[0139] The pose information to be corrected includes the pose parameters to be corrected and the shape parameters to be corrected. The two-dimensional pose information includes the reference coordinate information of each joint point of the target object and the confidence level of each joint point. The camera parameters include camera extrinsic parameters and camera intrinsic parameters.
[0140] In some embodiments, referring to FIG. 4C , step 1041 in FIG. 4B may be implemented by following steps 411 to 414 , which will be described below in conjunction with FIG. 4C .
[0141] In step 411 , the camera coordinate information of each joint point of the target object is determined based on the to-be-corrected pose information and the two-dimensional pose information of the target object.
[0142] In some embodiments, the camera coordinate information of each joint point of the target object can be determined using formula (1-1):
[0143] in, is the basic posture grid information of the human body, θ i is the target object’s pose parameter to be corrected in the i-th video frame, β i is the shape parameter of the target object to be corrected in the i-th video frame, B s is the linear transformation matrix corresponding to the shape parameter, B p is the linear transformation matrix corresponding to the posture parameters, J(β) i is the two-dimensional posture information.
[0144] The camera coordinate information of each joint point obtained by formula (1-1) is the three-dimensional coordinate of each joint point in the camera coordinate system.
[0145] In step 412 , based on the camera parameters and the camera coordinate information of the joint points of the target object, the image coordinate information of the joint points is determined.
[0146] In some embodiments, the image coordinate information of each joint point can be determined by formula (1-2):
[0147] Among them, [x j ,,y j ] is the image coordinate information of the j-th joint point, [X j , Y j , Z j ] is the camera coordinate information of the j-th joint point, and f is the camera focal length.
[0148] In step 413 , the coordinate errors of the joint points are determined based on the image coordinate information of the joint points and the reference coordinate information of the joint points.
[0149] In some embodiments, the reference coordinate information of each joint point can be obtained from the two-dimensional posture information, and the distance between the image coordinate information and the reference coordinate information of each joint point is determined, and the distance is determined as the coordinate error of each key point.
[0150] In step 414 , a reprojection error of the target object is determined based on the coordinate errors of the respective joint points and the confidence levels of the respective joint points.
[0151] In some embodiments, the reprojection error of the i-th video frame can be determined by formula (1-3):
[0152] Among them, ωj is the confidence corresponding to the j-th joint point, ΔC j is the coordinate error of the j-th joint point. represents the Geman-McClure penalty function, and σ is set to 100.
[0153] In the above steps 411 to 414, when determining the reprojection error of the target object in the i-th video frame, a penalty function is introduced. The penalty function is mainly used to penalize outliers, so as to make the iterative optimization more stable.
[0154] In step 1042 , prior information of the target object is determined based on the posture information to be corrected of the target object.
[0155] The prior information includes posture prior information and shape prior information; the posture information to be corrected includes posture parameters to be corrected and shape parameters to be corrected.
[0156] In some embodiments, referring to FIG. 5A , step 1042 in FIG. 4B may be implemented by following steps 421 to 424 , which will be described below in conjunction with FIG. 5A .
[0157] In step 421 , based on the shape parameters to be corrected of the target object, the shape priori information of the target object is determined.
[0158] In some embodiments, the target object's shape parameter to be corrected refers to the target object's shape parameter to be corrected in the i-th video frame, and the target object's shape prior information refers to the target object's shape prior information in the i-th video frame. The shape parameter to be corrected is represented by a vector, for example, a 1*10 vector. In this step, the modulus of the vector representing the shape parameter to be corrected can be determined as the shape prior information.
[0159] In step 422, the posture parameters to be corrected of the target object are encoded to obtain encoding results of the posture parameters to be corrected in the latent space.
[0160] In some embodiments, a variational autoencoder can be used to encode the target object's pose parameters to be corrected in the i-th video frame, obtaining an encoding result of the pose parameters to be corrected in a latent space. By encoding the pose parameters to be corrected using a variational autoencoder, it is ensured that the pose corresponding to the encoding result is a human-like action.
[0161] In step 423, the posture prior information of the target object is determined based on the encoding result of the posture parameter to be corrected in the latent space.
[0162] The encoding result can be represented by a vector, for example, a 32-dimensional vector. In some embodiments, the pose prior information of the target object refers to the pose prior information of the target object in the i-th video frame, and the modulus of the vector representing the encoding result is determined as the pose prior information of the target object.
[0163] In step 424 , prior information of the target object is determined based on the shape prior information of the target object and the posture prior information of the target object.
[0164] In some embodiments, a first weight corresponding to the shape prior information and a second weight corresponding to the posture prior information can be obtained, and then the shape prior information and the posture prior information are weightedly summed using the first weight and the second weight to obtain the prior information of the target object.
[0165] In the above steps 421 to 424, the shape prior information is determined by the shape parameters to be corrected of the target object, the posture parameters to be corrected are encoded, and the posture prior information is determined based on the encoding results. This ensures that the posture prior information can represent the movements that the human body can make, thereby constraining the rationality of the changes in human body posture between frames through shape prior and posture prior.
[0166] In step 1043, the regularization term error of the target object is determined based on the foot contact information and the corrected posture information of the target object in the (i-1)th video frame, and the foot contact information and the to-be-corrected posture information of the target object in the i-th video frame.
[0167] In some embodiments, referring to FIG. 5B , step 1043 in FIG. 4B may be implemented by following steps 431 to 434 , which will be described below in conjunction with FIG. 5B .
[0168] In step 431, based on the corrected posture information of the target object in the (i-1)th video frame and the posture information to be corrected of the target object in the i-th video frame, the position difference of each joint point of the target object and the length difference of each bone of the target object are determined.
[0169] In some embodiments, the (i-1)th position coordinate of each joint point is obtained from the corrected posture information of the target object in the (i-1)th video frame, and the i-th position coordinate of each joint point is obtained from the to-be-corrected posture information of the target object in the i-th video frame. Then, the position difference of each joint point is determined based on the (i-1)th position coordinate and the i-th position coordinate of each joint point. Then, the (i-1)th length value of each bone is determined based on the (i-1)th position coordinate of two joint points on each bone, and the i-th length value of each bone is determined based on the i-th position coordinate of two joint points on each bone, and the length difference of each bone is determined.
[0170] In step 432 , a foot velocity error of the target object is determined based on the foot contact information of the target object in the (i-1)th video frame and the foot contact information of the target object in the i-th video frame.
[0171] In some embodiments, a first speed difference between the left toe of the target object in the (i-1)th video frame and the left toe of the target object in the i-th video frame is first determined, a second speed difference between the left heel of the target object in the (i-1)th video frame and the left heel of the target object in the i-th video frame is determined, a third speed difference between the right toe of the target object in the (i-1)th video frame and the right toe of the target object in the i-th video frame is determined, and a speed difference between the left toe of the target object in the (i-1)th video frame and the right toe of the target object in the i-th video frame is determined. The fourth velocity difference between the right heel and the right heel of the target object in the i-th video frame is calculated, and then the first velocity difference is multiplied by the foot contact information of the left toe to obtain a first product, the second velocity difference is multiplied by the foot contact information of the left heel to obtain a second product, the third velocity difference is multiplied by the foot contact information of the right toe to obtain a third product, and the fourth velocity difference is multiplied by the foot contact information of the right heel to obtain a fourth product. Finally, the sum of the first product, the second product, the third product, and the fourth product is determined as the foot velocity error.
[0172] In step 433 , the height difference between the foot joint of the target object and the ground is determined.
[0173] In some embodiments, an i-th position coordinate of a foot joint of the target object is determined, and then a height difference between the foot joint and the ground is determined based on the i-th position coordinate.
[0174] In step 434, the regularization term error of the target object is determined based on the position difference of each joint point of the target object, the length difference of each bone of the target object, the foot velocity error of the target object, and the height difference between the foot joint point and the ground.
[0175] In some embodiments, a third weight corresponding to the position difference of the joint points, a fourth weight corresponding to the bone length difference, a fifth weight corresponding to the foot speed error, and a sixth weight corresponding to the height difference are obtained, and then a weighted sum is performed on the position difference of the joint points, the bone length difference, the foot speed error, and the height difference based on the third weight, the fourth weight, the fifth weight, and the sixth weight to obtain the regularization term error of the i-th video frame.
[0176] In the embodiment of the present application, the purpose of weighting each difference or prior information with different weights is to map different differences or prior information to a unified numerical range, so that the constraint effects of different errors or prior information tend to be balanced.
[0177] In the above steps 431 to 434, the position difference of the joint points is used to constrain that the positions of the joint points in adjacent frames should be relatively close, the bone length difference is used to constrain that the length of the bones in different frames should be consistent, the foot speed is used to constrain that if the feet are grounded in two adjacent frames, the foot movement speed is 0, and the height difference between the foot joints and the ground is used to constrain that if the feet are grounded in a certain frame, the height of the foot joints from the ground is less than a certain threshold, for example, the threshold is set to 2 cm. In this way, the rationality of the human body posture can be guaranteed through the regularization term error.
[0178] In step 1044 , a total error of the target object is determined based on the reprojection error value of the target object, the prior information, and the regularization term error.
[0179] In some embodiments, the sum of the reprojection error value, the prior information, and the regularization term error is determined as the total error of the target object in the i-th video frame.
[0180] In step 1045 , the to-be-corrected posture information of the target object is iteratively optimized using a gradient descent method until the total error of the target object reaches a minimum value, thereby obtaining the corrected posture information of the target object.
[0181] Gradient descent is a first-order optimization algorithm, also known as the steepest descent method. To use the gradient descent method to find the local minimum of a function, it is necessary to iteratively search for points at a specified step distance in the opposite direction of the gradient (or approximate gradient) corresponding to the current point on the function. When the total error of the target object reaches the minimum, the corrected posture information of the target object is obtained.
[0182] In step 105, the corrected posture information action is redirected to a virtual object to generate a virtual object animation video corresponding to the video to be processed.
[0183] In some embodiments, referring to FIG. 5C , step 105 may be implemented through steps 1051 to 1052 , which are described in detail below.
[0184] In step 1051, the limb mesh information of the virtual object to be driven is obtained.
[0185] In some embodiments, the virtual object to be driven may be a virtual object in a game, a virtual object in an animation, or a virtual object in virtual reality. The limb mesh information of the virtual object includes coordinate information of each mesh point in the virtual object.
[0186] In step 1052 , based on the limb mesh information of the virtual object, the corrected posture information is adapted to the virtual object through action redirection, so as to drive the virtual object to perform the action corresponding to the corrected posture information.
[0187] In some embodiments, the coordinate information of each joint point corresponding to the target object can be determined based on the limb mesh information of the virtual object to be driven, and then the various joint points of the target object are matched with the various joint points of the virtual object through the action redirection system to obtain matching information, and then the corrected posture information of the target object is adapted to the virtual object through action redirection based on the matching information to drive the virtual object to perform the action corresponding to the corrected posture information.
[0188] Through the above steps 1051 to 1052, the captured posture information can be adapted to any virtual object through the motion redirection technology, thereby improving the utilization rate of the corrected posture information.
[0189] In the virtual object animation generation method provided in the embodiment of the present application, after obtaining the video to be processed, the initial three-dimensional posture information, two-dimensional posture information and foot grounding information of the target object in the video to be processed are first determined, and then the posture change information between the adjacent video frames is determined based on the initial three-dimensional posture information of the target object. The posture change information is used as a motion prior and the initial three-dimensional posture information of each video frame to determine the posture information to be corrected. Then, based on the two-dimensional posture information and foot grounding information of the target object, the posture information to be corrected of the target object is corrected to obtain the corrected posture information of the target object. Since the posture information to be corrected of the video frame is combined with the posture change information determined based on the motion prior, when correcting the posture information to be corrected, the posture change information is actually corrected, which not only improves the correction efficiency, thereby improving the motion capture efficiency, but also ensures the motion continuity and rationality of the virtual object animation video obtained by redirecting the corrected posture information action to the virtual object.
[0190] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.
[0191] The virtual object animation generation method provided in the embodiments of the present application can be applied to application scenarios such as virtual digital human driving and animation production.
[0192] Before describing the virtual object animation generation method provided by the embodiment of the present application, the Skinned Multi-Person Linear (SMPL) model involved in the embodiment of the present application and the role of the SMPL model are first described.
[0193] The SMPL model can define the shape of the human body, such as weight, height, and body posture. To define a human body's movements, each movable joint needs to be parameterized. When the parameters of a joint are changed, the posture of the human body will also change.
[0194] The SMPL model is a statistical model that uses an average human body mesh calculated from a large number of scanned human shapes. The model describes the human body using two types of statistical parameters:
[0195] 1. Shape parameters: A set of shape parameters includes 10 dimensional values. Shape parameters are used to describe a person's shape. The value of each dimension can be interpreted as an indicator of the human body shape, such as height, weight, etc.
[0196] 2. Pose parameters: A set of pose parameters has numerical values of 24×3 dimensions. Pose parameters are used to describe the human body's movement posture at a certain moment. The 24 in 24×3 represents 24 defined human joints, and 3 refers to the axis-angle representation of the rotation angle of a node relative to its parent node. For these 24 nodes, a set of joint point trees as shown in Figure 6 are defined in this embodiment of the application.
[0197] The SMPL model works in three steps:
[0198] 1. Shape Blend Shapes
[0199] At this stage, a base template (or statistical mean template) T as shown in Figure 7A is used as the basic posture of the entire human body. This base template is obtained through statistics, and the entire mesh is represented by N = 6890 endpoints (vertex). Each endpoint has a three-dimensional space coordinate (x, y, z). Then, the shape parameter β is used to describe the human body posture and the offset of this basic posture. The offset is superimposed on the basic posture to form the final desired human body posture, as shown in Figure 7B. This process is a linear process, in which It is a matrix multiplication process of a linear matrix with respect to the shape parameter β. The posture of the human body mesh obtained here is called the rest pose (also known as T-pose) because it does not consider the influence of the posture parameters.
[0200] 2. Pose Blend Shapes
[0201] After specifying the shape of the human body mesh using the specified shape parameter β, a human body mesh with a specific weight, height, and posture is obtained, as shown in Figure 7B. By superimposing the posture parameter θ on the static posture human body mesh, a human body mesh with a specific weight, height, and posture is obtained, as shown in Figure 7C. Because specific movements may affect the specific shape of a part of the human body—for example, a person's belly may not be visible when standing, but may protrude when sitting—the posture parameter θ will also affect the shape of the static posture mesh to a certain extent.
[0202] Skinning
[0203] In previous stages, calculations were performed only on the mesh in a static pose. When the human skeleton moves, the "skin" composed of endpoints (vertex) will change with the movement of the skeleton (joint). This process is called skinning. Skinning can be thought of as a weighted linear combination of the skin nodes as the skeleton moves. Simply put, the closer the endpoint is to a specific skeleton, the more influence it has on the rotation / translation of that skeleton.
[0204] Based on the above analysis, if you want to obtain a mesh model of a human body, you only need to obtain the shape parameter β and posture parameter θ of the SMPL parameterized human body model. Therefore, the entire algorithm process of the embodiment of the present application is to estimate these two parameters.
[0205] The virtual object animation generation method provided in the embodiment of the present application can be implemented through steps 801 to 804 shown in Figure 8A. The overall processing flow of the virtual object animation generation method is shown in Figure 8B, which is explained below in conjunction with Figures 8A and 8B.
[0206] In step 801, a video stream is obtained.
[0207] The video stream can be an action clip recorded by an ordinary camera, or a related video containing human body movements directly downloaded from the Internet.
[0208] In step 802, for an input video, a 3D pose estimation model is used to predict a human 3D pose.
[0209] This step corresponds to stage 1 in FIG8B . A schematic diagram of the network structure of the 3D pose estimation module in stage 1 is shown in FIG9 . The implementation process of step 802 is described below in conjunction with FIG9 . First, a video, also known as a time-series image, is input. Feature extraction is then performed on each video frame in the video to obtain video features corresponding to each video frame. Then, pose prediction is performed on the video features using a GPU to obtain time-series features. The obtained time-series features are then regressed and integrated to obtain the shape parameters and pose parameters of the SMPL parameterized human body model corresponding to each frame of the image, which serve as the initial values of the 3D pose correction module in stage 2 in FIG8B .
[0210] In step 803, the 3D pose is corrected based on an iterative optimization method.
[0211] In some embodiments, for the input video, the 2D posture of the human body is first predicted using a 2D posture estimation model, and then the 2D posture is input into the foot grounding prediction model to predict the grounding status of the human foot. In the 3D posture correction module, the 3D posture of the human body is further optimized according to the 2D posture of the human body and the grounding status of the foot to obtain a more accurate 3D posture of the human body.
[0212] This step corresponds to the second stage in FIG8B. Referring to FIG8B, the second stage includes a 2D posture estimation module 811, a foot ground prediction module 812, and a 3D posture correction module 813. FIG10A is a schematic diagram of the network structure of the 2D posture estimation module provided in the embodiment of the present application. As shown in FIG10A, the input of the 2D posture estimation module is a 2D image. The 2D image is first divided into multiple image regions, and then the multiple image regions are encoded by the encoder 1001 to obtain the encoding result of the image, and the encoding result is decoded by the decoder 1002 to obtain the 2D key points corresponding to the human body in the image. The 2D key points obtained in this step are used as the supervisory signal for iterative optimization in the 3D posture correction module.
[0213] Figure 10B is a schematic diagram of the network structure of the foot grounding prediction module provided in an embodiment of the present application. As shown in Figure 10B, the foot grounding prediction module includes multiple hidden layers (only two hidden layers are shown as an example in Figure 10B). The input 2D key point sequence is predicted and processed through multiple hidden layers, and whether the left and right feet are in contact with the ground in each frame image is output as a judgment signal for the regularization term during iterative optimization in the 3D posture correction module.
[0214] It should be noted that in this step, the initial 3D posture obtained in step 802 is not corrected. Instead, the motion prior model is used to predict the change from the current frame posture to the next frame posture based on the 3D posture of each video frame obtained in step 802. The posture of the next frame to be corrected is then determined by summing the corrected posture of the current frame and the change. The 3D posture correction module then further optimizes the posture of the next frame to be corrected based on the 2D posture of the human body and the ground contact state of the foot, thereby obtaining a more accurate posture.
[0215] Figure 10D is a schematic diagram of the network structure of the motion prior model. The motion prior model is a variational autoencoder trained on a large number of human 3D posture data sets. The model predicts the change in the posture of the current frame to the posture of the next frame based on the human posture of the current frame. Through large-scale data learning, it models the rationality of the change of human posture between frames. As shown in Figure 10D, the motion prior model includes an encoder 1011, a posture change determination module 1012 and a decoder 1013. First, the encoder 1011 in the motion prior model is used to encode the initial posture parameters of the target object in two adjacent video frames to obtain an encoding result. Then, the posture change determination module 1012 in the motion prior model is used to predict the encoding result to obtain each prediction result. Finally, the decoder 1013 in the motion prior model is used to decode the prediction result to obtain posture change information between adjacent video frames.
[0216] One application method is to divide the video to be optimized into N segments, each segment is 45 frames, and a set of posture parameters is optimized for each frame before. After applying the motion prior, only the first frame of each segment is optimized for a set of posture parameters, and each subsequent frame only needs to optimize the change from the previous frame to the next frame.
[0217] The 3D posture correction module is the core of the algorithm of the embodiment of this application. The iterative optimization total objective function is defined as E J (β,θ,K;J est )+E prior +E reg , where β represents the human body shape parameter, θ represents the human body posture parameter, and K represents the camera parameter; J estThe 3D pose correction module in the algorithm pipeline uses the 3D human pose predicted in stage 1 as the initial value and the 2D keypoints predicted in stage 2 as the supervision signal to iteratively optimize the 3D human pose using the gradient descent method to minimize the overall objective function.
[0218] The various parts of the objective function are described as follows:
[0219] 1) Reprojection error, which can be expressed as formula (2-1):
[0220] Among them, ω i Represents the confidence of the 2D key point predicted by the 2D key point model as a weighting coefficient;
[0221] J est,i Represents the coordinates of the i-th 2D key point on the image;
[0222] R θ (J(β) i represents the coordinates of the i-th joint point in the camera coordinate system obtained after the shape parameters β and posture parameters θ are input into the SMPL parameterized human body model;
[0223] Π K It means projecting the point coordinates [X, Y, Z] in the camera coordinate system to the point coordinates [x, y] in the image coordinate system. The specific calculation formula is Where f represents the focal length of the camera, which is set to the default value of 1060 in the algorithm;
[0224] represents the Geman-McClure penalty function, σ is set to 100, which is mainly used to penalize outliers in the objective function to make the iterative optimization more stable.
[0225] 2) Prior term, which can be expressed as formula (2-2): E prior =λ β E shape +λ θ E pose (2-2);
[0226] a. Shape prior, which can be expressed as formula (2-3): E shape =||β||2 (2-3);
[0227] Among them, β represents the shape parameter in the SMPL parameterized human body model, which can be a 10-dimensional vector. The physical meaning of this shape prior term is to constrain the shape parameters of the human body not to deviate too much from the average human body.
[0228] b. Posture prior, which can be expressed as formula (2-4): E pose =||θ latent ||2 (2-4);
[0229] Among them, θ latent It represents the encoding of the posture parameters of the SMPL parameterized human body model in the latent space, which can be a 32-dimensional vector. The physical meaning of this posture prior term is to constrain the posture parameters of the human body not to deviate too much from the normal posture.
[0230] θ latent The encoding uses a variational autoencoder as shown in Figure 10C. The motion prior variational autoencoder is trained on a large number of data sets of human 3D postures. Therefore, common human postures are encoded in the latent space, which can prevent the occurrence of some postures that the human body cannot make.
[0231] 3) Regularization term, which can be expressed as formula (2-5): E reg =λ s E smooth +λ b E bone_length +λ cv E contact_vel +λ ch E contact_height (2-5);
[0232] Among them, E smooth Indicates that the positions of 3D joint points in adjacent frames should be relatively close;
[0233] E bone_length Indicates that the length of the bone should remain consistent in different frames;
[0234] E contact_vel It means that if the foot is grounded in two adjacent frames, the foot speed error is 0;
[0235] E contact_height It means that if the foot is touching the ground in a certain frame, the height of the foot joint from the ground is less than a certain threshold. The threshold is set to 2 cm in the algorithm.
[0236] In step 804 , the 3D posture of the standard human body is adapted to different characters through motion redirection.
[0237] This step corresponds to stage 3 in Figure 8B and is the action redirection process. The role of this step in the algorithm pipeline is to transfer the actions on the SMPL parameterized human body model calculated by the algorithm to other target characters.
[0238] Figure 11 is a schematic diagram of the application interface of the virtual object animation generation method provided in an embodiment of the present application in a virtual engine. The virtual engine can be a virtual engine 5 (UE5). As shown in Figure 11, in the application interface, select "Action Panel", select "Video" as the file type, click "Select File", and upload a video in the required format (such as MP4 format); then click the "Generate" button, wait for the algorithm to complete the operation to obtain human body movements; finally, view the obtained human body movement effects on the displayed character.
[0239] The virtual object animation generation method provided by the embodiments of this application, with its optimized overall solution, ensures the accuracy of motion captured in video motion capture. In scenes like dancing and walking, the character's movements remain nearly identical to those in the video. By introducing motion priors into the 3D posture correction module, the rationality of human movement in walking scenes is ensured, significantly improving the effectiveness of video motion capture.
[0240] It is understandable that in the embodiments of the present application, when video frame information and other related data are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0241] The following further describes an exemplary structure of a virtual object animation generation device 455 provided in an embodiment of the present application implemented as a software module. In some embodiments, as shown in Figure 2, the software modules stored in the virtual object animation generation device 455 of the memory 440 may include: a first acquisition module 4551, configured to acquire a video to be processed and determine the initial three-dimensional posture information, two-dimensional posture information and foot grounding information of a target object in the video to be processed; a first determination module 4552, configured to determine the posture change information between two adjacent video frames in the video to be processed based on the initial three-dimensional posture information of the target object; a second determination module 4553, configured to determine the posture information to be corrected of the target object based on the initial three-dimensional posture information and the posture change information of the target object; a first processing module 4554, configured to correct the posture information to be corrected of the target object based on the two-dimensional posture information and foot grounding information of the target object to obtain the corrected posture information of the target object; and an action redirection module 4555, configured to redirect the action of the corrected posture information to the virtual object to generate a virtual object animation video corresponding to the video to be processed.
[0242] In some embodiments, the initial three-dimensional posture information includes initial posture parameters and initial shape parameters. The first determination module 4551 is also configured to: obtain a trained motion prior model; use the trained motion prior model to predict the initial posture parameters of the target object to obtain the posture change information between the adjacent video frames.
[0243] In some embodiments, the first determining module 4551 is further configured to: divide the to-be-processed video into a plurality of video segments; when it is determined that the i-th video frame is the first frame in the video segment, determine the initial three-dimensional posture information of the target object as the to-be-corrected posture information of the target object, i=1, 2, ..., N, N is the total number of video frames in the to-be-processed video, and the i-th video frame is the current video frame where the target object is located; when it is determined that the i-th video frame is not the first frame in the video segment, obtain the corrected posture information of the target object in the (i-1)-th video frame, the corrected posture information including corrected posture parameters and corrected shape parameters; determine the to-be-corrected posture parameters of the target object based on the posture change information of the target object from the (i-1)-th video frame to the i-th video frame and the corrected posture parameters of the target object in the (i-1)-th video frame;
[0244] The initial shape parameters corresponding to the target object and the to-be-corrected posture parameters of the target object are determined as the to-be-corrected posture information of the target object.
[0245] In some embodiments, the first processing module 4554 is further configured to: determine the reprojection error of the target object based on the to-be-corrected posture information, two-dimensional posture information and camera parameters of the target object; determine the prior information of the target object based on the to-be-corrected posture information of the target object, the prior information including posture error and shape error; determine the regularization term error of the target object based on the foot contact information and the corrected posture information of the target object in the (i-1)th video frame, and the foot contact information and to-be-corrected posture information of the target object in the i-th video frame; determine the total error of the target object based on the reprojection error value, prior information and regularization term error of the target object; and iteratively optimize the to-be-corrected posture information of the target object using the gradient descent method until the total error of the target object reaches the minimum value, thereby obtaining the corrected posture information of the target object.
[0246] In some embodiments, the two-dimensional posture information includes reference coordinate information of each joint point of the target object and the confidence of each joint point. The first processing module 4554 is further configured to: determine the camera coordinate information of each joint point of the target object based on the to-be-corrected posture information and the two-dimensional posture information of the target object; determine the image coordinate information of each joint point based on the camera parameters and the camera coordinate information of each joint point of the target object; determine the coordinate error of each joint point based on the image coordinate information of each joint point and the reference coordinate information of each joint point; determine the reprojection error of the target object based on the coordinate error of each joint point and the confidence of each joint point.
[0247] In some embodiments, the posture information to be corrected includes posture parameters to be corrected and shape parameters to be corrected. The first processing module 4554 is further configured to: determine the shape prior information of the target object based on the shape parameters to be corrected of the target object; encode the posture parameters to be corrected of the target object to obtain the encoding results of the posture parameters to be corrected in the latent space; determine the posture prior information of the target object based on the encoding results of the posture parameters to be corrected in the latent space; determine the prior information of the target object based on the shape prior information of the target object and the posture prior information of the target object.
[0248] In some embodiments, the first processing module 4554 is further configured to: determine the position difference of each joint point of the target object and the length difference of each bone of the target object based on the corrected posture information of the target object in the (i-1)th video frame and the posture information to be corrected of the target object in the i-th video frame; determine the foot velocity error of the target object based on the foot grounding information of the target object in the (i-1)th video frame and the foot grounding information of the target object in the i-th video frame; determine the height difference between the foot joint of the target object and the ground; determine the regularization term error of the target object based on the position difference of each joint point of the target object, the length difference of each bone of the target object, the foot velocity error of the target object and the height difference between the foot joint point and the ground.
[0249] In some embodiments, the virtual object animation generating device 455 further includes: a second acquisition module, configured to acquire a training video and a preset motion prior model, wherein the training video includes multiple training video frames; a third determination module, configured to determine the kth training video frame and the k+1th training video frame as the kth training data pair, wherein k=1, 2,…, M-1, and M is the total number of video frames in the training video; a second processing module, configured to encode the two training video frames in the kth training data pair to obtain the encoding results of the two training video frames in the kth training data pair in the latent space; a fourth determination module, configured to determine the predicted change information of the two training video frames in the kth training data pair based on the encoding results of the two training video frames in the kth training data pair in the latent space; a training module, configured to train the preset motion prior model based on the predicted change information of the two training video frames in each training data pair to obtain a trained motion prior model.
[0250] In some embodiments, the first acquisition module 4551 is further configured to: acquire a trained three-dimensional posture estimation model, a trained two-dimensional posture estimation model, and a trained foot grounding detection model; use the trained three-dimensional posture estimation model to perform posture estimation on the video to be processed, and obtain the initial three-dimensional posture information of the target object in the video to be processed; use the trained two-dimensional posture estimation model to perform posture estimation on the video to be processed, and obtain the two-dimensional posture information of the target object; use the trained foot grounding detection model to predict the two-dimensional posture information of the target object, and obtain the foot grounding information of the target object.
[0251] In some embodiments, the action redirection module 4555 is further configured to: obtain limb mesh information of the virtual object to be driven; and based on the limb mesh information of the virtual object, adapt the corrected posture information to the virtual object through action redirection to drive the virtual object to perform the action corresponding to the corrected posture information.
[0252] It should be noted that the description of the embodiment of the virtual object animation generation device described above is similar to the description of the method described above and has the same beneficial effects as the method embodiment. For any technical details not disclosed in the embodiment of the virtual object animation generation device of this application, those skilled in the art should refer to the description of the method embodiment of this application for understanding.
[0253] The present invention provides a computer program product including a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the virtual object animation generation method described in the present invention.
[0254] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will execute the virtual object animation generation method provided in an embodiment of the present application, for example, the virtual object animation generation method shown in Figures 3A and 5C.
[0255] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0256] In some embodiments, computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0257] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0258] As an example, executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.
[0259] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A method for generating a virtual object animation, the method comprising: Acquire a video to be processed, and determine initial three-dimensional posture information, two-dimensional posture information, and foot grounding information of a target object in the video to be processed; Based on the initial three-dimensional posture information of the target object, determining posture change information between two adjacent video frames in the video to be processed; Determining the to-be-corrected posture information of the target object based on the initial three-dimensional posture information of the target object and the posture change information; Correcting the to-be-corrected posture information of the target object based on the two-dimensional posture information and the foot contact information of the target object to obtain the corrected posture information of the target object; The corrected posture information action is redirected to a virtual object to generate a virtual object animation video corresponding to the video to be processed.
2. The method according to claim 1, wherein: The initial three-dimensional posture information includes initial posture parameters and initial shape parameters, and determining posture change information between two adjacent video frames in the video to be processed based on the initial three-dimensional posture information of the target object includes: Obtain a trained motion prior model; The trained motion prior model is used to predict the initial posture parameters of the target object to obtain posture change information between two adjacent video frames in the video to be processed.
3. The method according to claim 2, wherein: The determining the to-be-corrected posture information of the target object based on the initial three-dimensional posture information of the target object in each video frame and the posture change information includes: Dividing the video to be processed into multiple video segments; When it is determined that the i-th video frame is the first frame in the video clip, the initial three-dimensional posture information of the target object is determined as the posture information to be corrected of the target object, i=1, 2, ..., N, N is the total number of video frames in the video to be processed, and the i-th video frame is the current video frame where the target object is located; When it is determined that the i-th video frame is not the first frame in the video clip, obtaining corrected posture information of the target object in the (i-1)-th video frame, wherein the corrected posture information includes corrected posture parameters and corrected shape parameters; Determine the to-be-corrected posture parameters of the target object based on the posture change information of the target object from the (i-1)th video frame to the i-th video frame and the corrected posture parameters of the target object in the (i-1)th video frame; The initial shape parameters corresponding to the target object and the to-be-corrected posture parameters of the target object are determined as the to-be-corrected posture information of the target object.
4. The method according to claim 1, wherein: The correcting the to-be-corrected posture information of the target object based on the two-dimensional posture information and the foot contact information of the target object to obtain the corrected posture information of the target object includes: Determining a reprojection error of the target object based on the to-be-corrected posture information, the two-dimensional posture information, and the camera parameters of the target object; Determining prior information of the target object based on the to-be-corrected posture information of the target object; Determine a regularization term error of the target object based on the foot contact information and the corrected posture information of the target object in the (i-1)th video frame, and the foot contact information and the to-be-corrected posture information of the target object in the i-th video frame; Determining a total error of the target object based on a reprojection error value of the target object, prior information, and a regularization term error; The to-be-corrected posture information of the target object is iteratively optimized using a gradient descent method until the total error of the target object reaches a minimum value, thereby obtaining the corrected posture information of the target object.
5. The method according to claim 4, wherein: The two-dimensional posture information includes reference coordinate information of each joint point of the target object and the confidence of each joint point, and the reprojection error of the target object is determined based on the to-be-corrected posture information, the two-dimensional posture information and the camera parameters of the target object, including: Determining camera coordinate information of each joint point of the target object based on the to-be-corrected posture information and the two-dimensional posture information of the target object; Determine image coordinate information of each joint point based on the camera parameters and camera coordinate information of each joint point of the target object; Determine the coordinate error of each joint point based on the image coordinate information of each joint point and the reference coordinate information of each joint point; Based on the coordinate errors of the respective joint points and the confidence levels of the respective joint points, a reprojection error of the target object is determined.
6. The method according to claim 4, wherein: The posture information to be corrected includes posture parameters to be corrected and shape parameters to be corrected, the prior information includes posture prior information and shape prior information, and the prior information of the target object is determined based on the posture information to be corrected, including: Determining shape prior information of the target object based on the shape parameters to be corrected of the target object; Encoding the to-be-corrected posture parameters of the target object to obtain encoding results of the to-be-corrected posture parameters in a latent space; Determining the posture prior information of the target object based on the encoding result of the posture parameter to be corrected in the latent space; Based on the shape prior information of the target object and the posture prior information of the target object, the prior information of the target object is determined.
7. The method according to claim 4, wherein: The determining of the regularization term error of the target object based on the foot contact information and the corrected posture information of the target object in the (i-1)th video frame, and the foot contact information and the to-be-corrected posture information of the target object in the i-th video frame, comprises: Based on the corrected posture information of the target object in the (i-1)th video frame and the to-be-corrected posture information of the target object in the i-th video frame, determining the position difference of each joint point of the target object and the length difference of each bone of the target object; Determine a foot speed error of the target object based on the foot contact information of the target object in the (i-1)th video frame and the foot contact information of the target object in the i-th video frame; Determining a height difference between a foot joint of the target object and the ground; The regularization term error of the target object is determined based on the position difference of each joint point of the target object, the length difference of each bone of the target object, the foot speed error of the target object and the height difference between the foot joint point and the ground.
8. The method according to any one of claims 2 to 7, wherein: The method further comprises: Obtaining a training video and a preset motion prior model, wherein the training video includes a plurality of training video frames; Determine the kth training video frame and the k+1th training video frame as the kth training data pair, where k=1, 2, ..., M-1, and M is the total number of video frames of the training video; Performing encoding processing on the two training video frames in the k-th training data pair to obtain encoding results of the two training video frames in the k-th training data pair in the latent space; Determining predicted change information of the two training video frames in the kth training data pair based on the encoding results of the two training video frames in the kth training data pair in the latent space; The parameters of the preset motion prior model are adjusted based on the posture change information of the two video frames in each training data pair to obtain a trained motion prior model.
9. The method according to any one of claims 1 to 7, wherein: The determining of initial three-dimensional posture information, two-dimensional posture information and foot contact information of the target object in the video to be processed includes: Obtain a trained 3D posture estimation model, a trained 2D posture estimation model, and a trained foot contact detection model; Using the trained three-dimensional pose estimation model, the pose estimation is performed on the video to be processed to obtain initial three-dimensional pose information of the target object in the video to be processed; Using the trained two-dimensional posture estimation model, the posture of the video to be processed is estimated to obtain the two-dimensional posture information of the target object; The trained foot contact detection model is used to predict and process the two-dimensional posture information of the target object to obtain the foot contact information of the target object.
10. The method according to any one of claims 1 to 7, wherein: The step of redirecting the corrected posture information action to a virtual object to generate a virtual object animation video corresponding to the video to be processed includes: Obtaining limb mesh information of the virtual object to be driven; Based on the limb mesh information of the virtual object, the corrected posture information is adapted to the virtual object through action redirection to drive the virtual object to perform the action corresponding to the corrected posture information, and generate a virtual object animation video corresponding to the video to be processed.
11. A virtual object animation generation device, the device comprising: A first acquisition module is configured to acquire a video to be processed, and determine initial three-dimensional posture information, two-dimensional posture information, and foot grounding information of a target object in the video to be processed; A first determination module is configured to determine the posture change information between two adjacent video frames in the video to be processed based on the initial three-dimensional posture information of the target object; A second determination module is configured to determine the to-be-corrected posture information of the target object based on the initial three-dimensional posture information of the target object and the posture change information; A first processing module is configured to perform correction processing on the to-be-corrected posture information of the target object based on the two-dimensional posture information and the foot contact information of the target object to obtain the corrected posture information of the target object; The action redirection module is configured to redirect the corrected posture information action to the virtual object and generate a virtual object animation video corresponding to the video to be processed.
12. An electronic device, comprising: A memory for storing computer executable instructions; A processor, configured to implement the method according to any one of claims 1 to 10 when executing the computer executable instructions stored in the memory.
13. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 10.
14. A computer program product, comprising a computer program or computer executable instructions, wherein the computer program or computer executable instructions, when executed by a processor, implements the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Data processing method and device, electronic device and computer readable storage medium
CN113706699A
Video generation method and device, electronic equipment and readable storage medium
CN113961746A
Human-shaped agent posture generation method based on physical simulation
CN115018963A
Virtual object animation generation method and device, electronic equipment and readable storage medium
CN116958337A
Posture estimation apparatus and method of posture estimation
US20070268295A1
Cited By
Methods, devices, media, and electronic devices for changing the posture of a human skeleton model.
JP7923437B1
