Deep Predictor Recurrent Neural Networks for Head Pose Prediction

The use of a recurrent neural network for head pose prediction in augmented and virtual reality systems addresses latency issues by anticipating user movements, enhancing the user experience through smoother content rendering.

JP7562504B2Active Publication Date: 2024-10-07MAGIC LEAP INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021500724
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-07-23
Filing Date
2019-07-22
Publication Date
2024-10-07
Estimated Expiration
2039-07-22

AI Technical Summary

Technical Problem

Existing augmented and virtual reality systems face challenges in predicting head pose accurately and efficiently, leading to latency and suboptimal user experiences due to the time required for rendering virtual content.

Method used

A wearable system utilizing a recurrent neural network (RNN), specifically with long short-term memory (LSTM) units, to predict head pose based on time-series data, reducing latency by rendering virtual content in anticipation of user movements.

Benefits of technology

The RNN-based head pose prediction significantly reduces rendering latency, providing smoother transitions and improved user experiences in augmented and virtual reality environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562504000001
    Figure 0007562504000001
  • Figure 0007562504000002
    Figure 0007562504000002
  • Figure 0007562504000003
    Figure 0007562504000003
Patent Text Reader

Abstract

A system and method for predicting head pose for a rendering engine of an augmented or virtual reality device can include a recurrent neural network (RNN) that receives time-series head pose data and outputs a predicted head pose. The recurrent neural network can include one or more long short-term memory (LSTM) units or gated recurrent units (GRUs). A fully connected (FC) layer can receive input from the RNN and output a three-degree-of-freedom (DOF) head pose (e.g., angular orientation or spatial position) or a six-degree-of-freedom (DOF) head pose (e.g., both angular orientation and spatial position). The rendering engine can use the predicted head pose to generate and display virtual content to a user when the user is looking toward the location of the virtual content, which reduces system latency and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims the benefit of priority to U.S. Patent Application No. 62 / 702,309, filed July 23, 2018, and entitled “DEEP PREDICTOR RECURRENT NEURAL NETWORK FOR HEAD POSE PREDICTION,” which is incorporated by reference in its entirety.

[0002] The present disclosure relates generally to systems and methods that use recurrent neural networks to predict head pose (e.g., orientation, position, rotation, or translation), and more specifically to augmented or virtual reality systems that utilize such recurrent neural networks for head pose prediction. [Background technology]

[0003] Modern computing and display technologies have facilitated the development of systems for so-called "virtual reality", "augmented reality", or "mixed reality" experiences, in which digitally reproduced images or portions thereof are presented to a user in a manner that appears or may be perceived as real. Virtual reality or "VR" scenarios typically involve the presentation of digital or virtual image information without transparency to other actual real-world visual inputs. Augmented reality or "AR" scenarios typically involve the presentation of digital or virtual image information as an extension to the visualization of the real world around the user. Mixed reality or "MR" refers to the merging of real and virtual worlds to generate new environments in which physical and virtual objects coexist and interact in real time. In conclusion, the human visual perception system is highly complex, making it difficult to produce VR, AR, or MR technologies that facilitate comfortable, natural-like, and rich presentation of virtual image elements among other virtual or real-world image elements. The systems and methods disclosed herein address various challenges associated with VR, AR, and MR technologies. Summary of the Invention [Means for solving the problem]

[0004] A system and method for predicting head pose for a rendering engine of an augmented or virtual reality device can include a recurrent neural network (RNN) that receives time series head pose data and outputs a predicted head pose (e.g., orientation, position, rotation, or translation). The recurrent neural network can include one or more long short-term memory (LSTM) units or gated recurrent units (GRUs). A fully connected (FC) layer can receive input from the RNN and output a 3 degree of freedom (DOF) head pose (e.g., angular orientation or spatial position) or a 6DOF head pose (e.g., both angular orientation and spatial position). The rendering engine can use the predicted head pose to generate and display virtual content to the user when the user is looking toward the location of the virtual content, which reduces system latency and improves the user experience.

[0005] In various aspects, a wearable display system includes a display configured to be positioned in front of an eye of a wearer of the wearable system, the display configured to display virtual content to a wearer of the wearable system; a head pose sensor configured to provide head pose data; a non-transitory memory configured to store a head pose prediction recurrent neural network; and a hardware processor in communication with the head pose sensor, the display, and the non-transitory memory, the hardware processor being programmed to receive the head pose data, input the head pose data to the head pose prediction recurrent neural network, run the head pose prediction recurrent neural network in a time range, output a predicted head pose, and cause the display to render the virtual content based, at least in part, on the predicted head pose in the time range.

[0006] The recurrent neural network head pose prediction techniques described herein are not limited to AR, MR, or VR applications, but can also be used for other applications where a person's head pose is desired, such as gaming, medicine (e.g., neurology, ophthalmology, rehabilitation), etc.

[0007] Details of one or more implementations of the subject matter described herein are set forth in the accompanying drawings and the following description. Other features, aspects, and advantages will become apparent from the description, drawings, and claims. Neither this summary nor the following detailed description purports to define or limit the scope of the inventive subject matter. The present invention provides, for example, the following: (Item 1) A wearable system, comprising: a display configured to be placed in front of an eye of a wearer of the wearable system, the display configured to display virtual content to the wearer of the wearable system; a head pose sensor configured to provide head pose data; a non-transient memory configured to store a head pose prediction recurrent neural network; and a hardware processor in communication with the head pose sensor, the display, and the non-transitory memory, the hardware processor comprising: receiving the head pose data; inputting said head pose data into said head pose prediction recurrent neural network; running the head pose prediction recurrent neural network over a time span and outputting a predicted head pose; causing the display to render the virtual content based, at least in part, on a predicted head pose during the time range; and a hardware processor programmed to A wearable system comprising: (Item 2) Item 10. The wearable system of item 1, wherein the display is configured to present the virtual content in multiple depth planes. (Item 3) Item 2. The wearable system of item 1, wherein the head posture sensor comprises an inertial measurement unit. (Item 4) 4. The wearable system of claim 3, wherein the inertial measurement unit comprises an accelerometer and a gyroscope. (Item 5) 2. The wearable system of claim 1, wherein the head posture data includes velocity or acceleration. (Item 6) Item 6. The wearable system of item 5, wherein output from the head posture sensor is filtered by an extended Kalman filter to provide the head posture data. (Item 7) 2. The wearable system of claim 1, wherein the head pose prediction recurrent neural network comprises a recurrent neural network (RNN) and a fully connected (FC) layer. (Item 8) 2. The wearable system of claim 1, wherein the head pose prediction recurrent neural network comprises multiple iterative modules. (Item 9) 9. The wearable system of claim 8, wherein at least one of the plurality of iterative modules comprises a long short-term memory cell (LSTM) or a gated recurrent unit (GRU). (Item 10) 2. The wearable system of claim 1, wherein the head pose prediction recurrent neural network comprises one or more stacks of long short-term memory (LSTM) cells or one or more stacks of gated recurrent units (GRUs). (Item 11) Item 11. The wearable system of item 10, wherein the head pose prediction recurrent neural network comprises three LSTM cells or three GRUs. (Item 12) 2. The wearable system according to item 1, wherein the time range is within a range of 10 ms to 50 ms. (Item 13) 2. The wearable system according to item 1, wherein the time range is within a range of 20 ms to 40 ms. (Item 14) Item 2. The wearable system of item 1, wherein the predicted head pose comprises a three degree of freedom (DOF) pose. (Item 15) Item 15. The wearable system of item 14, wherein the 3DOF pose comprises a head orientation. (Item 16) Item 15. The wearable system of item 14, wherein the 3DOF pose comprises a head position. (Item 17) Item 2. The wearable system of item 1, wherein the predicted head pose comprises six degrees of freedom (DOF) poses including orientation and position. (Item 18) 2. The wearable system of claim 1, wherein the predicted head pose comprises a head orientation, and the hardware processor is further programmed to predict a head position in the time range using a predictive non-neural network model. (Item 19) Item 19. The wearable system of item 18, wherein the predictive non-neural network model comprises a constant acceleration model. (Item 20) 1. A method for rendering virtual content, the method comprising: Under control of a rendering pipeline comprising computer hardware, receiving head pose data relating to a user's head; predicting a predicted head pose in a prediction range using at least a recurrent neural network (RNN) and the head pose data; rendering the virtual content in the prediction range based, at least in part, on the predicted head pose; and A method comprising: (Item 21) 21. The method of claim 20, wherein the head pose data includes a time series of one or more of: (1) data from an inertial measurement unit (IMU); (2) velocity or acceleration data relating to the user's head; or both (1) and (2). (Item 22) 22. The method of claim 21, further comprising filtering data to provide said velocity or acceleration data. (Item 23) 23. The method of claim 22, wherein the filtering is performed using an extended Kalman filter (EKF). (Item 24) 21. The method of claim 20, wherein the RNN comprises one or more stacks of long short-term memory (LSTM) cells or one or more stacks of gated recurrent units (GRUs). (Item 25) 25. The method of claim 24, wherein the RNN comprises a stack of three LSTM cells or three GRUs. (Item 26) 21. The method of claim 20, wherein the RNN is connected to a fully connected (FC) layer configured to output the predicted head pose. (Item 27) 21. The method of claim 20, wherein the predicted head pose comprises an orientation of the user's head, the method further comprising predicting the position of the user's head using a constant acceleration model in the prediction range. (Item 28) 21. The method according to item 20, wherein the prediction range is within a range of 10 ms to 50 ms. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 depicts an illustration of an augmented reality scenario involving a virtual reality object and a physical object viewed by a person.

