Posture Assessment Data for Augmented Reality (AR) Applications

By determining the time offset and aligning the timelines of AR data and motion tracking data in the AR system, the problem of AR tracking evaluation in the existing technology is solved, and the performance evaluation and experience quality of AR applications are improved.

CN115066281BActive Publication Date: 2024-09-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180013669.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-12
Filing Date
2021-02-08
Publication Date
2024-09-03
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively evaluate and improve the execution of augmented reality (AR) tracking, affecting the quality of the AR experience.

Method used

By determining the time offset between the user device and the motion tracking system, and performing timeline alignment based on the generated AR data and motion tracking data, an evaluation metric for the AR application is calculated to quantitatively and qualitatively measure the impact of the AR application on the user device gesture. Track the situation.

Benefits of technology

It realizes the evaluation of AR application performance, improves AR tracking and overall AR experience, and can provide customized evaluation results independent of user device type and operating system type.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115066281B_ABST
    Figure CN115066281B_ABST
Patent Text Reader

Abstract

Techniques for evaluating AR application performance are described. In an example, an AR application is executed on a user device. The user device is communicatively coupled to a server and is in the field of view of a motion tracking system. The AR application estimates posture data of the user device and sends the posture data to the server. A tracking application of the motion tracking system also detects the posture of the user device in parallel and sends the resulting posture data to the server. The AR evaluation application of the server aligns the estimated posture data and the detected posture data in at least a time dimension, and uses the detected posture data as ground truth data to evaluate the estimated posture data and output an evaluation of the AR application.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Augmented reality (AR) overlays virtual content on the user's view of the real world. With the development of AR software development kits (SDKs), the mobile industry has brought smartphone AR into the mainstream. ARSDKs typically provide six degrees-of-freedom (6DoF) tracking capabilities. Users can scan the environment using the smartphone's camera, and the smartphone performs visual inertialodometry (VIO) in real time. Once the camera pose is continuously tracked, virtual objects can be placed in the AR scene to create an illusion that real and virtual objects are fused together.

[0002] The quality of the AR experience depends on the placement of virtual objects in the AR scene. In turn, the correct placement of virtual objects may depend on the performance of AR tracking. Therefore, there is a need in the art for improved methods and systems related to performing and evaluating AR tracking. Summary of the invention

[0003] The present invention generally relates to methods and systems for evaluating the performance of AR applications, including, for example, the accuracy of pose estimation.

[0004] In an example, a system includes a user device for executing an augmented reality (AR) application and sending first data indicating an estimated trajectory of the user device, the first data being generated by the AR application and including a first timestamp, the first timestamp being generated based on a first local time of the user device. The system also includes a motion tracking system for sending second data indicating a tracked trajectory of the user device. The system also includes a computer system, the computer system being communicatively coupled to the user device and the motion tracking system and being used to: determine a time offset between a second local time of the computer system and a first local time of the user device, receive the first data, associate the first data with a second timestamp, the second timestamp being generated based on the time offset and different from the first timestamp, receive the second data, associate the second data with a third timestamp, the third timestamp being generated based on the second local time, and generate an evaluation of the AR application based on the first data, the second data, the second timestamp, and the third timestamp.

[0005] In an example, the first data includes first posture data of the user device. The first posture data includes position data and direction data, and is generated by a simultaneous localization and mapping (SLAM) process of an AR application.

[0006] In addition, the second data includes second posture data of the user device. The second posture data is generated by the motion tracking system.

[0007] The first gesture data and the first timestamp are received via a first socket associated with the AR application. The second gesture data is received based on a second socket associated with the motion tracking application of the motion tracking system.

[0008] In an example, determining the time offset includes: receiving time data from the user equipment before receiving the first data, the time data indicating a first local time, and determining the time offset based on a comparison of the time data with a second local time.

[0009] Furthermore, the first data have a first data pattern, wherein the time data have a second data pattern, and wherein the first data pattern is different from the second data pattern.

[0010] The first data pattern includes gesture data and a timestamp, wherein the second data pattern includes an identifier of the user device, a first local time, and a time basis associated with generating the first data.

[0011] In an example, the first data indicates a first posture of a user device at a first timestamp in a first timestamp. The second data includes a second posture of the user device at a third timestamp in a third timestamp. The first posture is associated with a second timestamp in the second timestamps based on the first timestamp and a time offset. Generating an evaluation includes: determining that the second timestamp corresponds to the first timestamp, and calculating an evaluation metric based on the first posture and the second posture.

[0012] In an example, first data is received within a time period. Second data is received within the time period. Generating an evaluation includes: generating a relative timeline between the first data and the second data based on the second timestamp and the third timestamp, determining an association between first gesture data from the first data and second gesture data from the second data based on the relative timeline, and calculating an evaluation metric based on the association.

[0013] Furthermore, the evaluation metrics are defined based on user input received via the user interface to the evaluation application of the computer system.

[0014] In an example, the assessment is generated by using the second data as ground truth data and the first data as variable data.

[0015] In an example, a method is implemented by a computer system. The method includes: based on executing an augmented reality (AR) application on a user device, determining a time offset between a local time of the computer system and a local time of the user device, receiving first data from the user device, the first data indicating an estimated trajectory of the user device and generated by the AR application, the first data including a first timestamp generated based on the local time of the user device, associating the first data with a second timestamp, the second timestamp being generated based on the time offset and different from the first timestamp, receiving second data from a motion tracking system, the second data indicating a tracked trajectory of the user device, associating the second data with a third timestamp, the third timestamp being generated based on the local time of the computer system, and generating an evaluation of the AR application based on the first data, the second data, the second timestamp, and the third timestamp.

[0016] In an example, determining the time offset includes: receiving time data from a user device prior to receiving the first data, the time data indicating a local time of the user device, and determining the time offset based on a comparison of the time data with a local time of the computer system.

