A test method, device, equipment, system and medium for posture tracking module
Through the testing method of the pose tracking module, the test results are obtained to evaluate its performance, which solves the problem in the existing technology that it is difficult to evaluate the tracking effect and accuracy of the pose tracking module, and achieves accurate evaluation and display of the performance of the pose tracking module.
Patent Information
- Application Number
- CN202210095893.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-26
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-01-26
AI Technical Summary
The existing pose tracking module lacks effective testing and evaluation methods in terms of tracking effect and accuracy evaluation, making it difficult to determine whether it meets the usage requirements.
Provide a testing method for the pose tracking module. By obtaining the pose tracking data and performance loss data in the test results, the performance characterization parameters of the pose tracking module, including pose accuracy parameters and performance loss parameters, are determined, and then performance evaluation is performed. .
It achieves an objective and accurate evaluation of the performance of the pose tracking module, can visually display the pose accuracy and performance loss, helps determine the accuracy and efficiency of the module, and reduces the probability of integrating low-performance modules into applications.
Smart Images

Figure CN114442808B
Abstract
Description
Technical Field
[0001] The present application relates to the field of positioning technology, and in particular to a testing method, device, equipment and medium for a posture tracking module. Background Art
[0002] At present, pose estimation methods have been proposed and widely used in the fields of robot grasping, virtual reality / augmented reality, and human-computer interaction. When continuously estimating the pose of a terminal, it is often necessary to track the pose of the terminal. Therefore, it is often necessary to use a pose tracking module such as the SLAM algorithm (Simultaneous Localization and Mapping) to track the pose of the terminal. Usually, the pose tracking module is used as the underlying algorithm and the user is unaware of it.
[0003] During the long-term research and development process, the applicant of this application found that there is currently no way to test and evaluate the tracking effect and accuracy of the posture tracking module itself, making it difficult to determine whether the tracking effect and accuracy of the posture tracking module meet the use requirements. Summary of the invention
[0004] The present application at least provides a testing method, device, equipment, system and medium for a posture tracking module.
[0005] The present application provides a testing method for a posture tracking module, the method comprising: obtaining a test result of the posture tracking module, wherein the test result includes a test posture obtained by the posture tracking module performing posture tracking on an object to be positioned and / or performance loss data of the posture tracking process; and determining performance characterization parameters of the posture tracking module using the test result.
[0006] Therefore, based on the test results of the posture tracking module, the performance characterization parameters used to characterize the performance of the posture tracking module can be determined, thereby determining the performance of the posture tracking module and realizing the performance evaluation of the posture tracking module.
[0007] The test results are used to determine the performance characterization parameters of the posture tracking module, including: comparing the test posture with the true posture to obtain the posture accuracy parameters of the posture tracking module.
[0008] Therefore, by comparing the test pose and the corresponding true pose, the pose accuracy parameter is obtained, which reflects the deviation between the test pose and the true pose, and can be used to determine the accuracy of the pose tracking module in pose tracking and reflect the performance of the module.
[0009] Among them, using the test results to determine the performance characterization parameters of the posture tracking module also includes: obtaining the performance loss parameters of the posture tracking module based on the performance loss data.
[0010] Therefore, the performance loss parameter can reflect the performance consumption of the pose tracking module and objectively reflect the performance of the pose tracking module.
[0011] Among them, the posture accuracy parameter includes at least one accuracy index parameter among the root mean square error parameter, the absolute posture error parameter, the relative posture error parameter, the absolute trajectory error parameter and the relative trajectory error parameter.
[0012] Therefore, by using the accuracy index parameter that can reflect the difference between the test pose and the true pose as the pose accuracy parameter, the deviation between the test pose and the true pose can be objectively and accurately reflected.
[0013] Among them, the method also includes any one or more of the following steps: displaying posture accuracy parameters; obtaining test space trajectory points based on the test postures at several positioning moments in the tracking process, and obtaining real space trajectory points based on the true postures at several positioning moments; displaying the test space trajectory points and the real space trajectory points in the same coordinate system.
[0014] Therefore, by further processing the test pose and the real pose, the performance of the pose tracking module can be intuitively demonstrated from at least one perspective.
[0015] Among them, displaying posture accuracy parameters includes: displaying several posture accuracy parameters to be displayed in a graphical form, each posture accuracy parameter to be displayed is a posture accuracy parameter determined based on a test posture and a true posture within a period of time during the tracking process, or a posture accuracy parameter determined based on a test posture and a true posture at a moment in the tracking process.
[0016] Therefore, the posture accuracy parameters of the posture tracking module can be intuitively represented through the chart.
[0017] Among them, displaying performance characterization parameters also includes: displaying posture accuracy parameters of multiple versions of posture tracking modules.
[0018] Therefore, by displaying the pose accuracy parameters between multiple versions, it is possible to compare the performance differences of multiple versions of pose tracking modules.
[0019] Among them, before comparing the test posture and the true posture to obtain the posture accuracy parameters of the posture tracking module, the method also includes: obtaining true data, the true data represents the collected data of the tracking process and has higher accuracy than the test data; using the true data to obtain the true posture.
[0020] Therefore, by tracking the pose of the true data through the pose tracking module, the true pose can be obtained for comparison with the test pose to determine the performance of the pose tracking module.
[0021] The obtaining of true value data includes: obtaining true value data by using a motion capture system, or obtaining true value data from a true value data set.
[0022] Therefore, the true value data can be obtained in a variety of ways to obtain the true value pose.
[0023] The method of obtaining the true pose using the true data includes: tracking the pose of the true data by a pose tracking module to obtain the true pose.
[0024] Therefore, the pose tracking module can be used to process the true data to obtain the true pose for comparison with the test pose.
[0025] Among them, the test data includes image frames collected at multiple first collection moments during the tracking process, and several first collection moments are used as several positioning moments. The test results include test postures at each positioning moment; after obtaining the test results of the posture tracking module, the method also includes: marking the test information of the corresponding positioning moment on the image frames corresponding to each positioning moment, wherein the test information at the positioning moment includes the test posture at the positioning moment, the true value posture at the positioning moment, the relative posture between the test posture at the positioning moment and the true value posture, the performance characterization parameters corresponding to the positioning moment, and at least one of the processing time of the test posture at the positioning moment, and the test information marked on the image frame is used to be displayed together with the image frame.
[0026] Therefore, by marking the test information in the image frame and displaying it together, the performance of the posture tracking module can be intuitively demonstrated.
[0027] Among them, obtaining the test results of the posture tracking module includes: obtaining test data, wherein the test data represents the data collected during the tracking process of the object to be located, and performing posture tracking on the test data by the posture tracking module to obtain the test results, wherein the test results include the test posture of the object to be located.
[0028] Therefore, the test results can be obtained by performing posture tracking on the test data through the posture tracking module to evaluate the performance of the posture tracking module.
[0029] There are multiple groups of test data, and different groups of test data represent different scenarios of the tracking process and at least one of the types of motion of the object to be located. The method also includes: obtaining new performance characterization parameters of the posture tracking module based on the performance characterization parameters corresponding to each group of test data, wherein the performance characterization parameters corresponding to each group of test data are obtained by testing the posture tracking module using the corresponding group of test data.
[0030] Therefore, each group of performance characterization parameters is processed separately to obtain new performance characterization parameters, so that the performance of the posture tracking module can be determined from the grouping dimension.
[0031] Among them, obtaining the test results of the posture tracking module includes: obtaining the test results corresponding to multiple terminal devices, the test result corresponding to each terminal is obtained by the terminal device performing posture tracking through the posture tracking module; using the test results to determine the performance characterization parameters of the posture tracking module, including: using the test results of each terminal device to determine the performance characterization parameters of each terminal device regarding the posture tracking module, the method also includes: for each terminal device, establishing and saving the association relationship between the performance characterization parameters corresponding to the terminal device and the terminal information of the terminal device.
[0032] Therefore, by executing the test method separately on multiple terminals and aggregating and processing the test results corresponding to each terminal, performance characterization parameters of the posture tracking module on different terminals can be obtained to determine the performance of the posture tracking module.
[0033] Among them, the testing method of the posture tracking module is performed before the posture tracking module is integrated into the application.
[0034] Therefore, the posture tracking module can be decoupled from other modules of the application. Compared with using the integrated application to test the performance of the posture tracking module in the application, testing only the posture tracking module can reduce the impact of other modules of the application on posture tracking, thereby accurately determining the performance of the posture tracking module itself and reducing the location analysis of problems obtained from the test. In addition, by executing the testing method of the posture tracking module before integration, the probability of integrating a low-performance posture tracking module into the application can be reduced, thereby avoiding the impact of the poor performance of the posture tracking module on the application.
[0035] Among them, the posture tracking module is a SLAM algorithm.
[0036] Therefore, the performance of the SLAM algorithm module can be accurately evaluated before the pose tracking module is integrated.
[0037] Among them, the posture tracking module is used to be integrated into augmented reality applications.
[0038] Therefore, by integrating the posture tracking module into the augmented reality application, the performance of the posture tracking module used for the augmented reality application can be accurately evaluated, and the posture tracking module can be accurately improved based on the performance, which can subsequently improve the posture tracking performance of the augmented reality application.
[0039] The present application provides a testing method for a posture tracking module, the method comprising: acquiring test data, the test data representing data collected during the tracking process of an object to be located; performing posture tracking on the test data by the posture tracking module to obtain a test result, wherein the test result includes a test posture of the object to be located obtained by posture tracking and / or performance loss data of the posture tracking process, and the test result is used to reflect the performance of the posture tracking module.
[0040] The present application provides a testing device for a posture tracking module, which includes: a first acquisition module, which obtains the test result of the posture tracking module, wherein the test result is obtained by the posture tracking module performing posture tracking on an object to be positioned, and the test result includes the test posture of the object to be positioned obtained by posture tracking and / or performance loss data of the posture tracking process; and a characterization module, which uses the test result to determine the performance characterization parameters of the posture tracking module.
[0041] The present application provides a testing device for a posture tracking module, which includes: a second acquisition module, which acquires test data, wherein the test data represents data collected during the tracking process of the object to be located; a tracking module, which performs posture tracking on the test data through the posture tracking module to obtain a test result, wherein the test result includes a test posture of the object to be located obtained by posture tracking and / or performance loss data of the posture tracking process, and the test result is used to reflect the performance of the posture tracking module.
[0042] The present application provides an electronic device, which includes a processor and a memory, wherein the memory is used to store program data, and the processor is used to execute the program data to implement any of the above methods.
[0043] The present application provides a testing system for a posture tracking module, which includes a processing device and a testing device, wherein the processing device is used to execute the method in which the execution subject is the processing device, and the testing device is used to execute the method in which the execution subject is the testing device.
[0044] The present application provides a computer-readable storage medium, which is used to store program data, and the program data can be executed to implement any of the above methods.
[0045] In the above scheme, based on the test results of the posture tracking module, the performance characterization parameters used to characterize the performance of the posture tracking module can be determined, thereby determining the performance of the posture tracking module and realizing the performance evaluation of the posture tracking module. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flowchart of an embodiment of a testing method for a posture tracking module of the present application;
[0047] Figure 2It is a flowchart of another embodiment of the testing method of the posture tracking module of the present application;
[0048] Figure 3 is a flowchart of another embodiment of step S220 of the present application;
[0049] Figure 4 is a schematic diagram of a posture accuracy parameter chart in one embodiment of the present application;
[0050] Figure 5 It is a flowchart of another embodiment of the testing method of the posture tracking module of the present application;
[0051] Figure 6 It is a flowchart of another embodiment of the testing method of the posture tracking module of the present application;
[0052] Figure 7 It is a schematic diagram of the framework of an embodiment of a test device for a posture tracking module of the present application;
[0053] Figure 8 It is a schematic diagram of the framework of another embodiment of the test device of the posture tracking module of the present application;
[0054] Fig. 9 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application;
[0055] Fig.10 It is a schematic diagram of the framework of an embodiment of a test system for a posture tracking module of the present application;
[0056] Fig.11 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail below with reference to the accompanying drawings and examples.
[0058] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. In addition, "many" in this article means two or more than two.
[0059] It can be understood that the method of the present application may include the method provided by any one of the following method embodiments and any non-conflicting combination of the following method embodiments.
[0060] It can be understood that the testing method of the posture tracking module in the present application can be executed by a processing device, which can be any device with processing capabilities, such as a tablet computer, a mobile phone, a computer, etc. The processing device can also be simply referred to as a device.
[0061] It should be noted that, in the process of testing the posture tracking module, the test device can perform posture tracking on the object to be positioned through the posture tracking module. The object to be positioned is a test data acquisition device, and the tracked posture is the posture of the acquisition device when performing the test data acquisition. The test device can be any device that can perform posture tracking through the posture tracking module, and then the processing device executes the relevant steps of the test method of the posture tracking module of this application. The test device can be the same device as the processing device, or it can be different. The posture tracking module tested in this application can be integrated in the application for application. The test device does not obtain the test results through the application integrated with the posture tracking module, but through the posture tracking module alone, so as to achieve the decoupling of the posture tracking module from other modules in the application, and test the posture tracking module alone. The test method of the posture tracking module in this application is performed before it is integrated into the application, and the posture tracking module can be integrated into the application after the test is completed.
[0062] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a test method for a posture tracking module of the present application. In this embodiment, the execution subject is a processing device, and the method includes:
[0063] Step S110: Obtain the test result of the posture tracking module.
[0064] The test result includes the test pose of the object to be positioned obtained by the pose tracking module performing pose tracking on the object to be positioned and / or performance loss data of the pose tracking process, wherein the test pose is the pose of the object to be positioned during the tracking process, and the pose tracking can be a pose tracking with six degrees of freedom (6 degrees of freedom, 6DoF). The processing device can obtain the test result to evaluate the performance of the pose tracking module.
[0065] It is understandable that the posture tracking module can be used to track the posture of an object during a process, and any device that can use the posture tracking module can perform posture tracking through the posture tracking module to obtain tracking results, and the tracking results include the posture of the object in the above process. The posture tracking module can be but is not limited to a SLAM algorithm. During the test process, the object is the object to be located, and the process is the tracking process. The above-mentioned device that can perform posture tracking through the posture tracking module can also be used as a test device to perform posture tracking on the object to be located and obtain test results.
[0066] If the test device and the processing device are different, the processing device and the test device can communicate with each other, and the processing device can obtain the test results from the test device. If the processing device and the test device are the same device, after the posture tracking module performs posture tracking to obtain the test results, it can be considered that the processing device has obtained the test results.
[0067] Step S120: Determine performance characterization parameters of the posture tracking module using the test results.
[0068] The test results are obtained by the posture tracking module during the tracking process of the object to be positioned, and can be used to evaluate the posture tracking effect and other related performance of the posture tracking module during the tracking process. Specifically, the test results may include test posture and / or performance loss data. The test posture can be used to determine the posture accuracy parameter, and the performance loss data can be used to determine the performance loss parameter. Both the posture accuracy parameter and the performance loss parameter can be used as performance characterization parameters to characterize the performance of the posture tracking module. For the test posture, the corresponding performance characterization parameter can be a posture accuracy parameter, which can be obtained by comparing the test posture with the true posture; for the performance loss data, it can be directly used as a performance loss parameter, or compared with the expected value determined by the user to obtain a performance loss parameter.
[0069] In the above scheme, based on the test results of the posture tracking module, the performance characterization parameters used to characterize the performance of the posture tracking module can be determined, thereby determining the performance of the posture tracking module and realizing the performance evaluation of the posture tracking module.
[0070] Please refer to Figure 2 , Figure 2 It is a flow chart of another embodiment of the testing method of the posture tracking module of the present application.
[0071] It should be noted that, in the normal application process, the terminal device that performs posture tracking through the posture tracking module can also communicate with the cloud server to obtain auxiliary information from the cloud server to assist the posture tracking module in posture tracking. In order to facilitate the testing of the posture tracking module, the posture tracking module in the test device can be run offline, that is, it will not obtain auxiliary information from the cloud server, and only the posture tracking module is used to perform posture tracking alone.
[0072] In this embodiment, the execution subject is a processing device, and the method includes:
[0073] Step S210: Acquire test data.
[0074] In this embodiment, the processing device and the testing device are taken as an example to be the same device. On the premise that the two are the same device, the aforementioned step S110 can be implemented through step S210 and step S220.
[0075] The test data refers to the data collected during the tracking process of the object to be located. The source of the test data can be a standard public data set, or collected during the tracking process of the object to be located. In fact, the standard public data set can also be collected during the tracking process of a certain object to be located.
[0076] It should be noted that if the test data is collected during the tracking process to be located, the test data may be collected by a collection device and then sent to the test device. The collection device, the test device and the processing device may be the same device, or may be different devices. Generally speaking, the collection device may include an image acquisition module, a sensor module, etc., which are used to collect data during the tracking process to obtain the test data. When the collection device collects data, the collection device itself may be considered as the object to be located.
[0077] Specifically, the test data includes all data required for the operation of the posture tracking module, such as image data, sensor data, and corresponding calibration parameters, etc. For example, the image data can be a video captured by the acquisition device during the tracking process, including several frames of images, and the sensor data can further include inertial measurement data (measured by an inertial measurement unit, IMU, Inertial Measurement Unit), etc. The calibration parameters include the intrinsic and extrinsic parameters of the camera, etc.
[0078] In addition, the tracking effect of the posture tracking module may be different in different scenes and different movements of the object to be located. For example, multiple scenes can be preset according to multiple influencing factors such as indoor / outdoor, light conditions, pedestrian conditions, objects in the scene, etc., and multiple types of movement of the object to be located can be preset, such as moving in a straight line at a constant speed, standing still, rotating on the spot, etc. In order to conduct a comprehensive test and evaluation of the posture tracking module, both the scene dimension and the movement type dimension can be included in the test consideration scope, that is, it is necessary to perform different types of movements in different scenes, and collect corresponding data as test data. The test data includes multiple data collected for performing several movements in several scenes, and a test result is obtained from each test data.
[0079] Step S220: Track the posture of the test data through the posture tracking module to obtain the test results.
[0080] The device can perform posture tracking on the data collected during the tracking process of the object to be located, that is, the test data, by running the posture tracking module to obtain a test result. Specifically, the test result may include performance loss data of the test posture and / or posture tracking process, and may also include the difference between the test posture at each positioning moment and the previous positioning moment. Among them, the performance loss parameters of the posture tracking process may include the processing time and / or resource occupancy of the test posture at each positioning moment, and further, the resource occupancy may include CPU occupancy, memory occupancy, etc.
[0081] It is understood that in order to test the posture tracking module, the test result may correspond to a true posture, and the true posture may be considered as the real posture of the object to be located during the tracking process. The accuracy of the test posture may be evaluated based on a pair of corresponding test postures and true postures.
[0082] The true pose can be obtained in a variety of ways, for example, by measurement and calculation, or by tracking the object to be positioned, etc. Specifically, due to the different pose changes in different motion processes, such as relatively simple static or straight-line walking movements, the true pose can also be simply calculated. For more complex motion processes, the true pose can also be obtained by tracking. Tracking to obtain the true pose can be performed by performing pose tracking through the pose tracking module tested in this application, or other pose tracking methods can be used. The following is an example of pose tracking performed by the pose tracking module tested in this application.
[0083] The test data includes image data, sensor data and corresponding calibration parameters, wherein the image data is the image frames collected by the image acquisition module at multiple first acquisition moments during the tracking process, and the sensor data is the inertial measurement data collected by the sensor module at multiple second acquisition moments during the tracking process. It can be understood that the number of multiple first acquisition moments and multiple second acquisition moments can be different. Generally speaking, the number of second acquisition moments is larger. It can also be understood that during the tracking process, the sensor module and the image acquisition module collect data at different intervals, and the sensor collection interval is shorter. In addition, some first acquisition moments may overlap with the second acquisition moments, or both may not overlap.
[0084] Please refer to Figure 3 , Figure 3 2 is a flow chart of another embodiment of step S220 of the present application, wherein step S220 includes:
[0085] Step S321: taking at least one first collection moment as a positioning moment, and taking each positioning moment as a current positioning moment.
[0086] When the number of first acquisition moments and second acquisition moments is different, at least one first acquisition moment can be used as a positioning moment to determine the position and posture of the positioning moment as a test result. After determining the positioning moment, each positioning moment is processed as the current positioning moment in turn, that is, the relevant processing in step S322-step S324.
[0087] Step S322: using the image frames at the current positioning moment and the previous positioning moment, determine the initial posture information at the current positioning moment.
[0088] The current positioning moment and the previous positioning moment each correspond to a frame of image. The two frames of images can be used to determine the initial posture information of the current positioning moment. The initial posture information is the posture difference between the current positioning moment and the previous positioning moment determined based on image comparison.
[0089] Specifically, the processing device can extract the feature points of the image corresponding to the current positioning moment, match the feature points with the feature points of the image corresponding to the previous positioning moment, and obtain the initial posture information of the current positioning moment based on the changes in the feature points in the two frames of images.
[0090] Step S323: Determine the reference position information of the current positioning moment by using the inertial measurement data of the second acquisition moment related to the current positioning moment.
[0091] It can be understood that after determining the positioning moment, each second acquisition moment can be associated with a positioning moment respectively, and one positioning moment can be associated with multiple second acquisition moments. The ratio of each positioning moment to the second acquisition moment is 1:n, and n can be one or more. The number of second acquisition moments associated with different positioning moments may also be different. The standard for associating the two can be determined according to user needs. For example, the second acquisition moment is associated with its closest positioning moment, etc. The second acquisition moment can be used to determine the reference posture information corresponding to its associated positioning moment.
[0092] Specifically, the inertial measurement data may include acceleration and angular velocity, etc. Based on the inertial measurement data of several second acquisition moments related to the current positioning moment, the reference posture information of the current positioning moment can be determined. The reference posture information is the posture difference between the current positioning moment and the previous positioning moment determined based on the comparison of the inertial measurement data.
[0093] Step S324: Determine the test pose at the current positioning moment by combining the initial pose and the reference pose at the current positioning moment.
[0094] By combining the initial posture information and reference posture information at the current positioning moment, the posture change between the previous positioning moment and the current positioning moment can be obtained. Based on the posture change and the test posture at the previous positioning moment, the test posture at the current positioning moment can be obtained.
[0095] It is understandable that for the first positioning moment, there is no previous positioning moment, so for the first positioning moment, the test posture may not be calculated according to the above process. For example, the device may assign it an original posture as the test posture.
[0096] Then the test pose at each positioning moment can be output as a test result. In addition, the difference between the test poses at two positioning moments and / or the processing time at each positioning moment can also be output as a test result.
[0097] Step S230: Obtain true value data.
[0098] Among them, the true value data represents the collected data of the tracking process, which is used to obtain the true value pose. Similarly, the true value data also includes all the data required for the operation of the pose tracking module. It can be understood that the sources of the true value data and the test data can be corresponding. If the test data comes from a standard public data set, then the true value data also comes from the true value data set accordingly. The true value data set is also a public data set, and the true value data corresponds to the standard data, both for the same object and the same tracking process.
[0099] If the test data is collected by the acquisition device during the tracking process of the object to be located, then the true data is also collected in the same tracking process of the same object to be located. The true data has higher accuracy than the test data, and the true data contains richer information than the test data. Therefore, the obtained true pose can be considered as the real pose of the object to be located during the tracking process, where high accuracy can be manifested as a larger number of collected images, richer collected image information, etc. It should be noted that the device used to collect the true data can be different from the device used to collect the test data. If the two devices are controlled to perform the same movement, then it can be considered that the test data and true data obtained by the two devices are collected in the same tracking process of the same object to be located. In addition, the module used to collect the true data can also be different from the module used to collect the test data. For example, the true data can be collected using a motion capture system.
[0100] Step S240: Use the true value data to obtain the true value posture.
[0101] In step S240, the test equipment can be used to track the pose of the true value data through the pose tracking module tested in this application to obtain the true value pose. In some embodiments, the true value pose can also be obtained through other algorithms.
[0102] It should be noted that the process of obtaining the true value posture by the posture tracking module through posture tracking of the true value data is basically the same as the process of obtaining the test results from the test data mentioned above. Please refer to the relevant content about steps S321-S324 mentioned above, which will not be repeated here.
[0103] In addition, the results obtained by the posture tracking module for posture tracking of the true data may include, in addition to the true posture corresponding to each positioning moment, the true posture difference between each positioning moment and the previous positioning moment.
[0104] It should be noted that the result obtained by performing posture tracking on the true value data through the posture tracking module may also include the performance loss data corresponding to the true value data, but it cannot be used as the true value of the performance loss data corresponding to the test data. It can be said that there is no true value for the performance loss parameter, which can be compared with the expected value. Step S220 needs to be executed after step S210, and step S240 needs to be executed after step S230, but the execution order of step S210-step S220 and step S230-step S240 can be swapped, which will not affect the test of the posture tracking module.
[0105] It is understandable that, when the processing device and the test device are not the same device, the above steps S230 and S240 can be performed by the processing device or the test device. For example, steps S230 and S240 are performed by the test device, and the processing device obtains the true value pose from the test device to determine the pose accuracy parameter.
[0106] Step S250: Determine performance characterization parameters of the posture tracking module using the test results.
[0107] Step S250 can specifically be to compare the test posture and the true posture to obtain a posture accuracy parameter. The posture accuracy parameter may include at least one accuracy index parameter among a root mean square error parameter, an absolute posture error parameter, a relative posture error parameter, an absolute trajectory error parameter and a relative trajectory error parameter. The posture accuracy parameter may also include other parameters that can be used to characterize the accuracy.
[0108] Specifically, the root mean square error parameter, also known as RMSE (Root Mean Squared Error), is the square root of the ratio of the square of the deviation between the predicted value and the true value to the number of observations n. For a tracking process, a root mean square error can be obtained. The absolute pose error parameter, also known as APE (Absolute Pose Error), can be obtained by comparing the test pose corresponding to each positioning moment with the true pose. Each positioning moment can correspond to an absolute pose error. The relative pose error parameter, also known as RPE (Relative Pose Error), can be obtained by comparing the test pose difference between each positioning moment and the previous positioning moment with the true pose difference. The relative pose error also corresponds to the positioning moment. The absolute trajectory error parameter, also known as ATE (Absolute Trajectory Error), is the direct difference between the estimated pose and the true pose. First, the test trajectory and the true trajectory are aligned, and then the ATE is reflected by indicators such as RMSE, mean, and median. For a tracking process, an absolute trajectory error can be obtained. The relative trajectory error parameter is RTE (Relative Trajectory Error). First, the test trajectory and the true trajectory are divided into several trajectory segments, and the difference between the starting point and the ending point of each two corresponding trajectory segments is calculated. For a tracking process, several relative trajectory errors can be obtained.
[0109] In addition, step S250 may also be to obtain a performance loss parameter of the posture tracking module according to the performance loss data. The performance loss data may be directly used as the performance loss parameter, or may be compared with an expected value determined by a user to obtain the performance loss parameter.
[0110] In some embodiments, after obtaining the test results, the method may further include marking the test information of the corresponding positioning moment on the image frames corresponding to each positioning moment, respectively. The test information may include the test posture at the positioning moment, the true posture at the positioning moment, the relative posture between the test posture at the positioning moment and the true posture, the performance characterization parameter corresponding to the positioning moment, and at least one of the test posture processing time at the positioning moment. The test information marked on the image frame is used to be displayed together with the image frame, so that the user can view the image information during the tracking process, and can also see the relevant test information therein, so as to have an intuitive understanding of the performance of the posture tracking module.
[0111] It should be noted that step S260 and step S270 are both optional steps, and not executing step S260 and step S270 will not affect the test of the posture tracking module.
[0112] Step S260: Displaying posture accuracy parameters.
[0113] Specifically, the processing device can directly display the specific values of several posture accuracy parameters to be displayed for the user to view. In addition, it can also display several posture accuracy parameters to be displayed in other visual forms, such as in the form of charts.
[0114] For example, the processing device can display several pose accuracy parameters to be displayed in a graphical form, each pose accuracy parameter to be displayed is a pose accuracy parameter determined based on a test pose and a true pose within a period of time during the tracking process, or can also be a pose accuracy parameter determined based on a test pose and a true pose at a moment in the tracking process. Take the root mean square error parameter, or RMSE, as an example. The root mean square error parameter is a pose accuracy parameter determined based on a test pose and a true pose within a period of time during the tracking process. The horizontal axis of the graph can be multiple different tracking processes, and the vertical axis is the value of the root mean square error. Then, multiple root mean square errors obtained based on different tracking processes can be displayed, and the expected value of the root mean square error parameter can also be marked in the graph. Please refer to Figure 4 , Figure 4 It is a schematic diagram of a posture accuracy parameter chart in one embodiment of the present application. Figure 4 This is an example of a RMSE chart. The horizontal axis is 9 different tracking processes, the vertical axis is the RMSE value, and the dotted line represents the expected value of RMSE.
[0115] In addition, for some pose accuracy parameters determined based on the test pose and true pose at a moment in the tracking process, the horizontal axis of the chart can be the positioning moment, and the vertical axis is the value of the pose accuracy parameter, such as absolute pose error or relative pose error. Taking absolute pose error as an example, the horizontal axis of the chart can be all positioning moments in a tracking process, and the vertical axis is the value of the absolute pose error. Then, the absolute pose error obtained at each positioning moment can be displayed, and the expected value of the absolute pose error parameter can also be marked in the chart.
[0116] In some embodiments, the posture tracking module can be continuously updated so that there are multiple versions, then the posture accuracy parameters of the posture tracking modules of multiple versions can be displayed for the user to view and compare the performance of different versions of the posture tracking modules. Specifically, the values of the posture accuracy parameters of different versions can be directly displayed, or the posture accuracy parameters of multiple versions can be displayed together in the form of a chart.
[0117] Step S270: obtaining test space trajectory points according to the test postures at several positioning moments in the tracking process, obtaining real space trajectory points according to the true value postures at several positioning moments, and displaying the test space trajectory points and the real space trajectory points together in the same coordinate system.
[0118] Through step S280, the device visualizes both the test space trajectory and the real space trajectory for the user to view, which can more intuitively show the performance of the posture tracking module to the user.
[0119] In the above scheme, the posture tracking module is used to perform posture tracking on the test data to obtain the test results. Based on the comparison between the test posture and the true posture, the posture accuracy parameters used to characterize the performance of the posture tracking module can be determined, thereby determining the performance of the posture tracking module, and the posture accuracy parameters can be processed and displayed in a variety of ways, thereby intuitively showing the performance of the posture tracking module; in addition, the performance of the posture tracking module can also be reflected by the performance loss parameters.
[0120] See also Figure 5 , Figure 5 1 is a flow chart of another embodiment of the test method of the posture tracking module of the present application, wherein, in this embodiment, the posture tracking module may be a SLAM (simultaneous localization and mapping) algorithm module. In other embodiments, the posture tracking module may also be other modules capable of realizing posture tracking. The method includes:
[0121] Step S510: Obtain the test result of the posture tracking module.
[0122] Step S520: Determine performance characterization parameters of the posture tracking module using the test results.
[0123] In this embodiment, the test device and the processing device are different devices. The execution subject is the processing device. At this time, step S510 is to obtain the test results from the test device. Steps S510-S520 can refer to the aforementioned description of the steps related to obtaining the performance characterization parameters, and will not be repeated here.
[0124] In addition, it should be noted that the test data includes data collected during the tracking process of different motion types in several scenes. The test data can be grouped according to the scene or motion type. Different groups of test data represent that at least one of the intended scene of the tracking process and the motion type of the object to be located is different. For example, the test data can be grouped according to the two scenes of office and shopping mall. Then, for one group, all test data collected in the scene are included, or the test data can be grouped according to linear motion, rotation and curvilinear motion. For one group, all test data collected when the same motion is performed in all scenes are included. After grouping, based on the performance standard parameters corresponding to each group of test data, the performance of the posture tracking module in different dimensions can be evaluated. For example, if grouping is performed according to the scene, then inter-group comparison can be used to evaluate the performance of the posture tracking module in different scenes. If grouping is performed according to the motion type, then inter-group comparison can be used to evaluate the performance of the posture tracking module in different motion processes. Different grouping methods can exist at the same time. Then in step S530, the performance characterization parameters corresponding to each group of test data under different grouping methods can be processed respectively.
[0125] Step S530: Based on the performance characterization parameters corresponding to each set of test data, new performance characterization parameters of the posture tracking module are obtained.
[0126] Among them, the performance characterization parameters corresponding to each set of test data are obtained by testing the posture tracking module using the corresponding set of test data, that is, for each set of test data, posture tracking is performed using the posture tracking module, and then the corresponding performance characterization parameters are obtained based on the test results. Specifically, the performance characterization parameters corresponding to each set of test data can be processed by statistical methods to obtain new performance characterization parameters. The new performance characterization parameters of different groups under the same grouping method can be used to characterize the performance of the posture tracking module under this grouping dimension.
[0127] Testers and developers can make corresponding adjustments to the posture tracking module based on the performance reflected by the performance characterization parameters, so that the posture tracking module can meet the preset performance requirements.
[0128] The aforementioned related test steps are performed by a certain test device. In order to conduct a comprehensive test and evaluation of the posture tracking module, in some embodiments, multiple terminal devices can be selected as test devices respectively, and posture tracking is performed by the posture tracking module respectively, so that each terminal device can obtain the test results of the posture tracking module. Then step S510 can be for obtaining the test results corresponding to multiple terminal devices, and step S520 can be for determining the performance characterization parameters of each terminal device with respect to the posture tracking module using the test results of each terminal device. For each terminal device, the processing device can establish and save the association relationship between the performance characterization parameters corresponding to the terminal device and the terminal information of the terminal device. Then, the performance characterization parameters of all terminal devices and the association relationship with the terminal information are summarized. Based on the above information, the performance of the posture tracking module can be evaluated from three dimensions: scene, motion type, and terminal information. For example, the overall performance of the posture tracking module in different devices can be evaluated, or the performance in different devices under the same scene can be evaluated. It should be noted that the test data used by all terminal devices at this time can be from the same source, such as from the same acquisition device. In some embodiments, they can also be from different sources, such as each test device performing posture tracking can be used as a source of test data to collect test data. In some embodiments, the processing device can be the same device as one of the test devices participating in the test.
[0129] It should be noted that the posture tracking module tested in step S510-step S530 can be run independently. In order to enable the posture tracking module to be applied in various scenarios, in some embodiments, after completing the above test steps, the posture tracking module whose performance characterization parameters meet the preset performance requirements can be integrated into the target application, so that the user can use the target application on the user terminal to meet his needs. When the user uses the target application, the user terminal will call the integrated and tested posture tracking module in the target application to perform posture tracking. Furthermore, the target application can be an augmented reality application.
[0130] In the above scheme, based on the test results of the posture tracking module, the performance characterization parameters used to characterize the performance of the posture tracking module can be determined, thereby determining the performance of the posture tracking module, realizing performance evaluation of the posture tracking module, and being able to evaluate the performance of the posture tracking module from multiple angles based on different grouping methods.
[0131] See also Figure 6 , Figure 6 1 is a flow chart of another embodiment of the test method of the posture tracking module of the present application. The execution subject of this embodiment is the test device. The method includes:
[0132] Step S610: Acquire test data.
[0133] The test data refers to the data collected during the tracking process of the object to be located.
[0134] Step S620: Track the posture of the test data through the posture tracking module to obtain the test results.
[0135] Among them, the test results include the test pose of the object to be positioned obtained by pose tracking and / or the performance loss data of the pose tracking process. The test results can be used to reflect the performance of the pose tracking module.
[0136] After the test device obtains the test result, it can send the test result to the processing device that can communicate with it, and the post-processing device can execute the relevant steps executed by the processing device in the above embodiment to obtain the performance characterization parameter. Of course, in the case where the test device and the processing device are the same device, after obtaining the test result, the test device can also directly execute the relevant steps executed by the processing device in the above embodiment.
[0137] For the description of step S610 and step S620 , reference may be made to the relevant steps of the aforementioned embodiment, such as the aforementioned step S210 and step S220 .
[0138] In some embodiments, the test device may also obtain true value data, and process the true value data to obtain the true value posture. The specific contents may also refer to the relevant steps of the aforementioned embodiments, such as the aforementioned steps S230 and S240.
[0139] See also Figure 7 , Figure 7 It is a schematic diagram of the framework of an embodiment of a test device for the posture tracking module of the present application.
[0140] In this embodiment, the test device 70 of the posture tracking module includes a first acquisition module 71 and a characterization module 72. The first acquisition module 71 is used to obtain the test results of the posture tracking module, wherein the test results include the test posture obtained by the posture tracking module performing posture tracking on the object to be positioned and / or the performance loss data of the posture tracking process. The characterization module 72 is used to determine the performance characterization parameters of the posture tracking module using the test results.
[0141] Among them, the characterization module 72 uses the test results to determine the performance characterization parameters of the posture tracking module, including: comparing the test posture with the true value posture to obtain the posture accuracy parameters of the posture tracking module.
[0142] Among them, the characterization module 72 uses the test results to determine the performance characterization parameters of the posture tracking module, and also includes: obtaining the performance loss parameters of the posture tracking module based on the performance loss data.
[0143] Among them, the posture accuracy parameter includes at least one accuracy index parameter among the root mean square error parameter, the absolute posture error parameter, the relative posture error parameter, the absolute trajectory error parameter and the relative trajectory error parameter.
[0144] Among them, the testing device 70 of the posture tracking module also includes a display module for displaying posture accuracy parameters, and can also be used to obtain test space trajectory points based on the test postures at several positioning moments in the tracking process, and obtain real space trajectory points based on the true value postures at several positioning moments; the test space trajectory points and the real space trajectory points are displayed together in the same coordinate system.
[0145] Among them, the display module displays the posture accuracy parameters and may include: displaying several posture accuracy parameters to be displayed in a graphical form, each posture accuracy parameter to be displayed is a posture accuracy parameter determined based on a test posture and a true posture within a period of time during the tracking process, or a posture accuracy parameter determined based on a test posture and a true posture at a moment in the tracking process.
[0146] The display module displaying the posture accuracy parameters may also include: displaying the posture accuracy parameters of multiple versions of posture tracking modules.
[0147] Among them, the testing device 70 of the posture tracking module also includes a true value processing module, which is used to obtain true value data before comparing the test posture with the true value posture to obtain the posture accuracy parameters of the posture tracking module. The true value data represents the collected data of the tracking process and has higher accuracy than the test data; the true value posture is obtained using the true value data.
[0148] The truth value processing module may obtain the truth value data by using a motion capture system to collect the truth value data, or obtain the truth value data from a truth value data set.
[0149] Among them, the true value processing module uses the true value data to obtain the true value posture, including: tracking the posture of the true value data through the posture tracking module to obtain the true value posture.
[0150] Among them, the test data includes image frames collected at multiple first collection moments during the tracking process, and several first collection moments are used as several positioning moments. The test results include test postures at each positioning moment; the test device 70 of the posture tracking module also includes a marking module, which is used to perform posture tracking on the test data through the posture tracking module. After obtaining the test results, the corresponding test information of the positioning moment is marked on the image frames corresponding to each positioning moment, wherein the test information at the positioning moment includes the test posture at the positioning moment, the true value posture at the positioning moment, the relative posture between the test posture at the positioning moment and the true value posture, the performance characterization parameters corresponding to the positioning moment, and the processing time of the test posture at the positioning moment. The test information marked on the image frame is used to be displayed together with the image frame.
[0151] Among them, the first acquisition module 71 obtains the test results of the posture tracking module, including: obtaining test data, wherein the test data represents the data collected during the tracking process of the object to be located, and performing posture tracking on the test data by the posture tracking module to obtain the test results, wherein the test results include the test posture of the object to be located.
[0152] Among them, the number of test data is multiple groups, and different groups of test data represent at least one of the occurrence scenario of the tracking process and the motion type of the object to be located; the characterization module 72 can also be used to obtain new performance characterization parameters of the posture tracking module based on the performance characterization parameters corresponding to each group of test data, wherein the performance characterization parameters corresponding to each group of test data are obtained by testing the posture tracking module using the corresponding group of test data.
[0153] Among them, the first acquisition module 71 obtains the test results of the posture tracking module, including: obtaining the test results corresponding to multiple terminal devices, and the test result corresponding to each terminal is obtained by the terminal device performing posture tracking through the posture tracking module.
[0154] Among them, the characterization module 72 uses the test results to determine the performance characterization parameters of the posture tracking module, including: using the test results of each terminal device to determine the performance characterization parameters of each terminal device regarding the posture tracking module. In addition, the characterization module 72 can also be used to establish and save the association relationship between the performance characterization parameters corresponding to the terminal device and the terminal information of the terminal device for each terminal device.
[0155] Among them, the test of the pose tracking module is performed before the pose tracking module is integrated into the application.
[0156] Among them, the posture tracking module is a SLAM algorithm.
[0157] Among them, the posture tracking module is used to be integrated into augmented reality applications.
[0158] See also Figure 8 , Figure 8 It is a framework diagram of another embodiment of the testing device of the posture tracking module of the present application.
[0159] In this embodiment, the testing device 80 of the posture tracking module includes a second acquisition module 81 and a tracking module 82, wherein the second acquisition module 81 is used to acquire test data, wherein the test data represents the data collected during the tracking process of the object to be located, and the tracking module 82 is used to perform posture tracking on the test data through the posture tracking module to obtain a test result, wherein the test result includes the test posture of the object to be located and / or the performance loss data of the posture tracking process, and the test result is used to reflect the performance of the posture tracking module.
[0160] See also Fig. 9 , Fig. 9 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application.
[0161] In this embodiment, the electronic device 90 includes a memory 91 and a processor 92, wherein the memory 91 is coupled to the processor 92. Specifically, the components of the electronic device 90 may be coupled together via a bus, or the processor 92 of the electronic device 90 may be connected to other components one by one. The electronic device 90 may be any device with processing capabilities, such as a computer, a tablet computer, a mobile phone, etc.
[0162] The memory 91 is used to store program data executed by the processor 92 and data during the processing of the processor 92, such as test posture, performance loss data, etc. The memory 91 includes a non-volatile storage part for storing the above program data.
[0163] The processor 92 controls the operation of the electronic device 90, and the processor 92 may also be referred to as a CPU (Central Processing Unit). The processor 92 may be an integrated circuit chip having the ability to process signals. The processor 92 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. In addition, the processor 92 may be implemented by a plurality of integrated circuit chips.
[0164] The processor 92 is used to execute instructions to implement any of the above-mentioned testing methods for the posture tracking module by calling the program data stored in the memory 91.
[0165] See also Fig.10 , Fig.10It is a schematic diagram of the framework of an embodiment of a test system for a posture tracking module of the present application.
[0166] In this embodiment, the test system 100 of the posture tracking module includes a processing device 101 and a test device 102, wherein the processing device 101 and the test device 102 are different devices, wherein the processing device 101 can be used to execute the test method of the posture tracking module of the aforementioned execution subject being the processing device, process the test results, and obtain performance characterization parameters, and the test device 102 can be used to execute the test method of the posture tracking module of the aforementioned execution subject being the test device, perform posture tracking on the test data through the posture tracking module, and obtain test results. In some embodiments, the test device 102 or the processing device 101 can also be used to obtain the true value posture.
[0167] See also Fig.11 , Fig.11 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application.
[0168] In this embodiment, the computer-readable storage medium 110 stores program data 111 executable by a processor, and the program data can be executed to implement any of the above-mentioned testing methods for the posture tracking module.
[0169] The computer-readable storage medium 110 may specifically be a medium that can store program data, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the program data. The server may send the stored program data to other devices for execution, or may execute the stored program data itself.
[0170] In some embodiments, the computer readable storage medium 110 may also be Fig. 9 Memory shown.
[0171] The present disclosure relates to the field of augmented reality, which obtains image information of target objects in a real environment, and then uses various vision-related algorithms to detect or identify the relevant features, states and attributes of the target objects, so as to obtain an AR effect that combines virtuality and reality and matches the specific application. Exemplarily, the target object may involve faces, limbs, gestures, actions, etc. related to the human body, or markers and markers related to objects, or sand tables, display areas or display items related to venues or places. Vision-related algorithms may involve visual positioning, SLAM, three-dimensional reconstruction, image registration, background segmentation, key point extraction and tracking of objects, and position or depth detection of objects. Specific applications may not only involve interactive scenes such as guided tours, navigation, explanations, reconstructions, virtual effect overlay displays, etc. related to real scenes or objects, but also special effects processing related to people, such as makeup beautification, body beautification, special effects display, virtual model display and other interactive scenes.
[0172] The convolutional neural network can be used to detect or identify the relevant features, states and attributes of the target object. The above convolutional neural network is a network model obtained by model training based on a deep learning framework.
[0173] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0174] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0175] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A testing method for a posture tracking module, characterized in that: The testing method of the posture tracking module is performed before the posture tracking module is integrated into the application; the method comprises: Obtain test results of posture tracking modules corresponding to multiple terminal devices respectively, wherein the test result corresponding to each terminal device is obtained by the terminal device performing posture tracking through the posture tracking module, wherein the test result includes: the test posture obtained by the posture tracking module performing posture tracking on the object to be positioned and performance loss data of the posture tracking process, the performance loss data includes the processing time and resource occupancy of the test posture at each positioning moment, and the resource occupancy includes CPU occupancy and memory occupancy; For each of the terminal devices, using the test result corresponding to the terminal device, determine the performance characterization parameter of the terminal device with respect to the posture tracking module; establish and save an association relationship between the performance characterization parameter corresponding to the terminal device and the terminal information of the terminal device; Wherein, using the test result corresponding to the terminal device to determine the performance characterization parameter of the terminal device with respect to the posture tracking module includes: The test posture is compared with the true posture of the object to be positioned to obtain the posture accuracy parameter of the posture tracking module, and the performance loss data is compared with the expected value to obtain the performance loss parameter of the posture tracking module.
2. The method according to claim 1, characterized in that: The posture accuracy parameter includes at least one accuracy index parameter among a root mean square error parameter, an absolute posture error parameter, a relative posture error parameter, an absolute trajectory error parameter and a relative trajectory error parameter; And / or, the method further comprises any one or more of the following steps: Display the pose accuracy parameters; According to the test postures at several positioning moments in the tracking process, test space trajectory points are obtained, and according to the true value postures at the several positioning moments, real space trajectory points are obtained; and the test space trajectory points and the real space trajectory points are displayed together in the same coordinate system.
3. The method according to claim 2, characterized in that The displaying of the posture accuracy parameter includes: Displaying a plurality of posture accuracy parameters to be displayed in a graphical manner, each of the posture accuracy parameters to be displayed is the posture accuracy parameter determined based on the test posture and the true posture within a period of time of the tracking process, or the posture accuracy parameter determined based on the test posture and the true posture at a moment of the tracking process; and / or, The pose accuracy parameters of multiple versions of the pose tracking module are displayed.
4. The method according to any one of claims 1 to 3, characterized in that: Before comparing the test pose with the true pose of the object to be positioned to obtain the pose accuracy parameter of the pose tracking module, the method further includes: Acquiring true value data, wherein the true value data represents the collected data of the tracking process and has higher accuracy than the test data; The true value data is used to obtain the true value pose.
5. The method according to claim 4, characterized in that The obtaining of true value data comprises: The true value data is collected by using a motion capture system, or the true value data is obtained from a true value data set; And / or, obtaining the true value pose by using the true value data includes: The posture tracking module is used to track the true value data to obtain the true value posture.
6. The method according to any one of claims 1 to 5, characterized in that: The test result is obtained by the posture tracking module performing posture tracking based on the test data of the object to be positioned, the test data including image frames acquired at multiple first acquisition moments during the tracking process, the multiple first acquisition moments being used as multiple positioning moments, and the test result including the test posture at each of the positioning moments; After obtaining the test results of the posture tracking modules respectively corresponding to the multiple terminal devices, the method further includes: On the image frames corresponding to the positioning moments, the test information of the positioning moments are marked respectively, wherein the test information of the positioning moments includes at least one of the test posture of the positioning moment, the true posture of the positioning moment, the relative posture between the test posture and the true posture of the positioning moment, the performance characterization parameter corresponding to the positioning moment, and the performance loss data corresponding to the positioning moment, and the test information marked on the image frame is used to be displayed together with the image frame; And / or, obtaining the test results of the posture tracking modules respectively corresponding to the multiple terminal devices includes: For each of the terminal devices, acquiring the test data, wherein the test data represents data collected by the object to be located during the tracking process; The posture tracking module performs posture tracking on the test data to obtain a test result, wherein the test result includes a test posture of the object to be positioned.
7. The method according to claim 6, characterized in that The number of the test data is multiple groups, and different groups of the test data indicate that at least one of the occurrence scene of the tracking process and the motion type of the object to be located is different; The method further comprises: Based on the performance characterization parameters corresponding to each group of the test data, new performance characterization parameters of the posture tracking module are obtained, wherein the performance characterization parameters corresponding to each group of the test data are obtained by testing the posture tracking module using the corresponding group of the test data.
8. The method according to any one of claims 1 to 7, characterized in that: The posture tracking module is used to be integrated into an augmented reality application; And / or, the posture tracking module is a SLAM algorithm.
9. A method for testing a posture tracking module, characterized in that: The posture tracking module testing method is respectively executed by using a plurality of terminal devices, and the posture tracking module testing method is executed before the posture tracking module is integrated into an application program; the method comprises: Acquire test data, where the test data represents data collected during the tracking process of the object to be located; The posture tracking module performs posture tracking on the test data to obtain a test result, wherein the test result includes a test posture of the object to be located obtained by posture tracking and performance loss data of the posture tracking process, the performance loss data includes the processing time and resource occupancy of the test posture at each positioning moment, the resource occupancy includes CPU occupancy and memory occupancy, the test result is used to determine the performance characterization parameters of the posture tracking module, the performance characterization parameters are used to establish an association relationship with the terminal information of the terminal device, the test posture is used to compare with the true value posture of the object to be located to obtain the posture accuracy parameters of the posture tracking module, and the performance loss data is used to compare with the expected value to obtain the performance loss parameters of the posture tracking module.
10. A test device for a posture tracking module, characterized in that: The testing method of the posture tracking module is performed before the posture tracking module is integrated into the application program; the device comprises: A first acquisition module is used to obtain test results of posture tracking modules corresponding to multiple terminal devices respectively, wherein the test result corresponding to each terminal device is obtained by the terminal device performing posture tracking through the posture tracking module, wherein the test result is obtained by the posture tracking module performing posture tracking on the object to be positioned, and the test result includes the test posture of the object to be positioned obtained by posture tracking and performance loss data of the posture tracking process, the performance loss data includes the processing time and resource occupancy of the test posture at each positioning moment, and the resource occupancy includes CPU occupancy and memory occupancy; A characterization module is used to determine, for each of the terminal devices, the performance characterization parameters of the terminal device with respect to the posture tracking module by using the test results corresponding to the terminal device; establish and save the association between the performance characterization parameters corresponding to the terminal device and the terminal information of the terminal device; using the test results corresponding to the terminal device to determine the performance characterization parameters of the terminal device with respect to the posture tracking module includes: comparing the test posture with the true value posture of the object to be positioned to obtain the posture accuracy parameter of the posture tracking module, and comparing the performance loss data with the expected value to obtain the performance loss parameter of the posture tracking module.
11. A test device for a posture tracking module, characterized in that: A plurality of terminal devices are respectively provided with the apparatus, and the apparatus is used to test the posture tracking module before the posture tracking module is integrated into an application program, and the apparatus comprises: A second acquisition module is used to acquire test data, where the test data represents data collected during the tracking process of the object to be located; A tracking module is used to perform posture tracking on the test data through the posture tracking module to obtain a test result, wherein the test result includes the test posture of the object to be located obtained by posture tracking and the performance loss data of the posture tracking process, the performance loss data includes the processing time and resource occupancy of the test posture at each positioning moment, the performance loss data includes the processing time and resource occupancy of the test posture at each positioning moment, the resource occupancy includes CPU occupancy and memory occupancy, the test result is used to determine the performance characterization parameters of the posture tracking module, the performance characterization parameters are used to establish an association relationship with the terminal information of the terminal device, the test posture is used to compare with the true value posture of the object to be located to obtain the posture accuracy parameter of the posture tracking module, and the performance loss data is used to compare with the expected value to obtain the performance loss parameter of the posture tracking module.
12. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store program data, and the processor is used to execute the program data to implement the method according to any one of claims 1 to 8 or claim 9.
13. A test system for a posture tracking module, characterized in that: The system comprises a processing device and a testing device, wherein the processing device is used to perform the method according to any one of claims 1 to 8 , and the testing device is used to perform the method according to claim 9 .
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program data, and the program data can be executed to implement the method according to any one of claims 1 to 8 or claim 9.