[0009] [Diagram 2] FIG. 2 illustrates diagrammatically an embodiment of a wearable system.

[0010] [Diagram 3] FIG. 3 diagrammatically illustrates aspects of an approach for simulating a three-dimensional image using multiple depth planes.

[0011] [Figure 4] FIG. 4 diagrammatically illustrates an embodiment of a waveguide stack for outputting image information to a user.

[0012] [Diagram 5] FIG. 5 is a block diagram that diagrammatically illustrates an example of a portion of a rendering pipeline for display of virtual content to a user of a wearable system.

[0013] [Figure 6] 6 is a block diagram that diagrammatically illustrates an example of a neural network for head pose prediction, which includes a recurrent neural network (RNN) and a fully connected (FC) layer.

[0014] [Figure 7]7 is a block diagram that diagrammatically illustrates an example of a neural network for head pose prediction. In this example, the neural network includes an RNN with three long short-term memory (LSTM) modules connected to an FC layer.

[0015] [Figure 8] FIG. 8 is a graph that graphically illustrates an example of head pose prediction over a temporal prediction horizon dt.

[0016] [Figure 9] FIG. 9 is a flow chart illustrating an embodiment of a method for predicting head pose using a recurrent neural network.

[0017] Throughout the drawings, reference numbers may be reused to indicate correspondence between referenced elements. The drawings are provided to illustrate example embodiments described herein and are not intended to limit the scope of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] overview An AR, MR, or VR wearable system can render virtual content to a user's eyes (see, e.g., FIG. 1). Typically, some rendering latency will be present in the virtual content rendering pipeline because it takes time to generate the renderable content and deliver it to the AR, MR, or VR display. In various AR, MR, VR implementations, the latency may be in the range of about 10 ms to about 50 ms, e.g., about 30 ms, for some wearable systems.

[0019] During an AR, MR, or VR experience, a user will move their head and see different parts of the environment around the user, and virtual content will appear and disappear from the user's field of view (FOV) due to this head movement. The wearable system will render the virtual content that is within the FOV for display to the user. However, as the user moves their head, the location of the currently rendered virtual content may change (e.g., from near the center of the FOV to a more peripheral region of the FOV or vice versa), some virtual content will disappear from the FOV and will no longer need to be rendered, and other virtual content that was not previously rendered will appear in the user's FOV and will need to be rendered. Thus, during use, the rendered location of the virtual content will change over time due to the user's head movement.

[0020] In light of the rendering latency period (e.g., 30 ms) it takes to render virtual content by a wearable system, it may be advantageous for the system to predict where the user will be looking at a future time (comparable to the rendering latency period) and figure out the virtual content the user will be looking at at this future time. The system can start rendering the virtual content in advance of this future time (e.g., by a time period comparable to the rendering latency period) so that the virtual content will actually be rendered when the user starts looking at it. In a sense, an embodiment of the wearable system can start rendering the virtual content "just" as it will appear when the user looks at it. Such a rendering pipeline can, for example, reduce latency, provide smooth transitions as the virtual content moves around within the FOV, or reduce dropped frames of the displayed virtual content, which can beneficially improve the user's AR, MR, or VR experience.

[0021] Head pose prediction can use information from a head pose sensor, which may include an accelerometer or gyroscope or other position or orientation sensor. Head pose may refer to orientation (e.g., measured by three angles such as yaw, pitch, and roll), position (e.g., measured by three spatial coordinates such as Cartesian x, y, and z), or both orientation and position. Head movement (e.g., change in head pose) can be measured by change in orientation (e.g., angular change), change in spatial position (e.g., translation), or both. Because the time horizon for predicting future head poses is comparable to the rendering latency (e.g., around 30 ms), some implementations utilize a constant acceleration model to predict future head poses. The constant acceleration model assumes that the acceleration of the user's head is approximately constant over the prediction time horizon. The constant acceleration model can use input from a head pose sensor (e.g., accelerometer or gyroscope) to measure acceleration. The head pose sensor input may be filtered (e.g., using an extended Kalman filter (EKF)) to provide a smoother velocity or acceleration estimate. As a one-dimensional non-limiting example of constant acceleration prediction, if ω is the angular rotation rate of the user's head and α is a constant angular acceleration, then the change in angular position of the user's head, Δθ, over a prediction time period, dt, is: Δθ=ωdt+αdt 2 A similar constant acceleration kinematic model can be developed for changes in the user's head position.

[0022] Errors in predicted future head poses can arise from errors in the velocity or acceleration used in the prediction model and errors in the prediction model itself. For example, a real user's head does not move with constant acceleration even over a relatively short prediction time range. From user measurements, for example, the root mean square (rms) position error has been found to be about 0.6 mm, with a 95% quantile (q95) of about 1.5 mm. In these exemplary user measurements, the majority of the position error was from errors in the estimated velocity and acceleration (obtained from EKF filtering of accelerometer and gyroscope data). A constant acceleration model for head translation may be accurate enough for some wearable systems.

[0023] In these example user measurements, the rms angle error was about 1.5 arc minutes and q95 was about 4 arc minutes. However, in contrast to the position error, about 30% of the angle error was due to the use of a constant acceleration model. Hence, head pose prediction can be improved by utilizing an angle prediction model that is more robust and accurate than the constant acceleration model.

[0024] This disclosure provides an example of a recurrent neural network (RNN) approach to head pose prediction that can be substantially more accurate than a constant acceleration model. In various embodiments, the recurrent neural network approach can be applied to angle prediction, translation prediction, or both angle and translation prediction for head motion. For example, in some wearable systems, a recurrent neural network model for angular head pose prediction has been found to reduce rms angle error by 25%, improve angle q95 by about 27%, and provide an overall improvement in angle prediction (especially at lower head velocities) of about 38% compared to a constant acceleration model.

[0025] An embodiment of the RNN approach can be trained on actual user head pose data so that the RNN can learn from this data and provide accurate head pose predictions. In contrast to the constant acceleration model (and certain other predictive algorithms), the RNN approach does not assume a fixed mathematical model for head pose prediction or make assumptions about head kinematics (e.g., constant acceleration). The RNN can learn from actual user head motion without making assumptions about head motion, which may limit the availability and accuracy of such fixed models. Furthermore, an embodiment of the RNN approach can continue to learn from head pose data obtained while a user of a wearable system moves and interacts with real and virtual content. Thus, such an embodiment can advantageously be personalized to reflect the actual characteristics of the user's head motion. Such an embodiment can be advantageous, especially if the user has a disorder or disease (e.g., tremors or seizures) that contributes to head motion that may not be present within the standardized but default of a population of users.

[0026] In addition, head pose predictions can be affected by short accelerations (called taps) that do not represent true user head movement, but may result from external influences on the wearable system (e.g., actual physical taps or bumps on the head-mounted frame of the wearable system). Such "taps" can lead to prediction errors in the constant acceleration model because the model assumes that these accelerations represent actual head movement. In contrast, embodiments of the recurrent neural network approach exhibit significant tolerance to taps and smaller rms errors (approximately 37%) and q96 quantiles (approximately 36%).

[0027] Thus, embodiments of wearable systems utilizing the recurrent neural network techniques described herein can advantageously provide more accurate and more robust head pose predictions, leading to improved display of virtual content and improved AR, MR, or VR experiences for users of the wearable systems.

[0028] The recurrent neural network head pose prediction techniques described herein are not limited to AR, MR, or VR applications, but can also be used for other applications where a person's head pose is desired, such as gaming, medicine (e.g., neurology, ophthalmology, rehabilitation), etc. AR and VR Overview

[0029] A wearable system (also referred to herein as an augmented reality (AR) system) can be configured to present 2D or 3D virtual images to a user. The images may be still images, frames of video, or videos, in combination or the like. A wearable system may comprise a wearable device that may present a VR, AR, or MR environment, alone or in combination, for user interaction. The wearable device may include a wearable display device, such as, for example, a head mounted display (HMD). The wearable device may also include a belt pack, which may include a central processing unit that handles some of the data processing for the wearable device, a battery, etc. In some circumstances, a wearable device may be used synonymously with an augmented reality device (ARD).