[0017] In addition, first data is received within a time period, wherein second data is received within the time period. Generating an evaluation includes: generating a relative timeline between the first data and the second data based on the second timestamp and the third timestamp, determining an association between first posture data from the first data and second posture data from the second data based on the relative timeline, and calculating an evaluation metric based on the association.

[0018] In an example, the first data includes gesture data and a first timestamp. The time data includes an identifier of the user device, a first local time, and a time base associated with generating the first data.

[0019] In an example, one or more non-transitory computer storage media store instructions that, when executed on a computer system, cause the computer system to perform operations including: determining a time offset between a local time of the computer system and a local time of the user device based on executing an augmented reality (AR) application on a user device, receiving first data from the user device, the first data indicating an estimated trajectory of the user device and generated by the AR application, the first data including a first timestamp generated based on the local time of the user device, associating the first data with a second timestamp generated based on the time offset and different from the first timestamp, receiving second data from a motion tracking system, the second data indicating a tracked trajectory of the user device, associating the second data with a third timestamp generated based on the local time of the computer system, and generating an evaluation of the AR application based on the first data, the second data, the second timestamp, and the third timestamp.

[0020] In an example, the first data includes first posture data of the user device. The first posture data includes position data and direction data, and is generated by a simultaneous localization and mapping (SLAM) process of the AR application.

[0021] In addition, the second data includes second posture data of the user device. The second posture data is generated by the motion tracking system.

[0022] In addition, the first gesture data and the first timestamp are received via a first socket associated with the AR application. The second gesture data is received based on a second socket associated with the motion tracking application of the motion tracking system.

[0023] In an example, generating an evaluation includes: generating a relative timeline between first data and second data based on a second timestamp and a third timestamp, determining an association between first posture data from the first data and second posture data from the second data based on the relative timeline, and calculating an evaluation metric based on the association.

[0024] Many benefits are achieved by the present invention over conventional techniques. For example, embodiments of the present disclosure relate to methods and systems that implement techniques for evaluating AR tracking performed by an AR application executed on a user device. These techniques can quantitatively and qualitatively measure how well an AR application tracks the actual posture (e.g., position and orientation) of a user device. As a result, AR applications and / or user devices can be improved, and AR tracking and the resulting overall AR experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Various embodiments according to the present disclosure will be described with reference to the accompanying drawings, in which:

[0026] Figure 1 An example of a user device including a camera and an inertial measurement unit (IMU) sensor for AR applications according to at least one embodiment of the present disclosure is shown;

[0027] Figure 2 An example of an AR assessment system according to at least one embodiment of the present disclosure is shown;

[0028] Figure 3 An example of time offset according to at least one embodiment of the present disclosure is shown;

[0029] Figure 4 An example of aligning AR data and motion tracking data to achieve AR evaluation according to at least one embodiment of the present disclosure is shown;

[0030] Figure 5 An example of a sequence diagram illustrating interactions between components of an AR evaluation system according to at least one embodiment of the present disclosure is shown;

[0031] Figure 6 An example of a process for performing AR evaluation according to at least one embodiment of the present disclosure is shown; and

[0032] Figure 7 An example of components of a computer system in accordance with at least one embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0033] In the following description, various embodiments will be described. For the purpose of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it will also be apparent to those skilled in the art that the embodiments may also be implemented without the specific details. In addition, well-known features may be omitted or simplified in order not to obscure the described embodiments.

[0034] The disclosed embodiments are particularly directed to evaluating the performance of an AR application executed on a user device. In an example, performance can be evaluated by collecting AR data generated by an AR application and ground-truth data generated by a motion tracking system. The AR data includes posture data of a user device estimated by an AR application (e.g., the position and orientation of the user device). The estimated posture data is tracked over time, and the tracking indicates the user device trajectory estimated by the AR application. The ground-truth data includes posture data of a user device detected by a motion tracking system. The posture data is also tracked over time, and the tracking indicates the actual trajectory of the user device detected by the motion tracking system (referred to herein as the ground-truth trajectory). The AR data and the ground-truth data are synchronized (e.g., in the time dimension), so that the estimated trajectory can be appropriately analyzed based on the ground-truth trajectory. The accuracy of the estimated posture data can be derived from the analysis and represents an example evaluation of the performance of the AR application.

[0035] For illustration, consider a smartphone hosting an AR application as an example. The smartphone is placed within the field of view of a motion tracking system. In addition, the smartphone and the motion tracking system can be communicatively coupled to a server. The AR application executes for ten minutes (or some other time period). During the ten-minute AR session, the AR application performs a synchronous localization and mapping (SLAM) process that estimates the 6DoF posture of the smartphone at a specific rate (e.g., 20 frames per second or other rate). The AR data is output to the server and includes estimated 6DoF data and a timestamp depending on the rate (e.g., a posture every 50 milliseconds, corresponding to a rate of 20 frames per second). The server receives and stores the estimated 6DOF data and the corresponding timestamp. Similarly, during the ten-minute AR session, the motion tracking system tracks the actual posture of the smartphone and sends the tracked data to the server. The server receives the actual 6DoF data and generates a timestamp corresponding to the reception time. Accordingly, at the end of the AR session, the server collects the estimated 6DoF data and the associated timestamps from the smartphone, collects the actual 6DoF data from the motion tracking system, and generates a timestamp for the actual 6DoF data. The server performs time synchronization on the estimated 6DoF data and the actual 6DoF data at a given timestamp. Once the two sets of 6DoF data are time synchronized, the server derives one or more metrics based on the analysis of the two sets of data, such as the average difference between the estimated pose and the actual pose and its variance. These metrics can be displayed in the AR application performance evaluation report on the user interface.

[0036] The disclosed embodiments provide various technical advantages. For example, conventional systems do not provide a framework for evaluating trajectory estimation of AR applications on mobile user devices (e.g., smartphones). In contrast, the disclosed embodiments are able to evaluate the performance of AR applications independently of the type of user device and / or the type of operating system of such user device. Therefore, the embodiments can be extended to different user devices and operating systems. In addition, the embodiments can use user-defined metrics for evaluation. Therefore, the evaluation can be customized to output quantitative and / or qualitative measurements of AR application performance. By being scalable and customizable, AR applications and / or user devices can be improved.

