Motion data acquisition system, time series splicing method and animation generation method

By using real-time transmission and data processing, the problem of overlapping areas in animation sequences of key points for 3D motion capture under long-distance, multi-set calibration environments was solved, achieving efficient and accurate animation sequence generation and reducing the complexity and errors of manual processing.

CN122199892BActive Publication Date: 2026-11-27CHANGZHOU KUNWEI SENSOR TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202610669996.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-05-15
Publication Date
2026-11-27
Estimated Expiration
2046-05-15

AI Technical Summary

Technical Problem

In long-distance, multi-set calibration environments, the animation sequences of 3D motion capture key points have overlapping areas. Traditional methods require manual frame matching and editing, resulting in a large workload and inaccuracy.

Method used

A motion data acquisition system is adopted to transmit animation sequences in real time through a synchronous transmission protocol. The controller and data processor are used to calculate spatial offset and retrieve effective frames to achieve real-time and synchronous transmission of key points of 3D motion capture. Continuous time series data is generated by cropping and splicing, and data processing is performed by Butterworth low-pass filter and dynamic time warping algorithm.

Benefits of technology

It enables real-time and synchronous transmission of key point data for 3D motion capture, reduces the workload of matching complex skeletal animation layers, improves the accuracy and efficiency of splicing, and avoids the subjective errors and frame redundancy problems in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122199892B_ABST
    Figure CN122199892B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of image communication, and especially relates to a motion data acquisition system, a time sequence splicing method and an animation generation method, which are applied to a three-dimensional motion capture scene provided with multiple sets of calibration environments in parallel, and comprise a three-dimensional motion capture camera group, a control machine, a data processor and a communication module; the three-dimensional motion capture camera group acquires three-dimensional motion capture key point data, which is transmitted to the control machine in real time by the communication module; the data processor adds a spatial offset to the three-dimensional motion capture key points; the control machine respectively performs effective frame retrieval according to the actual physical range of each set of calibration environments; each actual three-dimensional motion capture key point is cropped and spliced by the data processor; and corresponding continuous time sequence data is constructed. The present application effectively solves the problems that different levels cannot be spliced according to different frames and cannot be spliced accurately according to the same frame in the traditional method, and can finally realize more accurate splicing of each level according to different frames.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image communication technology, and in particular to a motion data acquisition system, a time series stitching method, and an animation generation method. Background Technology

[0002] For a set of 3D motion capture keypoints obtained under a calibration environment, kinematic parameters can be obtained through inverse kinematics processing and bound to a skeleton model, which can then make the kinematic skeleton model move and obtain an animation sequence file.

[0003] For long-distance scenarios that require multiple sets of parallel calibrations, multiple sets of 3D motion capture key points are obtained. Multiple sets of kinematic parameters are obtained through inverse kinematics, which are then bound to the skeletal model. This allows the kinematic skeletons to move individually, resulting in multiple sets of corresponding animation sequence files.

[0004] To avoid data loss at a specific location over a long distance, there will be overlapping areas between the data collected by each group of cameras. Therefore, there will also be some overlap between the resulting multiple animation files. For example... Figure 1 As shown, this is a schematic diagram of multiple calibration environments composed of a single calibration environment. The top of the diagram shows a set of cameras and the acquisition range 01 corresponding to the four cameras 02 in that set, while the bottom of the diagram shows a schematic diagram of parallel acquisition by three sets of cameras. The acquisition range 01 of two adjacent sets of cameras has an overlapping area 03, which is also reflected in the animation sequence file corresponding to the two sets of cameras.

[0005] The traditional approach is to first perform animation matching to find frames that closely match the animation sequences, i.e., the best matching frames. Then, the animation sequences are edited based on the best matching frames to obtain valid animation sequences. Finally, the valid animation sequences are merged to obtain the final animation sequence.

[0006] For animation sequences obtained through scientific calculations of kinematic parameters and with complex skeletal structures in the model, traditional processing would generate a huge workload. Moreover, due to subjective factors, different matching frames would be generated for animation segments at different levels within the same animation file. Summary of the Invention

[0007] This invention provides a motion data acquisition system, a time series stitching method, and an animation generation method, which can effectively solve the problems in the background art.