[0030] Figure 1 depicts an illustration of a mixed reality scenario with certain virtual reality objects and certain physical objects viewed by a person. In Figure 1A, an MR scene 100 is depicted in which a user of the MR technology sees a real-world park-like setting 110 featuring people, trees, buildings in the background, and a concrete platform 120. In addition to these items, the user of the MR technology also perceives that they "see" a robotic figure 130 standing on the real-world platform 120 and a flying cartoon-like avatar character 140 that appears to be an anthropomorphic bumblebee, although these elements do not exist in the real world.

[0031] In order for a 3D display to produce a true depth sensation, and more specifically a simulated sensation of surface depth, it is desirable to generate, for each point in the display's field of view, an accommodation response that corresponds to that point's virtual depth. If the accommodation response to a display point does not correspond to that point's virtual depth as determined by the binocular depth cues of convergence and stereopsis, the human eye may experience accommodation conflicts, resulting in unstable imaging, deleterious eye strain, headaches, and, in the absence of accommodative information, a near-complete lack of surface depth.

[0032] VR, AR, and MR experiences can be provided by a display system having a display in which images corresponding to multiple depth planes are provided to a viewer. The images may be different for each depth plane (e.g., providing slightly different presentations of a scene or object) and may be focused separately by the viewer's eyes, thereby serving to provide depth cues to the user based on the ocular accommodation required to focus on different image features of a scene located on different depth planes and / or based on observing different image features on different depth planes that are out of focus. As discussed elsewhere herein, such depth cues provide a believable perception of depth. Exemplary AR and VR Systems and Components

[0033] 2 illustrates an example of a wearable system 200. The wearable system 200 can include a display 220 and various mechanical and electronic modules and systems to support the functionality of the display 220. The display 220 can be coupled to a frame 230 that is wearable by a user, wearer, or viewer 210. The display 220 can be positioned directly in front of the eyes of the user 210. A portion of the wearable system (such as the display 220) can be worn on the user's head.

[0034] In FIG. 2 , speaker 240 is coupled to frame 230 and positioned adjacent to the user's ear canal (in some embodiments, another speaker, not shown, is positioned adjacent to the user's other ear canal to provide stereo / shapeable sound control). Wearable system 100 may also include an outwardly facing imaging system 464 (shown in FIG. 4 ) that observes the world in the user's surrounding environment. Wearable system 100 may also include an inwardly facing imaging system 462 (shown in FIG. 4 ) that may track the user's eye movements. The inwardly facing imaging system may track either one eye movement or both eyes movement. The inwardly facing imaging system may be attached to frame 230 and may be in electrical communication with processing modules 260 and / or 270 that may process image information obtained by the inwardly facing imaging system and determine, for example, pupil diameter and / or orientation or eye posture of the user's 210 eyes.

[0035] As an example, the wearable system 200 can obtain images of the user's posture using the outward facing imaging system 464 and / or the inward facing imaging system 462. The posture may be used to determine the user's movement or to synthesize an image of the user. The images obtained by the outward facing imaging system 464 and / or the inward facing imaging system 462 may be communicated to a second user in a telepresence session to create a tangible sense of the user's presence within the second user's environment.

[0036] The wearable system 200 may include a head posture sensor 235 that may determine a head posture of the user 210. The head posture sensor 235 may comprise an inertial measurement unit (IMU), which may comprise, for example, an accelerometer, a gyroscope, or a magnetometer (e.g., a compass). The head posture sensor 235 may be attached to the frame 230. The head posture sensor 235 may comprise a processor that processes the IMU data or transmits the IMU data to a local processing and data module 260 for head posture estimation. The head posture may be represented as a head orientation (e.g., measured by three angles, such as yaw, pitch, and roll) and / or a head position (e.g., measured by three spatial coordinates, such as a Cartesian coordinate system). For example, a three degree of freedom (DOF) estimate of head pose can comprise a 6DOF pose, including 3DOF orientation (e.g., yaw, pitch, roll), 3DOF position (e.g., Cartesian x, y, z), or both position and orientation (e.g., x, y, z, yaw, pitch, roll). Movement of the user's head is detected by the head pose sensor 235, and the movement can be represented as a rotation of the orientation angle or a translation of spatial coordinates. In other implementations, the head pose sensor 235 may additionally or alternatively include other sensor modalities, such as, for example, components of an electromagnetic tracking system. In some embodiments, the IMU data (e.g., time series) is processed by filtering (e.g., a Kalman filter or an extended Kalman filter (EKF)) to reduce the effects of noise or jitter in the data to provide a more accurate estimate of the head pose (3DOF or 6DOF). Optionally, the filtering step can additionally or alternatively incorporate other sensor data (eg, camera images, electromagnetic tracking data, etc.) to estimate head pose.

[0037] The display 220 can be operably coupled (250) to a local data processing module 260, which can be mounted in a variety of configurations, such as fixedly attached to the frame 230, by wired leads or a wireless connection, fixedly attached to a helmet or hat worn by the user, built into headphones, or otherwise removably attached to the user 210 (e.g., in a backpack configuration, in a belt-attached configuration).

[0038] The local processing and data module 260 may comprise a hardware processor and digital memory such as non-volatile memory (e.g., flash memory), both of which may be utilized to aid in processing, caching, and storing data. The data may include a) data captured from sensors (e.g., which may be operatively coupled to the frame 230 or otherwise attached to the user 210), such as image capture devices (e.g., cameras in the inward facing and / or outward facing imaging systems), microphones, inertial measurement units (IMUs 235) (which may comprise, e.g., accelerometers, compasses, gyroscopes, etc.), global positioning system (GPS) units, wireless devices, etc., and / or b) data obtained and / or processed using the remote processing module 270 and / or remote data repository 280, potentially for passing to the display 220 after processing or retrieval. The local processing and data module 260 may be operatively coupled to a remote processing module 270 and / or a remote data repository 280 by communications links 262 and / or 264, such as via wired or wireless communication links, such that these remote modules are available as resources to the local processing and data module 260. In addition, the remote processing module 280 and the remote data repository 280 may be operatively coupled to each other. The local processing and data module 260, the remote processing module 270, and the remote data repository 280 may each include a network interface to provide for communications via the communications links 262, 264.

[0039] In some embodiments, remote processing module 270 may comprise one or more hardware processors configured to analyze and process data and / or image information. In some embodiments, remote data repository 280 may comprise a digital data storage facility, which may be available through the Internet or other networking configurations in a "cloud" resource configuration. In some embodiments, all data is stored and all calculations are performed in the local processing and data module, allowing for fully autonomous use from the remote module.

[0040] The human visual system is complex and difficult to provide a realistic perception of depth. Without being limited by theory, it is believed that a viewer of an object may perceive the object as three-dimensional due to a combination of vergence and accommodation. Vergence of the two eyes relative to one another (i.e., the rotation of the pupils such that the pupils move toward or away from one another, converging the gaze of the eyes to fixate on the object) is closely linked to the focusing (or "accommodation") of the eye's lenses. Under normal conditions, a change in focus of the eye's lenses or accommodation of the eye to change focus from one object to another at a different distance will automatically produce a matching change in vergence at the same distance, a relationship known as the "accommodation-vergence reflex." Similarly, a change in vergence will induce a matching change in accommodation under normal conditions. Display systems that provide better matching between accommodation and convergence-divergence movements may produce more realistic and comfortable simulations of three-dimensional images.

[0041] FIG. 3 illustrates aspects of an approach for simulating a three-dimensional image using multiple depth planes. With reference to FIG. 3, objects at various distances from the eyes 302 and 304 on the z-axis are accommodated by the eyes 302 and 304 such that the objects are in focus. The eyes 302 and 304 assume a particular accommodated state, focusing objects at different distances along the z-axis. As a result, a particular accommodated state may be said to be associated with a particular one of the depth planes 306 having an associated focal length such that an object or part of an object at a particular depth plane is in focus when the eye is in an accommodated state relative to that depth plane. In some embodiments, a three-dimensional image may be simulated by providing a different presentation of an image for each eye 302 and 304, and by providing a different presentation of an image corresponding to each of the depth planes. Although shown as separate for clarity of illustration, it should be understood that the fields of view of the eyes 302 and 304 may overlap, for example, as the distance along the z-axis increases. In addition, while shown to be flat for ease of illustration, it should be understood that the contours of the depth planes may be curved in physical space such that all features within the depth plane are in focus with the eye in a particular accommodative state. Without being limited by theory, it is believed that the human eye is typically capable of interpreting a finite number of depth planes to provide depth perception. As a result, a highly realistic simulation of perceived depth may be achieved by providing the eye with different presentations of images corresponding to each of these limited number of depth planes. Waveguide Stack Assembly

