Posture data processing method and device, computer device and storage medium

By identifying extreme values ​​and discrepancies in the pose data sequence and performing adaptive interpolation, the problem of noise in pose data is solved, generating more realistic and natural object animations.

CN123160735APending Publication Date: 2026-11-24TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510664835.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing techniques for attitude data processing, while Gaussian filters can remove noise, they also lead to the loss of high-frequency information, affecting the realism and naturalness of the attitude representation.

Method used

By identifying multiple extreme values ​​of posture data in the posture data sequence, the difference features between adjacent extreme values ​​are determined, and the target posture data is selected based on the matching of difference features. Adaptive interpolation is then performed to maintain the overall motion trend and avoid the loss of high-frequency information.

Benefits of technology

It achieves the goal of maintaining the overall motion trend of the target object, avoiding the loss of high-frequency information, generating more realistic and natural object animations, and improving the posture presentation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160735A_ABST
    Figure CN123160735A_ABST
Patent Text Reader

Abstract

The application relates to a posture data processing method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a posture data sequence of a target object in a target time period; identifying a plurality of posture extreme value data in the posture data sequence to obtain an extreme value data sequence arranged in time sequence; determining a difference feature between adjacent extreme value data in the extreme value data sequence; for each posture extreme value data, the posture extreme value data is determined as target posture data in the case that a posture difference between the posture extreme value data and neighbor extreme value data matches the difference feature; and based on each target posture data and time information corresponding to each target posture data in the posture data sequence, posture data interpolation is performed on a time period between each time information to obtain an updated posture sequence of the target object in the target time period. The posture presentation effect of the posture data can be improved by using the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a posture data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] With the rapid development of computer technology, computer-aided object animation generation technology has gradually become a research hotspot. In the object animation generation process, the pose data of the target object is an indispensable data foundation. Typically, pose data can be obtained through model generation or motion capture, but this pose data is easily affected by various noises, thus impacting the quality and effect of the generated animation.

[0003] In traditional techniques, Gaussian filters are often used to smooth pose data in order to reduce noise. This method can effectively remove noise, but it also leads to the loss of high-frequency information, resulting in data distortion and ultimately affecting the realism and naturalness of the pose representation. Summary of the Invention

[0004] Therefore, it is necessary to provide a posture data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the posture presentation effect in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a posture data processing method. The method includes:

[0006] Obtain the pose data sequence of the target object within the target time period;

[0007] Identify multiple extreme attitude data in the attitude data sequence to obtain an extreme value data sequence arranged in chronological order;

[0008] Determine the difference characteristics between adjacent extreme value data in the extreme value data sequence;

[0009] For each of the aforementioned extreme attitude data, if the attitude difference between the extreme attitude data and its neighboring extreme attitude data matches the difference feature, the extreme attitude data is determined as the target attitude data.

[0010] Based on the target attitude data and the time information corresponding to each target attitude data in the attitude data sequence, attitude data interpolation is performed on the time intervals between the time information to obtain the updated attitude sequence of the target object in the target time interval.

[0011] Secondly, this application also provides an attitude data processing apparatus. The apparatus includes:

[0012] The acquisition module is used to acquire the pose data sequence of the target object within the target time period;

[0013] An extreme value data identification module is used to identify multiple extreme value data in the attitude data sequence and obtain an extreme value data sequence arranged in chronological order.

[0014] A difference feature determination module is used to determine the difference features between adjacent extreme value data in the extreme value data sequence;

[0015] The attitude data filtering module is used to determine the attitude extreme data as target attitude data when the attitude difference between the attitude extreme data and the neighboring extreme data of the attitude extreme data matches the difference feature.

[0016] The attitude data interpolation module is used to perform attitude data interpolation on the time intervals between the target attitude data and the time information corresponding to each target attitude data in the attitude data sequence, so as to obtain the updated attitude sequence of the target object in the target time interval.

[0017] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the aforementioned attitude data processing method.

[0018] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the above-described attitude data processing method.

[0019] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the aforementioned attitude data processing method.

[0020] The aforementioned attitude data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product acquire an attitude data sequence of a target object within a target time period, identify multiple attitude extrema in the attitude data sequence, obtain an extrema data sequence arranged in chronological order, and determine the difference characteristics between adjacent extrema in the extrema data sequence. Then, for each attitude extrema, based on the matching of attitude differences and difference characteristics between the extrema and its neighboring extrema, the extrema is determined as the target attitude data. This enables adaptive filtering of target attitude data, ensuring that the filtered target attitude data reflects the overall motion trend of the target object. Finally, based on each target attitude data and the corresponding time information in the attitude data sequence, attitude data interpolation is performed for the time intervals between each time information to obtain an updated attitude sequence of the target object within the target time period. This enables adaptive smoothing of the attitude data sequence, avoiding the loss of high-frequency information while maintaining the overall motion trend of the target object. This allows for the generation of more realistic and natural object animations based on the updated attitude sequence, improving the attitude presentation effect of the object's attitude data. Attached Figure Description

[0021] Figure 1 This is an application environment diagram of the attitude data processing method in one embodiment;

[0022] Figure 2 This is a flowchart illustrating an attitude data processing method in one embodiment;

[0023] Figure 3 This is a schematic diagram of multiple pose parameters of the head in one embodiment;

[0024] Figure 4 This is a schematic diagram illustrating the process of identifying attitude extremum data in one embodiment;

[0025] Figure 5 This is a schematic diagram illustrating the principle of attitude extremum data recognition in one embodiment;

[0026] Figure 6 This is a flowchart illustrating the attitude data processing method in another embodiment;

[0027] Figure 7 This is a schematic diagram of the attitude data processing process in one embodiment;

[0028] Figure 8 This is a schematic diagram of head pose data obtained in one embodiment;

[0029] Figure 9 In one embodiment, from Figure 8 A schematic diagram of the extreme pose data identified in the head pose data shown;

[0030] Figure 10 In one embodiment, from Figure 9 The diagram shows the target pose data identified in the pose extremum data.

[0031] Figure 11 In one embodiment based on Figure 10 The diagram shows the interpolated attitude data obtained from the capital attitude data.

[0032] Figure 12 This is a schematic diagram comparing the posture processing results of a traditional method and the solution of this application in one embodiment;

[0033] Figure 13 This is a structural block diagram of an attitude data processing device in one embodiment;

[0034] Figure 14 This is an internal structural diagram of a computer device in one embodiment;

[0035] Figure 15 This is a diagram of the internal structure of a computer device in another embodiment. Detailed Implementation

[0036] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0037] The attitude data processing method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the application environment may include computer device 110. Computer device 110 can be a terminal or a server. The terminal can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The data storage system can store the data that the server needs to process. The data storage system can be set up separately, integrated on the server, or placed in the cloud or on other servers.

[0038] like Figure 1 As shown, computer device 110 can acquire a posture data sequence 10 of a target object within a target time period. This posture data sequence 10 contains multiple posture data 11 arranged in chronological order. Optionally, the posture data sequence can be generated by computer device 110 or acquired by computer device 110 from other devices. In some optional embodiments, computer device 110 can acquire posture data sequences collected by motion capture devices; in some optional embodiments, computer device 110 can acquire posture data sequences generated by other devices.

[0039] It's understandable that noise is inevitably introduced into pose data regardless of the acquisition method. For example, pose data obtained through image analysis or motion capture may contain noise due to image noise or dynamic environmental changes. Furthermore, head pose data sequences generated by models often exhibit a spring effect, resulting in frequent, small fluctuations in the head motion curves of a digital human drawn from these sequences. If these pose data sequences are directly used to generate digital human animations, the noise can easily lead to disjointed movements, frequent nodding or shaking of the digital human, and unnatural head motion.

[0040] Therefore, it is necessary to process the acquired attitude data sequence to obtain an updated attitude sequence to ensure the attitude presentation effect. Specifically, the computer device 110 identifies multiple attitude extreme value data 21 in the attitude data sequence 10, obtains an extreme value data sequence 20 arranged in chronological order, and determines the difference characteristics between adjacent extreme value data in the extreme value data sequence 20. For example... Figure 1 As shown, attitude extreme value data 21 refers to local extreme points in attitude data sequence 20. For each attitude extreme value data 21, based on the attitude difference and difference feature matching between the attitude extreme value data 21 and its neighboring extreme value data, the attitude extreme value data 21 is determined as the target attitude data, such as... Figure 1 As shown, based on the difference characteristics between adjacent extreme value data in the extreme value data sequence 20, target attitude data 31 can be obtained by filtering. Finally, the computer device can perform attitude data interpolation for the time intervals between each time interval based on each target attitude data 31 and the corresponding time information of each target attitude data 31 in the attitude data sequence, to obtain interpolated attitude data 41 corresponding to each time interval. These interpolated attitude data 41 and the target attitude data 31 together constitute the updated attitude sequence 40 of the target object in the target time interval.

[0041] By employing the aforementioned posture data processing method, adaptive filtering of target posture data can be achieved, ensuring that the filtered target posture data reflects the overall motion trend of the target object. Based on the filtered target posture data, posture data interpolation is performed to obtain the updated posture sequence of the target object within the target time period. This enables adaptive smoothing of the posture data sequence, avoiding the loss of high-frequency information while maintaining the overall motion trend of the target object. This allows for the generation of more realistic and natural object animations based on the updated posture sequence, thus improving the posture presentation effect of the object's posture data.