[0008] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A motion data acquisition system is used in a three-dimensional motion capture scene in which several sets of calibration environments are set parallel to each other along the direction of motion. The system includes several sets of three-dimensional motion capture cameras set in each set of calibration environments, as well as a control unit, a data processor and a communication module. The 3D motion capture camera group acquires animation sequences containing at least two 3D motion capture key points; The communication module uses a synchronous transmission protocol to transmit the animation sequences from each of the three-dimensional motion capture camera groups to the control unit in real time; The controller and the data processor work together via a communication link to perform the following operations: The controller sends the received animation sequence to the data processor. The data processor overlays spatial offsets onto the 3D motion capture key points to generate actual 3D motion capture key points and returns them to the controller. The spatial offsets are used to transform the local coordinate systems of each group of calibration environments to a unified coordinate system. The controller performs valid frame retrieval for each actual 3D motion capture key point according to the actual physical range of each calibration environment, and sends the retrieval results to the data processor. The data processor performs cropping and splicing of each actual 3D motion capture key point within the valid frame based on the retrieval results, and constructs continuous time series data corresponding to the actual 3D motion capture key points.

[0009] The time-series stitching method is applied to 3D motion capture scenes where several sets of calibration environments are set parallel to the motion direction, including: Within several animation sequences containing at least two 3D motion capture keypoints and to be stitched together, spatial offsets are superimposed on the 3D motion capture keypoints to obtain the actual 3D motion capture keypoints. Each of the animation sequences comes from a set of calibration environments, and the spatial offset is used to transform the local coordinate system corresponding to each set of calibration environments to a unified coordinate system; Based on the actual physical range of each calibration environment, effective frames are retrieved for each of the actual 3D motion capture key points. Based on the valid frames corresponding to the calibration environments of each group, the actual 3D motion capture key points are cropped and stitched together to construct continuous time series data corresponding to the actual 3D motion capture key points.

[0010] Furthermore, the time series splicing method also includes filtering the spliced ​​continuous time series data using a Butterworth low-pass filter.

[0011] Furthermore, the continuous time series data corresponding to each of the actual 3D motion capture key points are combined into a 3D tensor, the dimensions of which include: The time step dimension corresponds to the temporal length of the continuous time series data. The key point dimension corresponds to the number of three-dimensional motion capture key points in the preset skeletal model; Coordinate dimension, corresponding to the number of channels in three-dimensional spatial coordinates.

[0012] Furthermore, when there are missing data points in the three-dimensional tensor, the missing data points are filled in by interpolation.

[0013] Furthermore, it also includes the process of modifying the skeletal model based on the subject's skeletal condition.

[0014] Furthermore, the actual 3D motion capture key points are cropped and stitched together, including: Identify the overlapping area of ​​the acquisition range of two adjacent sets of calibration environments, and determine the spatial consistency of the actual three-dimensional motion capture key points within the overlapping area; Based on the time axis corresponding to the spatially consistent overlapping areas, the cropping and splicing are completed.

[0015] Further, based on the spatial consistency alignment of the overlapping regions corresponding to the time axis, including: A dynamic time warping algorithm is used to perform global nonlinear time alignment on the time series of the actual 3D motion capture key points in the overlapping areas of two adjacent sets of calibration environments.

[0016] Further, the cutting and splicing are completed, including: Within the overlapping area after time alignment, the two sets of actual 3D motion capture key point data are weighted and fused to obtain fused key point data; The weights of the weighted fusion change linearly with the temporal progression of the overlapping region, and are dynamically adjusted based on the acquisition confidence of the actual 3D motion capture key points.

[0017] The animation generation method, which employs the time series splicing method described above, also includes: The continuous time series data is used as input, and the motion parameters are obtained through inverse kinematics calculation. The motion parameters are fused with a preset skeletal model to generate a continuous animation sequence.

[0018] The technical solution of this invention can achieve the following technical effects: This invention enables real-time and synchronous transmission of key point data from 3D motion capture, changing the cumbersome process of generating animation sequence files first and then manually finding the best matching frames for editing and merging in the traditional solution. It reduces the workload of matching complex skeletal animation layers and effectively solves the problems of different layers being unable to be spliced ​​according to different frames and inaccurate splicing according to the same frames in the traditional method. Ultimately, it can achieve more refined and accurate splicing of each layer according to different frames. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram illustrating the formation of multiple calibration environments from a single calibration environment. Figure 2 This is a framework diagram of a motion data acquisition system; Figure 3 This is a flowchart of a time series stitching method based on three-dimensional coordinates; Figure 4 This diagram illustrates how missing data points in a 3D tensor are filled in using interpolation. Figure label: 01. Acquisition range; 02. Camera; 03. Overlapping area. Detailed Implementation