[0042] FIG. 4 illustrates an example of a waveguide stack for outputting image information to a user. The wearable system 400 includes a stack of waveguides or a stacked waveguide assembly 480 that can be utilized to provide a three-dimensional perception to the eye / brain using multiple waveguides 432b, 434b, 436b, 438b, 400b. In some embodiments, the wearable system 400 may correspond to the wearable system 200 of FIG. 2, of which FIG. 4 diagrammatically illustrates some portions in more detail. For example, in some embodiments, the waveguide assembly 480 may be integrated into the display 220 of FIG. 2.

[0043] 4, the waveguide assembly 480 may also include a number of features 458, 456, 454, 452 between the waveguides. In some embodiments, the features 458, 456, 454, 452 may be lenses. In other embodiments, the features 458, 456, 454, 452 may not be lenses. Rather, they may simply be spacers (e.g., cladding layers and / or structures to form air gaps).

[0044] The waveguides 432b, 434b, 436b, 438b, 440b and / or the multiple lenses 458, 456, 454, 452 may be configured to transmit image information to the eye with various levels of wavefront curvature or light beam divergence. Each waveguide level may be associated with a particular depth plane and may be configured to output image information corresponding to that depth plane. Image injection devices 420, 422, 424, 426, 428 may be utilized to inject image information into the waveguides 440b, 438b, 436b, 434b, 432b, respectively, which may be configured to disperse incident light across each individual waveguide for output toward the eye 410. Light exits output surfaces of image launch devices 420, 422, 424, 426, 428 and is launched into corresponding input edges of waveguides 440b, 438b, 436b, 434b, 432b. In some embodiments, a single beam of light (e.g., a collimated beam) may be launched into each waveguide to output an entire field of cloned collimated beams that are directed towards the eye 410 at a particular angle (and divergence) corresponding to the depth plane associated with the particular waveguide.

[0045] In some embodiments, the image input devices 420, 422, 424, 426, 428 are discrete displays that generate image information for input into each of the corresponding waveguides 440b, 438b, 436b, 434b, 432b, respectively. In some other embodiments, the image input devices 420, 422, 424, 426, 428 are outputs of a single multiplexed display that may, for example, send image information to each of the image input devices 420, 422, 424, 426, 428 via one or more optical conduits (such as fiber optic cables).

[0046] A controller 460 controls the operation of the stacked waveguide assembly 480 and the image input devices 420, 422, 424, 426, 428. The controller 460 includes programming (e.g., executable instructions recorded in a non-transitory computer-readable medium) that coordinates the timing and provision of image information to the waveguides 440b, 438b, 436b, 434b, 432b. In some embodiments, the controller 460 may be a single integrated device or a distributed system connected by a wired or wireless communication channel. The controller 460 may be part of the processing modules 260 and / or 270 (illustrated in FIG. 2) in some embodiments. The controller 460 may comprise a hardware processor, an application specific integrated circuit (ASIC), or other programmable computer component.

[0047] The controller 460 can control the rendering of virtual content to be displayed to the user 210. The controller 460 can receive input from the head pose sensor 235 to help determine the direction in which the user 210 is looking, in part to determine what virtual content to display and when to display it. For example, as described further herein, it takes a period of time (e.g., in some embodiments, about 20 ms-30 ms) for the controller 460 and the display 220 to render the virtual content to the user. The controller 460 can use an estimate of the predicted position of where the user's head will be in the future (e.g., about 20 ms-30 ms into the future) so that it can determine the direction in which the user will be looking, and therefore the virtual content that should be visible to the user (at or near that direction) within the AR / VR / MR environment. The controller 460 may receive head posture sensor data from the head posture sensor 235 and calculate the predicted head posture, or in other embodiments, the head posture sensor 235 (which in some embodiments may comprise an accelerometer 235a and a gyroscope 235b) may perform head posture prediction and provide the predicted head posture to the controller 460. Thus, in various embodiments, the controller 460, the head posture sensor 235, or the local processing and data module 260 may obtain head posture data (e.g., from the accelerometer 235a or the gyroscope 235b) and use the recurrent neural network techniques described herein to calculate the predicted head posture (e.g., angle or translation). In some embodiments, the head posture sensor 235 may additionally or alternatively include a magnetometer.

[0048] The waveguides 440b, 438b, 436b, 434b, 432b may be configured to propagate light within each individual waveguide by total internal reflection (TIR). The waveguides 440b, 438b, 436b, 434b, 432b may each be planar or have another shape (e.g., curved) with major top and bottom surfaces and edges extending between the major top and bottom surfaces. In the illustrated configuration, the waveguides 440b, 438b, 436b, 434b, 432b may each include a light extraction optical element 440a, 438a, 436a, 434a, 432a configured to extract light from the waveguide by redirecting the light and propagating it within each individual waveguide and outputting image information from the waveguide to the eye 410. The extracted light may also be referred to as out-coupled light, and the light extraction optical element may also be referred to as out-coupling optical element. The extracted light beam is output by the waveguide where the light propagating in the waveguide strikes the light redirecting element. The light extraction optical element (440a, 438a, 436a, 434a, 432a) may be, for example, a reflective and / or diffractive optical feature. Although shown disposed on the bottom major surface of the waveguides 440b, 438b, 436b, 434b, 432b for ease of explanation and clarity of drawing, in some embodiments the light extraction optical element 440a, 438a, 436a, 434a, 432a may be disposed on the top and / or bottom major surface and / or directly within the volume of the waveguides 440b, 438b, 436b, 434b, 432b. In some embodiments, the light extraction optical elements 440a, 438a, 436a, 434a, 432a may be formed in a layer of material that is attached to a transparent substrate and forms the waveguides 440b, 438b, 436b, 434b, 432b. In some other embodiments, the waveguides 440b, 438b, 436b, 434b, 432b may be monolithic pieces of material and the light extraction optical elements 440a, 438a, 436a, 434a, 432a may be formed on and / or within the material pieces.

[0049] Continuing with reference to FIG. 4, as discussed herein, each waveguide 440b, 438b, 436b, 434b, 432b is configured to output light and form an image corresponding to a particular depth plane. For example, the waveguide 432b closest to the eye may be configured to deliver collimated light to the eye 410 as it is launched into such waveguide 432b. The collimated light may represent an optical infinity focal plane. The next upper waveguide 434b may be configured to send collimated light that passes through a first lens 452 (e.g., a negative lens) before it can reach the eye 410. The first lens 452 may be configured to generate a slight convex wavefront curvature so that the eye / brain interprets the light originating from the next upper waveguide 434b as originating from a first focal plane closer inward from optical infinity toward the eye 410. Similarly, the third upper waveguide 436b passes its output light through both a first lens 452 and a second lens 454 before reaching the eye 410. The combined refractive powers of the first and second lenses 452 and 454 may be configured to produce another incremental amount of wavefront curvature such that the eye / brain interprets the light emerging from the third upper waveguide 436b as emerging from a second focal plane that is closer inward from optical infinity towards the person than was the light from the next upper waveguide 434b.

[0050] Other waveguide layers (e.g., waveguides 438b, 440b) and lenses (e.g., lenses 456, 458) are similarly configured, with the highest waveguide 440b in the stack sending its output through all of the lenses between it and the eye for an aggregate focal power that represents the focal plane closest to the person. To compensate for the stack of lenses 458, 456, 454, 452 when viewing / interpreting light originating from the world 470 on the other side of the stacked waveguide assembly 480, a compensating lens layer 430 may be placed on top of the stack to compensate for the aggregate power of the lens stacks 458, 456, 454, 452 below. Such a configuration provides as many perceived focal planes as there are waveguide / lens pairs available. Both the light extraction optical elements of the waveguides and the focusing sides of the lenses may be static (e.g., not dynamic or electroactive). In some alternative embodiments, one or both may be dynamic using electroactive features.

[0051] Continuing with reference to FIG. 4, the light extraction optical elements 440a, 438a, 436a, 434a, 432a may be configured to redirect light from its respective waveguide and output the light with an appropriate amount of divergence or collimation for a particular depth plane associated with the waveguide. As a result, waveguides with different associated depth planes may have different configurations of light extraction optical elements that output light with different amounts of divergence depending on the associated depth plane. In some embodiments, as discussed herein, the light extraction optical elements 440a, 438a, 436a, 434a, 432a may be volumetric or surface features that may be configured to output light at a specific angle. For example, the light extraction optical elements 440a, 438a, 436a, 434a, 432a may be volumetric holograms, surface holograms, and / or diffraction gratings. Light extraction optical elements such as diffraction gratings are described in U.S. Patent Publication No. 2015 / 0178939, published June 25, 2015, which is incorporated by reference in its entirety.