[0042] In one embodiment, a posture data processing method is provided, which can be applied to a computer device, which can be a terminal or a server. Figure 2 As shown, the method includes the following steps:

[0043] Step S202: Obtain the pose data sequence of the target object during the target time period.

[0044] The target object refers to the object whose posture data needs to be processed. This target object can be a physical object such as a natural person or animal, or a virtual object such as a digital person or digital animal. The posture data processing method provided in this application can be applied to scenarios such as virtual object control, film and television production, augmented reality, and virtual reality.

[0045] In an optional embodiment, virtual objects can also refer to movable objects in a virtual scene, such as virtual characters, virtual roles, virtual animals, etc. Optionally, when the virtual scene is a three-dimensional virtual scene, the virtual objects can be three-dimensional models created based on animation skeletal technology. Each virtual object has its own shape, volume, and orientation in the three-dimensional virtual scene and occupies a portion of the space in the three-dimensional virtual scene.

[0046] The attitude data sequence comprises multiple attitude data points arranged chronologically within a target time period. Attitude data describes the attitude of a target object in space; in other words, attitude data characterizes the attitude of the target object. This attitude data may include attitude parameters corresponding to multiple moving parts of the target object.

[0047] Taking a digital human as an example, the target object's posture data can include head posture data, elbow posture data, finger posture data, etc. Head posture data can include pitch, yaw, and roll angles. The left-right direction of the digital human's head is defined as the X-axis, i.e., from left to right or from right to left; the front-back direction of the digital human's head is defined as the Y-axis, i.e., from front to back or from back to front; and the up-down direction of the digital human's head is defined as the Z-axis, i.e., from top to bottom or from bottom to top.

[0048] like Figure 3 As shown, pitch angle refers to the rotation of the head around the horizontal axis (Y-axis), manifested as nodding or tilting the head up or down. Optionally, the pitch angle is positive when the digital human tilts its head down and negative when it tilts its head up. Pitch angle is crucial for expressing a digital human's focus on a specific object or conveying emotions such as thinking or agreement. Yaw angle refers to the rotation of the head around the vertical axis (Z-axis), manifested as tilting the head left or right. Optionally, the yaw angle is negative when the digital human looks to the left and positive when it looks to the right. Yaw angle is particularly important for expressing a digital human looking around or interacting with its surroundings. Roll angle refers to the rotation of the head around the vertical axis (X-axis), manifested as tilting the head left or right. Optionally, the yaw angle is positive when the digital human tilts its head to the right and negative when it tilts its head to the left. Yaw angle plays an important role in expressing emotions such as confusion, curiosity, or relaxation in a digital human.

[0049] In practical applications, computer devices can acquire the posture data sequence of a target object within a target time period through various methods.

[0050] In an optional embodiment, the computer device can acquire an image of the target object and obtain the target object's pose data by performing keypoint detection and localization on the target object in the image. For example, pose data of the human body can be generated by detecting the positions of multiple skeletal keypoints and calculating their relative positional relationships.

[0051] In an optional embodiment, the computer device can utilize a deep learning model to generate pose data for a target object across multiple time frames within a target time period, thereby obtaining a pose data sequence. For example, the computer device can apply a Transformer architecture to generate latent feature vectors, which are then combined with a temporal encoder to generate pose data for the target object.

[0052] In an optional embodiment, a motion capture device can be used to continuously acquire posture data of a target object to obtain a sequence of posture data of the target object over a target time period. Thus, a computer device can communicate with the motion capture device to acquire the posture data acquired by the motion capture device, thereby obtaining a sequence of posture data of the target object over the target time period.

[0053] In an optional embodiment, the computer device can collect multiple posture data for a posture acquisition object and transfer these collected posture data from the posture acquisition object to the target object as the posture data of the target object, which can then be used for subsequent object control, animation generation, and other scenarios for the target object.

[0054] In practical applications, computer equipment can acquire attitude data sequences corresponding to multiple moving parts of a target object, and process the attitude data for each moving part separately. Taking head attitude as an example, computer equipment can acquire attitude data sequences corresponding to head pitch angle, head yaw angle, and head roll angle, and process each attitude data sequence separately.

[0055] In one possible implementation, the computer device can acquire the original posture data sequence of the target object within an original time interval, divide the original posture data sequence into multiple sub-sequences, and thus obtain the posture data sequences corresponding to the target object in multiple target time periods. Each posture data sequence is then processed separately to improve efficiency. The specific method for dividing the original posture data sequence into multiple sub-sequences is not unique. Optionally, the computer device can divide the original time interval into multiple target time periods according to a set duration, and then divide the original posture data sequence into posture data sequences corresponding to each target time period. Optionally, the computer device can acquire the target object's voice messages within the original time interval, and based on this voice information, analyze the target object's emotional changes within the original time interval, divide the original time interval into multiple target time periods, and then divide the original posture data sequence into posture data sequences corresponding to each target time period. In this case, the target object exhibits different emotions in two adjacent target time periods.

[0056] Step S204: Identify multiple extreme values ​​of attitude data in the attitude data sequence to obtain an extreme value data sequence arranged in chronological order.

[0057] In this context, attitude extreme value data refers to the extreme data points in the attitude data. This attitude extreme value data can include attitude peak data and attitude valley data. Peak data refers to local maxima in the data sequence, and valley data refers to local minima in the data sequence. For example, such as... Figure 4As shown, the computer device can identify multiple attitude peak data 411 and multiple attitude valley data 412 in the attitude data sequence 410 to obtain an extreme value data sequence 420 arranged in actual order.

[0058] In an optional embodiment, the computer device can smoothly connect the various attitude data, plot the attitude data curve 430 corresponding to the attitude data sequence, and further determine the peak position and trough position of the attitude data curve 430 according to the fluctuation of the attitude data curve 430, and further determine the attitude peak data at the peak position and the attitude trough data at the trough position from each attitude data.

[0059] In an optional embodiment, for the first and last attitude data, the computer device may determine the attitude data as a peak attitude data if the attitude data is greater than or equal to the adjacent attitude data, and as a valley attitude data if the attitude data is less than or equal to the adjacent attitude data. For any other attitude data, the attitude data may be compared with the two adjacent attitude data before and after it: if the attitude data is greater than or equal to the two adjacent attitude data, the attitude data is determined as a peak attitude data; if the attitude data is less than or equal to the two adjacent attitude data, the attitude data is determined as a valley attitude data.

[0060] In an optional embodiment, the computer device can identify attitude extreme values ​​in an attitude data sequence using a peak data recognition algorithm. Specifically, the computer device can determine the inverse sequence corresponding to the attitude data sequence; use a peak data recognition function to identify multiple first peak values ​​from the attitude data sequence and multiple second peak values ​​from the inverse sequence; determine the inverse of the second peak values ​​as attitude valley values, thus obtaining multiple attitude extreme values ​​containing the first peak values ​​and attitude valley values. Wherein, the attitude data corresponding to any given time information in the attitude data sequence and the inverse sequence are opposites of each other. For example, the computer device can use the peak data recognition function `find_peaks` to identify peak values ​​in the attitude data sequence `y` and its inverse sequence `-y`, taking the inverse of the peak values ​​identified in the inverse sequence `-y` as attitude valley values. Thus, an algorithm can be used to identify peak and valley values, which is beneficial for improving work efficiency.

[0061] After identifying multiple extreme attitude values ​​from the attitude data sequence, the computer device can arrange these extreme values ​​in chronological order to obtain a time-ordered sequence of extreme value data. For example, the attitude data sequence y = {y1, y2, y3, ..., y...} m If the identified extreme attitude data includes y1, y3, and y m Then the extreme value data sequence {y1,y3,y...} can be obtained. m}

[0062] In an optional embodiment, the computer device can acquire posture data sequences corresponding to multiple moving parts of the target object, and for each posture data sequence, determine whether further processing is needed based on the proportion of extreme posture data in the posture data sequence. In practical applications, if the proportion of extreme posture data in the posture data sequence exceeds a certain threshold, the posture data sequence is likely to have a "spring effect" caused by noise, and further processing can be performed on the posture data sequence based on each extreme posture data. Conversely, if the proportion of extreme posture data in the posture data sequence is less than or equal to the threshold, the posture data sequence is likely not to have a "spring effect" caused by noise, indicating that the quality of the posture data sequence is relatively good and no further processing is needed. This threshold can be determined based on the object category of the target object and the scene in which the target object is located. For example, in a digital human news broadcasting scenario, where the movement changes are relatively small, the threshold can be around 10%, while for a virtual player in a game scenario, where the movement changes are relatively large, the threshold can be greater than 10%.

[0063] In practical applications, a target object typically includes multiple moving parts, and each moving part can correspond to multiple attitude parameters. In this case, attitude data sequences corresponding to multiple attitude parameters can be obtained. For example, for the head, attitude data sequences corresponding to head pitch angle, head yaw angle, and head roll angle can be obtained. Therefore, before proceeding with further processing, determining whether further processing of the attitude data sequence is necessary based on the proportion of the identified attitude extreme values ​​in the attitude data sequence can ensure the accuracy of the attitude data while reducing the workload of attitude data processing, thus improving work efficiency.

[0064] Step S206: Determine the difference characteristics between adjacent extreme value data in the extreme value data sequence.