[0021] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0022] Example 1 Motion data acquisition systems, such as Figure 2 As shown, it is applied to a three-dimensional motion capture scene in which several sets of calibration environments are set parallel to each other along the direction of motion. It includes several three-dimensional motion capture camera groups set in each set of calibration environments, as well as a control unit, a data processor and a communication module. A 3D motion capture camera array acquires animation sequences containing at least two 3D motion capture keypoints. The communication module uses a synchronous transmission protocol to transmit animation sequences from each 3D motion capture camera group to the control unit in real time; The controller and data processor work together via a communication link to perform the following operations: The controller sends the received animation sequence to the data processor. The data processor overlays spatial offsets onto the 3D motion capture key points, generates the actual 3D motion capture key points, and returns them to the controller. The spatial offsets are used to transform the local coordinate systems of each calibration environment to a unified coordinate system. The controller performs valid frame retrieval for each actual 3D motion capture key point according to the actual physical range of each calibration environment, and sends the retrieval results to the data processor. The data processor then clips and stitches the actual 3D motion capture key points within the valid frames based on the retrieval results, constructing continuous time series data corresponding to the actual 3D motion capture key points.

[0023] In some embodiments of the present invention, the actual physical range of the calibration environment is the spatial range within which the corresponding group of motion capture cameras can achieve stable and high-precision three-dimensional coordinate calculation after calibration. The calibration is completed in advance by a calibration board and stored in the system. As for the three-dimensional motion capture key points, as a specific implementation example, given that a visible light camera is used in this embodiment, an intelligent key point recognition algorithm in a deep learning model can be used based on the shooting results. This is especially suitable for implementations with multiple three-dimensional motion capture key points. The intelligent key point recognition algorithm first identifies two-dimensional key points in the acquired animation sequence, then triangulates the two-dimensional key points, and calculates the three-dimensional coordinates of multiple three-dimensional motion capture key points in all frames. The intelligent key point recognition algorithm in this embodiment can be obtained from the prior art and is not considered an improvement of the present invention.

[0024] In some embodiments of the present invention, the unified coordinate system is a world coordinate system pre-defined for the entire space, and the local coordinate system corresponding to each group of calibration environments is the world coordinate system pre-defined for the corresponding group; correspondingly, the spatial offset is the transformation parameter between the world coordinate system of each group of calibration environments and the world coordinate system of the entire space. In some embodiments of the present invention, it includes at least a translation parameter, which can be calculated by global reference points in the calibration site, and each group of calibration environments corresponds to a unique spatial offset.

[0025] During implementation, for each calibration environment, all actual 3D motion capture key points are traversed frame by frame to determine whether the 3D coordinates of the actual 3D motion capture key points fall within the actual physical range of the current calibration environment. If they do, the actual 3D motion capture key point is considered valid data in the current frame, and the corresponding frame is considered a valid frame for the corresponding actual 3D motion capture key point. If they do not fall within the frame, they are considered invalid data, and the corresponding frame is considered an invalid frame for the corresponding actual 3D motion capture key point. Finally, a valid frame time sequence interval corresponding to the calibration environment is generated for each actual 3D motion capture key point. In this embodiment, the automatic selection of valid frames is completed directly based on the physical boundaries of the calibration environment, which is different from the manual matching and editing method after animation generation in the prior art. This eliminates the influence of human subjective factors from the data source and avoids the introduction of invalid and low-precision boundary data in the subsequent stitching process. The coordinate system is the same, which can ensure that all key point data in the subsequent stitching are under the same spatial reference, fundamentally avoiding the spatial misalignment problem between different coordinate systems and ensuring the spatial consistency of the stitched data.

[0026] In some embodiments of the present invention, the communication module may use wired communication or wireless communication, both of which are within the protection scope of the present invention; during implementation, when the number of cameras is large, the difficulty of wireless communication transmission increases, and in this case, wired communication is preferred.

[0027] The transmission between the controller and the data processor can be wired or wireless as needed. Taking wireless communication as an example, the following explanation illustrates this: The wireless communication module is integrated into the 3D motion capture camera group, controller, and data processor. It uses synchronous transmission protocols, such as TDMA or WiFi, to establish communication links between the 3D motion capture camera group and the controller, as well as bidirectional wireless communication links between the controller and the data processor. The wireless communication module transmits the raw 3D motion capture keypoint data collected by the 3D motion capture camera group to the controller in real time at a preset transmission rate, such as 100Mbps-1Gbps. In this embodiment, the synchronous transmission protocol effectively avoids latency and misalignment issues during multi-camera data transmission, ensuring the timing consistency of keypoint data across multiple calibration environments.