[0052] In some embodiments, the light extraction optical elements 440a, 438a, 436a, 434a, 432a are diffractive features or "diffractive optical elements" (also referred to herein as "DOEs") that form a diffraction pattern. Preferably, the DOEs have a relatively low diffraction efficiency so that only a portion of the light in the beam is deflected toward the eye 410 at each intersection of the DOE, while the remainder continues traveling through the waveguide via total internal reflection. The light carrying the image information is thus split into several related exit beams that exit the waveguide at multiple locations, resulting in a very uniform pattern of exit emission toward the eye 304 for this particular collimated beam bouncing within the waveguide.

[0053] In some embodiments, one or more DOEs may be switchable between an "on" state in which they actively diffract and an "off" state in which they do not significantly diffract. For example, a switchable DOE may comprise a layer of polymer dispersed liquid crystal in which microdroplets comprise a diffractive pattern in a host medium, and the refractive index of the microdroplets can be switched to substantially match the refractive index of the host material (in which case the pattern does not significantly diffract incident light), or the microdroplets can be switched to a refractive index that does not match that of the host medium (in which case the pattern actively diffracts incident light).

[0054] In some embodiments, the number and / or distribution of depth planes or depths of field may be dynamically varied based on the size and / or orientation of the pupil of the viewer's eye. The depth of field may vary inversely with the size of the viewer's pupil. As a result, as the size of the viewer's eye pupil decreases, the depth of field increases so that one plane that is indistinguishable because its location exceeds the focal depth of the eye becomes distinguishable and may appear more in focus with a reduction in pupil size and a corresponding increase in depth of field. Similarly, the number of spaced depth planes used to present different images to the viewer may be reduced with a reduced pupil size. For example, the viewer may not be able to clearly perceive the details of both a first depth plane and a second depth plane at one pupil size without adjusting the accommodation of the eye from one depth plane to the other. However, these two depth planes may be sufficient to simultaneously focus the user at different pupil sizes without changing accommodation.

[0055] In some embodiments, the display system may vary the number of waveguides that receive image information based on a determination of pupil size and / or orientation or in response to receiving an electrical signal indicative of a particular pupil size and / or orientation. For example, if the user's eye is unable to distinguish between two depth planes associated with two waveguides, the controller 460 may be configured or programmed to stop providing image information to one of those waveguides. Advantageously, this may reduce the processing burden on the system, thereby increasing the responsiveness of the system. In embodiments in which the DOE for a waveguide is switchable between on and off states, the DOE may be switched to the off state when the waveguide receives image information.

[0056] In some embodiments, it may be desirable to have the exit beam meet the condition of having a diameter less than the diameter of the viewer's eye. However, meeting this condition may be difficult in light of the variability in the size of the viewer's pupil. In some embodiments, this condition is met over a wide range of pupil sizes by varying the size of the exit beam in response to a determination of the size of the viewer's pupil. For example, as the pupil size decreases, the size of the exit beam may also decrease. In some embodiments, the exit beam size may be varied using a variable aperture.

[0057] The wearable system 400 may include an outwardly facing imaging system 464 (e.g., a digital camera) that images a portion of the world 470. This portion of the world 470 may be referred to as the field of view (FOV), and the imaging system 464 is sometimes referred to as the FOV camera. The entire area available for viewing or imaging by a viewer may be referred to as the ocular field of view (FOR). The FOR may include a solid angle of 4π steradians surrounding the wearable system 400. In some implementations of the wearable system 400, the FOR may include substantially all of the solid angle around the user of the display system 400, as the user can move their head or eyes and see objects around the user (in front of, behind, above, below, or to the sides of the user). Images obtained from the outward facing imaging system 464 can be used to track gestures (e.g., hand or finger gestures) made by the user, detect objects in the world 470 in front of the user, etc. The head pose sensor 235 can be used to determine an estimate of the head pose, which can be used to estimate the FOV of the user within the FOR.

[0058] The wearable system 400 may also include an inwardly facing imaging system 466 (e.g., a digital camera) that observes user movements such as eye and face movements. The inwardly facing imaging system 466 may be used to capture images of the eye 410 and determine the size and / or orientation of the pupil of the eye 304. The inwardly facing imaging system 466 may be used to obtain images for use in determining the direction the user is looking (e.g., eye pose) or for biometric identification of the user (e.g., via iris identification). In some embodiments, at least one camera may be utilized for each eye independently to separately determine the pupil size and / or eye pose of each eye, thereby allowing the presentation of image information to each eye to be dynamically adjusted for that eye. In some other embodiments, the pupil diameter and / or orientation of only one eye 410 (e.g., using only a single camera per pair of eyes) is determined and assumed to be similar for both eyes of the user. Images obtained by inwardly facing imaging system 466 may be analyzed to determine the user's eye posture and / or mood, which may be used by wearable system 400 to determine audio or visual content to be presented to the user. As described above, wearable system 400 may also determine head pose (e.g., head position or head orientation), for example, using head posture sensor 235.

[0059] The wearable system 400 may include a user input device 466 through which a user may input commands into the controller 460 and interact with the wearable system 400. For example, the user input device 466 may include a trackpad, touch screen, joystick, multi-degree-of-freedom (DOF) controller, capacitive sensing device, game controller, keyboard, mouse, directional pad (D-pad), wand, tactile device, totem, smartphone, smartwatch, tablet, or the like, combinations thereof, or the like. A multi-DOF controller may sense user input in possible translation (e.g., left / right, forward / backward, or up / down) or rotation (e.g., yaw, pitch, or roll) of some or all of the controller. A user may interact with the user input device 466 or objects (e.g., virtual or physical objects) in its environment, for example, by clicking a mouse, tapping a touchpad, swiping a touchscreen, hovering over or touching a capacitive button, pressing a key on a keyboard or game controller (e.g., a 5-way D-pad), pointing a joystick, wand, or totem toward an object, pressing a button on a remote control, or other interaction with the user input device. Actuation of the user input device 466 may cause the wearable system to perform user interface actions, such as, for example, displaying a virtual user interface menu associated with the object, animating the user's avatar in a game, etc. The user input device 466 may be configured to emit light. The light patterns may represent information associated with an object in the user's environment, the user's interaction with the user input device 466 or the wearable device, etc.

[0060] In some cases, a user may use a finger (e.g., thumb) to press or swipe a touch-sensitive input device to provide input to the wearable system 400 (e.g., provide user input to a user interface provided by the wearable system 400). The user input device 466 may be held by the user's hand during use of the wearable system 400. The user input device 466 may communicate with the wearable system 400 in wired or wireless communication. The user input device 466 may comprise an embodiment of a totem described herein. The totem may include a touch surface that may allow a user to actuate the totem, such as by swiping along a trajectory or tapping. An exemplary rendering pipeline with a deep predictor neural network head pose predictor

[0061] 5 is a block diagram that diagrammatically illustrates an example of a portion of a rendering pipeline 500 for displaying virtual content to a user of a wearable system. The rendering pipeline can be implemented by the wearable systems 200 or 400 described with reference to FIGS. 2 and 4, respectively.

[0062] In this embodiment, the head pose sensor 235, which provides head pose data, includes an accelerometer 235a and a gyroscope 235b. The head pose data can be optionally filtered, for example, using an extended Kalman filter (EKF), to provide a smoother estimate of the velocity and acceleration of the user's head. The head pose data is input to a pose predictor 510, which outputs a predicted head pose 530 in a future time range. The future time range can be comparable to the time it takes the rendering pipeline to generate and display the virtual content to the user of the system 200, 400, which can be, for example, about 10 ms to about 50 ms in the future. Thus, the rendering pipeline 500 can display the virtual content to the user when the user is looking at or near the virtual content, which reduces rendering latency and improves the user experience.

[0063] The pose predictor 510 can be implemented by a hardware processor, for example, with non-transitory memory such as the local processing and data module 260, the remote processing module 270, and the remote data repository 280, the controller 460, or other electronic computer circuitry.

[0064] In various embodiments, the predicted head pose 530 can be a 3DOF head pose comprising head orientation (e.g., yaw, pitch, and roll angles), a 3DOF head pose comprising head position (e.g., Cartesian x, y, and z coordinates), or a 6DOF pose comprising both head orientation and head position.

[0065] The predicted head pose 530 is input to the controller 460 (described with reference to FIG. 4), which coordinates the timing and provisioning of virtual content to the display 220 of the wearable system 200, 400.

[0066] The pose predictor 510 may include an embodiment of a deep predictor neural network architecture 520 described herein (see, e.g., FIGS. 6 and 7). The deep predictor neural network architecture 520 may include a recurrent neural network (RNN), which performs pose prediction more accurately and robustly than a constant acceleration prediction model. In some implementations, the deep predictor neural network architecture 520 is used to predict the angular orientation of the user's head, and the constant acceleration model is used to predict the spatial translation of the user's head. Exemplary Deep Predictor Neural Network Architecture