[0065] The difference feature is used to characterize the distribution characteristics of the differences between adjacent extreme value data in an extreme value data sequence. Differences between extreme value data of different postures can be characterized by differences or ratios. Optionally, the difference feature can be a statistical feature, specifically including at least one of the following: central tendency feature, dispersion feature, distribution morphology feature, or time series feature. The central tendency feature can include the difference mean, difference median, and difference mode; the dispersion feature can include the difference variance, difference standard deviation, and difference interquartile range; the distribution morphology feature can include the difference skewness and difference kurtosis; the time series feature is used to characterize the variation of the difference over time and can include the difference variation period and difference variation amplitude.

[0066] Specifically, computer equipment can calculate the differences between adjacent attitude extreme values ​​in each group of extreme value data in an extreme value data sequence, and determine the difference characteristics between adjacent extreme value data in the extreme value data sequence by performing statistical calculations on each difference.

[0067] In an optional embodiment, the extreme value data sequence is denoted as y. filtered_nonzro The computer device can calculate the difference |diff_y| between any two adjacent attitude extreme values ​​in the extreme value data sequence, where:

[0068]

[0069] Then, by statistically calculating the differences between adjacent extreme value data in each group, the difference characteristics between adjacent extreme value data in the extreme value data sequence are obtained. Optionally, these difference characteristics may include the mean and variance of each difference.

[0070] Step S208: For each attitude extreme value data, under the condition of attitude difference and difference feature matching between the attitude extreme value data and the neighbor extreme value data of the attitude extreme value data, the attitude extreme value data is determined as the target attitude data.

[0071] The neighboring extreme values ​​of the attitude extreme value data can include at least one of the following: the first extreme value data preceding the attitude extreme value data, or the second extreme value data following the attitude extreme value data. Matching the attitude difference with the difference feature can mean that the attitude difference is greater than or equal to the difference feature.

[0072] Given the identified differences between adjacent extreme values ​​in the extreme value data sequence, a computer device can, based on these differences, filter a subset of target posture data that can characterize the motion trend of the target object from each posture extreme value data set. Specifically, for each posture extreme value data set, the computer device can determine the posture extreme value data as the target posture data if the posture difference and difference features between the extreme value data and its neighboring extreme value data match. For example, as shown... Figure 1 As shown, multiple target attitude data 31 can be obtained by filtering out the differences between adjacent extreme values ​​in the extreme value data sequence 20. These target attitude data 31 also include attitude peak data and attitude valley data, which can reflect the overall motion trend corresponding to the attitude data sequence.

[0073] In an optional embodiment, the computer device can calculate the attitude difference between each attitude extreme data and the first extreme data or the second extreme data, and determine the attitude extreme data as the target attitude data if the attitude difference matches the difference feature.

[0074] In an optional embodiment, the computer device can calculate, for each extreme attitude data point, a first attitude difference between the extreme attitude data point and its corresponding first extreme data point, and a second attitude difference between the extreme attitude data point and its corresponding second extreme data point. Then, the statistical difference between the first and second attitude differences is matched with difference features. If the statistical difference matches the difference features, the extreme attitude data point is determined as the target attitude data point. This statistical difference can be, for example, the average or weighted average of the first and second attitude differences. The weight of the attitude difference in the calculation of the weighted average can be positively correlated with the time difference between the neighboring extreme data point and the extreme attitude data point. That is, the larger the time difference between the neighboring extreme data point and the extreme attitude data point, the lower the probability that the neighboring extreme data point is noisy data; therefore, the greater the weight of the attitude difference between the neighboring extreme data point and the extreme attitude data point.

[0075] Step S210: Based on the target attitude data and the time information corresponding to each target attitude data in the attitude data sequence, attitude data interpolation is performed for the time intervals between each time information to obtain the updated attitude sequence of the target object in the target time interval.

[0076] Data interpolation is a mathematical and statistical technique used to estimate or predict the values ​​of unknown data points among known data points. Its main purposes are to fill in missing values ​​in data, smooth data, or generate continuous functions from discrete data points. The basic assumption of interpolation is that there is a certain pattern or trend among the data points, and the values ​​of unknown points can be inferred from these known points. Specific methods for performing attitude data interpolation can include polynomial interpolation, spline interpolation, and interpolation based on interpolation functions.

[0077] Specifically, the computer device can determine the time intervals to be interpolated between the time information corresponding to each target attitude data in the attitude data sequence. For example, if the target attitude data includes attitude data y1, y3, and y7, and the time information corresponding to attitude data y1 is t1, the time information corresponding to attitude data y3 is t3, and the time information corresponding to attitude data y7 is t7, then the time intervals between t1 and t3, and the time intervals between t3 and t7, can be determined as the time intervals to be interpolated.

[0078] Then, the computer device can perform attitude data interpolation for each time period based on the target attitude data to obtain the interpolated attitude data of the target object for each time period. These interpolated attitude data and the target attitude data together constitute the updated attitude sequence for the target time period. For example, based on attitude data y1 and y3, attitude data interpolation can be performed on the time period between t1 and t3 to obtain the corresponding interpolated attitude data. These interpolated attitude data, together with attitude data y1 and y3, characterize the continuous attitude changes of the target object during that time period.

[0079] In an optional embodiment, the computer device can perform attitude data interpolation according to the time information corresponding to the distribution of each attitude data in the initially acquired attitude data sequence, to obtain interpolated attitude data corresponding to each time information of the missing attitude data, so as to ensure the consistency of the updated attitude data with the attitude data sequence in terms of time information.

[0080] In an optional embodiment, the computer device can perform attitude data interpolation based on application requirements or its own hardware performance to improve the flexibility of the interpolation process. That is, for scenarios with high requirements for the accuracy of the object's attitude, or with superior hardware performance, the computer device can appropriately increase the amount of data to be interpolated, while for scenarios with low requirements for the accuracy of the object's attitude, or with inferior hardware performance, the computer device can appropriately reduce the amount of data to be interpolated.

[0081] In an optional embodiment, the computer device can construct an ease-in / ease-out function and use the ease-in / ease-out function to interpolate posture data for the time period to be interpolated, so as to present the ease-in / ease-out effect during the object's movement process and further improve the naturalness of the object's posture.

[0082] Ease-in and Ease-out functions are mathematical functions widely used in animation design to achieve smooth transitions in object movement. They adjust the speed changes of objects at the beginning and end of the animation, making the animation more natural and fluid. Ease-in refers to an object gradually accelerating from a stationary state to its maximum speed, while Ease-out refers to an object gradually decelerating from its maximum speed back to a stationary state. Ease-in and Ease-out combine the effects of easing in and easing out, resulting in smooth changes at the beginning and end of the animation, more closely resembling real-world behavior.

[0083] Optionally, the easing-in / easing-out function may include at least one of the following: a quadratic easing-in / easing-out function, a cubic easing-in / easing-out function, a sinusoidal easing-in / easing-out function, or a Bézier curve.

[0084] The aforementioned posture data processing method acquires the posture data sequence of the target object within a target time period, identifies multiple extreme posture values ​​in the posture data sequence, obtains an extreme value data sequence arranged in chronological order, and determines the difference features between adjacent extreme values ​​in the extreme value data sequence. Then, for each extreme posture value, if the posture difference and difference features between the extreme posture value and its neighboring extreme values ​​are matched, the extreme posture value is determined as the target posture data. This enables adaptive filtering of target posture data, ensuring that the filtered target posture data reflects the overall motion trend of the target object. Finally, based on each target posture data and the corresponding time information in the posture data sequence, posture data interpolation is performed for the time intervals between each time information to obtain the updated posture sequence of the target object within the target time period. This enables adaptive smoothing of the posture data sequence, avoiding the loss of high-frequency information while maintaining the overall motion trend of the target object. This allows for the generation of more realistic and natural object animations based on the updated posture sequence, improving the posture presentation effect of the object posture data.

[0085] In one embodiment, identifying multiple attitude extreme values ​​in an attitude data sequence to obtain an extreme value data sequence arranged in chronological order includes: determining the inverse sequence corresponding to the attitude data sequence; identifying multiple first peak values ​​in the attitude data sequence and multiple second peak values ​​in the inverse sequence; determining the inverse of the second peak values ​​as attitude valley values ​​to obtain multiple attitude extreme values ​​containing the first peak values ​​and attitude valley values; and sorting the extreme values ​​according to the time information corresponding to each attitude extreme value in the attitude data sequence to obtain an extreme value data sequence containing each attitude extreme value.

[0086] In this sequence, any time information corresponds to opposite attitude data in both the attitude data sequence and the inverse sequence. Two opposite attitude data values ​​are equal in value but opposite in direction. Taking the head pitch angle of a digital human as an example, 10° and -10° are opposites.

[0087] Specifically, the computer device can determine the inverse of each attitude data point in the attitude data sequence, keeping the time information unchanged, and arrange the attitude data sequentially to obtain a sequence of inverses of the attitude data sequence. Then, based on a peak data recognition algorithm, the computer device can identify multiple first peak data points in the attitude data sequence and multiple second peak data points in the inverse sequence. Next, the computer device can determine the first peak data points as attitude peak data points and the inverses of each second peak data point as attitude valley data points, obtaining multiple attitude extreme value data points including attitude peak data points and attitude valley data points. Finally, the computer device can sort the attitude extreme value data points according to the time information corresponding to each attitude extreme value data point in the attitude data sequence to obtain an extreme value data sequence containing all attitude extreme value data points.