[0028] As a preferred implementation, the communication frequency of the communication module can be adaptively adjusted according to the number of multiple cameras and the amount of data transmission to ensure the stability of data transmission; the spatial offset calculation accuracy of the data processor and the effective frame retrieval threshold of the controller can also be flexibly set according to the scale of the actual calibration environment and the motion capture accuracy requirements to adapt to different long-distance multi-group calibration motion capture scenarios.

[0029] This implementation method, through the collaborative work of the aforementioned components and relying on the communication module and synchronous transmission protocol, achieves real-time and synchronous transmission of key point data for 3D motion capture. It changes the cumbersome process of generating animation sequence files first and then manually finding the best matching frames for editing and merging in the traditional solution. It reduces the workload of matching complex skeletal animation layers and effectively solves the problem in the traditional method that different layers cannot be spliced ​​according to different frames, and splicing according to the same frame is inaccurate. Ultimately, it can achieve more refined and accurate splicing of each layer according to different frames.

[0030] In this embodiment, the controller receives the actual 3D motion capture key point data from the communication link and automatically performs effective frame retrieval based on the actual physical range of each calibration environment. Combined with the communication collaborative processing of effective frame timing alignment from multiple cameras, it not only accurately filters out effective data that conforms to the physical boundary, but also specifically avoids frame redundancy and misalignment problems caused by overlapping areas of multiple calibration environments, eliminating the subjective error of traditional manual matching and solving the hierarchical conflict problem from the bottom layer.

[0031] Based on this, the communication link between the controller and the data processor enables synchronous interaction of spatial offset parameters, ensuring the accuracy of the transformation from local coordinate systems to a unified coordinate system in multiple calibration environments, adapting to the spatial layout requirements of multiple calibrations. Then, the data processor clips and splices key points within the effective frame, accurately processes overlapping area data, and finally constructs continuous time series data, completing the data transmission closed loop with the help of the communication module.

[0032] Example 2 A time-series stitching method based on three-dimensional coordinates is applied to a three-dimensional motion capture scene where multiple calibration environments are set up parallel to the motion direction. In this embodiment, the multiple calibration environments specifically refer to multiple optical motion capture camera calibration spaces arranged parallel to the motion path of the motion capture target. The acquisition ranges of adjacent calibration environments overlap to avoid data acquisition blind spots during long-distance motion capture. Figure 3 As shown, it includes: S1: In several animation sequences containing at least two 3D motion capture keypoints and to be stitched together, spatial offsets are superimposed on the 3D motion capture keypoints to obtain the actual 3D motion capture keypoints. Each animation sequence comes from a set of calibration environments, and the spatial offset is used to transform the local coordinate system corresponding to each set of calibration environments to a unified coordinate system; S2: Based on the actual physical range of each calibration environment, perform effective frame retrieval for each actual 3D motion capture key point; S3: Based on the valid frames corresponding to each calibration environment, crop and stitch together each actual 3D motion capture key point to construct continuous time series data corresponding to the actual 3D motion capture key points.

[0033] Corresponding to steps S1 and S2 above, step S3 uses the world coordinate system of the entire space as the spatial reference and a unified temporal axis as the time reference. For each actual 3D motion capture key point, the actual 3D motion capture key point data generated in each set of calibration environments is cropped according to the temporal order of the effective frames. After removing invalid frame data, multiple sets of data are stitched together, ultimately generating continuous time series data that covers the complete motion path of the motion capture target and corresponds one-to-one with each 3D motion capture key point. The cropping and stitching of data are completed based on pre-retrieved effective frames, requiring no manual intervention. This achieves automated stitching of multiple sets of motion capture data, significantly improving the processing efficiency of long-distance motion capture data while ensuring the continuity of temporal data.

[0034] As a preferred embodiment of the above embodiments, the time series splicing method further includes: smoothing the spliced ​​continuous time series data. In some embodiments of the present invention, the smoothing process specifically involves filtering the spliced ​​continuous time series data using a Butterworth low-pass filter.

[0035] In the implementation process, the following parameters are used as a specific example: the Butterworth low-pass filter adopts an IIR type digital filter, the filter order is set to 4th order, and the cutoff frequency is preset according to the motion capture target's motion type; the cutoff frequency is set to 6Hz in conventional human motion capture scenarios, and can be adaptively adjusted to 10-15Hz in fast motion scenarios.