[0067] 6 is a block diagram that diagrammatically illustrates an example of a deep predictor neural network 520 for head pose prediction. This example of the neural network 520 includes a recurrent neural network (RNN) 610 and a fully connected (FC) layer 620.

[0068] As described above, head posture data (e.g., from accelerometer 235a and gyroscope 235b) can be input to RNN 610. In some embodiments, the input data additionally or alternatively includes raw readings from head posture sensor 235 along with estimates of head velocity and acceleration. For example, head posture sensor 235 data can be processed by filtering, e.g., with a Kalman or extended Kalman filter, to provide the velocity and acceleration of the user's head. The input head posture data can be a time series over a period of time (e.g., 10 ms to 1 s).

[0069] The head pose data is input to the RNN 610. An RNN is a neural network with "memory" since layers of the neural network utilize state information from previous layers of the RNN. An RNN effectively has a loop of recursive modules that operate on time series data, allowing information in the time series to persist (e.g., be stored) and be operated on by future layers of the RNN. The recursive nature of the RNN 610 is illustrated diagrammatically by loop 612, which indicates that outputs from previous loops can be processed (along with other inputs) in future loops within the RNN. The RNN 610 thus uses its internal state (e.g., memory) to process the time series head pose data and predict future head poses 530.

[0070] The output of the RNN 610 can be fed into a fully connected (FC) layer 620, which has connections to all neurons in the final layer of the RNN 610. The FC layer 620 generates a predicted future head pose 530, for example, 3DOF (angular), 3DOF (translational), or 6DOF (rotation and translation).

[0071] In some implementations of the network architecture 520, the hidden layer of the RNN 610 includes 32 neurons and the FC layer 620 provides three (3DOF) or six (6DOF) outputs. In some embodiments, the FC layer 620 includes a rectified linear unit (ReLU) or hyperbolic tangent (tanh) activation function. Other numbers of hidden layer neurons or other types of activation functions can also be used. For example, in some implementations, the hidden layer of the RNN 610 may include 64 neurons.

[0072] 7 is a block diagram that diagrammatically illustrates another embodiment of a deep predictor neural network 520 for head pose prediction. In this embodiment, the neural network architecture includes an RNN with three stacked recurrent neural network units. The recurrent network units are long short-term memory (LSTM) networks, namely LSTM0 700, LSTM1 701, and LSTM2 702. The three LSTM units 700, 701, 702 are stacked with the output from LSTM0 700 feeding into LSTM1 701, and the output from LSTM1 701 feeding into LSTM2 702. The recursion of the LSTMs 700, 701, 702 is diagrammatically illustrated with arrows that loop back on each LSTM unit, and the arrows denoted by h0, h1, h2, respectively, diagrammatically indicate the recursion and memory of each LSTM unit.

[0073] The last of the three LSTM units 702 is connected to an FC layer 620, which provides the predicted head pose 530.

[0074] The LSTM unit is particularly adapted to learn long-term dependencies in time-series input data (e.g., time-series head posture data from head posture sensors 235a, 235b). In one exemplary LSTM architecture, an LSTM cell includes a memory cell, an input gate, an output gate, and a forget gate. The memory cell stores values ​​(or states) over either long or short-time periods. This may be achieved by using (or without) an identity activation function for the memory cell. The LSTM gates calculate activations, for example, using a logistic function. The input gates can control the range over which new values ​​flow into the cell, the forget gates can control the range over which values ​​stay in the cell, and the output gates can control the range over which values ​​in the cell are used to calculate the output activation of the LSTM cell. There may be connections into and out of these gates. Some of the connections may be recurrent. The weights of these connections, which may be learned during training, can be used to direct the operation of the gates. Each gate can have its own parameters, e.g., weights and biases, possibly from other units outside the LSTM cell.

[0075] In the exemplary network architecture 520 shown in FIG. 7, three stacked LSTM units are used. In some implementations, a single LSTM unit may be used. In other implementations, two, four, five, six, or more stacked LSTM units can be used. Experiments with user head pose data for head pose prediction have shown that three LSTM units provide better performance than one, two, or other numbers of units. For example, increasing the number of LSTM units may increase the ability of the architecture 520 to learn patterns in head pose time series data, but this increased predictive ability comes at the expense of increased computational costs for training and launching the network. Three LSTM units have been found to provide superior performance in terms of head pose prediction accuracy and computational efficiency. It should be understood that different numbers of LSTM units may be employed to achieve different objectives. In some implementations, fewer LSTM units may be used (e.g., one or two LSTM units), but each LSTM unit employed may include a larger number of neurons, connections, or both. Similar design principles can also be reflected in the architecture of the FC layer.

[0076] In other implementations of the deep predictor RNN architecture, other types of recurrent units can be used in addition to or instead of the LSTM units shown in Figure 7. For example, some or all of the LSTM units 700, 701, 702 can be replaced with gated recurrent units (GRUs) or attention units. In still other implementations, the RNN 610 can comprise a gated feedback RNN, a clockwork (CW) RNN, or any other neural network with memory. Example of training a deep predictor network

[0077] An implementation of the deep predictor RNN architecture 520 was trained using data collected from a user wearing an embodiment of the wearable display 200, 400. The head pose sensor 235 consisted of an IMU operated at 1,000 Hz and extended Kalman filtered to provide angular velocity and angular acceleration data at 500 Hz. The number of data points in the head pose time series data ranged in length from 10,000 to 100,000. The training data included 126 records of the user's head movements, with 102 records used for training and 24 records used for validation. The implementation of the deep predictor architecture was trained using a many-to-many training technique with truncated diachronic backpropagation using an L2-norm loss function. Gradients over N number of past steps were aggregated (N=200) and optimized while maintaining the hidden state along the sequence.

[0078] The trained output pose was the predicted 3DOF angular head pose in the 30 ms time range for this implementation of the deep predictor network. For other time ranges, the output from the network 520 can be linearly extrapolated to values ​​spanning the 30 ms time range. Deep Predictor Network Head Pose Prediction Example

[0079] 8 is a graph that diagrammatically illustrates an example of head pose prediction over a temporal prediction horizon dt. As explained above, the prediction horizon dt may roughly correspond to a rendering latency in the rendering pipeline 500 of the wearable system 200, 400. For example, the prediction horizon dt can be in the range of about 10 ms to about 50 ms, e.g., 30 ms.

[0080] In FIG. 8, the user's actual head pose as a function of time is depicted diagrammatically by line 804 (in this case a straight line for illustrative purposes). Head pose sensor data is diagrammatically illustrated by line 808, showing variations around the actual head pose line 804 due to noise, jitter, inaccuracies in EKF filtering, etc. At time t1, the head pose sensor data indicates that the head pose is at point 814. Pose predictor 510 can utilize deep predictor neural network 520 and a time series of head pose data (e.g., from line 808 over a sequence of times prior to time t1) to predict the head pose at time t1+dt. The prediction may comprise an angular offset, a spatial translation, or both an angular offset and a spatial translation, as diagrammatically indicated by arrow 812. Pose predictor 510 applies prediction 812 to head pose at time t1 813 to calculate predicted head pose at time t1+dt 816. A similar calculation at time t2 is also illustrated in FIG. 8. The prediction enables the pose predictor 510 to track the actual head pose 804. An Exemplary Method for Predicting Head Pose Using Deep Predictor Neural Networks

[0081] 9 is a flow chart illustrating an example of a method 900 for predicting head pose using an embodiment of the deep predictor neural network architecture 520. The method 900 can be implemented by the wearable display system 200, 400, for example, by the local processing and data module 260, the pose predictor 510, the controller 460, or by another hardware processor.

[0082] At block 904, the method 900 receives head pose data. For example, the head pose data may include data from the head pose sensor 235 (e.g., the accelerometer 235a and the gyroscope 235b). Additionally or alternatively, the head pose data may include a velocity or acceleration of the user's head. For example, data from the head pose sensor 235 (or other sensors such as an electromagnetic tracking sensor or images from a camera) may be filtered with an extended Kalman filter (EKF) to provide an estimate of head velocity or acceleration.

[0083] At block 908, the method 900 predicts head pose in a future prediction range (e.g., about 10 ms to about 50 ms in the future) using an embodiment of the deep predictor neural network architecture 520 (see, e.g., FIGS. 7 and 8). The head pose can be a 3DOF head pose comprising head orientation (e.g., yaw, pitch, and roll angles), a 3DOF head pose comprising head position (e.g., Cartesian x, y, and z coordinates), or a 6DOF pose comprising both head orientation and head position. In some embodiments, the method 900 predicts angular head pose using the deep predictor neural network architecture 520 and uses another prediction model (e.g., constant acceleration) for head translation. The deep predictor neural network architecture 520 can comprise an RNN, including, for example, a stack of one or more memory units, such as LSTM units, GRUs, etc. In some implementations, a stack of three LSTMs or GRUs is utilized. The deep predictor neural network architecture 520 may include an FC layer that receives the output from the RNN and computes the predicted head pose.