[0088] There is no single method for identifying multiple peak data points in an attitude data sequence. Optionally, a computer device can iterate through each attitude data point in the sequence, compare the numerical differences between a given attitude data point and its neighboring data points, and identify a peak data point if it is greater than or equal to a neighboring data point. Alternatively, the computer device can also utilize signal processing techniques such as Fast Fourier Transform (FFT) or Wavelet Transform (CWT) to identify peak data points.

[0089] In an optional embodiment, for the attitude data sequence y={y1,y2,y3,……,y m}, we can obtain the sequence of opposite numbers -y = {-y1, -y2, -y3, ..., -y}. m Computer devices can use the peak data identification algorithm find_peaks to identify multiple first peak data points in the attitude data sequence y, and multiple second peak data points in the inverse sequence -y.

[0090]

[0091]

[0092] Here, pks is the dataset consisting of the first peak data, locs_pks is the dataset consisting of the time information corresponding to each of the first peak data, valleys is the dataset consisting of the second peak data, and locs_valleys is the dataset consisting of the time information corresponding to each of the second peak data. Next, the computer device can take the negative of each of the second peak data to obtain the attitude valley data, and sort the first peak data and the attitude valley data according to the time information to obtain the extreme value data sequence.

[0093] It is understandable that peak posture data reflects the significant positive motion of the moving parts of the target object, while valley posture data reflects the significant negative motion of the moving parts of the target object. By detecting these peak posture data, sparse representations describing the core motion features can be extracted from the posture data sequence, laying the foundation for subsequent smoothing processing.

[0094] In the above embodiments, by determining the opposite sequence corresponding to the attitude data sequence, the peak data and valley data can be identified using a peak data identification algorithm, which helps to simplify the data processing process and improve work efficiency.

[0095] In one embodiment, determining the difference features between adjacent extreme data in an extreme data sequence includes: determining the pose difference between each group of adjacent extreme data in the extreme data sequence; statistically analyzing the pose differences corresponding to each group of adjacent extreme data to determine a first difference feature used to characterize the central tendency of the data and a second difference feature used to characterize the degree of dispersion of the data.

[0096] The first difference feature characterizes the central tendency of the extreme values ​​in each attitude within the extreme value data sequence. This first difference feature can be the mean, median, etc. The second difference feature characterizes the dispersion of the extreme values ​​in each attitude within the extreme value data sequence. This second difference feature can be the variance, standard deviation, etc.

[0097] Specifically, the computer device can combine the extreme value data of each attitude in the extreme value data sequence in pairs in sequence to obtain multiple sets of adjacent extreme value data. Then, for each set of adjacent extreme value data, the attitude difference between the adjacent extreme value data is determined. Based on this, the computer device can determine a first difference feature to characterize the central tendency of the data and a second difference feature to characterize the degree of dispersion of the data by statistically analyzing the attitude differences corresponding to each set of adjacent extreme value data.

[0098] In an optional embodiment, the i-th attitude extreme value in the extreme value data sequence can form a set of adjacent extreme value data with the (i-1)-th attitude extreme value data. Simultaneously, the i-th attitude extreme value can also form a set of adjacent extreme value data with the (i+1)-th attitude extreme value data. That is, for an extreme value data sequence containing n attitude extreme value data, the attitude differences of each of the n-1 sets of adjacent extreme value data can be obtained. By performing statistical analysis on the attitude differences corresponding to each set of adjacent extreme value data, a first difference feature used to characterize the central tendency of the data and a second difference feature used to characterize the degree of data dispersion can be determined.

[0099] In an alternative embodiment, the computer device may create a new array y. filtered_nonzro This array has the same data volume as the initially acquired attitude data sequence, and the initial value of each position in this array is a set value, such as "+∞" or "-∞". The computer device can insert each attitude extreme value data into the array y according to its position in the attitude data sequence. filtered_nonzro Then delete the corresponding position in array y. filtered_nonzro The median value is used to determine the position of the set value, thus obtaining an extreme value data sequence. Then, the computer can calculate the difference |diff_y| between any two adjacent attitude extreme values ​​in this extreme value data sequence, where:

[0100]

[0101] Furthermore, through statistical analysis, the mean value (mean_y) and variance (var_y) of |diff_y| were obtained.

[0102]

[0103]

[0104] In the above embodiments, by statistically analyzing the pose differences corresponding to each group of adjacent extreme value data, a first difference feature for characterizing the central tendency of the data and a second difference feature for characterizing the degree of data dispersion are determined. This can describe the difference features of the extreme value data sequence from two different dimensions: the central tendency of the data and the degree of data dispersion. This can comprehensively characterize the features of the extreme value data sequence, thereby ensuring that the target pose data obtained based on the difference features can accurately reflect the overall motion trend of the target object. This is beneficial to improving the accuracy of the updated pose sequence obtained by interpolation based on the target pose data.

[0105] In an optional embodiment, when the attitude extreme data matches the attitude difference and difference feature between the attitude extreme data and the neighboring extreme data of the attitude extreme data, the attitude extreme data is determined as the target attitude data, including: fusing the first difference feature and the second difference feature to obtain the comprehensive difference between adjacent extreme data in the extreme data sequence; when the attitude difference between the attitude extreme data and the neighboring extreme data of the attitude extreme data is greater than or equal to the comprehensive difference, the attitude extreme data is determined as the target attitude data.

[0106] Specifically, the computer device can fuse the first difference feature and the second difference feature to obtain the comprehensive difference between adjacent extreme value data in the extreme value data sequence. Optionally, the computer device can determine the sum or difference between the first difference feature and the second difference feature as the comprehensive difference between adjacent extreme value data in the extreme value data sequence. Then, for each attitude extreme value data in the extreme value data sequence, if the attitude difference between the attitude extreme value data and its neighboring extreme value data is greater than or equal to the comprehensive difference, the attitude extreme value data is determined as the target attitude data.

[0107] Optionally, the neighboring extreme data of the attitude extreme data may include at least one of the following: first extreme data preceding the attitude extreme data, or second extreme data following the attitude extreme data.

[0108] In one possible implementation, the computer device can calculate the attitude difference between each attitude extreme data and the first or second extreme data, and determine the attitude extreme data as the target attitude data if the attitude difference is greater than or equal to the overall difference.

[0109] In one possible implementation, the computer device can calculate, for each extreme attitude data point, a first attitude difference between the extreme attitude data point and its corresponding first extreme data point, and a second attitude difference between the extreme attitude data point and its corresponding second extreme data point. It then compares the statistical difference between the first and second attitude differences with a comprehensive difference. If the statistical difference is greater than or equal to the comprehensive difference, the extreme attitude data point is determined as the target attitude data point. This statistical difference can be, for example, the average or weighted average of the first and second attitude differences. The weight of the attitude difference in the calculation of the weighted average can be positively correlated with the time difference between the extreme attitude data point and its neighboring extreme data point.

[0110] Taking the case where the first difference feature is the mean (mean_y) and the second difference feature is the variance (var_y) as an example, in an optional embodiment, the combined difference threshold between adjacent extreme value data in the extreme value data sequence can be expressed as:

[0111]

[0112] Therefore, the computer device can determine the extreme attitude data as the target attitude data if the attitude difference between the extreme attitude data and its neighboring extreme attitude data is greater than or equal to the combined difference threshold.

[0113] In the above embodiments, the first difference feature and the second difference feature are fused to obtain a comprehensive difference, and the target posture data with a difference greater than or equal to the comprehensive difference between each posture extreme value data and the neighboring posture data is selected. This can eliminate jitter caused by noise, while retaining the overall motion trend represented by the original acquired posture data sequence, and can ensure the accuracy of the target posture data.

[0114] In one embodiment, determining the attitude extreme data as target attitude data when the difference and difference feature match between the attitude extreme data and the neighboring extreme data of the attitude extreme data includes: determining the attitude extreme data at the feature position in the extreme data sequence as target attitude data; sequentially traversing other attitude extreme data in the extreme data sequence other than the target attitude data, and determining the attitude extreme data as new target attitude data when the difference and difference feature match between the attitude extreme data and the neighboring extreme data of the attitude extreme data.

[0115] In this context, the characteristic positions in the extreme value data sequence refer to representative locations within the sequence that reflect the overall trend of the original data. These characteristic positions can be preset or determined through analysis.

[0116] Optionally, the feature position can refer to the first and last positions in the extreme value data sequence, specifically including the first k1 positions and the last k2 positions in the sequence. In one possible implementation, the feature position can include the first and last positions in the extreme value data sequence.

[0117] Optionally, the feature location may include the location of the neutral posture data representing the neutral posture. A neutral posture refers to the object's posture when it is in a natural, relaxed, and balanced state. Taking a natural or digital human as an example, this neutral posture can refer to the anatomical position of the human body, i.e., the body is upright, facing forward, with the head slightly tilted forward, feet together, toes pointing forward, upper limbs hanging naturally at the sides of the torso, and palms facing forward. Optionally, in this neutral posture, the head pitch angle can be 5°, and the head yaw and roll angles can be 0°. It can be understood that since the neutral posture is the object's posture when it is in a natural, relaxed, and balanced state, it is usually the posture that the object maintains for the longest time. Therefore, when neutral posture data is used as extreme posture data, it is likely to be valid data, rather than redundant extreme value data generated by noise. Therefore, using neutral posture data as target posture data can further ensure the accuracy of the target posture data.