[0037] Figure 1An example of a user device 110 including a camera 112 and an inertial measurement unit (IMU) sensor 114 for an AR application according to at least one embodiment of the present disclosure is shown. The AR application can be implemented by an AR module 116 of the user device 110. Generally, the camera 112 generates an image of a real-world environment including, for example, a real-world object 130. The camera 112 may also include a depth sensor that generates depth data about the real-world environment, wherein the data includes, for example, a depth map showing the depth of the real-world object 130 (e.g., the distance between the depth sensor and the real-world object 130). The IMU sensor 114 may include a gyroscope and an accelerometer, among other components, and may output IMU data including, for example, the orientation of the user device 110.

[0038] The image data of the images generated by the camera 112 in the AR session and the IMU data generated by the IMU sensor 114 in the AR session can be input to the SLAM process performed by the AR module 116. In turn, the SLAM process outputs the 6DoF pose (e.g., position along the X, Y, Z axes and rotation along each of these axes) of the user device 110 relative to the real-world environment and a map of the real-world environment. The SLAM process tracks the 6DoF pose and map over time based on the images and IMU data input at a specific frame rate. The tracking of the 6DoF pose represents the estimated trajectory 110 of the user device in the real-world environment, and the estimated trajectory can be mapped to a virtual trajectory in the map over time. The 6DoF pose includes pose data, for example, position data along the X, Y, Z axes and rotation data along each of these axes. The pose data and the timestamp when each pose data is generated (e.g., a timestamp corresponding to the frame rate) are shown as part of the AR data 118 generated by the AR module 116 during the AR session. The AR module 116 may be implemented as dedicated hardware and / or a combination of hardware and software (eg, a general purpose processor and computer readable instructions stored in a memory and executable by the general purpose processor).

[0039] After the AR session is initialized (which may include calibration and tracking), the AR module 116 renders an AR scene 120 of the real-world environment in the AR session, which may be presented as a graphical user interface (GUI) on the display of the user device 110. The AR scene 120 shows real-world object representations 122 of real-world objects 130. In addition, the AR scene 120 shows virtual objects 124 that do not exist in the real-world environment. In order to place the virtual objects 124 on the real-world object representations 122 in an appropriate manner, the AR module 116 relies on the AR data 118 and a map of the real-world environment.

[0040] In the example, user device 110 represents a suitable user device, which includes one or more graphics processing units (GPUs), one or more general purpose processors (GPPs), and one or more memories storing computer-readable instructions in addition to camera 112 and IMU sensor 114, which instructions can be executed by at least one processor to perform various functions of the embodiments of the present disclosure. For example, user device 110 can be any one of a smartphone, a tablet computer, an AR headset, or a wearable AR device.

[0041] Figure 2 An example of an AR evaluation system 200 according to at least one embodiment of the present disclosure is shown. The AR evaluation system 200 includes a user device 210, a motion tracking system 220, and a computer system 230. When located in the field of view of the motion tracking system 220, the user device 210 executes an AR application 212, and the AR application 212 outputs AR data 214 to the computer system 230. The motion tracking system 220 tracks the actual posture of the user device 210 and outputs the motion tracking data 224 to the computer system 230. The computer system 230 receives the AR data 214 and the motion tracking data 224 and evaluates the performance of the AR application.

[0042] The user equipment 210 is Figure 1 10. Specifically, the AR application 212 performs a SLAM process to generate AR data 214. The AR data 214 includes 6DoF data and a timestamp. At each timestamp, the corresponding 6DoF data indicates the position and orientation of the user device 210 at that point in time. The 6DoF data over time indicates an estimated trajectory of the user device 210. The AR data 214 may also include a map generated by the SLAM process, wherein the map may be defined in a coordinate system.

[0043] In the example, the motion tracking system 220 includes an optical system for performing motion capture. Generally, motion capture can be implemented as a process of recording the movement of an object (e.g., user device 210) in a three-dimensional (3D) real-world environment. The movement can be sampled at a specific sampling rate and re-encoded into gesture data, including position data and direction data, at this rate. To this end, the optical system includes a set of cameras (e.g., at least two cameras) and a tracking application 222. The tracking application 222 processes the images generated by the camera to detect features, generates a map of the real-world environment in a coordinate system, and tracks these features in the map over time. When these features belong to the user device 210, the movement of the user device 210 is tracked. These features can include a set of active and / or passive markers (e.g., at least three markers) attached to the user device 210 or a reference point (e.g., a specific portion of the outer surface of the user device 210) that is inherent to the user device 210 and can be detected from the image. By tracking the features in the map, the tracking application 222 can output motion tracking data 224. The motion tracking data 224 includes pose data of the user device 210 detected in a coordinate system over time by the motion tracking system 220. Such optical systems are available from VICON of Oxford, England or OPTITRACK of Corvallis, Oregon, USA.

[0044] The computer system 230 may be implemented as a server that hosts an AR evaluation application 232. The server receives the AR data 214 from the user device 212 and stores the AR data 214 in a local memory as AR data 234. Similarly, the server receives the motion tracking data 224 from the motion tracking system 220 and stores the motion tracking data in a local memory as motion tracking data 236.

[0045] In an example, the computer system 230 is communicatively coupled to the user device 210 and the motion tracking system 220 via one or more wireless and / or wired networks. The communicatively coupling may depend on a particular network topology, such as a network topology including a peer-to-peer network between the computer system 230 and each of the user device 210 and the motion tracking system 220, or a network topology including other network nodes such as access points, for example. Typically, the network latency between the computer system 230 and the user device 210 may be estimated as a round-trip time (RTT) or a time to first byte (TTFB). The network latency between the computer system 230 and the user device 210 may be similarly estimated. If the network latency is less than a threshold latency, such as ten milliseconds or some other predefined value, the network latency may be ignored.

