Selecting location of virtual object based on gaze of first user and gaze of second user
By determining the intersection or overlap of users' gazes to place virtual objects, the method addresses the challenge of inconsistent placement in augmented reality, ensuring objects are within all users' views, thus improving the shared experience through precise gaze-based calculations.
Patent Information
- Application Number
- PCT/US2023/020405
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-10-31
AI Technical Summary
Determining an initial location for virtual objects in augmented reality environments can be challenging, as the placement may differ between users' perspectives, leading to inconsistencies in shared experiences.
A method is employed to select a location for virtual objects based on the intersection or overlap of the gazes of multiple users, using head-mounted devices that determine the direction of each user's gaze and calculate proximity to imaginary rays or cones representing their gaze directions, ensuring the object is within the field of view of all users.
This approach ensures that virtual objects are consistently and accurately placed within the shared augmented reality environment, enhancing the synchronized experience for all users by leveraging gaze-tracking technology and proximity calculations.
Smart Images

Figure US2023020405_31102024_PF_FP_ABST
Abstract
Description
SELECTING LOCATION OF VIRTUAL OBJECT BASED ON GAZE OF FIRST USER AND GAZE OF SECOND USERTECHNICAL FIELD
[0001] This description relates to augmented reality.BACKGROUND
[0002] Determining an initial location to place content, such as a virtual object, within an augmented reality environment can be difficult. With a shared map, a location of content within a first user’s augmented reality environment can be different from the location of the content within a second user’s augmented reality environment.SUMMARY
[0003] Localized augmented reality content is placed based on a gaze of a first user and a gaze of a second user who are sharing an augmented reality environment. The localized augmented reality content can be placed based on an initial intersection of the gazes of the users. Directions and origination points of the gazes of the first and second users are determined. For example, a head-mounted device and / or another computing system in communication with the head-mounted device selects a location based on proximity of the gazes, such as an intersection or overlap of the gazes of the first and second users. The content may be added to the augmented reality environment at the selected location. The selection of the location based on the intersection or overlap of the gazes ensures that the content will be within the fields of view of both users.
[0004] According to one general aspect, a method of determining a location to place a virtual object in an augmented reality environment includes determining a direction of a gaze of a first user, determining a direction of a gaze of a second user, and selecting the location. The location is selected based on proximity of the location to a first imaginary ray extending from the first user in the direction of the gaze of the first user and proximity of the location to a second imaginary ray extending from the second user in the direction of the gaze of the second user.
[0005] According to another general aspect, non-transitory computer-readable storage medium comprising instructions stored thereon for determining a location to place a virtual object in an augmented reality environment. When executed by at least one processor, the instructions are configured to cause a computing system to determine a direction of a gaze of a first user, determine a direction of a gaze of a second user, and select the location. The location is selected based on proximity of the location to a first imaginary ray extending from the first user in the direction of the gaze of the first user and proximity of the location to a second imaginary ray extending from the second user in the direction of the gaze of the second user.
[0006] According to another general aspect, a computing system includes at least one processor and a non-transitory computer-readable storage medium comprising instructions stored thereon for determining a location to place a virtual object in an augmented reality environment. When executed by at least one processor, the instructions are configured to cause a computing system to determine a direction of a gaze of a first user, determine a direction of a gaze of a second user, and select the location. The location is selected based on proximity of the location to a first imaginary ray extending from the first user in the direction of the gaze of the first user and proximity of the location to a second imaginary ray extending from the second user in the direction of the gaze of the second user.
[0007] According to another general aspect, a computing system includes means for determining a direction of a gaze of a first user, means for determining a direction of a gaze of a second user, and means for selecting the location based on proximity of the location to a first imaginary ray extending from the first user in the direction of the gaze of the first user and proximity of the location to a second imaginary ray extending from the second user in the direction of the gaze of the second user.
[0008] The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG. 1 A shows a first user and a second user experiencing an augmentedreality environment within a room and wearing head-mounted devices.
[0010] FIG. IB is a top view of a user showing gazes of eyes of the user.
[0011] FIG. 1C shows the first user and the second user within the room and a first ray representing a gaze of the first user and a second ray representing a gaze of the second user.
[0012] FIG. ID shows the first user and the second user within the room and a virtual object added to the augmented reality environment based on a location selected based on the gazes of the first user and the second user.
[0013] FIG. 2A is a top view of the room showing a first ray representing the gaze of the first user and a second ray representing the gaze of the second user.
[0014] FIG. 2B shows the first user and the second user within the room and a first cone representing the gaze of the first user and a second cone representing the gaze of the second user.
[0015] FIG. 2C shows the first user and the second user within the room showing distances of possible locations from the rays representing gazes of the first user and the second user.
[0016] FIG. 3 is a timing diagram showing actions performed by the headmounted devices worn by the first user and the second user.
[0017] FIG. 4 shows an animation generated by a head-mounted device to prompt a user to change the gaze of the user.
[0018] FIG. 5 is a flowchart showing the head-mounted device determine whether to generate the animation of FIG. 4.
[0019] FIGs. 6A, 6B, and 6C show an example of a head-mounted device.
[0020] FIG. 7 is a block diagram of the head-mounted device.
[0021] FIG. 8 is a flowchart showing a method performed by the head-mounted device.
[0022] Like reference numbers refer to like elements.DETAILED DESCRIPTION
[0023] In an augmented reality environment, a computing system such as a head-mounted device selects an initial location to place a virtual object based on gazes of the users who are interacting with the augmented reality environment. Selecting the initial location based on the gazes of the users ensures that the location is within the field of view of the users. The computing system can select the location at an intersection of rays (e.g., the intersection of boundaries or threshold distances associated with rays) corresponding to the gazes of the users, within space of overlapping cones corresponding to the gazes of the users, or based on distances from the rays corresponding to the gazes of the users. In some examples, if the gazes of the users do not facilitate an appropriate location to place the virtual object, the computing system can generate an animation that guides (e.g., encourages) one of the users to change a gaze of the user to a direction that will facilitate an appropriate location to place the virtual object.
[0024] FIG. 1A shows a first user 102Aand a second user 102B experiencing an augmented reality environment within a room 100 (e.g., physical or real -world room) and wearing a first head-mounted device 104A and a second head-mounted device 104B (labeled as “HMD”), respectively. In some examples, the second head-mounted device 104B can be considered a companion head-mounted device to the first head-mounted device 104A. While two users 102A, 102B wearing head-mounted devices 104 A, 104B are shown in FIG. 1 A, any number of users can be included in and / or participate in an augmented reality environment. The first head-mounted device 104A and second headmounted device 104B create the augmented reality environment for the user 102A, 102B wearing the respective head-mounted device 104 A, 104B by presenting virtual objects or other content on a display included in the head-mounted device 104 A, 104B. The headmounted devices 104 A, 104B can, for example, project the content onto transparent lenses included in the head-mounted devices 104 A, 104B, adding the virtual objects or other virtual content to the physical environment that the first user 102A and the second user 102B see through the transparent lenses. Although some of the implementations herein are described with respect to a room, the concepts described herein can be applied to any mutual physical location that may be, for example, inside a building, outside of a building, within a city, in a park, and so forth.
[0025] Either head-mounted device 104 A, 104B may need to determine and / or select a location within a physical environment to place and / or add a virtual object. Inexamples in which the first user 102A and the second user 102B are participating in a shared augmented reality environment, such as the first user 102A and the second user 102B playing a multiplayer augmented reality game, it can be helpful for the headmounted device 104A, 104B to select a location that is within the field of view of both users 102A, 102B. In the example shown in FIG. 1A, the users 102A, 102B are in a room 100, and the physical environment includes the other user 102A, 102B, walls 110A, HOB, HOC, 110D bounding the room 100, a table 106, and a couch 108.
[0026] Either of the head-mounted devices 104 A, 104B can select a location to add a virtual object to the augmented reality environment based on gazes of the users 102A, 102B. In some examples, the first head-mounted device 104A determines a direction of a gaze of the first user 102A based on one or more images captured by a gaze-tracking camera included in the first head-mounted device 104A. In some examples, the second head -mounted device 104B determines a direction of a gaze of the second user 102B based on one or more images captured by a gaze-tracking camera included in the second head-mounted device 104B. In some examples, the first head-mounted device 104A determines the direction of the gaze of the second user based on a gaze message sent by the second head-mounted device 104B and received by the first head-mounted device 104A.
[0027] In some examples, the first head-mounted device 104A selects the location for the virtual object based on proximity of the location to rays extending from eyes of the users 102A, 102B in a direction corresponding to the determined gazes of the users 102A, 102B. In some examples, the first head-mounted device 104A selects the location based on proximity of the location to the rays and features of the physical environment. The first head-mounted device 104A can, for example, select a flat and / or planar surface, such as the table 106, on which to place the virtual object rather than a rounded surface such as the couch 108.
[0028] FIG. IB is a top view of a user 102 showing gazes of eyes of the user 102. The user 102 can represent either the first user 102A or the second user 102B. In the example shown in FIG. IB, the user 102 is wearing a head-mounted device 104, which can represent either the head-mounted device 104A or the head-mounted device 104B.
[0029] The head-mounted device 104 includes a bridge portion 114 supported bya nose 120 of the user 102, a left lens 112A attached to a left end of the bridge portion 114 (or the left lens 112 can be surrounded by a left rim that is attached to the left end of the bridge portion 114), a right lens 112B attached to a right end of the bridge portion 114 (or the right lens 112B can be surrounded by a right rim that is attached to the right end of the bridge portion 114), a left arm portion 116A attached to the left lens 112A (or right rim) and supported by a left ear 122A of the user 102, a right arm portion 116B attached to the right lens 112B (or right rim) and supported by a right ear 122B of the user 102, a left gaze-tracking camera 126A attached to either the left lens 112A (or left rim) or the left arm portion 116A, and a right gaze-tracking camera 126B attached to either the right lens 112B (or right rim) or the right arm portion 116B. The head-mounted device 104 is shown and described in greater detail with respect to FIGs. 6A, 6B, and 6C.
[0030] The user 102 looks at the surrounding physical environment, such as into the room 100 (not shown in FIG. IB), through the left lens 112A and the right lens 112B. The user 102 has a left eye 118A with which the user 102 looks through the left lens 112A. The user 102 has a right eye 118B with which the 102 looks through the right lens 112B. The left gaze-tracking camera 126A captures one or more photographs and / or images of the left eye 118A. The head-mounted device 104 can determine a direction of a gaze of the left eye 118A based on the one or more photographs and / or images of the left eye 118A. The right gaze-tracking camera 126B captures one or more photographs and / or images of the right eye 118B. The head-mounted device 104 can determine a direction of a gaze of the right eye 118B based on the one or more photographs and / or images of the right eye 118B. In some examples, the head-mounted device 104 determines the direction of the gaze of only one of the left eye 118 A or right eye 118B .
[0031] In FIG. IB, the direction of the gaze of the left eye 118A is represented by a left imaginary ray 124A. In FIG. IB, the direction of the gaze of the right eye 118B is represented by a right imaginary ray 124B. While the left imaginary ray 124A and right imaginary ray 124B are shown in two dimensions in FIG. IB, the head-mounted device 104 can determine three-dimensional representations of the left imaginary ray 124A and the right imaginary ray 124B to account for vertical components of the directions of the gazes of the left eye 118A and the right eye 118B. The convergence of the left imaginary ray 124 A and right imaginary ray 124B represents focus of the user 102 on an object at alocation of the convergence. For example, the imaginary rays 124 A, 124B are determined by the head-mounted device 104, but not displayed to the user 102. The (imaginary) rays 124A, 124B may be invisible rays.
[0032] FIG. 1C shows the first user 102 A and the second user 102B within the room 100 and a first imaginary ray 130A representing a gaze of the first user 102 A and a second imaginary ray 130B representing a gaze of the second user 102B. With respect to the first user 102A, the first imaginary ray 130A can represent either the left imaginary ray 124 A representing the gaze of the left eye 118A or the right imaginary ray 124B representing the gaze of the right eye 118B (or, for example, originate from another portion of the first user 102A such as between the eyes 118A, 118B and / or point to an intersection of the left and right imaginary rays 124A, 124B). The first imaginary ray 130A represents an imaginary ray extending from either the left eye 118 A or the right eye 118B of the first user 102A (or from a point such as between the eyes 118A, 118B). With respect to the second user 102B, the second imaginary ray 130B can represent either the left imaginary ray 124A representing the gaze of the left eye 118A or the right imaginary ray 124B representing the gaze of the right eye 118B (or, for example, originate from another portion of the second user 102B such as between the eyes 118A, 118B of the second user 102B and / or point to an intersection of the left and right imaginary rays 124 A, 124B). The second imaginary ray 130B represents an imaginary ray extending from either the left eye 118A or the right eye 118B of the second user 102B (or from another point such as between the eyes 118A, 118B of the second user 102B). The first head-mounted device 104A and / or second head-mounted device 104B can determine gazes of the respective first user 102A and / or second user 102B based on gazes of either the left eye 118 A or right eye 118B of the respective first user 102A or second user 102B .
[0033] The first head-mounted device 104A and / or second head-mounted device 104B selects a location 140 based on the gaze of the first user 102A (represented by the first imaginary ray 130A) and the gaze of the second user 102B (represented by the second imaginary ray 130B). The location 140 is a location at which the first headmounted device 104A and / or second head-mounted device 104B places an imaginary object in the augmented reality environment generated by the first head-mounted device 104A and / or second head-mounted device 104B. The first head-mounted device 104Aand / or second head-mounted device 104B selects the location 140 based on proximity of the location 140 to the first imaginary ray 130A and the second imaginary ray 130B. The location 140 can be considered an initial location, and the imaginary object can later move after the initial placement at the location 140.
[0034] In some examples, the first head-mounted device 104A and / or second head -mounted device 104B selects the location 140 based on proximity of the location 140 to a closest point on the first imaginary ray 130A and proximity of the location 140 to a closest point on the second imaginary ray BOB. In some examples, the first headmounted device 104A and / or second head-mounted device 104B selects the location 140 based on the location 140 being included in a first imaginary (e.g., invisible) cone and a second imaginary (e.g., invisible) cone, the first imaginary cone having a first apex at an eye of the first user 102A (which can be considered an origination point of the gaze of the first user 102A) and a first axis extending along the first imaginary ray BOA, the second imaginary cone having a second apex at an eye of the second user 102B (which can be considered an origination point of the gaze of the second user 102B) and a second axis extending along the second imaginary ray BOB. In some examples, the first headmounted device 104A and / or second head-mounted device 104B selects the location 140 based on a function that includes a first distance of the location 140 from the first imaginary ray BOA and a second distance of the location 140 from the second imaginary ray BOB. In some examples, the first head-mounted device 104A and / or second headmounted device 104B selects the location 140 based on a physical feature of the location 140 within the augmented reality environment, such as the location 140 being near a planar or flat surface (such as the table 106).
[0035] In examples with three or more users and / or head-mounted devices, one or more of the head-mounted devices (or remote server in communication with one or more of the head-mounted devices) can select a location that lies within a field of view (such as intersection of gazes overlapping of cones of a majority of the users and / or within a field of view of the most users (as compared to other possible locations that are within fields of views of fewer users). In some examples with three or more users and / or head-mounted devices, one or more of the head-mounted devices (or remote server in communication with one or more of the head-mounted devices) can select a location that minimizes afunction based on distances of the location from rays representing gazes of the users.
[0036] FIG. ID shows the first user 102 A and the second user 102B within the room 100 and a virtual object 150 added to the augmented reality environment at the location 140. The first head-mounted device 104A and / or second head-mounted device 104B selected the location 140 based on the determined gaze of the first user 102A and the determined gaze of the second user 102B. In the example shown in FIG. ID, the virtual object 150 is a ball. The virtual object 150 can be an object that the first user 102A and second user 102B interact with within the augmented reality environment, such as a ball that the first user 102A and second user 102B hit back and forth during a virtual sporting game, or an enemy that the first user 102A and second user 102B try to avoid or attack.
[0037] The presentation of the virtual object 150 to the first user 102Aby the first head-mounted device 104Acan be different than the presentation of the virtual object 150 to the second user 102B by the second head-mounted device 104B, even though the first head -mounted device 104A presents the virtual object 150 to the first user 102Ain the same location 140 within the physical space as the second head-mounted device 104B presents the virtual object 150 to the second user 102B. The presentation of the virtual object 150 can be different based on different perspectives and / or vantage points, or based on different shadings of the virtual object 150 presented to the first user 102Athan the second user 102B, as non-limiting examples.
[0038] FIG. 2A is a top view of the room 100 showing a first imaginary ray 230A representing the gaze of the first user 102 A and a second imaginary ray 230B representing the gaze of the second user 102B. In this example, the first head-mounted device 104A (not labeled in FIG. 2A) and / or second head-mounted device 104B (not labeled in FIG. 2B) generate the first imaginary ray 230A and second imaginary ray 230B, respectively, in two dimensions. The generation of the first imaginary ray 230A and second imaginary ray 230B in two dimensions removes the vertical dimension from the gazes of the first user 102Aand second user 102B. The removal of the vertical dimension from the gazes of the first user 102A and second user 102B causes the first imaginary ray 230A and second imaginary ray 230B to intersect at a point of intersection 240 within the room 100. The first head-mounted device 104 A and / or second head-mounted device 104B can select the location 140 based on and / or near the intersection 240 of the first imaginary ray 230 A and second imaginary ray 23 OB. The first headmounted device 104A and / or second head-mounted device 104B can determine a vertical component for the location 140 near and / or at the intersection 240. The first headmounted device 104A and / or second head-mounted device 104B can determine a vertical component for the location 140 based, for example, on locations of physical objects near the intersection 240, such as to prevent the virtual object 150 (not shown in FIG. 2A) from overlapping with a physical object, to cause the virtual object 150 to rest on top of a physical object (such as on top of the table 106), or to be at least a predetermined distance from a physical object, in accordance with predetermined parameters of an application that generates the augmented reality environment.
[0039] FIG. 2B shows the first user 102 A and the second user 102B within the room 100 and a first cone 240A representing the gaze of the first user 102A and a second cone 240B representing the gaze of the second user 102B. The first head-mounted device 104A and / or second head-mounted device 104B can select the location from space 250 within which the cones 240A, 240B overlap.
[0040] The first cone 240A extends from, and / or has an apex 245A at, an eye 118A, 118B of the first user 102A or a lens 112A, 112B of the first head-mounted device 104A worn by the first user 102A. A first axis 235 A of the first cone 240A can correspond to, and / or extend along, any of the rays 124 A, 124B, 130Athat represent the gaze of the first user 102A. The second cone 240B extends from, and / or has an apex 245B at, an eye 118A, 118B of the second user 102B or a lens 112A, 112B of the second head -mounted device 104B worn by the second user 102B. A second axis 235B of the second cone 240B can correspond to, and / or extend along, any of the rays 124A, 124B, BOB that represent the gaze of the second user 102B.
[0041] An angle 0 of the first cone 240A can determine a width of the first cone 240A. An angle of the second cone 240B can determine a width of the second cone 240B. The angles 0, O can be modified by the first head-mounted device 104A, and / or the second head-mounted device 104B, to change the amount of space 250 that is included in both the first cone 240A and second cone 240B. Smaller angles 0, O can ensure that the location 140 (not labeled in FIG. 2B) selected for the virtual object 150(not shown in FIG. 2B) is more directly within, and / or closer to, the gazes of the first user 102A and the second user 102B. Larger angles 0, <t> provide a greater probability that the first cone 240A and second cone 240B will overlap, and result in greater potential space 250 within which the first head-mounted device 104A and / or second head-mounted device 104B can select the location 140 in which to place and / or add the virtual object 1 0. In some examples, if the first cone 240A and second cone 240B with given angles 0, E> do not overlap and / or result in any space 250, the first head-mounted device 104A and / or second head-mounted device 104B can increase either or both angles 0, until the first cone 240A and / or second cone 240B overlap and / or result in some potential space 250.
[0042] The first head-mounted device 104A and / or second head-mounted device 104B can select the location 140 within the space 250 to place and / or add the virtual object 150. In some examples, the first head-mounted device 104A and / or second headmounted device 104B selects the location 140 within the space 250 based on features of the physical environment, such as flat or planar surfaces.
[0043] In some examples, rather than cones, cylinders can represent the gaze of the first user 102A and the gaze of the second user 102B. The cylinders can extend from heads and / or eyes of the users 102 A, 102B. The first head-mounted device 104 A and / or second head-mounted device 104B can select a location from space in which the cylinders overlap, similar to the space 250 within which the cones 240A, 240B overlap. In some examples, the first head-mounted device 104A and / or second head-mounted device 104B can select a location at which the cylinders overlap that minimizes widths of the cylinders. In some examples, the first head-mounted device 104A and / or second headmounted device 104B can select a location at which the cylinders overlap that minimizes widths of the cylinders and satisfies a predetermined condition such as absence of physical objects (such as the table 106 and / or couch 108).
[0044] FIG. 2C shows the first user 102 A and the second user 102B within the room 100 showing distances of possible locations from the rays representing gazes of the first user 102A and the second user 102B. FIG. 2C shows a first possible location 162, a second possible location 164, and a third possible location 166. While three possible locations 162, 164, 166 are shown in FIG. 2C, many possible locations can be consideredby the first head-mounted device 104A and / or second head-mounted device 104B to be selected as the location 140.
[0045] The first head-mounted device 104A and / or second head-mounted device 104B can determine distances of the possible locations 162, 164, 166 from the first imaginary ray 130Aand from the second imaginary ray 130B. The first head-mounted device 104A and / or second head-mounted device 104B can determine shortest possible distances of the possible locations 162, 164, 166 from each of the first imaginary ray BOA and from the second imaginary ray BOB. For example, the first head-mounted device 104A and / or second head-mounted device 104B can determine a shortest possible first distance 162Afrom the first possible location 162 to the first imaginary ray BOA and a shortest possible second distance 162B from the first possible location 162 to the first imaginary ray BOA, a shortest possible first distance 164Afrom the second possible location 164 to the first imaginary ray BOA and a shortest possible second distance 164B from the second possible location 164 to the second imaginary ray BOB, and a shortest possible first distance 166Afrom the third possible location 166 to the first imaginary ray BOA and a shortest possible second distance 166B from the third possible location 166 to the second imaginary ray BOB.
[0046] The first head-mounted device 104A and / or second head-mounted device 104B can select one of the possible locations 162, 164, 166 based at least in part on the distances of the possible locations 162, 164, 166 from the first imaginary ray BOA and from the second imaginary ray BOB. In some examples, the selection of the location 140 from among the possible locations 162, 164, 166 is based on a function of the distances of the possible locations 162, 164, 166 from the first imaginary ray BOA and from the second imaginary ray BOB, with shorter distances being preferred. The function can include, for example, for each possible location 162, 164, 166, a sum of the distance of the possible location 162, 164, 166 from the first imaginary ray BOA and the distance of the possible location 162, 164, 166 from the second imaginary ray BOB, a sum of the square of the distance of the possible location 162, 164, 166 from the first imaginary ray BOA and the square of the distance of the possible location 162, 164, 166 from the second imaginary ray BOB, or a product of the distance of the possible location 162, 164, 166 from the first imaginary ray BOA and the distance of the possible location 162, 164,166 from the second imaginary ray 13 OB, as non-limiting examples. In some examples, the function can include a value and / or variable based on physical features of the possible location 162, 164, 166, with more desirable features (such as proximity to planar surfaces) having lower values and undesirable features (such as inclusion of physical objects such as the table 106 or couch 108) having higher values. In some examples, the first head-mounted device 104A and / or second head-mounted device 104B can select the possible location 162, 164, 166 for which the function has the lowest value. In some examples, if none of the function values for the possible locations satisfy a location threshold (such as being equal to or less than the location threshold), either or both of the first head-mounted device 104A and second head-mounted device 104B can generate an animation, as described below with respect to FIGs. 4 and 5, to change the gaze of one or both users 102A, 102B and then recompute the function values for new possible locations.
[0047] FIG. 3 is a timing diagram showing actions performed by the headmounted devices 104 A, 104B worn by the first user 102A and the second user 102B. While these actions are shown and described as being performed by the head-mounted devices 104A, 104B, any combinations of these actions could be performed by a remote server in communication with either or both of the head-mounted devices 104 A, 104B.
[0048] The first head-mounted device 104A can launch an application (302A). The launching of the application (302A) can include initialization of the application. The first head-mounted device 104A can launch the application (302A) in response to input from the first user 102A, such as the first user 102A selecting the application. The application launched by the first head-mounted device 104A can include an augmented reality application that adds virtual objects to a physical environment.
[0049] The second head-mounted device 104B can also launch an application (302B). The launching of the application (302B) can include initialization of the application. The application launched by the second head-mounted device 104B can include an augmented reality application that adds virtual objects to a physical environment. The second head-mounted device 104B can launch the application (302B) in response to input from the second user 102B, such as the second user 102B selecting the application, or in response to a message from the first head-mounted device 104Aidentifying an application launched by the first head-mounted device 104A. The application launched by the second head-mounted device 104B can be a same application as the application launched by the first head-mounted device 104A, and / or can generate a shared augmented reality environment with the application that is launched by the first head -mounted device 104A.
[0050] After launching the applications (302A, 302B), the first head-mounted device 104A and second head-mounted device 104B can exchange parameters (304). The first head-mounted device 104 A and second head-mounted device 104B can exchange parameters (304) by, for example, sending to each other identifications of the respective launched applications, sending to each other their respective addresses, sending to each other identifiers (such as usernames) of the users 102A, 102B wearing the respective head -mounted devices 104 A, 104B, and any other information to facilitate sharing an augmented reality environment.
[0051] After, concurrently with, or before exchanging parameters (304), the first head -mounted device 104Aand second head-mounted device 104B can determine physical features of the augmented reality environment (306A, 306B). The first headmounted device 104Acan determine physical features of the augmented reality environment (306A) by, for example, determining locations and / or features of physical objects within view of the first head-mounted device 104A, such as the table 106, couch 108, and walls 110A, HOB, HOC, HOD based on images captured by a camera included in the first head-mounted device 104A. The physical features can include location with respect to the first head -mounted device 104 A, shapes of the objects, colors of the objects, and textures of the objects, as non-limiting examples. The second head-mounted device 104B can determine physical features of the augmented reality environment in a similar manner to the first head-mounted device 104A.
[0052] The first head-mounted device 104A can determine a gaze of the first user 102A (308A). The first head-mounted device 104A can determine the gaze of the first user 102Aby, for example, capturing one or more photographs or images of either or both eyes 118A, 118B of the first user 102A. The gaze determined by the first headmounted device 104Acan include a direction and origin of the gaze based on a direction that a pupil and / or retina included in the eye(s) 118A, 118B of the first user 102Aispointing.
[0053] The second head-mounted device 104B can determine a gaze of the second user 102B (308B) in a similar manner as the first head-mounted device 104A determines the gaze of the first user 102A (308 A). The second head-mounted device 104B can send the determined gaze 310 of the second user 102B to the first headmounted device 104 A. The first head-mounted device 104Acan determine the direction of the gaze of the second user 102B based on the determined gaze 310 received from the second head-mounted device 104B.
[0054] In some examples, the head-mounted devices 104 A, 104B determine the gazes (308A, 308B) in response to the launching of the application(s) (302A, 302B), the exchanging of parameters (304), and / or the determination(s) of physical features (306A, 306B). In some examples, the head-mounted devices 104A, 104B determine the gazes (308A, 308B) in response to a user, such as the first user 102A and / or second user 102B and / or a third user, or a head-mounted device in communication with the head-mounted devices 104A, 104B, such as the first head -mounted device 104 A, the second headmounted device 104B, or a third head-mounted device, entering or exiting the room 100 pairing or otherwise establishing communication with the head-mounted devices 104A, 104B or coming into view of the user(s) 102A, 102B, and / or head-mounted device 104 A, 104B.
[0055] After determining the gaze of the first user 102A(308A) and receiving the gaze 310 of the second user 102B, the first head-mounted device 104A can select the location 140 for the virtual object 150 (312). The first head-mounted device 104A can select the location 140 for the virtual object 150 (312) based on the determined gaze of the first user 102A and the determined gaze of the second user 102B. The first headmounted device 104Acan select the location 140 for the virtual object 150 (312) based on proximity of the location 140 to a first imaginary ray 130A extending from an eye 118A, 118B of the first user 102A in the direction of the gaze of the eye 118A, 118B of the first user 102A and proximity of the location 140 to a second imaginary ray 130B extending from an eye 118A, 118B of the second user 102B in the direction of the gaze of the eye 118A, 118B of the second user 102B.
[0056] After selecting the location 140 of the virtual object 150 (312), the firsthead -mounted device 104A can send the selected object location 314 to the second headmounted device 104B. The object location 314 sent by the first head-mounted device 104Ato the second head-mounted device 104B can be with reference to Global Positioning System (GPS) values, with respect to the location of the first head-mounted device 104A, relative to the location of the second head-mounted device 104B, and / or relative to locations of any other objects in the augmented reality environment.
[0057] After the first head-mounted device 104Ahas selected the location 140 for the virtual object 150 (312) and sent the object location 314 to the second head-mounted device 104B, the first head-mounted device 104A and second head -mounted device 104B can add the virtual object 150 (316 A, 316B) to their respective augmented reality environments for viewing by the first user 102A and second user 102B, respectively. The first head-mounted device 104A and second head-mounted device 104B can add the virtual object 150 (316A, 316B) to their respective augmented reality environments by, for example, projecting an image of the virtual object 150 onto one or both of their respective lenses 112A, 112B.
[0058] After adding the virtual object 150 (316A, 316B) to their respective augmented reality environments (316A, 316B), the first head -mounted device 104A and / or second head-mounted device 104B can interact with the virtual object 150 (318A, 318B). The first head-mounted device 104A and / or second head-mounted device 104B can interact with the virtual object 150 (318A, 318B) by, for example, changing the location of the virtual object 150 in response to input from the first user 102A and / or second user 102B, such as in response to detected gestures by the first user 102A and / or second user 102B.
[0059] FIG. 4 shows an animation generated by a head-mounted device 104 to prompt a user 102 to change the gaze of the user 102. The head-mounted device 104 can represent either the first head-mounted device 104A or the second head-mounted device 104B. The user 102 can represent either the first user 102A or the second user 102B.
[0060] In some examples, the head-mounted device 104 can generate an animation to prompt the user 102 to change the gaze of the user 102 based on the gaze of the user 102 not generating a viable location to add the virtual object 150. The headmounted device 104 can generate the animation on a display included in the head-mounted device 104, such as on a lens 112 (which can represent either the left lens 112A or the right lens 112B) included in the head-mounted device 104.
[0061] The head-mounted device 104 can generate the animation by beginning the animation with an animated object, such as an animated object at an initial location 402 shown in FIG. 4, at a current location of the gaze of the user 102 and ending the location at a desired location of the gaze of the user 102. In the example shown in FIG. 4, the animation begins with the animated object at the initial location 402, continues with the animated object at a second and / or intermediate location 404, and finishes with the animated object at a final location 406 that is the desired location of the gaze of the user 102. While three locations 402, 404, 406 are shown in FIG. 4, the animated object may transition through many locations on the lens during a path from the initial location 402 to the final location 406 to encourage the user 102 to change the gaze of the user 102 from the initial location 402 to the final location 406.
[0062] FIG. 5 is a flowchart showing the first head-mounted device 104A determine whether to generate the animation of FIG. 4. The first head-mounted device 104A can determine the gaze (502) of the first user 102A. The first head-mounted device 104A can determine the gaze (502) of the first user 102A in a similar manner to the determination of the gaze described above with respect to (308 A).
[0063] The first head-mounted device 104A can receive the gaze (504) of the second user 102B from the second head-mounted device 104B. The first head -mounted device 104A can receive the gaze (504) in a similar manner as described with respect to 310 above.
[0064] After determining the gaze (502) and receiving the gaze (504), the first head -mounted device 104A can determine whether a viable location to add a virtual object 150 is available (506). The first head-mounted device 104A can determine whether a viable location is available (506) based, for example, on determining whether space 250 exists within overlapping cones 240A, 240B, based on whether space 250 exists and is not already occupied by a physical object within overlapping cones 240A, 240B, based on whether an intersection 240 of rays 230A, 230B exists, based on whether an intersection 240 of rays 230A, 230B exists and is not already occupied by a physical object, or whether a desirable location exists based on physical features and proximity tothe gazes of the first user 102 A and the second user 102B.
[0065] If the first head-mounted device 104A determines that a viable location is available, then the first head-mounted device 104A can select a location 140 (312) at which to add the virtual object 150. The first head-mounted device 104A can select a location 140 (312) at which to add the virtual object 150 in a similar manner to (312) described above.
[0066] If the first head-mounted device 104A determines that a viable location is not available, then the first head-mounted device 104A can generate an animation (508). The first head-mounted device 104A can generate the animation (508) by starting the animation with an object at an initial location 402 where the first user 102Ais gazing and ending the animation with the object at the final location 406 where the first headmounted device 104A predicts will generate a viable location, as described above with respect to FIG. 4. After generating the animation (508), the head-mounted device 104 can determine the gaze (502) of the first user 102A.
[0067] FIGs. 6A, 6B, and 6C show an example of the head-mounted device 104. The head-mounted device 104 can represent either the first head-mounted device 104A or the second head-mounted device 104B.
[0068] As shown in FIGs. 6A, 6B, and 6C, the example head-mounted device 104 includes a frame 602. The frame 602 includes a front frame portion defined by rim portions 603 A, 603B surrounding respective optical portions in the form of lenses 112A, 112B, with a bridge portion 114 connecting the rim portions 603A, 603B. Arm portions 116A, 116B are coupled, for example, pivotably or rotatably coupled, to the front frame by hinge portions 610A, 610B at the respective rim portion 603 A, 603B. In some examples, the lenses 112A, 112B may be corrective / prescription lenses. In some examples, the lenses 112A, 112B may be an optical material including glass and / or plastic portions that do not necessarily incorporate corrective / prescription parameters. Displays 604A, 604B may be coupled in a portion of the frame 602. In the example shown in FIG. 6B, the displays 604A, 604B are coupled in the arm portions 116A, 116B and / or rim portions 603 A, 603B of the frame 602. In some examples, the head-mounted device 104 can also include an audio output device 616 (such as, for example, one or more speakers), an illumination device 618, at least one processor 611, an outward-facingimage sensor 614 (or camera), and / or gaze-tracking cameras 126A, 126B that can capture images of eyes of the user 102 to track a gaze of the user 102. In some examples, the head-mounted device 104 may include a see-through near-eye display. For example, the displays 604 A, 604B may be configured to project light from a display source onto a portion of teleprompter glass functioning as a beamsplitter seated at an angle (e.g., 30- 45 degrees). The beamsplitter may allow for reflection and transmission values that allow the light from the display source to be partially reflected while the remaining light is transmitted through. Such an optic design may allow a user to see both physical items in the world, for example, through the lenses 112A, 112B, next to content (for example, digital images, user interface elements, virtual content, virtual objects such as the virtual object 150 and the like) generated by the displays 604A, 604B. In some implementations, waveguide optics may be used to depict content on and / or by the displays 604 A, 604B via outcoupled light. The images 620A, 620B projected by the displays 604A, 604B onto the lenses 112A, 112B may be translucent, allowing the user 102 to see the images projected by the displays 604 A, 604B as well as physical objects beyond the head-mounted device 104.
[0069] FIG. 7 is a block diagram of the head-mounted device 104. The headmounted device 104 can represent either the first head-mounted device 104A or the second head-mounted device 104B. In some examples, functions, actions, and / or processes described as performed by the head-mounted device 104 can be performed by the head-mounted device 104 and / or a remote server in communication with the headmounted device 104. In some examples, the remote server in communication with the head -mounted device 104 performs any combination of methods, functions, actions, processes, and / or techniques described herein.
[0070] The head-mounted device 104 includes an application module 702. The application module 702 executes the augmented reality application described herein. Executing the augmented reality application can include creating the augmented reality environment. Executing the augmented reality application can include creating and / or displaying virtual content including virtual objects, such as the virtual object 150, and / or modifying the appearance of the virtual content in response to input from the users 102A, 102B.
[0071] The head-mounted device 104 includes a direction determiner 704. The direction determiner 704 determines a direction of a gaze of a user 102. The direction determiner 704 determines the direction of the gaze of the user 102 based on a direction that an eye of the user 102 is looking and / or pointing. The direction determiner 704 can determine the direction that the eye of the user 102 is looking and / or pointing based on one or more photographs captured by the left gaze-tracking camera 126A and / or the right gaze-tracking camera 126B. The direction determiner 704 can determine the direction that the eye of the user 102 is looking and / or pointing based on one or more photographs of the pupil(s) and / or retina(s) of the user 102 captured by the left gaze-tracking camera 126A and / or the right gaze-tracking camera 126B. The direction determiner 704 can generate a ray, such as the first imaginary ray 130A or second imaginary ray 130B, a horizontal ray such as the first imaginary ray 230Aor second imaginary ray 230B, or a cone, such as the first cone 240A or second cone 240B, in the direction of the determined gaze and / or based on the determined direction of the gaze of the user 102.
[0072] The head-mounted device 104 can include an animation generator 706. The animation generator 706 can generate an animation for presentation in a display included in the head-mounted device 104. The animation generator 706 can generate the animation for the purpose of moving and / or changing the gaze of the user 102 to a direction that will facilitate placing a virtual object in a desirable location within the field of view of both (and / or all) users sharing the augmented reality environment. The animation generator 706 can generate the animation with an object starting at an initial location 402 where the user 102 is looking and moving and / or transitioning toward a final location 406, the final location 406 being a desirable location for the user 102 to look.
[0073] The head-mounted device 104 includes a location selector 708. The location selector 708 selects the location 140 in which to place and / or add the virtual object 150. The location selector 708 selects the location 140 based on proximity of the location 140 a first imaginary ray, such as the first imaginary ray 130 A, extending from an eye of the first user 102A in the direction of the gaze of the eye of the first user 102A, and proximity of the location 140 to a second imaginary ray, such as the second imaginary ray 130B, extending from the eye of the second user 102B in the direction of the gaze of the eye of the second user 102B. In some examples, the location selector 708can also select the location 140 based on factors such as physical features of the location 140 and / or objects near the location 140 and / or distance of the location 140 from the first user 102A and / or the second user 102B. For example, the location selector 708 can select the location 140 that is at least a minimum distance from both the first user 102A and the second user 102B, so that the location 140 is not too close to the face of either the first user 102 A or the second user 102B.
[0074] The head-mounted device 104 can include at least one processor 710. The at least one processor 710 can execute instructions, such as instructions stored in at least one memory device 712, to cause the head-mounted device 104 to perform any combination of methods, functions, and / or techniques described herein.
[0075] The head-mounted device 104 can include at least one memory device 712. The at least one memory device 712 can include a non-transitory computer-readable storage medium. The at least one memory device 712 can store data and instructions thereon that, when executed by at least one processor, such as the processor 710, are configured to cause the head-mounted device 104 to perform any combination of methods, functions, and / or techniques described herein. Accordingly, in any of the implementations described herein (even if not explicitly noted in connection with a particular implementation), software (e.g., processing modules, stored instructions) and / or hardware (e.g., processor, memory devices, etc.) associated with, or included in, the head-mounted device 104 can be configured to perform, alone, or in combination with the head-mounted device 104, any combination of methods, functions, and / or techniques described herein.
[0076] The head-mounted device 104 may include at least one input / output node 714. The at least one input / output node 714 may receive and / or send data from and / or to other computing devices, such as from and / or to a server or another head-mounted device, and / or may receive input and provide output from and to a user. The input and output functions may be combined into a single node, or may be divided into separate input and output nodes. The input / output node 714 can include, for example, a microphone, one or more cameras (such as the outward-facing image sensor 614 and / or gaze-tracking camera(s) 126A, 126B), an IMU, a display (such as the displays 604A, 604B), a speaker, a microphone, one or more buttons, and / or one or more wired orwireless interfaces for communicating with other computing devices such as a server or other head-mounted device.
[0077] FIG. 8 is a flowchart showing a method 800 of determining a location 140 to place a virtual object 150 in an augmented reality environment, the method 800 being performed by a computing system. The computer system performing the method can be or comprise the head-mounted device 104, and / or another computing system in communication with the head-mounted device 104 (such as a mobile phone or other mobile device), and / or a remote server in communication with the head-mounted device 104 (which can include the first head-mounted device 104A worn by the first user 102A and / or the second head-mounted device 104B worn by the second user 102B). The method 800 includes determining a direction of a gaze of a first user 102A (802). The method 800 includes determining a direction of a gaze of a second user 102B (804). The method 800 includes selecting the location 140 (806). The location 140 is selected based on: proximity of the location 140 to a first imaginary ray 130A extending from the first user 102A in the direction of the gaze of the first user 102A, and proximity of the location 140 to a second imaginary ray 130B extending from the second user 102B in the direction of the gaze of the second user 102B.
[0078] In some examples, the selecting the location includes selecting the location based on proximity of the location to a closest point on the first imaginary ray, and proximity of the location to a closest point on the second imaginary ray.
[0079] In some examples, selecting the location includes selecting the location based on the location being included in a first imaginary cone, the first imaginary cone having a first apex at the first user and a first axis extending along the first imaginary ray; and a second imaginary cone, the second imaginary cone having a second apex at the second user and a second axis extending along the second imaginary ray.
[0080] In some examples, selecting the location includes selecting the location based on a function that includes a first distance of the location from the first imaginary ray, and a second distance of the location from the second imaginary ray.
[0081] In some examples, selecting the location includes selecting the location based on a physical feature of the location within the augmented reality environment.
[0082] In some examples, the method is performed in response to initialization ofan augmented reality application.
[0083] In some examples, the method further includes, before determining the direction of the gaze of the first user, presenting an animation to the first user.
[0084] In some examples, the method further includes presenting the virtual object to the first user.
[0085] In some examples, the presentation of the virtual object to the first user is different than a presentation of the virtual object to the second user.
[0086] In some examples, the determination of the direction of the gaze of the first user is based on at least one image captured by a gaze-tracking camera included in a head-mounted device worn by the first user.
[0087] In some examples, the direction of the gaze of the second user is determined based on a gaze message received from a companion head-mounted device, the companion head-mounted device being worn by the second user.
[0088] In some examples, the method 800 is performed by a head-mounted device worn by the first user.
[0089] Implementations of the various techniques described herein may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Implementations may implemented as a computer program product, i.e., a computer program tangibly embodied in an information carrier, e.g., in a machine-readable storage device or in a propagated signal, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program, such as the computer program(s) described above, can be written in any form of programming language, including compiled or interpreted languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
[0090] Method steps may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output. Method steps also may be performed by, and an apparatus may beimplemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
[0091] Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. Elements of a computer may include at least one processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer also may include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in special purpose logic circuitry.
[0092] To provide for interaction with a user, implementations may be implemented on a computer having a display device, e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0093] Implementations may be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation, or any combination of such back-end, middleware, or front-end components. Components may be interconnected by any form or medium ofdigital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN) and a wide area network (WAN), e.g., the Internet.
[0094] While certain features of the described implementations have been illustrated as described herein, many modifications, substitutions, changes and equivalents will now occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the embodiments of the invention.
Claims
WHAT IS CLAIMED IS:
1. A method of determining a location to place a virtual object in an augmented reality environment, the method comprising: determining, by a computing system, a direction of a gaze of a first user; determining, by a computing system, a direction of a gaze of a second user; and selecting, by the computing system, the location based on: proximity of the location to a first imaginary ray extending from the first user in the direction of the gaze of the first user; and proximity of the location to a second imaginary ray extending from the second user in the direction of the gaze of the second user.
2. The method of claim 1, wherein selecting the location includes selecting the location based on: proximity of the location to a closest point on the first imaginary ray; and proximity of the location to a closest point on the second imaginary ray.
3. The method of claim 1, wherein selecting the location includes selecting the location based on the location being included in: a first imaginary cone, the first imaginary cone having a first apex at the first user and a first axis extending along the first imaginary ray; and a second imaginary cone, the second imaginary cone having a second apex at the second user and a second axis extending along the second imaginary ray.
4. The method of claim 1, wherein selecting the location includes selecting the location based on a function that includes: a first distance of the location from the first imaginary ray; and a second distance of the location from the second imaginary ray.
5. The method of any of the preceding claims, wherein the selecting the location includes selecting the location based on a physical feature of the location within the augmented reality environment.
6. The method of any of the preceding claims, wherein the method is performed in response to initialization of an augmented reality application.
7. The method of any of the preceding claims, further comprising, before determining the direction of the gaze of the first user, presenting an animation to the first user.
8. The method of any of the preceding claims, further comprising presenting the virtual object to the first user.
9. The method of claim 8, wherein the presentation of the virtual object to the first user is different than a presentation of the virtual object to the second user.
10. The method of any of the preceding claims, wherein the determination of the direction of the gaze of the first user is based on at least one image captured by a gaze-tracking camera included in a head-mounted device worn by the first user.
11. The method of any of the preceding claims, wherein the direction of the gaze of the second user is determined based on a gaze message received from a companion head-mounted device, the companion head-mounted device being worn by the second user.
12. The method of any of the preceding claims, wherein the computing system is a head-mounted device worn by the first user.
13. The method of any of claims 1 to 11, wherein the computing system is a remote server in communication with a first head-mounted device worn by the first user and a second head-mounted device worn by the second user.
14. A non-transitory computer-readable storage medium comprising instructions stored thereon that, when executed by at least one processor, are configured to cause a computing system to perform the method of any of the preceding claims.
15. A computing system comprising: at least one processor; and a non-transitory computer-readable storage medium comprising instructions stored thereon that, when executed by the at least one processor, are configured to cause the computing system to perform the method of any of claims 1-13.
Citation Information
Patent Citations
System and method for inferring scenes based on visual context-free grammar model
US20190251350A1
Image Processing method for Augmented Reality Device, Augmented Reality Device and Storage Medium
US20200409161A1
Gaze-based object placement within a virtual reality environment
WO2016014878A1