[0118] Specifically, the computer device can first identify the extreme attitude data located at the feature position in the extreme value data sequence as the target attitude data. Then, taking any target attitude data as the starting position of the data traversal, it can sequentially traverse other attitude extreme values ​​in the extreme value data sequence other than the target attitude data in the direction away from the feature position. For each attitude extreme value data traversed, if the difference and difference feature match between the attitude extreme value data and its neighboring extreme values, the attitude extreme value data is identified as the new target attitude data.

[0119] Optionally, the computer device can use the first position in the extreme value data sequence as the feature position and list the first attitude extreme value data as the target attitude data, and then iterate through each of the other attitude extreme value data in a forward order.

[0120] Optionally, the computer device can use the last position in the extreme value data sequence as the feature position, list the last attitude extreme value data as the target attitude data, and then traverse each of the other attitude extreme value data in reverse order.

[0121] In the above embodiments, the extreme value data of the posture at the feature position in the extreme value data sequence is first determined as the target posture data. Then, the other extreme value data of the posture in the extreme value data sequence except for the target posture data are traversed in turn. New target posture data is selected from each extreme value data based on the difference features. This can ensure that the selected target posture data contains the extreme value data of the posture at the feature position, which is conducive to further ensuring that the selected target posture data can accurately reflect the overall motion trend of the target object.

[0122] In an optional embodiment, the attitude data processing method further includes: identifying neutral attitude data representing a neutral attitude from the attitude data sequence; and dividing the extreme value data sequence into multiple subsequences based on the time information corresponding to the neutral attitude data. In this embodiment, sequentially traversing other attitude extreme value data in the extreme value data sequence except for the target attitude data includes: sequentially traversing other attitude extreme value data in each subsequence except for the target attitude data.

[0123] The specific limitations regarding neutral attitudes are detailed above and will not be repeated here. In practical applications, computer devices can divide extreme value data sequences into multiple subsequences, and then filter target attitude data for each subsequence. Specifically, the computer device can identify neutral attitude data representing neutral attitudes from the attitude data sequence. Then, based on the time information of each neutral attitude data, the computer device can divide the target time period into multiple sub-time periods. Then, based on the time information corresponding to each attitude extreme value data in the extreme value data sequence, the computer device can determine the sub-time period to which each attitude extreme value data belongs. Thus, attitude extreme value data belonging to the same sub-time period can be divided into a subsequence, resulting in multiple subsequences.

[0124] For example, such as Figure 4 As shown, the attitude data sequence 410 includes multiple attitude data corresponding to attitude parameter A. The reference line 440 represents the attitude value corresponding to attitude parameter A under neutral attitude. The attitude data sequence 410 includes three neutral attitude data 441 located on the reference line 440. The computer device can divide the extreme value data sequence 420 into four subsequences according to the time information of each neutral attitude data 441, including subsequence 421, subsequence 422, subsequence 423 and subsequence 424.

[0125] When the extreme value data sequence is divided into multiple subsequences, the computer device can sequentially traverse the extreme value data of other attitudes besides the target attitude data in each subsequence to obtain new target attitude data.

[0126] Optionally, the computer device can use the first and last positions of each subsequence as feature positions, and determine the first and last extreme attitude data in each subsequence as the target attitude data. Based on this, it then iterates through all other extreme attitude data.

[0127] Optionally, during the traversal of any subsequence, for the first attitude extreme value data in the subsequence, the computer device can determine the attitude difference between the attitude extreme value data and the last attitude extreme value data of the previous subsequence, and if the attitude difference matches the difference feature, determine the attitude extreme value data as the target attitude data; for the last attitude extreme value data in the subsequence, the computer device can determine the attitude difference between the attitude extreme value data and the first attitude extreme value data of the next subsequence, and if the attitude difference matches the difference feature, determine the attitude extreme value data as the target attitude data.

[0128] In the above embodiments, based on the time information corresponding to the neutral attitude data, the extreme value data sequence is divided into multiple subsequences, and the extreme value data of other attitudes except the target attitude data in each subsequence are traversed in turn to filter new target attitude data. This is equivalent to being able to filter target attitude data simultaneously for multiple subsequences, which can improve work efficiency.

[0129] In an optional embodiment, determining the attitude extreme data as new target attitude data when the difference and difference feature match between the attitude extreme data and its neighboring extreme data includes: determining the neighboring extreme data of the attitude extreme data according to the traversal order; if the first extreme data is determined to be the target attitude data, then determining the attitude extreme data as new target attitude data when the difference and difference feature match between the attitude extreme data and the first extreme data; if the first extreme data is not determined to be the target attitude data, then determining the attitude extreme data as new target attitude data when the difference and difference feature match between the attitude extreme data and the second extreme data.

[0130] The neighbor extreme value data includes the first extreme value data before the attitude extreme value data and the second extreme value data after the attitude extreme value data. It can be understood that the computer device traverses the attitude extreme value data and each neighbor extreme value data in the following order: first traversing the first extreme value data before the attitude extreme value data, then traversing the attitude extreme value data, and finally traversing the second extreme value data after the attitude extreme value data.

[0131] Specifically, the computer device can determine the neighboring extreme values ​​of the attitude extreme value data according to the traversal order. When traversing any attitude extreme value data: if the first extreme value data preceding the attitude extreme value data is determined to be the target attitude data, then if the difference and difference feature between the attitude extreme value data and the first extreme value data match, the attitude extreme value data is determined to be the new target attitude data; if the first extreme value data preceding the attitude extreme value data is not determined to be the target attitude data, then if the difference and difference feature between the attitude extreme value data and the second extreme value data match, the attitude extreme value data is determined to be the new target attitude data.

[0132] Taking the case where the extreme value data sequence includes sequentially arranged attitude extreme value data k1 to k5, with k1 and k5 as feature positions, as an example, this is considered as the target attitude data. Figure 5 As shown, for k2, since its preceding first extreme value data k1 is determined to be the target attitude data, the difference △21 between k2 and k1 is calculated. If △21 matches the difference characteristics of the extreme value data sequence, then k2 can be determined as the target attitude data. With k2 determined as the target attitude data, for k3, since its preceding first extreme value data k2 is determined to be the target attitude data, the difference △32 between k3 and k2 is calculated. If △32 matches the difference characteristics of the extreme value data sequence, then k3 can be determined as the target attitude data. If △21 does not match the difference characteristics of the extreme value data sequence, then k2 will not be determined as the target attitude data. Then, for k3, since its preceding first extreme value data k2 is not determined to be the target attitude data, the difference △34 between k3 and its subsequent second extreme value data k4 is calculated. If △34 matches the difference characteristics of the extreme value data sequence, then k3 can be determined as the target attitude data. This process continues, ultimately determining multiple target attitude data from multiple attitude extreme value data. Extreme attitude data that is not identified as target attitude data will be discarded and will not be used in subsequent processing.

[0133] In the above embodiments, for each extreme value of posture data, the neighbor extreme value data used for difference feature matching is determined based on whether the extreme value data before the extreme value data is the target posture data. This can ensure that the posture differences between the target posture data that are finally retained match the difference features, and can further ensure that the selected target posture data can reflect the overall motion trend of the target object.

[0134] In one embodiment, based on each target attitude data and the corresponding time information of each target attitude data in the attitude data sequence, attitude data interpolation is performed on the time intervals between the time information to obtain the updated attitude sequence of the target object in the target time interval. This includes: combining the time information corresponding to each target attitude data in the attitude data sequence in pairs according to the time order to obtain multiple time intervals between the time information; for each time interval, determining the normalized time information corresponding to multiple time points to be interpolated in the time interval according to the time span of the time interval; and performing attitude data interpolation on each time point based on each target attitude data and each normalized time information to obtain the updated attitude data of the target object corresponding to each time point.

[0135] The time span of a time period refers to the duration of that period, that is, the time interval from beginning to end. Normalized time information is obtained by normalizing the time information.

[0136] Specifically, the computer can combine the time information corresponding to each target attitude data in the attitude data sequence in pairs according to time order to obtain multiple time intervals between each time information. Then, for each time interval, the computer device can determine the normalized time information corresponding to multiple time points to be interpolated within that time interval based on the time span of that time interval, so that the interpolated data at each time point is not easily affected by specific time information.

[0137] For example, if the target attitude data corresponds to time information T={t1,t2,t3,…,tp}, then by combining adjacent time information in pairs, p-1 time intervals can be obtained. For each time interval, the computer device can determine the time span of that time interval as the time time interval between the start and end times of that time interval. For example, the time span of the time interval between t1 and t2 is "t2-t1".

[0138] Optionally, the computer device can use a sliding window to scale the time span of a time period to 1, thereby determining the normalized time information corresponding to multiple interpolated time points within that time period.

[0139] Optionally, the computer device can determine the time interval between the time point to be interpolated within the time period and the start and end times of that time period, and use the ratio between this time interval and the time span of that time period as the normalized time information corresponding to that time point. For example, in the time period between t1 and t2, the normalized time information t corresponding to each time point ti can be expressed as: t = (ti - t1) / (t2 - t1).

[0140] With normalized time information obtained, the computer device can perform attitude data interpolation at each time point based on the attitude data of each target and the normalized time information, and obtain the updated attitude data of the target object at each time point.