[0046] The communication between the computer system 230 and the user device 210 and the motion tracking system 220 is performed via one or more networks using sockets. Specifically, the AR evaluation application 232 receives the AR data 214 from the AR application 212 via a first socket associated with a first port of a first Internet Protocol (IP) address. In contrast, the AR evaluation application 232 receives the motion tracking data 234 from the tracking application 222 via a second socket associated with a second port of a second IP address.

[0047] In an example, the AR evaluation application 232 aligns the AR data 234 (or equivalently, the AR data 214 received before being stored as the AR data 234) with the motion tracking data 236 (or equivalently, the motion tracking data 224 received before being stored as the motion tracking data 236). Different types of alignment can be performed. The first type involves aligning the estimated posture data from the AR data 214 with the detected posture data from the motion tracking data 224 in the same coordinate system in space. As described above, the user device 210 and the motion tracking system 220 can each generate its posture data set in a coordinate system. The AR evaluation application 232 can determine a transformation between the coordinate systems or between each coordinate system and a local coordinate system so that the posture data estimated by the AR application 212 and the posture data detected by the tracking application 222 can be transformed into the same coordinate system and defined in the same coordinate system. The transformation can be generated based on images received with the AR data 212 and the motion tracking data 224, and can be anchored to detected features of the real-world environment.

[0048] Another type of alignment involves the time dimension. Specifically, in addition to the estimated posture data, the AR data 214 may also include timestamps. These timestamps are generated by the AR application 212 according to the frame rate of the SLAM process and are expressed as a function of the local time of the user device 210. The local time may be the world coordinated time (UTC) tracked by the user device 210. In contrast, the motion tracking data 224 does not include a timestamp. Instead, the AR evaluation application 232 generates timestamps for the detected posture data, wherein these timestamps correspond to the time when the motion tracking data 224 is received. The generated timestamps may be expressed as a function of the local time of the computer system 230. The local time may be the UTC time tracked by the computer system 230. In some cases, there may be an offset between the local time of the user device 210 and the local time of the computer system 230. There may also be an offset between the start of the AR application 212 stamping the timestamp and the start of the AR evaluation application 232 stamping the timestamp. The AR evaluation application 232 calculates this offset and stores this offset in the local memory as a time offset 238. Accordingly, the AR evaluation application 232 offsets the timestamp of the AR data 214 (or equivalently, the AR data 234 ) or the timestamp generated for the motion tracking data 224 (or equivalently, the motion tracking data 236 ) by the time offset 238 so that the two sets of data are aligned relative to the same timeline.

[0049] To calculate the time offset 238, the AR evaluation application 232 may receive the time data 216 from the AR application 212. The time data 216 may identify the local time of the user device 216 and the specific time of the first timestamp relative to the local time (e.g., the start of the AR application 212 timestamping). The AR evaluation application 232 compares the local time identified in the time data 216 with the local time of the computer system 230, compares the start of the AR application 212 timestamping with the start of its time sampling, and calculates the time offset 238 based on the above comparison. This calculation is Figure 3 Further shown in .