[0036] In this preferred embodiment, the filtering process can be specifically performed on the continuous time-series data of a single 3D motion capture key point, applying filtering to the coordinate time-series data of the X, Y, and Z axes separately. This eliminates high-frequency jitter noise introduced during the stitching process and environmental interference noise during acquisition. By utilizing the maximum flat amplitude characteristic within the passband of the Butterworth low-pass filter, noise is eliminated while preserving the true motion trend of the motion capture target to the greatest extent possible. This avoids the loss of motion details caused by filtering, resolves the jitter and abrupt changes in the stitched time-series data, and further improves the smoothness of subsequent animation generation.

[0037] As a preferred embodiment of the above, the continuous time series data corresponding to each actual 3D motion capture key point are combined into a 3D tensor, and the dimensions of the 3D tensor include: The time step dimension corresponds to the time series length of continuous time series data. The dimension value is equal to the total number of frames of the complete time series after splicing. Each frame corresponds to a time step. Key point dimension, which corresponds to the number of 3D motion capture key points in the preset skeletal model; The coordinate dimension corresponds to the number of channels in three-dimensional spatial coordinates. The dimension value is fixed at 3, which corresponds to the coordinate values ​​of the X-axis, Y-axis, and Z-axis in the world coordinate system, respectively.

[0038] Based on the above embodiments, as a further optimization example, using time step as the row, key point ID as the column, and coordinate channel as the depth, all continuous time series data are filled into the tensor structure according to the corresponding dimension index to form a standardized three-dimensional data structure, thereby integrating the scattered single key point time series data into a standardized three-dimensional tensor structure and unifying the data format.

[0039] As a preferred embodiment of the above, such as Figure 4 In the three-dimensional tensor shown, the horizontal axis represents N actual three-dimensional motion capture key points, and the vertical axis represents the continuous time series data corresponding to the actual three-dimensional motion capture key points. When there are missing data points in the three-dimensional tensor, the missing data points are filled in by interpolation.

[0040] In some embodiments of the present invention, the missing data points include frame points in the three-dimensional tensor that lack coordinate data due to keypoint occlusion, exceeding the calibration range, or acquisition and recognition failure. Preferably, the interpolation method includes, but is not limited to, any one of linear interpolation, cubic spline interpolation, and Bezier interpolation. An appropriate interpolation method can be selected based on the duration of the missing data. For example, linear interpolation is used for a single-frame missing data point, cubic spline interpolation is used for short-term missing data points of up to three consecutive frames, and Bezier interpolation can be used to fit the motion trajectory for long-term missing data points of more than three consecutive frames.

[0041] As a preferred embodiment of the above, the process of modifying the skeletal model based on the subject's skeletal condition is also included.

[0042] In the implementation of this preferred scheme, the scaling factor of each body segment is calculated by combining the subject's height and weight with the original geometric dimensions of the skeletal model. The scaling of the skeleton is completed in advance, thereby personalizing the general skeletal model and scaling it to match the subject. After the subject's motion data is acquired, it is bound to the matched skeletal model to generate motion.

[0043] As a preferred embodiment of the above, the actual 3D motion capture key points are trimmed and stitched together, including: Identify the overlapping areas of the acquisition ranges of two adjacent calibration environments, and determine the spatial consistency of the key points for actual 3D motion capture within the overlapping areas; align the time axes corresponding to the overlapping areas based on spatial consistency, and complete the cropping and stitching.

[0044] As a further preferred embodiment, the time axis corresponding to the overlapping region is aligned based on spatial consistency, including: A dynamic time warping algorithm is used to perform global nonlinear time alignment on the time series of actual 3D motion capture key points in the overlapping areas of two adjacent calibration environments.

[0045] This step assumes that the overlapping areas of the two adjacent calibration environment acquisition ranges have been identified, and the spatial consistency of the actual 3D motion capture key points within the overlapping areas has been determined. In some embodiments of this invention, the input to the dynamic time warping algorithm is: time series data of all key points within the overlapping area of ​​the preceding calibration environment, and time series data of all key points within the overlapping area of ​​the subsequent calibration environment; using the Euclidean distance between the coordinates of corresponding key points in the two sets of sequences as the cost function, a cumulative cost matrix is ​​constructed, and the optimal matching path between the two sets of time series is obtained through dynamic programming. Based on the optimal matching path, the global nonlinear temporal alignment of the two sets of sequences is completed, eliminating the time misalignment problem caused by the asynchronous frame rates of the two acquisition devices and the change in the motion speed of the motion capture target.