[0141] Optionally, the computer device can construct an easing-in / easing-out function and use this function to interpolate posture data for the time period to be interpolated, thereby presenting the easing-in / easing-out effect during the object's movement and further improving the naturalness of the object's posture. It can be understood that the normalized time information t, as the input to the easing-in / easing-out function, determines the speed and shape of the interpolation. Near the start and end times of the time period, changes in t have a smaller impact on the interpolation result, resulting in slow changes; in the middle, changes in t have a larger impact on the result, resulting in faster changes, thus achieving smooth acceleration and deceleration effects.

[0142] Taking the example of using the ease-in / ease-out function to interpolate attitude data over the time interval to be interpolated, the interpolation function could be:

[0143]

[0144] Where t represents the normalized time information. If y0 is the target pose data at the start time of the time interval, then the updated pose data corresponding to t can be represented as y0 + ease_in_out_cubic(t); if y0 is the target pose data at the end time of the time interval, then the updated pose data corresponding to t can be represented as y0 - ease_in_out_cubic(t).

[0145] In the above embodiments, for each time period, the normalized time information corresponding to multiple interpolation points in the time period is determined according to the time span of the time period. Based on each target pose data and each normalized time information, pose data interpolation is performed on each time point to obtain the updated pose data of the target object corresponding to each time point. This can reduce the impact of the time span on the interpolation result, optimize the interpolation effect, and help to further improve the pose presentation effect of the object pose data.

[0146] As mentioned earlier, computer devices can use the updated pose sequence of a target object to generate an animation of the target object within a target time period.

[0147] In one embodiment, the posture data processing method further includes: drawing an updated posture curve of the target object in a target time period based on the updated posture sequence; in response to an animation generation request initiated for the target object, determining multiple target moments for generating animation frames from the target time period; and generating an animation frame corresponding to each target moment according to the posture data corresponding to that target moment in the updated posture curve.

[0148] In this process, the target object in the animation frame possesses the object posture represented by the posture data. Specifically, the computer device can smoothly connect and update the various posture data contained in the posture sequence to draw the updated posture curve of the target object within the target time period. Then, when the user initiates an animation generation request for the target object, the computer device can respond to the animation generation request by determining multiple target moments for generating animation frames from the target time period, and for each target moment, generating the corresponding animation frame according to the posture data in the updated posture curve for that target moment.

[0149] Optionally, the computer device can use the time information corresponding to each posture data in the initially acquired posture data sequence as multiple target times for the animation frames to be generated, so as to ensure the consistency between the posture data sequence and the animation frame sequence.

[0150] Optionally, the computer device can determine the time point corresponding to each target posture data as the first target time of the animation frame to be generated, and select multiple second target times of the animation frame to be generated evenly from the time period between each first target time according to a set time interval, so as to ensure that the time interval between adjacent animation frames is the same, thereby ensuring the overall rhythm and smoothness of the animation.

[0151] In the above embodiments, using the updated pose curve corresponding to the updated pose sequence to drive the generation of animation can significantly improve the naturalness and smoothness of the pose changes in the generated animation, providing users with a more realistic interactive experience.

[0152] In an optional embodiment, determining multiple target times for the animation frame to be generated from the target time period includes: determining the time points corresponding to each target pose data as the first target times for the animation frame to be generated; and uniformly selecting multiple second target times for the animation frame to be generated within the time period between each first target time.

[0153] The number of second target moments within the same time period exceeds the polynomial order of the interpolation function used in the attitude data interpolation process. The polynomial order of the interpolation function used in the interpolation process determines the number of data points required to reflect the fluctuation trend of the interpolation curve corresponding to that interpolation function. Taking the case of an easing-in / easing-out function with a polynomial order of 3 as an example, at least four second target moments need to be selected evenly to present the easing-in / easing-out effect of the interpolation function through the animation frames generated for each target moment, i.e., the change is slower at the start and end points and faster in the middle.

[0154] Specifically, the computer device can determine the time points corresponding to each target posture data as the first target time points of the animation frames to be generated, ensuring that the final generated animation can reflect the overall motion trend of the target object. Then, based on the polynomial order of the interpolation function used in the posture data interpolation process, the computer device can uniformly select multiple second target time points of the animation frames to be generated within the time interval between each first target time point, ensuring that the final generated animation can present the posture change trend represented by the interpolation function.

[0155] In the above embodiments, the time points corresponding to each target posture data are determined as the first target time points of the animation frames to be generated. According to the polynomial order of the interpolation function used in the posture data interpolation process, multiple second target times points of the animation frames to be generated are evenly selected in the time period between each first target time point. This can present the posture change trend represented by the interpolation function while maintaining the overall motion trend of the target object, which is conducive to further improving the posture presentation effect.

[0156] In one embodiment, obtaining the posture data sequence of the target object in a target time period includes: obtaining multimedia information and posture information of the target object in an original time interval; analyzing the emotional changes of the target object in the original time interval based on the multimedia information, and dividing the original time interval into multiple target time periods; and for each target time period, extracting the posture data sequence of the target object in that target time period from the posture information.

[0157] Multimedia information can include voice information, text information, etc. This multimedia information corresponds to the posture information in time sequence. Taking the case where the multimedia information is voice information as an example, the voice and posture information of the target object within the original time interval represent the voice content that needs to be played and the posture that needs to be presented for the target object within the original time interval.

[0158] In practical applications, the range of motion varies depending on the emotion. Therefore, the original time interval can be divided into multiple target time periods based on emotional changes, and then the posture data can be processed separately for each target time period. Specifically, the computer device can acquire multimedia and posture information of the target object within the original time interval. Then, based on the multimedia information, it analyzes the emotional changes of the target object within the original time interval, dividing the original time interval into multiple target time periods, where the target object has different emotions in adjacent target time periods. For example, the emotion corresponding to the first target time period is "happy," and the emotion corresponding to the second target time period is "sad." Next, for each target time period, the computer device extracts the posture data sequence of the target object from the posture information for that target time period.

[0159] Optionally, the computer device can acquire multimedia information of the target object within the original time interval through data acquisition devices, or it can directly acquire multimedia information configured for the target object. For example, in a digital human news broadcasting scenario, it can acquire a news article to be broadcast that is pre-configured for the original time interval; or it can acquire the voice information provided by a natural person for the news article to be broadcast through a sound acquisition device.

[0160] Optionally, computer devices can use emotion recognition technology to extract emotional features from multimedia information and determine the emotional changes of the target object within the original time interval based on the changing trend of emotional features over time.

[0161] In the above embodiments, the posture data is processed in segments according to the changes in emotion. This allows for the filtering of target posture data based on the differences in the matching of different emotions. This can eliminate the influence of noise while preserving the original motion trend represented by the original posture data sequence, ensuring the consistency between the posture presentation and the object's emotion, and further improving the posture presentation effect.

[0162] In one embodiment, such as Figure 6 As shown, a posture data processing method is provided. This method can be executed by a computer device, which can be a terminal or a server. In this embodiment, the method includes the following steps:

[0163] Step S601: Obtain the multimedia information and attitude information of the target object within the original time interval;

[0164] Step S602: Based on multimedia information, analyze the emotional changes of the target object in the original time interval and divide the original time interval into multiple target time intervals;

[0165] Among them, the target object has different emotions in two adjacent target time periods;

[0166] Step S603: For each target time period, extract the attitude data sequence of the target object in that target time period from the attitude information;

[0167] Step S604: Determine the inverse sequence corresponding to the attitude data sequence;

[0168] In this context, the attitude data corresponding to any time information in the attitude data sequence and the opposite number sequence are opposite numbers to each other;

[0169] Step S605: Identify multiple first peak data points in the attitude data sequence and multiple second peak data points in the inverse number sequence;

[0170] Step S606: Determine the opposite of the second peak data as the attitude valley data, and obtain multiple attitude extreme values ​​including the first peak data and the attitude valley data;

[0171] Step S607: Sort the extreme value data of each attitude according to the time information corresponding to each attitude extreme value data in the attitude data sequence to obtain the extreme value data sequence containing each attitude extreme value data.

[0172] Step S608: Determine the attitude difference between each group of adjacent extreme data in the extreme data sequence;

[0173] Step S609: Statistically analyze the attitude differences corresponding to each group of adjacent extreme value data to determine the first difference feature used to characterize the central tendency of the data and the second difference feature used to characterize the degree of data dispersion.

[0174] Step S610: Fuse the first difference feature and the second difference feature to obtain the comprehensive difference between adjacent extreme value data in the extreme value data sequence;

[0175] Step S611: Determine the extreme attitude data located at the feature position in the extreme value data sequence as the target attitude data;

[0176] Among them, the characteristic positions include the first and last positions in the extreme value data sequence;

[0177] Step S612: For each extreme value data of attitude other than the target attitude data, determine the neighbor extreme value data of the extreme value data of the attitude according to the traversal order.

[0178] Among them, the neighbor extreme value data includes the first extreme value data before the attitude extreme value data and the second extreme value data after the attitude extreme value data;

[0179] Step S613: If the first extreme value data is determined to be the target attitude data, then, in the case of the difference between the attitude extreme value data and the first extreme value data and the difference feature matching, the attitude extreme value data is determined to be the new target attitude data.

[0180] Step S614: If the first extreme value data is not determined as the target attitude data, then, in the case of the difference and difference feature matching between the attitude extreme value data and the second extreme value data, the attitude extreme value data is determined as the new target attitude data.

[0181] Step S615: Combine the time information corresponding to each target attitude data in the attitude data sequence in pairs according to the time order to obtain multiple time periods between each time information.