[0084] At block 912, the method 900 utilizes the predicted head pose to render virtual content to the user. For example, the predicted head pose provides information about where the user will be looking at some time period in the future (e.g., 10 ms to 50 ms). The rendering pipeline 500 can calculate the virtual content the user may be looking at and can begin the rendering process before the user actually turns to the predicted pose. Thus, embodiments of the method 900 can reduce rendering latency and provide just the rendering of the virtual content, enabling an enjoyable user experience. Additional aspects

[0085] Aspect 1. A wearable system comprising: a display configured to be positioned in front of an eye of a wearer of the wearable system, the display configured to display virtual content to the wearer of the wearable system; a head pose sensor configured to provide head pose data; a non-transient memory configured to store a head pose prediction recurrent neural network; and a hardware processor in communication with the head pose sensor, the display, and the non-transient memory, the hardware processor being programmed to receive the head pose data, input the head pose data to the head pose prediction recurrent neural network, run the head pose prediction recurrent neural network in a time range, output a predicted head pose, and cause the display to render virtual content based, at least in part, on the predicted head pose in the time range.

[0086] Aspect 2. The wearable system of aspect 1, wherein the display is configured to present virtual content in multiple depth planes.

[0087] Aspect 3. The wearable system of aspect 1 or aspect 2, wherein the head posture sensor comprises an inertial measurement unit.

[0088] Aspect 4. The wearable system of aspect 3, wherein the inertial measurement unit comprises an accelerometer and a gyroscope.

[0089] Aspect 5. The wearable system of any one of aspects 1-4, wherein the head posture data includes velocity or acceleration.

[0090] Aspect 6. The wearable system of aspect 5, wherein output from the head posture sensor is filtered by an extended Kalman filter to provide head posture data.

[0091] Aspect 7. A wearable system as described in any one of aspects 1-6, wherein the head pose prediction recurrent neural network comprises a recurrent neural network (RNN) and a fully connected (FC) layer.

[0092] Aspect 8. A wearable system described in any one of aspects 1-7, wherein the head pose prediction recurrent neural network comprises multiple recurrent modules.

[0093] Aspect 9. The wearable system of aspect 8, wherein at least one of the plurality of recurrent modules comprises a long short-term memory cell (LSTM) or a gated recurrent unit (GRU).

[0094] Aspect 10. The wearable system of any one of aspects 1-9, wherein the head pose prediction recurrent neural network comprises a stack of one or more long short-term memory (LSTM) cells or a stack of one or more gated recurrent units (GRUs).

[0095] Aspect 11. The wearable system of aspect 10, wherein the head pose prediction recurrent neural network comprises three LSTM cells or three GRUs.

[0096] Aspect 12. The wearable system according to any one of aspects 1-11, wherein the time range is within a range of 10 ms to 50 ms.

[0097] Aspect 13. The wearable system of any one of aspects 1-11, wherein the time range is within a range of 20 ms to 40 ms.

[0098] Aspect 14. The wearable system of any one of aspects 1-13, wherein the predicted head pose comprises a three degree of freedom (DOF) pose.

[0099] Aspect 15. The wearable system of aspect 14, wherein the 3DOF pose includes head orientation.

[0100] A wearable system as described in aspect 14 or aspect 15, wherein the 3DOF pose includes a head position.

[0101] Aspect 17. A wearable system as described in any one of aspects 1-16, wherein the predicted head pose has six degrees of freedom (DOF) poses, including orientation and position.

[0102] Aspect 18. A wearable system as described in any one of aspects 1-17, wherein the predicted head pose comprises a head orientation, and the hardware processor is further programmed to predict the head position over a time range using a predictive non-neural network model.

[0103] Aspect 19. The wearable system of aspect 18, wherein the predictive non-neural network model comprises a constant acceleration model.

[0104] Aspect 20. A method for rendering virtual content, comprising: receiving head pose data for a user's head under control of a rendering pipeline comprising computer hardware; predicting a predicted head pose in a prediction range using at least a recurrent neural network (RNN) and the head pose data; and rendering the virtual content in the prediction range based, at least in part, on the predicted head pose.

[0105] Aspect 21. The method of aspect 20, wherein the head pose data includes a time series of one or more of: (1) data from an inertial measurement unit (IMU); (2) velocity or acceleration data relating to the user's head; or both (1) and (2).

[0106] Aspect 22. The method of aspect 21, further comprising filtering the data to provide velocity or acceleration data.

[0107] Aspect 23. The method of aspect 22, wherein the filtering step is performed using an extended Kalman filter (EKF).

[0108] Aspect 24. The method of any one of aspects 20-23, wherein the RNN comprises a stack of one or more long short-term memory (LSTM) cells or a stack of one or more gated recurrent units (GRUs).

[0109] Aspect 25. The method of aspect 24, wherein the RNN comprises a stack of three LSTM cells or three GRUs.

[0110] Aspect 26. The method of any one of aspects 20-25, wherein the RNN is connected to a fully connected (FC) layer configured to output a predicted head pose.

[0111] Aspect 27. A method as described in any one of aspects 20-26, wherein the predicted head pose comprises an orientation of the user's head, and the method further includes a step of predicting the position of the user's head using a constant acceleration model in the prediction range.

[0112] Aspect 28. The method of any one of aspects 20-27, wherein the prediction range is within a range of 10 ms to 50 ms.

[0113] Aspect 29. A wearable display system comprising: a display configured to be placed in front of an eye of a wearer of the wearable system, the display configured to display virtual content to the wearer of the wearable system; a head pose sensor configured to provide head pose data; a non-transient memory configured to store a head pose prediction recurrent neural network; and computing hardware in communication with the head pose sensor, the display, and the non-transient memory, the computing hardware being programmed to include a rendering pipeline programmed to implement the method of any one of aspects 20-28. Additional Considerations

[0114] Each of the processes, methods, and algorithms described herein and / or depicted in the accompanying figures may be embodied in code modules executed by one or more physical computing systems, hardware computer processors, application-specific circuits, and / or electronic hardware configured to execute specific and particular computer instructions, and thereby may be fully or partially automated. For example, the computing systems may include general-purpose computers (e.g., servers) or special-purpose computers programmed with specific computer instructions, special-purpose circuits, etc. Code modules may be compiled and linked into executable programs, installed in dynamic link libraries, or written in interpreted programming languages. In some implementations, certain operations and methods may be performed by circuitry specific to a given function.

[0115] Furthermore, certain implementations of the functionality of the present disclosure may be sufficiently mathematically, computationally, or technically complex that application-specific hardware (utilizing appropriate specialized executable instructions) or one or more physical computing devices may be required to implement the functionality, e.g., due to the amount or complexity of the calculations involved, or to provide results in substantially real-time. For example, a video may include many frames, each frame having millions of pixels, and specifically programmed computer hardware is required to process the video data to provide the desired image processing task or application in a commercially reasonable amount of time. Furthermore, head poses may be predicted repeatedly and on a timescale of 20 ms to 50 ms (e.g., 20 Hz to 50 Hz) such that a rendering engine of a wearable system may render virtual content that provides sufficiently low latency for a satisfactory user experience, and hardware processing circuitry may be required to implement the recurrent neural network head pose prediction described herein.

[0116] The code modules or any type of data may be stored on any type of non-transitory computer readable medium, such as physical computer storage devices, including hard drives, solid state memory, random access memory (RAM), read only memory (ROM), optical disks, volatile or non-volatile storage devices, combinations of the same, and / or the like. The methods and modules (or data) may also be transmitted (e.g., as part of a carrier wave or other analog or digital propagated signal) generated on a variety of computer readable transmission media, including wireless-based and wired / cable-based media, and may take a variety of forms (e.g., as part of a single or multiplexed analog signal, or as multiple discrete digital packets or frames). The results of the disclosed processes or process steps may be stored persistently or otherwise in any type of non-transitory tangible computer storage device, or communicated via a computer readable transmission medium.

[0117] Any process, block, state, step, or functionality in the flow diagrams described herein and / or depicted in the accompanying figures should be understood as potentially representing a code module, segment, or portion of code that includes one or more executable instructions for implementing a specific function (e.g., logical or arithmetic) or step in the process. Various processes, blocks, states, steps, or functionality can be combined, rearranged, added, deleted, modified, or otherwise altered from the illustrative examples provided herein. In some embodiments, additional or different computing systems or code modules may perform some or all of the functionality described herein. The methods and processes described herein are also not limited to any particular sequence, and the blocks, steps, or states associated therewith can be performed in other sequences as appropriate, e.g., serially, in parallel, or in some other manner. Tasks or events may be added to or removed from the disclosed exemplary embodiments. Furthermore, the separation of various system components in the implementations described herein is for illustrative purposes and should not be understood as requiring such separation in all implementations. It should be understood that the described program components, methods, and systems may generally be integrated together in a single computer product or packaged into multiple computer products. Many implementation variations are possible.

