Three-dimensional model control method, device, equipment and storage medium
By acquiring the feature points of the target character and the pose difference of the 3D model, calculating the pose transformation parameters, and adjusting the pose of the 3D model, the problem of data redundancy in generating personalized 3D animation applications is solved, and efficient control on mobile devices is achieved.
Patent Information
- Application Number
- CN202011485517.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-12-16
AI Technical Summary
Existing technologies suffer from data redundancy issues in applications that generate personalized 3D animations, resulting in excessive data usage and making them difficult to deploy on mobile devices.
By obtaining the position of the target person's feature points, using the initial pose of the 3D model and the position of the target person's feature points, the pose transformation parameters are calculated, and the initial pose is adjusted to obtain the actual pose, reducing the amount of computation so as to control the 3D model on the mobile device.
It enables efficient control of 3D models on mobile devices, reduces computational load, and facilitates the implementation of 3D model control methods.
Smart Images

Figure CN112562048B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to the fields of computer vision, augmented reality, and deep learning. Background Art
[0002] In the process of generating and controlling the dynamic display of personalized three-dimensional models based on user images, there is a large amount of data redundancy due to the complexity of the algorithm, which causes the problem of excessive traffic in the application program for generating personalized three-dimensional animations.
[0003] Based on the above problems, it is difficult to deploy applications that generate personalized 3D animations on mobile devices. Summary of the invention
[0004] The present application provides a control method, device, equipment and storage medium for a three-dimensional model.
[0005] According to one aspect of the present application, a method for controlling a three-dimensional model is provided, and the method may include the following steps:
[0006] Get the location of the target person's feature points;
[0007] Determine the pose conversion parameters of the 3D model using the initial pose of the 3D model and the positions of the feature points of the target person;
[0008] The initialization pose is adjusted using the pose conversion parameters to obtain the actual pose.
[0009] According to another aspect of the present application, a control device for a three-dimensional model is provided, and the device may include the following components:
[0010] A target person feature point location acquisition module is used to acquire the location of the target person feature point;
[0011] A posture conversion parameter determination module is used to determine the posture conversion parameters of the three-dimensional model by using the initialization posture of the three-dimensional model and the position of the characteristic points of the target person;
[0012] The actual pose generation module is used to adjust the initialization pose using the pose conversion parameters to obtain the actual pose.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0014] at least one processor; and
[0015] a memory communicatively connected to at least one processor; wherein,
[0016] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the method provided by any embodiment of the present application.
[0017] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to execute a method provided by any embodiment of the present application.
[0018] According to another aspect of the present application, a computer program product is provided, comprising computer instructions, which implement the method in any embodiment of the present application when executed by a processor.
[0019] Through the above solution of the present application, the three-dimensional model is adjusted by using the difference between the characteristic points of the target person and the position and posture of the three-dimensional model, and the control of the three-dimensional model can be realized with relatively less amount of calculation. This makes it easier to transfer the execution subject of the three-dimensional model control to the mobile terminal, so as to facilitate the implementation of the three-dimensional model control method.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0022] Figure 1 is a flow chart of a control method of a three-dimensional model according to the present application;
[0023] Figure 2 is a schematic diagram of a facial model according to the present application;
[0024] Figure 3 is a schematic diagram of the interaction relationship between nodes in the facial area according to the present application;
[0025] Figure 4 is a flow chart for determining posture transformation parameters according to the present application;
[0026] Figure 5 It is a schematic diagram of the three axes of the coordinate system corresponding to the target pose matrix of this application;
[0027] Figure 6 is a schematic diagram of a coordinate system comparison including mis-cut information according to the present application;
[0028] Figure 7 is a schematic diagram of coordinate system comparison after the miscut information is corrected according to the present application;
[0029] Figure 8 is a schematic diagram of a control device according to a three-dimensional model of the present application;
[0030] Fig. 9 It is a block diagram of an electronic device used to implement the three-dimensional model control method of the embodiment of the present application. DETAILED DESCRIPTION
[0031] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0032] like Figure 1 As shown, the embodiment of the present application provides a control method for a three-dimensional model, which may include the following steps:
[0033] S101: Obtain the position of the target person's feature points;
[0034] S102: Determine the posture conversion parameters of the three-dimensional model using the initial posture of the three-dimensional model and the positions of the feature points of the target person;
[0035] S103: Using the posture conversion parameters to adjust the initial posture to obtain the actual posture.
[0036] The executors of this application may be smart phones, smart speakers and other screen devices.
[0037] The position of the feature point of the target person can be obtained from the image. In the implementation mode of the present application, only the face of the target person is used as an example for description. In the actual scene, other parts such as the torso of the target person may also be included.
[0038] For example, the image of the target person may be obtained in advance by downloading, shooting, etc. The feature points may be points representing the positions of the facial contour and facial features of the target person. The positions of the feature points are the coordinates of each point on the facial contour and facial features of the target person.
[0039] Or, combined Figure 2 As shown, the feature points can also be the skin skeleton model and the patch model of the target person.
[0040] The skinned skeleton model consists of a hierarchical tree node (Node) and a skin area covering the node. Each node saves its local rigid pose (TRS, Translate, Rotation, Scale).
[0041] The local rigid pose is presented in a 4×4 matrix. The TRS information of the node is passed layer by layer from the upper layer (root node) to the lower layer (child node). The global rigid pose of the facial area can be calculated based on the local rigid pose of each node.
[0042] Each node contains a skin area covering three-dimensional vertices (Vertex). Each three-dimensional vertex is controlled by at least one node, so that its position (three-dimensional coordinates) can be changed.
[0043] Combination Figure 3 As shown, Figure 3 Node Root Can represent the root node, by Node Root Starting from the root node, from left to right, the node levels descend in order. For example, when modifying Node F When the node corresponds to the nose area, F The child nodes of a node ( Figure 3 Node G corresponding to the nose tip area), and as a Node G The child nodes of a node ( Figure 3 Node H Each vertex of the corresponding triangular area of the nose tip will be affected.
[0044] Figure 2 Each triangle on the face of the model is a patch, and all patches are combined into a patch model. The patch model and the skinned skeleton model have the same topological relationship, that is, the number of vertices, the relative positions between vertices, and the connection order of vertices are the same.
[0045] The initialization pose of the 3D model may include a skinned skeleton model, that is, a 4×4 matrix is used for presentation. In addition, the initialization pose also includes the position of the 3D vertex in each node. The 3D vertex of each node is used as the feature point of the 3D model.
[0046] Based on this, the difference between the position of the feature point of the 3D model and the position of the feature point of the target person is calculated, and the pose conversion parameter can be obtained by using the difference. For example, the pose conversion parameter can use the coordinate difference of the feature point to adjust the initial pose of the 3D model to obtain the actual pose.
[0047] In addition, when the feature points are the positions of points on the facial contour and facial features of the target person, the initialization pose of the 3D model can be the coordinates of the feature points such as the facial contour and facial features of the 3D model. The difference between the coordinates of the feature points of the 3D model and the coordinates of the feature points of the target person can be used as pose conversion parameters to adjust the initialization pose of the 3D model and obtain the actual pose.
[0048] Through the above solution of the present application, the three-dimensional model is adjusted by using the difference between the characteristic points of the target person and the position and posture of the three-dimensional model, and the control of the three-dimensional model can be realized with relatively less amount of calculation. This makes it easier to transfer the execution subject of the three-dimensional model control to the mobile terminal, so as to facilitate the implementation of the three-dimensional model control method.
[0049] Combination Figure 4 As shown, in one implementation, step S102 may include the following sub-steps:
[0050] S1021: Obtaining rigid posture parameters corresponding to the initialization posture and positions of feature points of the three-dimensional model;
[0051] S1022: Calculating the difference between the position of the feature point of the three-dimensional model and the position of the feature point of the target person;
[0052] S1023: Obtaining the posture conversion parameters to be corrected by using the difference and the rigid posture parameters;
[0053] S1024: Perform error correction on the posture conversion parameters to be corrected to obtain the posture conversion parameters of the three-dimensional model.
[0054] The initialization pose of the three-dimensional model may include a skinned skeleton model form, that is, it is presented in a 4×4 matrix. The 4×4 matrix represents the initialization rigid pose of the three-dimensional model.
[0055] In addition, the initialization pose also includes the position of the three-dimensional vertex in each node, that is, the initialization position of the three-dimensional vertex. In the current implementation, the three-dimensional vertex of each node can be used as a feature point of the three-dimensional model.
[0056] According to the positions of the feature points of the target person and the positions of the feature points of the three-dimensional model, the difference between the positions of the feature points of the three-dimensional model and the positions of the feature points of the target person can be calculated.
[0057] Using the calculated differences and the rigid pose parameters, the transfer matrix can be calculated. The target pose matrix can be obtained by multiplying the rigid pose parameters and the transfer matrix.
[0058] The target pose matrix can be used as the pose transformation parameter to be corrected.
[0059] The target pose matrix can be converted into a bone drive coefficient (the bone drive coefficient can also be converted into a pose matrix). The bone drive coefficient is represented by 9 values, including the xyz 3-axis translation value, 3 Euler angle rotation values, and 3 scaling values.
[0060] When the bone driving coefficient is obtained, the initial rigid pose of the three-dimensional model is adjusted using the bone driving coefficient to obtain the actual pose.
[0061] The target pose matrix calculated using the calculated difference and the rigid pose parameters is also a 4×4 matrix. The structure of this matrix is:
[0062]
[0063] The matrix contains information such as rotation, displacement, scaling, and shearing. In the matrix, Tx, Ty, and Tz represent the displacement information corresponding to the three axes respectively; and the rotation, scaling, and shearing information are coupled to the matrix m. 00 、m 01 、m 02 、m 10 、m 11 、m 12 、m 20 、m 21 、m 22 And other parameters.
[0064] Combination Figure 5 As shown in the figure, the three lines indicated by solid arrows are the three axes of the coordinate system corresponding to the matrix. In the process of converting the target pose matrix to the bone drive coefficient, since the bone drive coefficient only contains rotation, scaling, and displacement information. Since the miscut information is coupled in the matrix, if the target pose matrix is not corrected, there will be a large error in the bone drive coefficient obtained by converting the target pose matrix. This error is caused by the miscut information.
[0065] Combination Figure 6 As shown, when conducting a comparative test, the target pose matrix containing the miscut information (to be corrected) is converted into the bone drive coefficient, and then the bone drive coefficient is converted into the target pose matrix, and the difference between the two can be intuitively seen. Figure 6 The three lines pointed by the solid arrows are Figure 5 The three lines pointed by the solid arrows are the same, which are the three axes of the target pose matrix converted to the corresponding coordinate system. Figure 6 The three lines pointed by the dotted arrows are the three axes of the coordinate system corresponding to the target pose matrix to be corrected, which is converted into the bone drive coefficients, and then the bone drive coefficients are converted into the target pose matrix. Figure 6 and Figure 5 By comparison, it can be seen that although one axis can be coincident, the errors of the other two axes are relatively large.
[0066] In the current implementation, decoupling can be used to remove the misalignment information from the target pose matrix, thereby achieving error correction of the pose conversion parameters to be corrected and obtaining the pose conversion parameters of the three-dimensional model.
[0067] Through the above scheme, by correcting the posture conversion parameters to be corrected, the interference of the miscut information on the posture conversion can be reduced, thereby achieving the effect of reducing the error.
[0068] In one implementation, step S1024 may specifically perform error correction in the following manner:
[0069] The pose transformation parameters to be corrected are subjected to singular value decomposition to obtain the corrected results.
[0070] Using the singular value decomposition algorithm, the pose conversion parameters to be corrected (target pose matrix) can be decomposed to obtain three decomposition matrices U, Σ, and V.
[0071] The corrected pose transformation parameter (MatTRS) can be expressed as MatTRS = U*V T , that is, the corrected target pose matrix can be expressed as MatTRS = U * V T , where V T Represents the transposed matrix of the decomposition matrix V.
[0072] In another way, error correction can also be performed in the following way:
[0073] The pose conversion parameters are adjusted so that the difference between the inverse matrix and the transposed matrix of the pose conversion parameters is within the allowable range.
[0074] The pose conversion parameter to be corrected (target pose matrix) can be denoted as M.
[0075] Calculate the transposed matrix of M, and record the result as M T ; Calculate the inverse matrix of M, and record the result as M -1 .
[0076] By adjusting the pose transformation parameters to be corrected, M T =M -1 The adjustment can be as follows:
[0077]
[0078] In the current implementation, the allowable range of difference can be set, and when the error between the inverse matrix of the posture conversion parameters and the transposed matrix of the posture conversion parameters is within the allowable range of difference, it indicates that the adjustment is completed. Alternatively, the number of calculations can be preset, for example, after completing N calculations (adjusting the posture conversion parameters to be corrected N times), it can be indicated that the error between the inverse matrix of the posture conversion parameters and the transposed matrix of the posture conversion parameters is within the allowable range of difference, where N is a positive integer.
[0079] Combination Figure 7 As shown, Figure 7The three lines pointed by the solid arrows are Figure 5 The three lines pointed by the solid arrows are the same, which are the three axes of the target pose matrix converted to the corresponding coordinate system. Figure 7 The three lines pointed by the dotted arrows are the three axes of the coordinate system corresponding to the conversion of the corrected target pose matrix into the bone drive coefficients, and then the bone drive coefficients into the target pose matrix. Figure 7 and Figure 6 By comparison, it can be concluded that the corrected posture transformation parameters (target posture matrix) achieve balanced adjustment among the three axes, reducing the error.
[0080] In one implementation, step S102 may further include the following sub-steps:
[0081] Among the posture conversion parameters, determine the parameters that affect the displacement, and clear the parameters that affect the displacement; and / or
[0082] Among the posture conversion parameters, the parameters affecting the scaling are determined and the parameters affecting the scaling are normalized.
[0083] As mentioned above, the pose transformation parameters are a 4×4 matrix, which contains information such as rotation, displacement, scaling, and shearing. Among them, Tx, Ty, and Tz in the matrix are used to represent displacement information, that is, Tx, Ty, and Tz can be determined as parameters that affect the displacement.
[0084] In the matrix, the influence of displacement on subsequent calculations can be eliminated by setting Tx, Ty, and Tz to 0.
[0085] In addition, based on the geometric relationship corresponding to the matrix, each column parameter in the matrix can be regarded as three longitudinal quantities. By normalizing the three longitudinal quantities, the influence of scaling on subsequent calculations can be eliminated.
[0086] For example, the normalized result of the first column of parameters can be written as:
[0087] Similarly, the parameters in the second and third columns are normalized.
[0088] Through the above scheme, the influence of displacement and scaling on subsequent calculations can be eliminated, thereby improving the accuracy of calculations.
[0089] like Figure 8 As shown, the present application provides a control device for a three-dimensional model, which may include the following components:
[0090] The target person feature point location acquisition module 801 is used to acquire the location of the target person feature point;
[0091] A posture conversion parameter determination module 802 is used to determine the posture conversion parameters of the three-dimensional model using the initialization posture of the three-dimensional model and the position of the feature points of the target person;
[0092] The actual posture generation module 803 is used to adjust the initialization posture using the posture conversion parameters to obtain the actual posture.
[0093] In one implementation, the posture conversion parameter determination module 802 may further include:
[0094] The posture information acquisition submodule is used to obtain the rigid posture parameters corresponding to the initialization posture and the positions of the feature points of the three-dimensional model;
[0095] A difference calculation submodule, used to calculate the difference between the position of the feature points of the three-dimensional model and the position of the feature points of the target person;
[0096] A posture conversion parameter generation submodule to be corrected is used to obtain the posture conversion parameters to be corrected by using the difference and the rigid posture parameters;
[0097] The posture conversion parameter correction submodule is used to perform error correction on the posture conversion parameters to be corrected to obtain the posture conversion parameters of the three-dimensional model.
[0098] In one implementation, the posture conversion parameter correction submodule is specifically used to:
[0099] The pose transformation parameters to be corrected are subjected to singular value decomposition to obtain the corrected results.
[0100] In one embodiment, the posture conversion parameter correction submodule may further include:
[0101] A displacement correction unit, used to determine the parameters affecting the displacement among the posture conversion parameters to be corrected, and clear the parameters affecting the displacement; and / or
[0102] The scaling correction unit is used to determine the parameters affecting the scaling among the posture conversion parameters to be corrected, and normalize the parameters affecting the scaling.
[0103] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0104] like Fig. 9, is a block diagram of an electronic device according to a control method of a three-dimensional model according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0105] like Fig. 9 As shown, the electronic device includes: one or more processors 910, a memory 920, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 910 is taken as an example.
[0106] The memory 920 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the three-dimensional model control method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the three-dimensional model control method provided in the present application.
[0107] The memory 920 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the control method of the three-dimensional model in the embodiment of the present application (for example, the attached Figure 8 The processor 910 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 920, that is, the control method of the three-dimensional model in the above method implementation is realized.
[0108] The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of the electronic device according to the control method of the three-dimensional model, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 920 may optionally include a memory remotely arranged relative to the processor 910, and these remote memories may be connected to the electronic device of the control method of the three-dimensional model via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0109] The electronic device of the three-dimensional model control method may further include: an input device 930 and an output device 940. The processor 910, the memory 920, the input device 930 and the output device 940 may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0110] The input device 930 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device of the control method of the three-dimensional model, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 940 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0111] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0112] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0113] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0114] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0115] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services. The server may also be a server of a distributed system, or a server combined with a blockchain.
[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0117] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A three-dimensional model control method, comprising: Get the location of the target person's feature points; Determine the pose conversion parameters of the three-dimensional model by using the initial pose of the three-dimensional model and the positions of the feature points of the target person; Using the posture conversion parameters to adjust the initialization posture to obtain an actual posture; The step of determining the posture conversion parameters of the three-dimensional model by using the initialization posture of the three-dimensional model and the positions of the feature points of the target person includes: Obtaining rigid posture parameters corresponding to the initialization posture and positions of feature points of the three-dimensional model; Calculating the difference between the position of the feature point of the three-dimensional model and the position of the feature point of the target person; Using the difference and the rigid posture parameter, obtaining the posture conversion parameter to be corrected; Performing error correction on the posture conversion parameters to be corrected to obtain posture conversion parameters of the three-dimensional model; The error correction of the posture conversion parameter to be corrected includes: The pose conversion parameters to be corrected are subjected to singular value decomposition processing to obtain a correction result.
2. According to the method of claim 1, the error correction of the posture conversion parameters to be corrected comprises: Among the posture conversion parameters to be corrected, determining parameters that affect the displacement, and clearing the parameters that affect the displacement; and / or Among the posture conversion parameters to be corrected, parameters affecting scaling are determined, and the parameters affecting scaling are normalized.
3. A control device for a three-dimensional model, comprising: A target person feature point location acquisition module is used to acquire the location of the target person feature point; A posture conversion parameter determination module, used to determine the posture conversion parameters of the three-dimensional model by using the initialization posture of the three-dimensional model and the position of the feature points of the target person; An actual posture generation module, used to adjust the initialization posture using the posture conversion parameters to obtain an actual posture; Wherein, the posture conversion parameter determination module includes: A posture information acquisition submodule, used to obtain the rigid posture parameters corresponding to the initialization posture and the positions of the feature points of the three-dimensional model; A difference calculation submodule, used to calculate the difference between the position of the feature point of the three-dimensional model and the position of the feature point of the target person; A posture conversion parameter generation submodule to be corrected, used to obtain the posture conversion parameter to be corrected by using the difference and the rigid posture parameter; A posture conversion parameter correction submodule, used to perform error correction on the posture conversion parameters to be corrected to obtain the posture conversion parameters of the three-dimensional model; The posture conversion parameter correction submodule is specifically used for: The pose conversion parameters to be corrected are subjected to singular value decomposition processing to obtain a correction result.
4. The device according to claim 3, wherein the posture conversion parameter correction submodule comprises: A displacement correction unit, used to determine the parameters affecting the displacement among the posture conversion parameters to be corrected, and clear the parameters affecting the displacement; and / or The scaling correction unit is used to determine the parameters that affect the scaling among the posture conversion parameters to be corrected, and normalize the parameters that affect the scaling.
5. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of claim 1 or 2.
6. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to claim 1 or 2.