[0182] Step S616: For each time period, determine the normalized time information corresponding to multiple interpolation points in the time period according to the time span of the time period.

[0183] Step S617: Based on the target pose data and the normalized time information, perform pose data interpolation at each time point to obtain the updated pose data of the target object at each time point.

[0184] Among them, each updated pose data and each target pose data together constitute the updated pose sequence of the target object in the target time period;

[0185] Step S618: Based on the updated pose sequence, draw the updated pose curve of the target object in the target time period;

[0186] Step S619: In response to the animation generation request initiated for the target object, the time points corresponding to the pose data of each target are determined as the first target time of the animation frame to be generated.

[0187] Step S620: During the time interval between each first target time, select multiple second target times for the animation frames to be generated evenly.

[0188] Among them, the number of second target moments in the same time period is greater than the polynomial order of the interpolation function used in the attitude data interpolation process;

[0189] Step S621: For each target time, generate the animation frame corresponding to the target time according to the attitude data corresponding to the target time in the updated attitude curve;

[0190] Among them, the target object in the animation frame corresponding to the target time has the object posture represented by the posture data at that target time.

[0191] In the aforementioned posture data processing, target posture data can be adaptively filtered from the posture data sequence to ensure that the filtered target posture data reflects the overall motion trend of the target object. Based on this, and using each target posture data point and its corresponding time information within the posture data sequence, posture data interpolation is performed for the time intervals between these time intervals to obtain the updated posture sequence of the target object within the target time interval. This enables adaptive smoothing of the posture data sequence, maintaining the overall motion trend of the target object while avoiding the loss of high-frequency information. This allows for the generation of more realistic and natural object animations based on the updated posture sequence, ultimately improving the posture presentation effect of the object's posture data.

[0192] The following example uses the head pose data of a digital human as the case study, combined with the attached... Figure 7-12 This paper introduces the attitude data processing method provided in this application.

[0193] In one embodiment, such as Figure 7 As shown, the process of processing head pose data may include the following steps:

[0194] Step S701: Obtain head pose data of the digital human.

[0195] The head posture data may include at least one of head pitch angle data, head yaw angle data, or head roll angle data. This head posture data may be generated by a model and may exhibit frequent and small fluctuations, a "spring effect." If animation is generated based on this head posture data, it will result in unnatural head movements in the digital human.

[0196] Optionally, the obtained head pose data can be as follows: Figure 8 The data points in the diagram are shown. The horizontal axis represents time, and the vertical axis represents angle. Figure 8 In the diagram, dashed lines connect the data points to facilitate the presentation of changes between different attitude data. However, in actual applications, it is not necessarily necessary to draw these dashed lines.

[0197] Step S702: Identify multiple extreme pose values ​​in the head pose data.

[0198] This attitude extreme value data can include peak and valley data. From Figure 8 Among the head pose data shown, the following can be identified: Figure 9 The extreme values ​​of each posture are shown. These extreme values ​​represent the most significant changes in head movement trends. Peak values ​​correspond to local maxima in the posture data sequence, reflecting significant positive changes in head movement, while valley values ​​correspond to local minima in the posture data sequence, reflecting significant negative changes in head movement. By detecting these extreme values, a sparse representation describing the core features of the movement can be extracted, laying the foundation for subsequent smoothing processes.

[0199] Step S703: Determine the difference features corresponding to the extreme values ​​of each attitude.

[0200] The difference feature serves as a threshold for filtering target attitude data. The detected attitude extrema constitute a sparse representation of the attitude data sequence, but these extrema may contain frequent, small fluctuations caused by the spring effect. To filter out target attitude data that truly reflects the motion trend, the computer can calculate the variation amplitude between adjacent sets of extrema and dynamically determine the difference feature by combining the variance and mean of each variation amplitude. This difference feature is used to filter out redundant extrema with small variation amplitudes, retaining only target attitude data with significant motion trends, thus avoiding unnecessary interpolation processing for noise or minor jitter.

[0201] Optionally, the sum of the variance and mean of each variation amplitude can be used as the difference feature of each attitude extreme value data.

[0202] Step S704: Filter target attitude data.

[0203] Specifically, for each attitude extreme value data, the computer device can determine the attitude extreme value data as the target attitude data if the attitude difference between the attitude extreme value data and the neighboring extreme value data of the attitude extreme value data is greater than or equal to the difference feature.

[0204] For example, from Figure 9 From the extreme value data of each attitude shown, we can filter to obtain data such as... Figure 10 The pose data of each target are shown.

[0205] Step S705: Interpolate between the target pose data to generate head motion curves.

[0206] Given target pose data, a computer device can interpolate these target pose data using easing-in / easing-out curves to generate a smooth and natural complete motion curve. This process not only effectively eliminates high-frequency jitter caused by the spring effect but also preserves the overall motion characteristics of the original curve. Using this head motion curve to drive the generation of digital human animation makes the digital human head animation smoother and more natural. For example, in Figure 10 Interpolating the target attitude data shown can yield the following results: Figure 11 The interpolated pose data is shown, and the head motion curve used to guide animation generation is further obtained.

[0207] like Figure 12 As shown, A is the head motion curve plotted from the acquired head posture data; B and C are head motion curves plotted after posture data processing based on traditional techniques; and D is the head motion curve plotted after processing using the posture data processing method provided in this application. Comparisons are made within the same time period (e.g., Figure 12 As can be seen from the head motion curves of 1201 and 1202 in the paper, while traditional techniques smooth the curves to some extent, they still cannot completely solve the problem of frequent and small fluctuations. This application, through extreme value data identification, threshold selection, and data interpolation, not only effectively eliminates the spring effect but also preserves the overall motion trend of the curve, thus making the digital human's head movements more natural and fluid. This improvement significantly enhances the realism and user experience of digital human animation, providing higher-quality technical support for fields such as virtual reality, film and television production, and human-computer interaction.

[0208] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0209] Based on the same inventive concept, this application also provides an attitude data processing apparatus for implementing the attitude data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more attitude data processing apparatus embodiments provided below can be found in the limitations of the attitude data processing method described above, and will not be repeated here.

[0210] In one embodiment, such as Figure 13 As shown, an attitude data processing apparatus is provided, comprising:

[0211] The acquisition module 1301 is used to acquire the attitude data sequence of the target object in the target time period;

[0212] The extreme value data identification module 1302 is used to identify multiple extreme value data in the attitude data sequence and obtain an extreme value data sequence arranged in chronological order.

[0213] The difference feature determination module 1303 is used to determine the difference features between adjacent extreme value data in the extreme value data sequence;

[0214] The attitude data filtering module 1304 is used to determine the attitude extreme data as the target attitude data based on the attitude difference and difference feature matching between the attitude extreme data and the neighboring extreme data of the attitude extreme data.

[0215] The attitude data interpolation module 1305 is used to perform attitude data interpolation based on each target attitude data and the corresponding time information of each target attitude data in the attitude data sequence, for the time period between each time information, to obtain the updated attitude sequence of the target object in the target time period.

[0216] In one embodiment, the extreme value data identification module 1302 is specifically used to: determine the inverse sequence corresponding to the attitude data sequence; identify multiple first peak data in the attitude data sequence and multiple second peak data in the inverse sequence; determine the inverse of the second peak data as attitude valley data, and obtain multiple attitude extreme value data containing the first peak data and attitude valley data; sort according to the time information corresponding to each attitude extreme value data in the attitude data sequence, and obtain an extreme value data sequence containing each attitude extreme value data. Wherein, the attitude data corresponding to any time information in the attitude data sequence and the inverse sequence are inverses of each other.

[0217] In one embodiment, the difference feature determination module 1303 is specifically used to: determine the attitude difference between each group of adjacent extreme value data in the extreme value data sequence; statistically analyze the attitude differences corresponding to each group of adjacent extreme value data to determine a first difference feature used to characterize the central tendency of the data and a second difference feature used to characterize the degree of data dispersion.

[0218] In one embodiment, the attitude data filtering module 1304 is specifically used to: fuse the first difference feature and the second difference feature to obtain the comprehensive difference between adjacent extreme value data in the extreme value data sequence; and determine the attitude extreme value data as the target attitude data when the attitude difference between the attitude extreme value data and the neighboring extreme value data of the attitude extreme value data is greater than or equal to the comprehensive difference.

[0219] In one embodiment, the attitude data filtering module 1304 includes: a feature data filtering unit, used to determine the attitude extreme data at the feature position in the extreme data sequence as the target attitude data; and a data traversal unit, used to sequentially traverse other attitude extreme data in the extreme data sequence except for the target attitude data, and determine the attitude extreme data as the new target attitude data when the difference and difference feature match between the attitude extreme data and the neighboring extreme data of the attitude extreme data are matched.

[0220] In one embodiment, the attitude data processing device further includes a sequence partitioning module, configured to: identify neutral attitude data representing a neutral attitude from the attitude data sequence; and divide the extreme value data sequence into multiple sub-sequences based on the time information corresponding to the neutral attitude data. In this embodiment, the data traversal unit is specifically configured to: sequentially traverse other attitude extreme value data in each sub-sequence except for the target attitude data.