[0118] The process, method, and system may be implemented in a network (or distributed) computing environment. Network environments include enterprise-wide computer networks, intranets, local area networks (LANs), wide area networks (WANs), personal area networks (PANs), cloud computing networks, crowdsourced computing networks, satellite networks, the Internet, and the World Wide Web. The network may be a wired or wireless network or any other type of communication network.

[0119] The present disclosure includes methods that may be implemented using the subject devices. The methods may include an act of providing such a suitable device. Such provision may be implemented by an end user. In other words, the act of "providing" merely requires the end user to obtain, access, approach, locate, configure, activate, power on, or otherwise act to provide the requisite device in the subject method. The elements, acts, steps, or method blocks described herein may be implemented in any order of the described events that is logically possible, and in the described order of events.

[0120] The systems and methods of the present disclosure each have several innovative aspects, none of which is solely responsible for or required for the desirable attributes disclosed herein. The various features and processes described above may be used independently of one another or may be combined in various ways. All possible combinations and subcombinations are intended to fall within the scope of the present disclosure. Various modifications of the implementations described in the present disclosure may be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other implementations without departing from the spirit or scope of the present disclosure. Thus, the claims are not intended to be limited to the implementations shown herein, but should be accorded the widest scope consistent with the present disclosure, the principles, and novel features disclosed herein.

[0121] Certain features described herein in the context of separate implementations can also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation can also be implemented separately in multiple implementations or in any suitable subcombination. Furthermore, although features may be described above as acting in a combination and may even be initially claimed as such, one or more features from the claimed combination may in some cases be deleted from the combination and the claimed combination may be directed to a subcombination or variation of the subcombination. No single feature or group of features is required or essential to every embodiment.

[0122] In particular, conditional statements used herein, such as "can," "could," "might," "may," "eg," and the like, are generally intended to convey that certain embodiments include certain features, elements, and / or steps, while other embodiments do not, unless specifically stated otherwise or understood otherwise within the context as used. Thus, such conditional statements are generally not intended to suggest that features, elements, and / or steps are in any way required for one or more embodiments, or that one or more embodiments necessarily include logic for determining whether those features, elements, and / or steps are to be included or performed in any particular embodiment, with or without authorial input or prompting. The terms "comprising," "including," "having," and the like, are synonymous and used inclusively in a non-limiting manner and do not exclude additional elements, features, acts, operations, etc. Also, the term "or" is used in its inclusive sense (and not its exclusive sense), thus, for example, when used to connect a list of elements, the term "or" means one, some, or all of the elements in the list. In addition, the articles "a," "an," and "the," as used in this application and the appended claims, unless otherwise specified, should be construed to mean "one or more" or "at least one." Unless specifically defined herein, all technical and scientific terms used herein should be given the broadest possible commonly understood meaning while maintaining the validity of the claims.

[0123] As used herein, a phrase referring to a list of items "at least one of" refers to any combination of those items, including single elements. As an example, "at least one of A, B, or C" is intended to cover A, B, C, A and B, A and C, B and C, and A, B, and C. Transitive phrases such as "at least one of X, Y, and Z" are generally understood differently in the context in which they are used to convey that an item, term, etc. may be at least one of X, Y, or Z, unless specifically stated otherwise. Thus, such transitive phrases are generally not intended to suggest that an embodiment requires that at least one of X, at least one of Y, and at least one of Z, respectively, be present.

[0124] Similarly, although operations may be depicted in the figures in a particular order, it should be appreciated that such operations need not be performed in the particular order depicted, or in sequential order, or that all of the depicted operations need not be performed to achieve desirable results. Additionally, the figures may diagrammatically depict one or more exemplary processes in the form of a flow chart. However, other operations not depicted may be incorporated within the diagrammatically depicted exemplary methods and processes. For example, one or more additional operations may be performed before, after, simultaneously with, or during any of the depicted operations. Additionally, operations may be rearranged or reordered in other implementations. In some circumstances, multitasking and parallel processing may be advantageous. Additionally, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems may generally be integrated together in a single software product or packaged in multiple software products. Additionally, other implementations are within the scope of the following claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve desirable results.

Claims

1. A wearable system, comprising: a display configured to be placed in front of an eye of a wearer of the wearable system, the display configured to display virtual content to the wearer of the wearable system; a head pose sensor configured to provide head pose data associated with the display; and a non-transient memory configured to store a head pose prediction recurrent neural network; and a hardware processor in communication with the head pose sensor, the display, and the non-transitory memory, the hardware processor comprising: receiving the head pose data; inputting said head pose data into said head pose prediction recurrent neural network; running the head pose prediction recurrent neural network over a time range and outputting a predicted head pose, the time range indicating a time associated with a rendering latency; Calculating what virtual content is within the wearer's field of view based on the predicted head pose; causing the display to render the computed virtual content during the time range, the rendering of the computed virtual content being configured to be completed when the display is associated with the predicted head pose; a hardware processor programmed to A wearable system comprising:

2. The wearable system of claim 1 , wherein the display is configured to present the virtual content in multiple depth planes.

3. The wearable system of claim 1 , wherein the head posture sensor comprises an inertial measurement unit.

4. The wearable system of claim 1 , wherein the head pose prediction recurrent neural network comprises a recurrent neural network (RNN) and a fully connected (FC) layer.

5. The wearable system of claim 1 , wherein the head pose prediction recurrent neural network comprises multiple iterative modules.

6. 6. The wearable system of claim 5, wherein at least one of the plurality of repeating modules comprises a long short-term memory cell (LSTM) or a gated repeating unit (GRU).

7. 2. The wearable system of claim 1, wherein the head pose prediction recurrent neural network comprises one or more stacks of long short-term memory (LSTM) cells or one or more stacks of gated recurrent units (GRUs).

8. The wearable system of claim 1 , wherein the predicted head pose comprises a three degree of freedom (DOF) pose.

9. 2. The wearable system of claim 1, wherein the predicted head pose comprises a head orientation, and the hardware processor is further programmed to predict a head position in the time range using a predictive non-neural network model.

10. The wearable system of claim 9 , wherein the predictive non-neural network model comprises a constant acceleration model.

11. 1. A method for rendering virtual content, the method comprising: Under control of a rendering pipeline comprising computer hardware, receiving head pose data relating to a head of a user, the head pose data reflecting a pose associated with a display configured to be positioned in front of an eye of the user; predicting a predicted head pose within a prediction range using at least a recurrent neural network (RNN) and the head pose data, the prediction range indicating a time associated with a rendering latency; Calculating what virtual content is within the user's field of view based on the predicted head pose; rendering the computed virtual content in the prediction range, the rendering of the computed virtual content being configured to be completed when the display is associated with the predicted head pose; The method of claim 1,

12. 12. The method of claim 11, wherein the head pose data includes a time series of one or more of: (1) data from an inertial measurement unit (IMU); (2) velocity or acceleration data relating to the user's head; or both (1) and (2).

13. The method of claim 11 , wherein the RNN comprises a stack of one or more long short-term memory (LSTM) cells or a stack of one or more gated recursive units (GRUs).

14. The method of claim 11 , wherein the RNN is connected to a fully connected (FC) layer configured to output the predicted head pose.

15. The method of claim 11 , wherein the predicted head pose comprises an orientation of the user's head, the method further comprising predicting the position of the user's head using a constant acceleration model in the prediction range.

16. The wearable system of claim 8 , wherein the three degrees of freedom (DOF) pose specifies an angular orientation in three degrees of freedom.

17. The wearable system of claim 8 , wherein the three degrees of freedom (DOF) pose specifies a yaw angle, a pitch angle, and a roll angle.

18. The wearable system of claim 8 , wherein the three degrees of freedom (DOF) pose specifies a spatial position in three degrees of freedom.

19. The wearable system of claim 1 , wherein the predicted head pose comprises six degrees of freedom (DOF) poses.

20. 20. The wearable system of claim 19, wherein the six degrees of freedom (DOF) pose specifies an angular orientation in three degrees of freedom and a spatial position in three degrees of freedom.

21. 20. The wearable system of claim 19, wherein the six degrees of freedom (DOF) pose specifies yaw, pitch, and roll angles, and spatial position in three degrees of freedom.

Citation Information

Patent Citations

  • Augmented reality display device with deep learning sensors

    US20180053056A1

  • Information processing device, information processing method, computer program, and image processing system

    WO2016002318A1