[0046] After this step is completed, a unified timeline for the overlapping region is generated, and the overlapping region data from both calibration environments are mapped to this unified timeline. Unlike the linear alignment method of single-frame best matching in existing technologies, this method achieves global nonlinear time alignment through a dynamic time warping algorithm. This adapts to the non-uniform time misalignment problem between the two sets of acquired data, fundamentally solving the splicing jump problem caused by time synchronization asynchrony. It provides a precise time reference for subsequent smooth fusion, further improving splicing accuracy.

[0047] After completing the above steps, the cutting and splicing process includes: Within the overlapping area after temporal alignment, the two sets of actual 3D motion capture key point data are weighted and fused to obtain the fused key point data; The weights of the weighted fusion change linearly with the temporal progression of the overlapping region, and are dynamically adjusted based on the acquisition confidence of key points captured by actual 3D motion.

[0048] In this embodiment, the acquisition confidence score is a quantitative indicator used by the 3D motion capture system to synchronously output data for a single actual 3D motion capture key point within a single frame. It quantifies the effectiveness and accuracy of the 3D coordinate data acquisition for that key point. Its value ranges from 0 to 1, with higher values ​​indicating higher reliability and accuracy of the corresponding key point data. In some embodiments of this invention, the calculation dimensions of the acquisition confidence score include at least one of the following: key point identification effectiveness, multi-camera observation consistency, temporal motion continuity, and interference resistance of the acquisition environment.

[0049] In this invention, the linear change weight corresponding to the time sequence advancement is specifically a basic weight for fusion that is pre-set and changes linearly with the advancement of the unified time sequence axis in the overlapping area of ​​two adjacent calibration environments after global nonlinear time sequence alignment is completed by the dynamic time warping algorithm. This basic fusion weight is divided into a decreasing weight corresponding to the preceding calibration environment data and an increasing weight corresponding to the following calibration environment data. The sum of the values ​​of the two weights at the same time sequence position is always 1, which is the benchmark weight when the acquisition confidence correction is not considered.

[0050] Within the effective range of linear weights, the timeline is strictly limited to the unified timeline of the overlapping region after time alignment using the dynamic time warping algorithm, rather than the original acquisition timelines of the two calibration environments. In some embodiments of this invention, the rules for determining the timeline boundaries are as follows: The starting frame of the overlapping region, that is, the intersection of the end boundary of the preceding valid calibration environment frame and the starting boundary of the following valid calibration environment frame, is defined as the 0th frame of the overlapping region. The end frame of the overlapping region, that is, the point at which the preceding valid calibration environment frame completely exits and the point at which the following valid calibration environment frame fully covers, is defined as the (N-1)th frame of the overlapping region. The total number of frames after overlapping region alignment is N, where N is a positive integer, corresponding to the complete change cycle of the linear weights.

[0051] During implementation, the basic weights of the pre-calibration environment decrease linearly with time, while the basic weights of the subsequent calibration environment increase linearly with time, without any abrupt changes or inflection points, ensuring a smooth transition of motion data. The weights of all intermediate frames change strictly linearly with the increase of the frame number, without any non-linear abrupt changes.

[0052] As a preferred embodiment of the above, the step of dynamically adjusting the weights based on the acquisition confidence level corresponding to the actual 3D motion capture key points is as follows: Using the linearly changing weights corresponding to the time progression as the base weights, and the acquisition confidence levels corresponding to the two sets of actual 3D motion capture keypoints as correction coefficients, the base weights are normalized and corrected to obtain the final fusion weights corresponding to the two sets of data. In some embodiments of the present invention, when the acquisition confidence level corresponding to a single set of actual 3D motion capture keypoints is lower than a preset confidence threshold, the fusion weight of the corresponding keypoint data in that set is reset to 0, and fusion is completed using only the other set of keypoint data with the required acquisition confidence level.