[0050] Figure 3 An example of time offset according to at least one embodiment of the present disclosure is shown. As shown in the figure, a user device (e.g. Figure 2 The user device 210 of the present invention generates a timestamp relative to its local time (shown as device local time 310). The start of the user device's timestamping is shown as sampling start 312. Similarly, a computer system (e.g., Figure 2 The computer system 230 generates a timestamp relative to its local time (shown as system local time 320). The start of the computer system timestamping is shown as sampling start 322.

[0051] There is a first offset 330 between the device local time 310 and the system local time 320. By receiving time data (e.g., time data 216) from the AR application of the user device, the AR evaluation application of the computer system can calculate the first offset 330 as the time difference between the two local times 320 and 330. The AR evaluation application 232 can offset the sampling start 322 (or equivalently, the sampling start 312) by the first offset 330 so that the two starts are defined relative to the same local time. The remaining time difference between the two sampling starts 312 and 322 indicates a second offset 340. The second offset 340 can be a function of several factors. For example, the second offset 340 can depend on a predefined delay time that can be obtained from the software SDK of the tracking application. The delay time indicates the processing delay of the tracking application. When the second offset 340 is not negligible (e.g., greater than a predefined threshold delay), the second offset 340 can be additionally or alternatively a function of the network delay. For example, the difference between the network delay of receiving data from the user device and the network delay of receiving data from the motion tracking system can be added to the second offset 340. Time offset (e.g. Figure 2 The time offset 238 ) may include the first offset 330 , the second offset 340 , and / or the sum of the first offset 330 and the second offset 340 .

[0052] Return to reference Figure 2 , after performing different types of alignment, the AR data 234 and the motion tracking data 236 (specifically, the estimated posture data included in the AR data 234 and the detected posture data included in the motion tracking data 236) can be analyzed to determine the performance of the AR application 212. In an example, the performance is determined as a set of metrics that compare the two sets of data. The metric type can be defined via a user interface to the AR evaluation application 232. In particular, user input can be received via the user interface and a specific metric type can be defined. For example, the user input can request the average and variance of the difference between the estimated posture and the actual posture (e.g., distance and angle) within a specific time period (e.g., ten minutes). The AR evaluation application 232 analyzes the AR data 234 and the motion tracking data 236 and outputs the metric as an evaluation of the AR application 212.

[0053] although Figure 2A single user device and a single motion tracking system 220 are shown, but the disclosed embodiments are not limited thereto. For example, there may be multiple user devices in the field of view of the motion tracking system 220, each of which may execute an AR application that sends AR data to the computer system 230 via a corresponding socket. Similarly, multiple motion tracking systems may be used, each having at least one user device in its field of view and executing a tracking application that sends motion tracking data to the computer system 230 via a corresponding socket. In other words, the computer system 230 may simultaneously collect AR data from one or more user devices and motion tracking data from one or more motion tracking systems.

[0054] In a specific example, the AR evaluation system 200 employs a client-server architecture. There are two types of clients in the AR evaluation system 200. One type includes the user device 210 (and any other such user device) that provides the estimated 6DoF pose. The other type includes the motion tracking system 220 (and any other such measurement device) that provides the actual 6DoF data to be used as ground truth data. The computer system 230 is a server implemented as a local workstation that collects all the data from the clients and processes the data with the evaluation algorithm.

[0055] The server can be set in a workstation with a Microsoft Windows operating system. When the AR evaluation application 232 is started, the AR evaluation application 232 first starts the Winsock program. The Winsock program is a program interface that supports network communication in the Windows system. The server resides in this program and has a specified socket type, protocol, and flag. After initialization is completed, the AR server resolves the server address and port. The server keeps listening to the client until the client closes.

[0056] The first client is an AR application 212. The AR application 212 sends data that follows a specific data pattern (e.g., a data pattern) to connect / disconnect, send SLAM data, send images, and send tasks that handle data transmission request types. The data transmission format of the user device can be defined when the user device transmits a gesture.

[0057] For the first "n" frames, the data type follows the following data pattern: time stamp, device name, device local time, pose time baseline (e.g., the start of time sampling or the start time of the AR application). For the next frame, the data type follows the following data pattern: start stamp. For the following frames, the data type follows the following data pattern: pose stamp, pose data (e.g., position (x, y, z) and quaternion (qw, qx, qy, qz)), sensor data (e.g., IMU data, image data), end pose stamp.

[0058] The second client is the tracking application 222 . The tracking application 222 is based on the application programming interface (API) of the motion tracking system 220 .

[0059] Based on the client-server architecture, the time synchronization problem can be solved. The user device 210 and the computer system 230 each follow their own rules to calculate the time. The UTC time can be used as a baseline for synchronizing the time. The ground truth time can be transmitted to the user device 210. Specifically, for the first "n" frames, the current UTC time of the user device 210 and the posture time baseline in the UTC baseline can be obtained from the received data. For the motion tracking system 220, the delay time is predefined and can be obtained from the software SDK of the tracking application 222. The UTC time of the computer system 230 is used to stamp the ground truth data (e.g., motion tracking data 224) when it is received from the tracking application 222. The ground truth timeline relative to the timeline of the user device 210 (or vice versa) can be calculated from the offset (e.g., the first offset 330) and the delay (e.g., corresponding to the second offset 340) between the UTC time. Once the data is collected and aligned, at least in time, the posture from the user device 210 is evaluated based on the comparison with the ground truth data according to the metric type requested by the user.

[0060] Figure 4 FIG. 4 shows an example of aligning AR data 410 and motion tracking data 420 to achieve AR evaluation according to at least one embodiment of the present disclosure. The alignment can be performed by an AR evaluation application (e.g., Figure 2 The AR data 410 is Figure 2 The motion tracking data 420 is an example of the AR data 214 or 234. Figure 2 Examples of motion tracking data 224 or 236.

[0061] In the example, AR data 410 is temporally shifted by time shift 402 to generate AR data 430, so that AR data 430 and motion tracking data 420 are relatively aligned in time. Of course, the above shift can be applied to motion tracking data 420 instead, so that the shifted motion tracking data 420 is aligned in time with AR data 410.

[0062] AR data 410 includes estimated pose data generated by an AR application of a user device and a corresponding timestamp also generated by the AR application. For example, at "time 1", the estimated pose data indicates that the user device is estimated to have "pose 1", where "time 1" is defined in the local time of the user device.

[0063] Shifted AR data 430 may be generated by defining a timeline of estimated gesture data in a local time of the computer system by shifting each timestamp by a time offset 402. For example, "time 1" is shifted to become "time 1" defined in a local time of the computer system. Accordingly, AR data 430 includes the same estimated gesture data as AR data 410, but each corresponding estimated gesture is associated with an offset timestamp defined in a local time of the computer system.

[0064] For illustration, consider an example where the time offset 402 is two seconds. In this example, "time 1" is 12:00:00 PM UTC time of the user's device. This timestamp is shifted to "time 1", where "time 1" is 12:00:02 PM UTC time of the computer system.

[0065] In contrast, motion tracking data 420 includes ground-truth posture data of a user device detected by a tracking application of a motion tracking system. Upon receiving such posture data, the AR evaluation application generates a timestamp corresponding to the time at which the ground-truth posture data was received. The timestamp is defined in the local time of the computer system. For example, at "time A", the ground-truth posture data indicates that the user device was detected to have "posture A", where "time A" is defined in the local time of the computer system. Continuing with the previous application, "time A" is 12:00:02 PM UTC time of the computer system.

[0066] The AR evaluation application generates an association 440 between the displaced AR data 430 and the motion tracking data 420. Association 440 shows a relative timeline between the estimated posture data and the ground truth posture data to enable comparison of the two sets of data. For example, the AR evaluation application determines that "time 1" is the same as "time A" (e.g., "time 1": 12:00:02 = time A: 12:00:02). Accordingly, the AR evaluation application generates an association between the corresponding postures of the device, wherein the association indicates that the estimated "posture 1" corresponds to the ground truth "posture A" because the two postures are generated simultaneously (or substantially simultaneously). In view of this association, the AR evaluation application can compare the estimated "posture 1" and the ground truth "posture A" (e.g., the distance difference and angle difference between the two) when calculating the evaluation metrics of the AR application.

[0067] Figure 5 An example of a sequence diagram illustrating interactions between components of an AR evaluation system according to at least one embodiment of the present disclosure is shown. These components include a user device, a motion tracking system 520, and a computer system 530, similar to Figure 2 The user device 210, the motion tracking system 220, and the computer system 230.

[0068] As shown in the figure, in the first step of the sequence diagram, the user device 510 sends time data to the computer system 530. The time data includes, for example, the current local time of the user device and the gesture time baseline (for example, the start of the time sampling of the user device, or the start time of the AR application). The time data can follow a first data mode, for example, following the following mode: time mark, device name, device local time, gesture time baseline.

[0069] In the second step of the sequence diagram, the computer system 530 determines a time offset based on the time data. The time offset may be a function of the difference between the local time of the user device 510 and the local time of the computer system 530. The time offset may also be a function of the start of time sampling of the user device 510 and the start of time sampling of the computer system 530. In turn, the start of sampling of the computer system 530 may depend on (e.g., be equivalent to) a delay that is predefined and available from the SDK of the tracking application of the motion tracking system 520.

[0070] In the third step of the sequence diagram, the user device 510 sends AR data to the computer system 530. The AR data includes estimated pose data and a timestamp. The computer 530 receives the AR data within a time period. The AR evaluation application of the computer system 530 can receive the AR data from the AR application of the user device 520 via a socket. The AR data can follow the following data pattern: pose flag, pose data (e.g., position (x, y, z) and quaternion (qw, qx, qy, qz)), sensor data (e.g., IMU data, image data), end pose flag.

[0071] In parallel steps of the sequence diagram, the motion tracking system 520 sends motion tracking data to the computer system 530. The motion tracking data includes ground truth data posture data but does not include a timestamp. The computer 530 receives the motion tracking data in the same time period. The AR evaluation application can receive the motion tracking data from the tracking application of the motion tracking system 520 via a different socket. The AR evaluation application can timestamp the ground truth data at the time of receipt.

[0072] In the fourth step of the sequence diagram, the computer system 530 determines the relative timeline between the AR data and the motion tracking data. The relative timeline can be derived by shifting the timestamp of the estimated gesture data by a time offset. Alternatively, the relative timeline can be derived by shifting the timestamp generated for the ground truth gesture data by a time offset.

[0073] In the fifth step of the sequence diagram, the computer system 530 determines an association between the AR data and the motion tracking data based on the relative timeline. For example, once the time alignment is complete, the computer system 530 (if applicable) associates some or each of the estimated pose data with one of the ground truth pose data, where the association is determined by matching the timestamp of the estimated pose data with the timestamp of the ground truth pose data.

[0074] In the sixth step of the sequence diagram, the computer system 530 generates an evaluation of the AR application. For example, the estimated pose data is compared with the ground truth data to derive a specific evaluation metric.

[0075] Figure 6 An example of a process for performing AR evaluation according to at least one embodiment of the present disclosure is shown. Figure 2 The process is described using the example computer system of computer system 230 of the present invention. Some or all of the operations of the process may be implemented via specific hardware on the computer system and / or may be implemented as computer-readable instructions stored on a non-transitory computer-readable medium of the computer system. As stored, the computer-readable instructions represent a programmable module including code that can be executed by a processor of the computer system. The execution of such instructions configures the computer system to perform the corresponding operation. Each programmable module combined with the processor represents a device for performing the corresponding operation. Although the operations are described in a particular order, it should be understood that the particular order is not required and one or more operations may be omitted, skipped, performed in parallel, and / or reordered.

[0076] In an example, the process begins at operation 602, where the computer system receives time data indicating a local time of a user device. The time data may also indicate a baseline time for timestamps of gesture data generated by the user device.

[0077] In an example, the process includes operation 604, in which the computer system determines a time offset based on the time data and a local time of the computer system. The time offset can also be determined based on the time when the computer system starts sampling the motion tracking data, where the time can be a function of a delay that is predefined and available from an SDK of a tracking application of the motion tracking system.

[0078] In an example, the flow includes operation 606, where the computer system receives first data indicating an estimated trajectory of the user device and including a first timestamp. For example, the first data is AR data including estimated pose data and a corresponding timestamp.

[0079] In an example, the process includes operation 608, wherein the computer system associates the first data with the second timestamp based on the first timestamp and the time offset. For example, the computer system shifts the timestamp of the estimated gesture data by the time offset. The shifted timestamp is the second timestamp.

[0080] In an example, the process includes operation 610, wherein the computer system receives second data indicating a tracking trajectory of a user device. For example, the second data is received from a motion tracking system and includes motion tracking data. In turn, the motion tracking data includes posture data of the user device detected by the motion tracking system. The posture data is used as ground truth posture data. The tracking trajectory corresponds to the ground truth posture data over time.

[0081] In an example, the process includes operation 612, where the computer system generates a third timestamp based on the local time of the computer system. For example, when each data in the motion tracking data is received, the computer system generates a corresponding timestamp, where the timestamp is defined in the local time of the computer system.

[0082] In an example, the process includes operation 614, wherein the computer system associates the second data with a third timestamp. For example, for each data of the estimated posture data, the computer system determines the corresponding timestamp as an offset to the local time of the computer system. The timestamp matches one of the third timestamps defined in the local time of the computer system.

[0083] In the example, the process includes operation 616, in which the computer system determines an association between the first data and the second data based on the correspondence between the second timestamp and the third timestamp. For example, referring back to operation 614, the second timestamp corresponds to specific estimated posture data. The matching third timestamp corresponds to specific ground-truth posture data. Accordingly, the computer system generates and stores an association between specific estimated posture data and specific ground-truth data, which indicates that at a specific time (e.g., a specific time corresponding to the second timestamp or equivalently the matching third timestamp), the AR application estimates that the user device has a specific posture, and the tracking application detects that the user device has the same or different specific posture (depending on the tracking of the user device posture by the AR application).

[0084] In an example, the flow includes operation 618, where the computer system generates an evaluation of the AR application based on the association. For example, the estimated gesture data is compared with the associated ground truth data to derive a specific evaluation metric.

[0085] Figure 7An example of components of a computer system according to at least one embodiment of the present disclosure is shown. Computer system 700 is an example of computer system 230 described above. Although these components are shown as belonging to the same computer system 700, computer system 700 may also be distributed.

[0086] The computer system 700 includes at least a processor 702, a memory 704, a storage device 706, an input / output peripheral (I / O) 708, a communication peripheral 710, and an interface bus 712. The interface bus 712 can be used to communicate, send, and transfer data, control, and commands between the various components of the computer system 700. The memory 704 and the storage device 706 include computer-readable storage media, such as RAM, ROM, electrically erasable programmable read-only memory (EEPROM), hard drives, CD-ROMs, optical storage devices, magnetic storage devices, electronic non-volatile computer storage, such as Memory, and other tangible storage media. Any such computer-readable storage media can be used to store instructions or program codes that implement various aspects of the present disclosure. Memory 704 and storage device 706 also include computer-readable signal media. Computer-readable signal media include propagated data signals containing computer-readable program code. Such propagated signals take any of a variety of forms, including but not limited to electromagnetic, optical, or any combination thereof. Computer-readable signal media include any computer-readable media that is not a computer-readable storage medium and can communicate, propagate, or transmit a program for use in conjunction with computer system 700.

[0087] In addition, the memory 704 may include an operating system, programs, and applications. The processor 702 is used to execute stored instructions and includes, for example, a logic processing unit, a microprocessor, a digital signal processor, and other processors. The memory 704 and / or the processor 702 may be virtualized and may be hosted in another computer system such as a cloud network or a data center. The I / O peripherals 708 include a user interface, such as a keyboard, a screen (e.g., a touch screen), a microphone, a speaker, other input / output devices, and a computing component such as a graphics processing unit, a serial port, a parallel port, a universal serial bus, and other input / output peripherals. The I / O peripherals 708 are connected to the processor 702 by any port coupled to the interface bus 712. The communication peripherals 710 are used to facilitate communication between the computer system 700 and other computer systems through a communication network, and include, for example, a network interface controller, a modem, a wireless and wired interface card, an antenna, and other communication peripherals.

[0088] Although the subject matter has been described in detail with respect to its specific embodiments, it should be understood that those skilled in the art, after obtaining an understanding of the foregoing, can easily generate changes, variations, and equivalents to these embodiments. Therefore, it should be understood that the present disclosure is presented for the purpose of illustration rather than limitation, and does not exclude the inclusion of such modifications, variations, and / or additions to the subject matter that are obvious to a person of ordinary skill in the art. In fact, the methods and systems described herein can be implemented in a variety of other forms; in addition, various omissions, substitutions, and changes can be made to the form of the methods and systems described herein without departing from the spirit of the present disclosure. The attached claims and their equivalents are intended to cover such forms or modifications that fall within the scope and spirit of the present disclosure.

[0089] Unless expressly stated otherwise, it should be understood that terms such as "process," "compute," "determine," and "identify" are used throughout the discussion of this specification to refer to the actions or processes of a computer system (e.g., one or more computers or similar electronic computer systems) that manipulates or transforms data represented as physical electronic or magnetic quantities in the memory, registers, or other information storage devices, transmission devices, or display devices of a computing platform.

[0090] The one or more systems discussed herein are not limited to any particular hardware architecture or configuration. A computer system may include any suitable arrangement of components that provide results conditioned on one or more inputs. Suitable computer systems include multi-purpose microprocessor-based computer systems that access stored software that programs or configures the computer system from a general-purpose computing device to a dedicated computing device that implements one or more embodiments of the present subject matter. Any suitable programming, scripting, or other type of language or combination of languages ​​may be used to implement the teachings contained herein in software for programming or configuring a computer system.

[0091] Embodiments of the methods disclosed herein can be performed in the operation of such a computer system. The order of the blocks presented in the above examples can be changed—for example, the blocks can be reordered, combined, and / or decomposed into sub-blocks. Certain blocks or processes can be performed in parallel.

[0092] Conditional language used herein, such as "may," "might," "for example," and the like, unless expressly stated otherwise or otherwise understood in the context of use, is generally intended to convey that certain examples include and other examples do not include certain features, elements, and / or steps. Thus, such conditional language generally does not mean that one or more examples require the features, elements, and / or steps in any way, or that one or more examples must include logic for deciding, with or without author input or prompting, whether the features, elements, and / or steps are included or will be performed in any particular example.

[0093] The terms "include", "comprises", "have", etc. are synonymous and are used inclusively in an open manner and do not exclude other elements, features, actions, operations, etc. In addition, the term "or" is used in its inclusiveness (rather than exclusiveness), so that when used, for example, to connect a list of elements, the term "or" represents one, some or all of the elements in the list. "Applicable to" or "for" as used herein refers to open and inclusive language, and does not exclude devices that are applicable to or used to perform additional tasks or steps. In addition, the use of "based on" means openness and inclusiveness, because the process, step, calculation or other action "based on" one or more listed conditions or values ​​may actually be based on additional conditions or values ​​outside the list. Similarly, the use of "based at least in part on" means openness and inclusiveness, because the process, step, calculation or other action "based at least in part on" one or more listed conditions or values ​​may be based on additional conditions or values ​​outside the list in practice. The titles, lists and numbers included herein are only for ease of explanation and are not meant to be limiting.

[0094] The various features and processes described above can be used independently of each other, or can be used in combination in various ways. All possible combinations and sub-combinations are intended to fall within the scope of the present disclosure. In addition, some method or process blocks can be omitted in some embodiments. The methods and processes described herein are also not limited to any particular order, and the blocks or states related thereto can be performed in other appropriate orders. For example, the described blocks or states can be performed in a different order than that specifically disclosed, or multiple blocks or states can be combined in a single block or state. The example blocks or states can be performed serially, in parallel, or in some other way. Blocks or states can be added to or deleted from the disclosed examples. Similarly, the example systems and components described herein can be configured to be different from those described. For example, compared to the disclosed examples, elements can be added, removed, or rearranged.

Claims

1. A system comprising: a user device to execute an augmented reality (AR) application and to send first data indicating an estimated trajectory of the user device, the first data being generated by the AR application and comprising a first timestamp, the first timestamp being generated based on a first local time of the user device; a motion tracking system, configured to send second data indicating a tracking trajectory of the user equipment; as well as A computer system, communicatively coupled to the user device and the motion tracking system and configured to: determining a time offset between a second local time of the computer system and the first local time of the user device, receiving the first data, associating the first data with a second timestamp, the second timestamp being generated based on the time offset and being different from the first timestamp, receiving the second data, associating the second data with a third timestamp, the third timestamp being generated based on the second local time, and An evaluation of the AR application is generated based on the first data, the second data, the second timestamp, and the third timestamp.

2. The system according to claim 1, wherein: The first data includes first posture data of the user device, and wherein the first posture data includes position data and direction data, and is generated by a simultaneous localization and mapping (SLAM) process of the AR application.

3. The system according to claim 2, wherein: The second data includes second posture data of the user device, wherein the second posture data is generated by the motion tracking system.

4. The system according to claim 3, wherein: The first gesture data and the first timestamp are received via a first socket associated with the AR application, and wherein the second gesture data is received based on a second socket associated with a motion tracking application of the motion tracking system.

5. The system according to claim 1, wherein: Determining the time offset includes: Before receiving the first data, receiving time data from the user equipment, the time data indicating the first local time; and The time offset is determined based on a comparison of the time data and the second local time.

6. The system according to claim 5, wherein: The first data has a first data pattern, wherein the time data has a second data pattern, and wherein the first data pattern is different from the second data pattern.

7. The system according to claim 6, wherein: The first data pattern includes gesture data and a timestamp, wherein the second data pattern includes an identifier of the user device, the first local time, and a time base associated with generating the first data.

8. The system according to claim 1, wherein: The first data indicates a first posture of the user device at a first one of the first timestamps, wherein the second data includes a second posture of the user device at a third one of the third timestamps, wherein the first posture is associated with a second one of the second timestamps based on the first timestamp and the time offset, and wherein generating the evaluation includes: determining that the second timestamp corresponds to the first timestamp; and An evaluation metric is calculated based on the first pose and the second pose.

9. The system according to claim 1, wherein: The first data is received within a time period, wherein the second data is received within the time period, and wherein generating the assessment comprises: generating a relative timeline between the first data and the second data based on the second timestamp and the third timestamp; determining an association between first gesture data from the first data and second gesture data from the second data based on the relative timeline; and An evaluation metric is calculated based on the association.

10. The system according to claim 9, wherein: The assessment metrics are defined based on user input received via a user interface to an assessment application of the computer system.

11. The system according to claim 1, wherein: The assessment is generated by using the second data as ground truth data and the first data as variable data.

12. A method implemented by a computer system, the method comprising: determining a time offset between a local time of the computer system and a local time of the user device based on executing an augmented reality (AR) application on the user device; receiving first data from the user device, the first data indicating an estimated trajectory of the user device and generated by the AR application, the first data comprising a first timestamp generated based on the local time of the user device; associating the first data with a second timestamp, the second timestamp being generated based on the time offset and being different from the first timestamp; receiving second data from a motion tracking system, the second data indicating a tracking trajectory of the user device; associating the second data with a third timestamp, the third timestamp generated based on the local time of the computer system; as well as An evaluation of the AR application is generated based on the first data, the second data, the second timestamp, and the third timestamp.

13. The method according to claim 12, wherein: Determining the time offset includes: Before receiving the first data, receiving time data from the user equipment, the time data indicating the local time of the user equipment; and The time offset is determined based on a comparison of the time data to the local time of the computer system.

14. The method according to claim 13, wherein: The first data is received within a time period, wherein the second data is received within the time period, and wherein generating the assessment comprises: generating a relative timeline between the first data and the second data based on the second timestamp and the third timestamp; determining an association between first gesture data from the first data and second gesture data from the second data based on the relative timeline; and An evaluation metric is calculated based on the association.

15. The method according to claim 13, wherein: The first data includes gesture data and the first timestamp, wherein the time data includes an identifier of the user device, the first local time, and a time base associated with generating the first data.

16. One or more non-transitory computer storage media storing instructions that, when executed on a computer system, cause the computer system to perform operations comprising: determining a time offset between a local time of the computer system and a local time of the user device based on executing an augmented reality (AR) application on the user device; receiving first data from the user device, the first data indicating an estimated trajectory of the user device and generated by the AR application, the first data comprising a first timestamp generated based on the local time of the user device; associating the first data with a second timestamp, the second timestamp being generated based on the time offset and being different from the first timestamp; receiving second data from a motion tracking system, the second data indicating a tracking trajectory of the user device; associating the second data with a third timestamp, the third timestamp generated based on the local time of the computer system; as well as An evaluation of the AR application is generated based on the first data, the second data, the second timestamp, and the third timestamp.

17. The one or more non-transitory computer storage media of claim 16, wherein: The first data includes first posture data of the user device, and wherein the first posture data includes position data and direction data, and is generated by a simultaneous localization and mapping (SLAM) process of the AR application.

18. The one or more non-transitory computer storage media of claim 17, the second data comprising second posture data of the user device, wherein: The second posture data is generated by the motion tracking system.

19. The one or more non-transitory computer storage media of claim 18, wherein: The first gesture data and the first timestamp are received via a first socket associated with the AR application, and wherein the second gesture data is received based on a second socket associated with a motion tracking application of the motion tracking system.

20. The one or more non-transitory computer storage media of claim 16, wherein: Generating the assessment includes: generating a relative timeline between the first data and the second data based on the second timestamp and the third timestamp; determining an association between first gesture data from the first data and second gesture data from the second data based on the relative timeline; and An evaluation metric is calculated based on the association.