[0221] In one embodiment, the data traversal unit is specifically used to: determine the neighboring extreme value data of the attitude extreme value data according to the traversal order; the neighboring extreme value data includes the first extreme value data before the attitude extreme value data and the second extreme value data after the attitude extreme value data; if the first extreme value data is determined to be the target attitude data, then if the difference between the attitude extreme value data and the first extreme value data matches the difference feature, the attitude extreme value data is determined to be the new target attitude data; if the first extreme value data is not determined to be the target attitude data, then if the difference between the attitude extreme value data and the second extreme value data matches the difference feature, the attitude extreme value data is determined to be the new target attitude data.

[0222] In one embodiment, the attitude data interpolation module 1305 is specifically used to: combine the time information corresponding to each target attitude data in the attitude data sequence in pairs according to the time order to obtain multiple time periods between the time information; for each time period, determine the normalized time information corresponding to multiple time points to be interpolated in the time period according to the time span of the time period; and perform attitude data interpolation on each time point based on each target attitude data and each normalized time information to obtain the updated attitude data of the target object corresponding to each time point.

[0223] In one embodiment, the attitude data processing device further includes: an attitude curve drawing module, used to draw an updated attitude curve of the target object in a target time period based on the updated attitude sequence; a target time determination module, used to determine multiple target times of the animation frame to be generated from the target time period in response to an animation generation request initiated for the target object; and an animation frame generation module, used to generate an animation frame corresponding to each target time according to the attitude data corresponding to the target time in the updated attitude curve; the target object has the object attitude represented by the attitude data in the animation frame.

[0224] In one embodiment, the target time determination module is specifically used to: determine the time point corresponding to each target posture data as the first target time of the animation frame to be generated; uniformly select multiple second target times of the animation frame to be generated within the time period between each first target time; and the number of second target times in the same time period is greater than the polynomial order of the interpolation function used in the posture data interpolation process.

[0225] In one embodiment, the acquisition module 1301 is specifically used to: acquire multimedia information and posture information of the target object within the original time interval; analyze the emotional changes of the target object within the original time interval based on the multimedia information, and divide the original time interval into multiple target time periods; the target object has different emotions in two adjacent target time periods; and for each target time period, extract the posture data sequence of the target object in the target time period from the posture information.

[0226] Each module in the aforementioned attitude data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0227] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 14 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data involved in the attitude data processing process. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements an attitude data processing method.

[0228] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 15As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements an attitude data processing method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0229] Those skilled in the art will understand that Figure 14 The structure shown in Figure 15 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0230] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method embodiment described above.

[0231] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method embodiment described above.

[0232] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the method embodiments described above.

[0233] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant regions and areas. Furthermore, the recipient may choose not to authorize the use of their information and related data, or may refuse or conveniently refuse to receive push notifications.

[0234] In this application, during the actual application of relevant data collection and processing, the informed consent or separate consent of the personal information subject should be obtained in strict accordance with the requirements of relevant local laws and regulations, and subsequent data use and processing should be carried out within the scope of laws and regulations and the authorization of the personal information subject.

[0235] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, etc., and are not limited to these.

[0236] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0237] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for processing attitude data, characterized in that, The method includes: Obtain the pose data sequence of the target object within the target time period; Identify multiple extreme attitude data in the attitude data sequence to obtain an extreme value data sequence arranged in chronological order; Determine the difference characteristics between adjacent extreme value data in the extreme value data sequence; For each of the aforementioned extreme attitude data, if the attitude difference between the extreme attitude data and its neighboring extreme attitude data matches the difference feature, the extreme attitude data is determined as the target attitude data. Based on the target attitude data and the time information corresponding to each target attitude data in the attitude data sequence, attitude data interpolation is performed on the time intervals between the time information to obtain the updated attitude sequence of the target object in the target time interval.

2. The method according to claim 1, characterized in that, The step of identifying multiple attitude extrema in the attitude data sequence to obtain an extrema data sequence arranged in chronological order includes: Determine the opposite sequence corresponding to the attitude data sequence; the attitude data corresponding to any time information in the attitude data sequence and the opposite sequence are opposites of each other. Identify multiple first peak data points in the attitude data sequence and multiple second peak data points in the inverse number sequence; The opposite of the second peak data is determined as the attitude valley data, and multiple attitude extreme values ​​containing the first peak data and the attitude valley data are obtained. By sorting the extreme values ​​of each attitude in the attitude data sequence according to the time information corresponding to each extreme value, an extreme value data sequence containing each extreme value of the attitude is obtained.

3. The method according to claim 1, characterized in that, Determining the difference characteristics between adjacent extreme value data in the extreme value data sequence includes: Determine the attitude difference between each group of adjacent extreme data in the extreme data sequence; The attitude differences corresponding to adjacent extreme values ​​in each group are statistically analyzed to determine the first difference feature used to characterize the central tendency of the data and the second difference feature used to characterize the degree of dispersion of the data.

4. The method according to claim 3, characterized in that, The step of determining the extreme attitude data as the target attitude data when the attitude difference between the extreme attitude data and its neighboring extreme attitude data matches the difference feature includes: By fusing the first difference feature and the second difference feature, a comprehensive difference between adjacent extreme value data in the extreme value data sequence is obtained; If the attitude difference between the attitude extreme data and the neighboring extreme data of the attitude extreme data is greater than or equal to the comprehensive difference, the attitude extreme data is determined as the target attitude data.

5. The method according to claim 1, characterized in that, The step of determining the attitude extreme data as the target attitude data when the difference between the attitude extreme data and the neighboring extreme data of the attitude extreme data matches the difference feature includes: The extreme attitude data located at the characteristic position in the extreme value data sequence are determined as the target attitude data; The extreme value data in the extreme value data sequence, excluding the target attitude data, are traversed sequentially. If the difference between the extreme value data and the neighboring extreme value data of the attitude extreme value data matches the difference feature, the extreme value data of the attitude extreme value data is determined as the new target attitude data.

6. The method according to claim 5, characterized in that, The method further includes: From the attitude data sequence, identify neutral attitude data used to characterize a neutral attitude; Based on the time information corresponding to the neutral attitude data, the extreme value data sequence is divided into multiple subsequences; The step of sequentially traversing the extreme value data in the extreme value data sequence, excluding the target attitude data, includes: The extreme values ​​of other attitudes, excluding the target attitude data, are sequentially traversed in each of the subsequences.

7. The method according to claim 5, characterized in that, The step of determining the attitude extreme data as new target attitude data when the difference between the attitude extreme data and the neighboring extreme data of the attitude extreme data matches the difference feature includes: According to the traversal order, determine the neighboring extreme value data of the attitude extreme value data; the neighboring extreme value data includes the first extreme value data before the attitude extreme value data and the second extreme value data after the attitude extreme value data; If the first extreme value data is determined to be the target attitude data, then if the difference between the attitude extreme value data and the first extreme value data matches the difference feature, the attitude extreme value data is determined to be the new target attitude data. If the first extreme value data is not determined as target attitude data, then if the difference between the attitude extreme value data and the second extreme value data matches the difference feature, the attitude extreme value data will be determined as the new target attitude data.

8. The method according to claim 1, characterized in that, The step of interpolating attitude data based on the target attitude data and the corresponding time information of each target attitude data in the attitude data sequence, and obtaining the updated attitude sequence of the target object in the target time period, includes: The time information corresponding to each target attitude data in the attitude data sequence is combined in pairs according to the time order to obtain multiple time periods between each time information. For each of the time periods, based on the time span of the time period, normalized time information corresponding to multiple interpolation points in the time period is determined respectively; Based on the target pose data and the normalized time information, pose data interpolation is performed on each time point to obtain the updated pose data of the target object at each time point.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: Based on the updated posture sequence, the updated posture curve of the target object in the target time period is plotted; In response to an animation generation request initiated for the target object, multiple target moments for generating animation frames are determined from the target time period; For each target time, an animation frame corresponding to the target time is generated according to the posture data corresponding to the target time in the updated posture curve; the target object has the object posture represented by the posture data in the animation frame.

10. The method according to claim 9, characterized in that, Determining multiple target moments for generating animation frames from the target time period includes: The time points corresponding to each of the target pose data are determined as the first target time of the animation frame to be generated; In the time period between each of the first target moments, multiple second target moments of the animation frames to be generated are selected evenly; the number of second target moments in the same time period is greater than the polynomial order of the interpolation function used in the attitude data interpolation process.

11. The method according to any one of claims 1-8, characterized in that, The acquisition of the pose data sequence of the target object within the target time period includes: Acquire multimedia and attitude information of the target object within the original time interval; Based on the multimedia information, the emotional changes of the target object in the original time interval are analyzed, and the original time interval is divided into multiple target time periods; the target object has different emotions in two adjacent target time periods; For each target time period, the attitude data sequence of the target object in the target time period is extracted from the attitude information.

12. An attitude data processing device, characterized in that, The device includes: The acquisition module is used to acquire the pose data sequence of the target object within the target time period; An extreme value data identification module is used to identify multiple extreme value data in the attitude data sequence and obtain an extreme value data sequence arranged in chronological order. A difference feature determination module is used to determine the difference features between adjacent extreme value data in the extreme value data sequence; The attitude data filtering module is used to determine the attitude extreme data as target attitude data when the attitude difference between the attitude extreme data and the neighboring extreme data of the attitude extreme data matches the difference feature. The attitude data interpolation module is used to perform attitude data interpolation on the time intervals between the target attitude data and the time information corresponding to each target attitude data in the attitude data sequence, so as to obtain the updated attitude sequence of the target object in the target time interval.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.