[0053] As a specific example of implementation: Based on the linear change weights corresponding to the time progression, let w be the basic weight of the key point data corresponding to the preceding calibration environment. 01The basic weight of the key point data corresponding to the subsequent calibration environment is w. 02 , where w 01 with w 02 As the overlapping region progresses temporally, w exhibits linear decreasing and linear increasing patterns, respectively, and at the same temporal position... 01 + w 02 =1; Simultaneously acquire the acquisition confidence level c1 of the key points corresponding to the preceding calibration environment and the acquisition confidence level c2 of the key points corresponding to the subsequent calibration environment at this time sequence position; As described in the above embodiment, the acquisition confidence level ranges from 0 to 1. Using the two sets of acquisition confidence levels as correction coefficients, the basic weights are normalized and corrected. The final formula for calculating the fused weights is: w1=( w 01 ×c1) / (w 01 ×c1 + w 02 ×c2); w2=( w 02 ×c2) / (w 01 ×c1 + w 02 ×c2); Where w1 is the final fusion weight of the key point data corresponding to the preceding calibration environment, w2 is the final fusion weight of the key point data corresponding to the subsequent calibration environment, and w1+w2=1.

[0054] As another example of the application of acquisition confidence, in the process of completing missing data points through interpolation, the acquisition confidence corresponding to the 3D motion capture keypoints is used as the screening criterion. Valid frames whose acquisition confidence before and after the missing data point meets preset requirements are selected as interpolation reference frames. The interpolation completion of missing data points is then completed based on these reference frames. In this application method, by combining the spatial constraints of the skeletal topology with the selection of reference frames for acquisition confidence, the interpolation results are optimized from two dimensions: data credibility and physical rationality. This solves the problems of distortion and non-compliance with motion laws in existing interpolation completion results, ensuring the integrity and accuracy of time-series data.

[0055] In the specific implementation process, the confidence threshold of the interpolation reference frame can be preset, and the time-series frames before and after the missing data point can be traversed. Only frames with a collection confidence greater than or equal to the confidence threshold are selected as interpolation reference frames, and invalid frames with low confidence are removed. Based on the coordinate data of the filtered reference frames, interpolation calculation is performed to ensure that the interpolation result is based on the real collection data with high confidence, thereby further improving the accuracy of interpolation completion.

[0056] Example 3 The animation sequence generation method, which employs the three-dimensional coordinate-based time series stitching method as described in Example 2, further includes: A1: Take continuous time series data as input and obtain motion parameters through inverse kinematics calculation; During implementation, inverse kinematics calculations must be performed based on a pre-defined skeletal model. This model predefines bone hierarchy, joint types, joint degrees of freedom, and range of motion constraints. The world coordinate system three-dimensional coordinates of each keypoint in the continuous time-series data are used as the end effector position for inverse kinematics calculation. In some embodiments of this invention, the rotation angles, displacements, and other motion parameters of each joint in the skeletal model can be calculated frame-by-frame using the cyclic coordinate descent method or the Jacobian matrix method. These motion parameters correspond one-to-one with the temporal sequence of the continuous time-series data. A2: The motion parameters are fused with the preset skeletal model to generate a continuous animation sequence.

[0057] The motion parameters targeted in this step are obtained by frame-by-frame calculation and bound to the corresponding joints of the preset skeletal model in a temporal sequence. This drives the skeletal model to execute the corresponding motion actions frame by frame, generating a continuous animation sequence that covers the complete motion path of the motion capture target. Finally, the generated animation sequence can be exported as a common animation format file such as FBX and BVH, which can be adapted to various 3D animation production, game development, virtual digital human and other application scenarios.

[0058] Based on the stitched high-precision continuous time series data, inverse kinematics calculation and animation generation are directly performed. Unlike the existing technology of generating multiple animation segments first and then manually stitching and editing them, this method avoids problems such as hierarchical matching conflicts and frame skipping jitter in the stitching of multiple animation segments from the root. It realizes the automated and high-precision generation of long-distance motion capture animation, greatly reduces the labor cost of animation production, and improves the quality of the finished animation.

[0059] Those skilled in the art should understand that this invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to this invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.

Claims

1. A motion data acquisition system, applied to a three-dimensional motion capture scene in which several sets of calibration environments are set parallel to the direction of motion, characterized in that: It includes several groups of three-dimensional motion capture cameras that are respectively set in each of the calibration environments, as well as a control unit, a data processor and a communication module; The 3D motion capture camera group acquires animation sequences containing at least two 3D motion capture key points; The communication module uses a synchronous transmission protocol to transmit the animation sequences from each of the three-dimensional motion capture camera groups to the control unit in real time; The controller and the data processor work together via a communication link to perform the following operations: The controller sends the received animation sequence to the data processor. The data processor overlays spatial offsets onto the 3D motion capture key points to generate actual 3D motion capture key points and returns them to the controller. The spatial offsets are used to transform the local coordinate systems of each group of calibration environments to a unified coordinate system. The controller performs effective frame retrieval for each actual 3D motion capture key point according to the actual physical range of each calibration environment, and sends the retrieval results to the data processor. The data processor performs cropping and splicing of each actual 3D motion capture key point within the effective frame according to the retrieval results to construct continuous time series data corresponding to the actual 3D motion capture key points. The actual 3D motion capture key points within the effective frame are cropped and stitched together, including: Identify the overlapping area of ​​the acquisition range of two adjacent sets of calibration environments, and determine the spatial consistency of the actual 3D motion capture key points within the overlapping area; align the time axis corresponding to the overlapping area based on the spatial consistency, including using a dynamic time warping algorithm to perform global nonlinear temporal alignment of the time series of the actual 3D motion capture key points within the overlapping area of ​​two adjacent sets of calibration environments. Complete the cutting and splicing, including: Within the overlapping area after temporal alignment, the two sets of actual 3D motion capture keypoint data are weighted and fused to obtain fused keypoint data. The weights of the weighted fusion change linearly with the temporal progression of the overlapping area and are dynamically adjusted based on the acquisition confidence of the actual 3D motion capture keypoints. Specifically, the linearly changing weights corresponding to the temporal progression are used as the base weights, and the acquisition confidence of the two sets of actual 3D motion capture keypoints is used as the correction coefficient to normalize and correct the base weights, thus obtaining the final fusion weights corresponding to the two sets of data.

2. A time-series stitching method, applied to a 3D motion capture scene with several sets of calibration environments set parallel to the direction of motion, characterized in that... include: Within several animation sequences containing at least two 3D motion capture keypoints and to be stitched together, spatial offsets are superimposed on the 3D motion capture keypoints to obtain the actual 3D motion capture keypoints. Each of the animation sequences comes from a set of calibration environments, and the spatial offset is used to transform the local coordinate system corresponding to each set of calibration environments to a unified coordinate system; Based on the actual physical range of each calibration environment, effective frames are retrieved for each of the actual 3D motion capture key points. Based on the valid frames corresponding to the calibration environments of each group, each actual 3D motion capture key point is cropped and stitched together to construct continuous time series data corresponding to the actual 3D motion capture key points; The actual 3D motion capture key points are cropped and stitched together, including: Identify the overlapping area of ​​the acquisition range of two adjacent sets of calibration environments, and determine the spatial consistency of the actual 3D motion capture key points within the overlapping area; align the time axis corresponding to the overlapping area based on the spatial consistency, including using a dynamic time warping algorithm to perform global nonlinear temporal alignment of the time series of the actual 3D motion capture key points within the overlapping area of ​​two adjacent sets of calibration environments. Complete the cutting and splicing, including: Within the overlapping area after temporal alignment, the two sets of actual 3D motion capture keypoint data are weighted and fused to obtain fused keypoint data. The weights of the weighted fusion change linearly with the temporal progression of the overlapping area and are dynamically adjusted based on the acquisition confidence of the actual 3D motion capture keypoints. Specifically, the linearly changing weights corresponding to the temporal progression are used as the base weights, and the acquisition confidence of the two sets of actual 3D motion capture keypoints is used as the correction coefficient to normalize and correct the base weights, thus obtaining the final fusion weights corresponding to the two sets of data.

3. The time series splicing method according to claim 2, characterized in that, Also includes: The spliced ​​continuous time series data is filtered using a Butterworth low-pass filter.

4. The time series splicing method according to claim 2, characterized in that, The continuous time series data corresponding to each of the actual 3D motion capture key points are combined into a 3D tensor, and the dimensions of the 3D tensor include: The time step dimension corresponds to the temporal length of the continuous time series data. The key point dimension corresponds to the number of three-dimensional motion capture key points in the preset skeletal model; Coordinate dimension, corresponding to the number of channels in three-dimensional spatial coordinates.

5. The time series splicing method according to claim 4, characterized in that, When there are missing data points in the three-dimensional tensor, the missing data points are filled in by interpolation.

6. The time series splicing method according to claim 5, characterized in that, It also includes the process of modifying the skeletal model based on the subject's skeletal condition.

7. An animation generation method, characterized in that, The time series splicing method according to any one of claims 2-6 further includes: The continuous time series data is used as input, and the motion parameters are obtained through inverse kinematics calculation. The motion parameters are fused with a preset skeletal model to generate a continuous animation sequence.

Citation Information

Patent Citations

  • Motion capture method based on sports equipment training

    CN121545230A