Extended reality with selective breakthrough

XR systems adjust visual treatments of real-world entities based on proximity to ensure safety and presence, addressing the challenge of integrating real-world interactions within virtual environments.

WO2026246050A1PCT designated stage Publication Date: 2026-11-26QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2026/022196
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-09-09
Filing Date
2026-04-02
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing extended reality (XR) systems struggle to balance safety and presence by effectively integrating real-world interactions with virtual environments, particularly in managing the visibility and interaction of people, animals, and objects within the user's physical space.

Method used

The systems and techniques apply varying visual treatments to representations of people, animals, and objects based on their proximity to the user, gradually adjusting the level of visibility and interaction as needed to ensure safety and presence, using techniques such as opacity, color, silhouette, and segmentation.

Benefits of technology

This approach enhances user safety by preventing collisions and enables meaningful interaction with real-world entities while maintaining an immersive XR experience by minimizing disruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2026022196_26112026_PF_FP_ABST
    Figure US2026022196_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Systems and techniques are described herein for displaying virtual content. For instance, a method for displaying virtual content is provided. The method may include: outputting a first frame, the first frame comprising virtual content; receiving first image data representing a scene including a subject; determining a region of the first image data, the region of the first image data including the subject and a first margin the subject; outputting a second frame, the second frame comprising the virtual content and a representation of the region of the first image data; receiving second image data representing the scene including the subject; determining a region of the second image data, the region of the second image data including the subject and a second margin around the subject; and outputting a third frame, the third frame comprising the virtual content and a representation of the region of the second image data.
Need to check novelty before this filing date? Find Prior Art

Description

Qualcomm Ref No 2504477WO 1EXTENDED REALITY WITH SELECTIVE BREAKTHROUGHTECHNICAL FIELD

[0001] The present disclosure generally relates to extended reality (XR). For example, aspects of the present disclosure include systems and techniques for breakthrough for XR.BACKGROUND

[0002] Extended reality (XR) technologies can be used to present virtual content to users, and / or can combine real environments from the physical world and virtual environments to provide users with XR experiences. The term XR can encompass virtual reality (VR). augmented reality (AR), mixed reality (MR), and the like. XR systems can allow users to experience XR environments by overlaying virtual content onto a user’s view of a real-world environment. For example, an XR head-mounted device (HMD) may include a display that allows a user to view' the user’s real-world environment through a display of the HMD (e.g., a transparent display). The XR HMD may display virtual content at the display in the user’s field of view overlaying the user’s view of their real-world environment. Such an implementation may be referred to as “see-through” XR. As another example, an XR HMD may include a scene-facing camera that may capture images of the user’s real-world environment. The XR HMD may modify or augment the images (e.g., adding virtual content) and display the modified images to the user. Such an implementation may be referred to as “pass through” XR or as “video see through (V ST).” The user can generally change their view of the environment interactively, for example by tilting or moving the XR HMD.SUMMARY

[0003] The following presents a simplified summary' relating to one or more aspects disclosed herein. Thus, the following summary’ should not be considered an extensive overview relating to all contemplated aspects, nor should the following summary- be considered to identify^ key or critical elements relating to all contemplated aspects or to delineate the scope associated with any particular aspect. Accordingly, the following summary presents certain concepts relating to one or more aspects relatingQualcomm Ref No 2504477WO 2to the mechanisms disclosed herein in a simplified form to precede the detailed description presented below.

[0004] Systems and techniques are described for displaying virtual content. According to at least one example, a method is provided for displaying virtual content. The method includes: outputting a first frame for display, the first frame comprising virtual content; receiving first image data representing a real-world scene including a subject; determining a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject; outputting a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data; receiving second image data representing the real-world scene including the subject; determining a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and outputting a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

[0005] In another example, an apparatus for displaying virtual content is provided that includes at least one memory and at least one processor (e.g., configured in circuitry) coupled to the at least one memory. The at least one processor configured to: output a first frame for display, the first frame comprising virtual content; receive first image data representing a real-world scene including a subject; determine a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject; output a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data; receive second image data representing the real-world scene including the subject: determine a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and output a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

[0006] In another example, a non-transitory computer-readable medium is provided that has stored thereon instructions that, when executed by one or more processors,Qualcomm Ref No 2504477WO 3cause the one or more processors to: output a first frame for display, the first frame comprising virtual content; receive first image data representing a real-world scene including a subject; determine a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject; output a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data; receive second image data representing the real-world scene including the subject; determine a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and output a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

[0007] In another example, an apparatus for displaying virtual content is provided. The apparatus includes: means for outputting a first frame for display, the first frame comprising virtual content; means for receiving first image data representing a real-world scene including a subject; means for determining a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject; means for outputting a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data; means for receiving second image data representing the real -world scene including the subject; means for determining a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and means for outputting a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

[0008] In some aspects, one or more of the apparatuses described herein is, can be part of, or can include an extended reality device (e.g., a virtual reality (VR) device, an augmented reality (AR) device, or a mixed reality (MR) device), a vehicle (or a computing device, system, or component of a vehicle), a mobile device (e.g.. a mobile telephone or so-called '‘smart phone”, a tablet computer, or other type of mobile device), a smart or connected device (e.g., an Internet-of-Things (loT) device), a wearable device, a personal computer, a laptop computer, a video server, a televisionQualcomm Ref No 2504477WO 4(e.g., a network-connected television), a robotics device or system, or other device. In some aspects, each apparatus can include an image sensor (e.g., a camera) or multiple image sensors (e.g., multiple cameras) for capturing one or more images. In some aspects, each apparatus can include one or more displays for displaying one or more images, notifications, and / or other displayable data. In some aspects, each apparatus can include one or more speakers, one or more light-emitting devices, and / or one or more microphones. In some aspects, each apparatus can include one or more sensors. In some cases, the one or more sensors can be used for determining a location of the apparatuses, a state of the apparatuses (e.g., a tracking state, an operating state, a temperature, a humidity level, and / or other state), and / or for other purposes.

[0009] This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by¬ reference to appropriate portions of the entire specification of this patent, any or all drawings, and each claim.

[0010] The foregoing, together with other features and aspects, will become more apparent upon referring to the following specification, claims, and accompanying drawings.BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Illustrative examples of the present application are described in detail below with reference to the following figures:

[0012] FIG. 1 is a diagram illustrating an example extended-reality (XR) system, according to aspects of the disclosure;

[0013] FIG. 2 includes a pictorial representation of concepts related to visual treatments, according to various aspects of the present disclosure;

[0014] FIG. 3A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0015] FIG. 3B includes an example representation of a person that may be displayed by an XR device, according to various aspects of the present disclosure;Qualcomm Ref No 2504477WO 5

[0016] FIG. 4A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0017] FIG. 4B includes an example representation of a person that may be displayed by an XR device, according to various aspects of the present disclosure;

[0018] FIG. 5A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0019] FIG. 5B includes an example representation of a person that may be displayed by an XR device, according to various aspects of the present disclosure;

[0020] FIG. 6A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0021] FIG. 6B includes two example representations of two respective people that may be displayed by an XR device, according to various aspects of the present disclosure;

[0022] FIG. 7A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0023] FIG. 7B includes two example representations of two respective people that may be displayed by an XR device, according to various aspects of the present disclosure;

[0024] FIG. 8A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0025] FIG. 8B includes an example representation of a person that may be displayed by an XR device, according to various aspects of the present disclosure;

[0026] FIG. 9A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;

[0027] FIG. 9B includes an example representation of a person (e.g., an infant) that may be displayed by an XR device, according to various aspects of the present disclosure;

[0028] FIG. 10A includes an example image that may be displayed by an XR device, according to various aspects of the present disclosure;Qualcomm Ref No 2504477WO 6

[0029] FIG. 10B includes an example representation of an animal that may be displayed by an XR device, according to various aspects of the present disclosure;

[0030] FIG. 11 A is a flow diagram illustrating an example process for displaying virtual content, in accordance with aspects of the present disclosure;

[0031] FIG. 11B is a flow diagram illustrating another example process for displaying virtual content, in accordance with aspects of the present disclosure;

[0032] FIG. 11C is a flow diagram illustrating another example process for displaying virtual content, in accordance with aspects of the present disclosure;

[0033] FIG. 12 is a block diagram illustrating an example of a deep learning neural network that can be used to perform various tasks, according to some aspects of the disclosed technology;

[0034] FIG. 13 is a block diagram illustrating an example of a convolutional neural network (CNN), according to various aspects of the present disclosure; and

[0035] FIG. 14 is a block diagram illustrating an example computing-device architecture of an example computing device which can implement the various techniques described herein.DETAILED DESCRIPTION

[0036] Certain aspects of this disclosure are provided below. Some of these aspects may be applied independently and some of them may be applied in combination as would be apparent to those of skill in the art. In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of aspects of the application. However, it will be apparent that various aspects may be practiced without these specific details. The figures and description are not intended to be restrictive.

[0037] The ensuing description provides example aspects only, and is not intended to limit the scope, applicability', or configuration of the disclosure. Rather, the ensuing description of the exemplary aspects will provide those skilled in the art with an enabling description for implementing an exemplary aspect. It should be understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the application as set forth in the appended claims.Qualcomm Ref No 2504477WO 7

[0038] The terms “exemplary” and / or “example” are used herein to mean “serving as an example, instance, or illustration.” Any aspect described herein as “exemplary” and / or “example” is not necessarily to be construed as preferred or advantageous over other aspects. Likewise, the term “aspects of the disclosure” does not require that all aspects of the disclosure include the discussed feature, advantage, or mode of operation.

[0039] As noted previously, an extended reality (XR) system or device can provide a user with an XR experience by presenting virtual content to the user (e.g., for a completely immersive experience) and / or can combine a view of a real-world or physical environment with a display of a virtual environment (made up of virtual content). The real-world environment can include real-world objects (also referred to as physical objects), such as people, vehicles, buildings, tables, chairs, and / or other real-world or physical objects. As used herein, the terms XR system and XR device are used interchangeably. Examples of XR systems or devices include head-mounted displays (HMDs) (which may also be referred to as head-mounted devices), XR glasses (e.g., AR glasses, MR glasses, etc.) (also referred to as smart or network-connected glasses), among others. In some cases, XR glasses are an example of an HMD. In some cases, an XR system can track parts of the user (e.g., a hand and / or fingertips of a user) to allow the user to interact with items of virtual content.

[0040] XR systems can include virtual reality (VR) systems facilitating interactions with VR environments, augmented reality (AR) systems facilitating interactions with AR environments, mixed reality (MR) systems facilitating interactions with MR environments, and / or other XR systems.

[0041] For instance, VR provides a complete immersive experience in a three-dimensional (3D) computer-generated VR environment or video depicting a virtual version of a real-world environment. VR content can include VR video in some cases, which can be captured and rendered at ven’ high quality, potentially providing a truly immersive virtual reality experience. Virtual reality applications can include gaming, training, education, sports video, online shopping, among others. VR content can be rendered and displayed using a VR system or device, such as a VR HMD or other VR headset, which fully covers a user's eyes during a VR experience.Qualcomm Ref No 2504477WO 8

[0042] AR is a technology that provides virtual or computer-generated content (referred to as AR content) over the user’s view of a physical, real-world scene or environment. AR content can include virtual content, such as video, images, graphic content, location data (e.g., global positioning system (GPS) data or other location data), sounds, any combination thereof, and / or other augmented content. An AR system or device is designed to enhance (or augment), rather than to replace, a person’s current perception of reality. For example, a user can see a real stationary or moving physical object through an AR device display, but the user’s visual perception of the physical object may be augmented or enhanced by a virtual image of that object (e.g., a real-world car replaced by a virtual image of a DeLorean), by AR content added to the physical object (e.g., virtual wings added to a live animal), by AR content displayed relative to the physical object (e.g., informational virtual content displayed near a sign on a building, a virtual coffee cup virtually anchored to (e.g.. placed on top of) a real-world table in one or more images, etc.), and / or by displaying other types of AR content. Various types of AR systems can be used for gaming, entertainment, and / or other applications.

[0043] MR technologies can combine aspects of VR and AR to provide an immersive experience for a user. For example, in an MR environment, real-world and computer-generated objects can interact (e.g., a real person can interact with a virtual person as if the virtual person were a real person).

[0044] An XR environment can be interacted with in a seemingly real or physical way. As a user experiencing an XR environment (e.g., an immersive VR environment) moves in the real world, rendered virtual content (e.g., images rendered in a virtual environment in a VR experience) also changes, giving the user the perception that the user is moving within the XR environment. For example, a user can turn left or right, look up or down, and / or move forwards or backwards, thus changing the user’s point of view of the XR environment. The XR content presented to the user can change accordingly, so that the user’s experience in the XR environment is as seamless as it would be in the real world.

[0045] In some cases, an XR system can match the relative pose and movement of objects and devices in the physical world. For example, an XR system can use tracking information to calculate the relative pose of devices, objects, and / or features of the real-world environment in order to match the relative position and movementQualcomm Ref No 2504477WO 9of the devices, objects, and / or the real-world environment. In some examples, the XR system can use the pose and movement of one or more devices, objects, and / or the real-world environment to render content relative to the real-world environment in a convincing manner. The relative pose information can be used to match virtual content with the user’s perceived motion and the spatio-temporal state of the devices, objects, and real-world environment. In some cases, an XR system can track parts of the user (e.g., a hand and / or fingertips of a user) to allow the user to interact with items of virtual content.

[0046] XR systems or devices can facilitate interaction with different types of XR environments (e.g., a user can use an XR system or device to interact with an XR environment). One example of an XR environment is a metaverse virtual environment. A user may virtually interact with other users (e.g., in a social setting, in a virtual meeting, etc.), virtually shop for items (e.g., goods, services, property, etc.), to play computer games, and / or to experience other services in a metaverse virtual environment. In one illustrative example, an XR system may provide a 3D collaborative virtual environment for a group of users. The users may interact with one another via virtual representations of the users in the virtual environment. The users may visually, audibly, haptically, or otherwise experience the virtual environment while interacting with virtual representations of the other users.

[0047] A virtual representation of a user may be used to represent the user in a virtual environment. A virtual representation of a user is also referred to herein as an avatar. An avatar representing a user may mimic an appearance, movement, mannerisms, and / or other features of the user. In some examples, the user may desire that the avatar representing the person in the virtual environment appear as a digital twin of the user. In any virtual environment, it is important for an XR system to efficiently generate high-quality avatars (e.g.. realistically representing the appearance, movement, etc. of the person) in a low-latency manner. It can also be important for the XR system to render audio in an effective manner to enhance the XR experience.

[0048] In some cases, an XR system can include an optical “see-through” or “pass-through” display (e.g., see-through or pass-through AR HMD or AR glasses), allowing the XR system to display XR content (e.g.. AR content) directly onto a real-world view without displaying video content. For example, a user may view physicalQualcomm Ref No 2504477WO 10objects through a display (e.g., glasses or lenses), and the AR system can display AR content onto the display to provide the user with an enhanced visual perception of one or more real-world objects. In one example, a display of an optical see-through AR system can include a lens or glass in front of each eye (or a single lens or glass over both eyes). The see-through display can allow the user to see a real-world or physical object directly, and can display (e.g., projected or otherwise displayed) an enhanced image of that object or additional AR content to augment the user’s visual perception of the real world.

[0049] When engaged in XR experiences, (e.g., fully-immersive VR experiences) having contextual understanding of people, pets, and objects in a user's environment may be important to ensure the safety of both the user and others and can help enable a feeling of presence in your environment.

[0050] "People breakthrough” is a feature in which an XR user (e.g., who is viewing a virtual environment) is able to view people in their real-world physical space. For example, a person in the real- world may “breakthrough” the user’s view of their virtual environment to be seen by the user.

[0051] There are a couple of high-level goals that can be considered with relation to people breakthrough. One goal is safety. For example, it may be desirable to ensure that an XR user does not run into, hit, and / or injure people in their physical environment. Additionally, it may be desirable to enable an XR user to talk and / or interact with people in their physical environment. For example, a goal of people breakthrough may be to allow an XR user to have “presence.” Understanding and designing people-breakthrough features for these two goals can have implications on the resulting experience with various technical implications as well.

[0052] Systems, apparatuses, methods (also referred to as processes), and computer-readable media (collectively referred to herein as “systems and techniques”) are described herein for XR. For example, the systems and techniques described herein may implement people, animal, and / or object “breakthrough"’ in a way that provides safety and / or presence.

[0053] For example, according to various aspects of the present disclosure, the systems and techniques may interrupt an XR experience gradually and / or only as much as needed while still providing safety and presence. For instance, the systemsQualcomm Ref No 2504477WO 11and techniques may vary a visual treatment of a person, animal and / or object based on a person’s proximity to the user. In the present disclosure, the term '‘visual treatment” may refer to characteristics of a representation of a person, animal and / or object. Visual treatment may refer to such characteristics as opacity, color, brightness, displaying a silhouette, displaying a line-representation, displaying a textured representation, displaying a black-and-white or grayscale representation, displaying a full-color representation, displaying a representation with sharp, soft, or feathered edges, etc. Additionally, the sy stems and techniques may, by default, show the whole body of a person to account for safety use cases or odd poses (e.g., to enable an XR user to not trip on the legs of a person in the environment of the XR user).

[0054] The systems and techniques may display determine to display, or not, representations of people, animals, and / or objects) based the proximity of the people, animals, and / or objects to the user of the XR device. Additionally, the systems and techniques may apply visual treatments to the representations of the people, animals, and / or objects based on the proximity. The systems and techniques may determine which representations to display and the visual treatments with which to display the representations to manage how the user’s immersive experience is disrupted (e.g., to disrupt the virtual experience as little and as gradually as possible). The systems and techniques may use proximity as an indication of an immediacy of a person, animal, and / or object in gaining the user’s attention.

[0055] For example, when a person is beyond a first threshold distance away from the user, the person may be invisible to the user (e.g., the person may be overlaid with virtual content). If the person is within the first threshold distance, the person may be represented as a faint shadow in the view of the user. As the person approaches the user, the systems and techniques may begin to fade in passthrough video segmentation of the person gradually based on distance between the person and the user. Once a person is within a second threshold distance from the user. The systems and techniques may display clear video passthrough of the person.

[0056] The systems and techniques may separate the passthrough video into two different layers (or segments) (e.g., a person layer and a background layer). Feathered segmentation of a person (imagine a cookie-cutter outline of a person with a blended edge). Feathered background based on a bounding box (imagine a rectangle drawnQualcomm Ref No 2504477WO 12around that cookie-cutter outline, also with a blended edge). The systems and techniques may display background as more transparent than the representation of the person to bring in a bit of the background for context, but to disrupt the user’s immersion as lightly as possible.

[0057] The systems and techniques may account for both safety and presence (interaction between user and people in the real-world environment). To provide safety, the systems and techniques may show the person’s whole body, to account for tripping hazards like feet of the person. To provide presence, the systems and techniques may display the person clearly once the person is close enough to the user to allow for easy interaction between the person and user.

[0058] In the present disclosure, various examples are given with regard to causing a representation of a person, animal, and / or object to be displayed in place of a representation of a virtual scene. Such examples relate to an immersive virtual experience (as may be common with VR). The systems and techniques are not limited to VR and complete virtual scenes. The systems and techniques may display representations of people, animals, and / or objects in place of representations of virtual content of any size or completeness. For example, the systems and techniques may determine and cause breakthrough of virtual content that occupies only a portion of a view of a user.

[0059] Various aspects of the application will be described with respect to the figures below.

[0060] FIG. 1 is a diagram illustrating an example extended-reality (XR) system 100, according to aspects of the disclosure. As shown, XR sy stem 100 includes an XR device 102. XR device 102 may implement, as examples, image-capture, objectdetection, object -tracking, gaze-tracking, view-tracking, localization (e.g., determining a location of XR device 102), pose-tracking (e.g., tracking a pose of XR device 102 and / or a pose of one or more objects in scene 112), content-generation, content-rendering, computational, communicational, and / or display aspects of extended reality, including virtual reality (VR), augmented reality (AR), and / or mixed reality' (MR).

[0061] For example, XR device 102 may include one or more scene-facing cameras that may capture images of a scene 112 in which a user 108 uses XR device 102. XRQualcomm Ref No 2504477WO 13device 102 may detect and / or track objects (e.g., object 114) in scene 112 based on the images of scene 112. In some aspects, XR device 102 may include one or more user-facing cameras that may capture images of eyes of user 108. XR device 102 may determine a gaze of user 108 based on the images of user 108. In some aspects, XR device 102 may determine an object of interest (e.g.. object 114) in scene 112 (e.g., based on the gaze of user 108, based on object recognition, and / or based on a received indication regarding object 114). XR device 102 may obtain and / or render XR content 116 (e.g., text, images, and / or video) for display at XR device 102. XR device 102 may display XR content 116 to user 108 (e.g., within a field of view 110 of user 108). In some aspects, XR content 116 may be based on and / or anchored to points in scene 112. For example, XR content 116 may be, or may include, an altered version of object 114 (e.g., based on an XR application running at XR device 102) anchored to object 114 in scene 112. The XR application may provide user 108 with an XR experience by altering scene 112 in view 110 of user 108. In some aspects, XR device 102 may display XR content 116 in relation to the view' of user 108 of the object of interest. For example, XR device 102 may overlay XR content 116 onto object 114 in field of view 110. In any case, XR device 102 may overlay XR content 116 (whether related to object 114 or not) onto the view of user 108 of scene 112. For example, object 114 may be a cherry tree. Based on an XR application running at XR device 102, XR device 102 may anchor XR content 116, w'hich may be a palm tree, to object 114 such that in the view' of user 108, user 108 sees XR content 116 (the palm tree) and not object 114 (the cherry tree).

[0062] In a “see-through” or “transparent” configuration, XR device 102 may include a transparent surface (e.g., optical glass) such that XR content 116 may be displayed on (e.g., by being projected onto) the transparent surface to overlay the view of user 108 of scene 112 as viewed through the transparent surface. In a “pass-through” configuration or a “video see-through” configuration, XR device 102 may include a scene-facing camera that may capture images of scene 112. XR device 102 may display images or video of scene 112, as captured by the scene-facing camera, and XR content 116 overlaid on the images or video of scene 112.

[0063] In various examples, XR device 102 may be, or may include, a headmounted device (HMD), a virtual reality headset, and / or smart glasses. XR device 102 may include one or more cameras, including scene-facing cameras and / orQualcomm Ref No 2504477WO 14user-facing cameras, a GPU, one or more sensors (e.g., such as one or more inertial measurement units (IMUs), image sensors, and / or microphones), one or more communication units (e.g., wireless communication units), and / or one or more output devices (e.g., such as speakers, headphones, display, and / or smart glass).

[0064] In some aspects, XR device 102 may be, or may include, two or more devices. For example, XR device 102 may include a display device and a processing device. The display device may capture and / or generate data, such as image data (e.g., from user-facing cameras and / or scene-facing cameras) and / or motion data (from an inertial measurement unit (IMU)). The display device may provide the data to the processing device, for example, through a wireless connection between the display device and the processing device. The processing device may process the data and / or other data (e.g., data received from another source). Further, the processing unit may generate (or obtain) XR content 116 to be displayed at the display device. The processing device may provide the generated XR content 116 to the display device, for example, through the wireless connection. And the display device may display XR content 116 in field of view 110 of user 108.

[0065] As mentioned above, the systems and techniques may apply various visual treatments to representations of people, animals, and / or objects in a real-world environment of an XR user, according to various aspects of the present disclosure. For example, XR device 102 may capture images of scene 112. Such images may include person 118, person 120, and person 122 in scene 112. According to various aspects of the present disclosure, XR device 102 may, or may not. display representations of people, animals, and / or objects in scene 112 to XR device 102. If displayed, such representations may occlude the view of user 108 of virtual content (e.g., a virtual environment) being displayed to user 108. Further, according to various aspects of the present disclosure. XR device 102 may display the representations according to various visual treatments.

[0066] For example, XR device 102 may determine not to display a representation of a person is distant from XR device 102 (e.g., beyond a first threshold distance). For example, XR device 102 may detect person 122 in field of view 110 of user 108. XR device 102 may determine that person 122 is beyond the first threshold distance from user 108. Accordingly, XR device 102 may determine to not display a representation of person 122 to user 108. Rather, XR device 102 may display a virtualQualcomm Ref No 2504477WO 15environment without regard for person 122 (e.g., occluding person 122 in the view of user 108 with virtual content, such as XR content 116).

[0067] As another example, person 120 is closer to user 108 than person 122 is to user 108. For example, person 120 may be within a second distance threshold. XR device 102 may determine that person 120 is within the second threshold distance and determine to display a representation of person 120 according to a first visual treatment. For instance, if person 120 is within 3 meters of user 108, XR device 102 may determine to display a representation of person 120 (according to a first visual treatment) to user 108. As an example, XR device 102 may display a single-color translucent representation of person 120, a silhouette of person 120, a wire-frame representation of person 120 etc. The first visual treatment may be designed to be visible, but not overly intrusive to the view of user 108 of virtual content being displayed to user 108.

[0068] As yet another example, person 118 is closer to user 108 than person 120 is to user 108. For example, person 118 may be within a third distance threshold. XR device 102 may determine that person 118 is within the third threshold distance and determine to display a representation of person 118 according to a second visual treatment. For instance, if person 118 is within 2 meters of user 108, XR device 102 may determine to display a representation of person 118 (according to a second visual treatment) to user 108. As an example, XR device 102 may display a colored translucent representation of person 118. The second visual treatment may be designed to be visible, and more intrusive than the first visual treatment, but not overly intrusive to the view of user 108 of virtual content being displayed to user 108.

[0069] In some aspects, XR device 102 may display representations of people that are in distances between the second threshold and the third threshold using visual treatments that blend aspects of the first and second visual treatments. For example, as a person gets closer to user 108, XR device 102 may display representations of the person with increasing opacity and / or color.

[0070] XR device 102 may determine a distance between XR device 102 and various people, animals, and / or objects in scene 112 according to any suitable technique. For example, XR device 102 may use active depth-sensing technique (which may use a time-difference of arrival (TDOA) or phase-difference of arrivalQualcomm Ref No 2504477WO 16technique to determine distances between XR device 102 and people, animals, and / or objects in scene 112). Additionally or alternatively, XR device 102 may use a passive depth-sensing technique, such as a stereoscopic depth-sensing technique or a machine-learning-based depth-prediction technique to determine distances between XR device 102 and people, animals, and / or objects in scene 112.

[0071] Additionally or alternatively, XR device 102 may determine a size of a representation of various people, animals, and / or objects in images captured by XR device 102. XR device 102 may use the size of the people, animals, and / or objects to determine distances between XR device 102 and the people, animals, and / or objects. Additionally or alternatively, XR device 102 may use the size as a proxy for a determined distance. For example, rather than explicitly determining a distance between XR device 102 and person 118, XR device 102 may determine a size of person 118 in an image captured by XR device 102 and determine a visual treatment to apply to person 118 based on the determined size of the representation of person 118 in the image. In the present disclosure, references to distances between user 108 and people, animals, and / or objects may refer to distances between XR device 102 and the people, animals, and / or objects.

[0072] In some aspects, in addition to determining visual treatments based on distances, XR device 102 may determine visual treatments for representations of people, animals, and / or objects based on other factors. Such factors, include, as examples, if a person, animal, and / or object is moving toward the user or away from the user, how fast the person, animal, and / or object is moving toward the user or away from the user, if the person is speaking to user, if the person is gesturing (e.g., waving their hands), and / or indications from the user (gaze, gesture, voice, etc.). For example, if person 122 is approaching user 108, XR device 102 may determine a visual treatment for displaying a representation of person 122 that is more detailed than a representation of person 122 would be if the representation were based on the distance between user 108 and person 122. For instance, based on a distance between person 122 and user 108, XR device 102 may determine to not display a representation of person 122 to user 108. However, based on person 122 approaching user 108 (e.g., directly) XR device 102 may determine to display a representation of person 122 according to the first visual treatment. As another example, if XR device 102 determines that person 118 is moving away from user 108 (for example,Qualcomm Ref No 2504477WO 17based on distance measurements over time or based on a determination that person 118 has turned to face away from user 108), XR device 102 may display a representation of person 118 according to the first visual treatment or may cease displaying the representation of person 118.

[0073] As another example, if XR device 102 determines that person 122 is speaking to user 108 (e.g., using directional microphones or by detecting a name of user 108 as spoken by person 122) XR device 102 may determine to display person 122 to user 108 according to a first (or even second) visual treatment. As yet another example, if XR device 102 determines that person 122 is speaking urgently (e.g., yelling or indicating an emergency) XR device 102 may determine to display person 122 to user 108 according to a first (or even second) visual treatment.

[0074] As yet another example, if XR device 102 is displaying a representation of person 120 to user 108, user 108 may determine that they want to see person 120 more clearly, user 108 may indicate such a desire (e g., through a controller, a button, a spoken command, a gesture, or by gazing at the representation). In response to such an indication, XR device 102 may display a representation of person 120 according to a second (or third) visual treatment.

[0075] FIG. 2 includes a pictorial representation of concepts related to visual treatments, according to various aspects of the present disclosure. For example, visual treatments applied to representations of people, animals, and / or objects may involve one of concepts described with regard to FIG. 2.

[0076] For example, the systems and techniques may apply segmentation to images captured of scenes to obtain representations of people, animals, and / or objects. Using elements of FIG. 1 for example, XR device 102 may capture images of scene 112. Person 118 may appear in the images of scene 112. XR device 102 may segments a representation of person 118 from the images of scene 112. As such, when displaying a representation of person 118, XR device 102 may display pixels of the image of scene 112 that represent person 118 (e.g., and not display pixels representing other portions of scene 112).

[0077] As another example, the systems and techniques may apply feathering to representations of people, animals, and / or objects. For example, when displaying aQualcomm Ref No 2504477WO 18representation of person 120, XR device 102 may apply feathering which may blur edges of the representation of person 120.

[0078] As yet another example, the systems and techniques may apply a transparent fill to representations of people, animals, and / or objects. For example, when displaying a representation of person 120 XR device 102 may display the representation as a silhouette. The silhouette may be a single color. Additionally or alternatively, the silhouette may be transparent. For example, portions of the virtual environment of user 108 may be visible through the representation of person 120. For instance, XR device 102 may capture video of person 120, identify a region of each frame that represents person 120, and display the region of each frame as a silhouette (e.g.. a transparent monochromatic silhouette).

[0079] As yet another example, the systems and techniques may adjust an opacity of representations of people, animals, and / or objects. For example, when displaying a representation of person 120 XR device 102 may display the representation as a full-color transparent representation of person 120. For instance, XR device 102 may capture video of person 120, identify a region of each frame that represents person 120, and display the region of each frame with a determined degree of opacity.

[0080] In some aspects, the systems and techniques may determine a bounding box surrounding a representation of a person in images of the real-world environment. The systems and techniques may display some pixels representative of the real-world environment around the representation of a person, animal, and / or object. For example, XR device 102 may capture an image of scene 112. The image may include person 118. XR device 102 may determine a segment of the image representing person 118. Additionally, XR device 102 may determine a bounding box defined by the segment representing person 118. In some aspects, the bounding box may be a rectangle extending by a margin in one or more directions from an outermost extent of the segment representing person 118.

[0081] When displaying a representation of a portion of a scene surrounding a person, animal, and / or object (e.g., based on a bounding box surrounding a segment), the systems and techniques may apply a visual treatment to the representation of the portion of the scene. For example, XR device 102 may determine a bounding box around a representation of person 118 in an image of scene 112. The bounding boxQualcomm Ref No 2504477WO 19may be a rectangle that may extend beyond the extent of the representation of person 118 by 10 pixels in positive and negative x and y dimensions. When displaying pixels from the bounding box, XR device 102 may display the pixels as transparent, translucent, or opaque, in a single color or multiple colors, with feathering or with sharp edges. The visual treatment applied to the representation of person 118 may be independent of the representation of the scene surrounding person 118. For example, the representation of person 118 may be in color and opaque whereas the representation of the portion of the scene surrounding person 118 may be translucent and / or monochromatic.

[0082] Additionally, the size of the bounding box may be selected differently for various different visual treatments. For example, for a first visual treatment (e.g., associated with a first level of detail that is relatively low), the margins of the bounding may be relatively small. Whereas for a second visual treatment (e.g., associated with a second level of detail that is higher than the first level of detail), the margins may be relatively large (e.g., larger than the margins of the first visual treatment). For example, XR device 102 may display more of the real-world environment surrounding a person as the person gets closer to user 108. As another example, the margin size may be related to distance. For example, a person, animal, and / or object that is farther away could have tighter margins than one that is closer. Additionally or alternatively, the margins may be determined based on size percentages of the segmentation.

[0083] As an example, FIG. 3A includes an example image 300 that may be displayed by an XR device, according to various aspects of the present disclosure. For example, image 300 includes a virtual environment. A user, viewing image 300, may be having a virtual experience. For example, it may appear to the user that the user is in the virtual environment.

[0084] Additionally, image 300 includes a representation 302 of a person in a real-world environment of the user. Returning to FIG. 1 as an example, user 108 may be using XR device 102 and viewing image 300. Representation 302 may be a representation of person 120 in scene 112 of user 108.

[0085] Person 120 may be within a first threshold distance from user 108. For instance, person 120 may be 3 meters away from user 108. According toQualcomm Ref No 2504477WO 20representation 302, user 108 may be able to see person 120 is in their physical environment. But user 108 may not be distracted or taken away from the use case / task they are currently performing.

[0086] Representation 302 may be according to a first visual treatment. For example, representation 302 may be a feathered, monochromatic, translucent representation of person 120. For example, XR device 102 may determine a segment of an image of scene 112 that represent person 120 and generate representation 302 based on the segment. For example, the whole body of person 120, segmented from background, may be included in representation 302. Representation 302 may have a feathered edge with a color fill shown with transparency (e.g.. an 8-pixel feathering applied to segment, further the Segment may be filled with black #000000 at 30% opacity). Representation 302 may not include passthrough video.

[0087] FIG. 3B includes representation 302 without image 300. For example, XR device 102 may generate representation 302 and insert representation 302 into virtual content being displayed by XR device 102 to user 108.

[0088] According to various aspects of the present disclosure, XR device 102 may determine to display representation 302, according to the first visual treatment based on a distance between user 108 and person 120.

[0089] FIG. 4 A includes an example image 400 that may be displayed by an XR device, according to various aspects of the present disclosure. For example, image 400 includes the virtual environment of FIG. 3A. Additionally, image 400 includes a representation 402 of a person in a real-world environment of the user. For example, user 108 may be using XR device 102 and viewing image 400. Representation 402 may be a representation of person 120 in scene 112 of user 108.

[0090] Person 120 may be within a second threshold distance from user 108. For instance, person 120 may be 2 meters away from user 108. User 108 is able to see person 120 better in image 400 than in image 300. But user 108 is still able to focus on the use case / task.

[0091] Representation 402 may be according to a second visual treatment. For example, representation 402 may be a feathered, colored, translucent representation of person 120. For example, XR device 102 may determine a segment of an image of scene 112 that represent person 120 and generate representation 402 based on theQualcomm Ref No 2504477WO 21segment. For example, the whole body of person 120, segmented from background, may be included in representation 402. For instance, passthrough video of the segmented person may be displayed with 60% opacity.

[0092] Additionally, separate passthrough video for background (e.g., in a bounding box around the person) may be displayed the size of the bounding box may¬ be the size of the segment representing person 120 plus, for example, a 10-pixel margin on all sides of the segment representing the person. Additionally, the background may be displayed with, for example, a 100 pixels of feathering and at 40% opacity. FIG. 4B includes representation 402 without image 400.

[0093] According to various aspects of the present disclosure, when person 120 is between the first threshold distance and the second threshold distance from user 108, XR device 102 may determine a visual treatment that is between the first visual treatment and the second visual treatment. For example, if person 120 approaches user 108, as person 120 approaches, XR device 102 may gradually alter representation 302 to become representation 402. For example, XR device 102 may reduce the opacity of the monochromatic representation of person 120 and increase the opacity of the colored representation of person 120.

[0094] FIG. 5A includes an example image 500 that may be displayed by an XR device, according to various aspects of the present disclosure. For example, image 500 includes the virtual environment of FIG. 3A. Additionally, image 500 includes a representation 502 of a person in a real-world environment of the user. For example, user 108 may be using XR device 102 and viewing image 500. Representation 502 may be a representation of person 120 in scene 112 of user 108.

[0095] Person 120 may be within a third threshold distance from user 108. For example, person 120 may be 1 meter away from user 108. In image 500, it may be obvious that person 120 is the physical environment of user 108. User 108 may be distracted from what they are doing and may be able to take corrective safety precautions.

[0096] Representation 502 may be according to a third visual treatment. For example, representation 502 may be a sharp-edged, colored, translucent representation of person 120. For example, XR device 102 may determine a segment of an image of scene 112 that represent person 120 and generate representation 502Qualcomm Ref No 2504477WO 22based on the segment. For example, the whole body of person 120, segmented from background, may be included in representation 502. For example, passthrough video of the segmented person may be displayed with 80% opacity.

[0097] Additionally, separate passthrough video for background (e.g., in a bounding box around the person) may be displayed the size of the bounding box may¬ be the size of the segment representing person 120 plus, for example, a 10-pixel margin on all sides of the segment representing the person. Additionally, the background may be displayed with, for example, 100 pixels of feathering and at 60% opacity. FIG. 5B includes representation 502 without image 500.

[0098] According to various aspects of the present disclosure, when person 120 is between the second threshold distance and the third threshold distance from user 108, XR device 102 may determine a visual treatment that is between the second visual treatment and the third visual treatment. For example, if person 120 approaches user 108, as person 120 approaches, XR device 102 may gradually alter representation 402 to become representation 502. For example, XR device increase the opacity of the colored representation of person 120 and the opacity of the representation of the portion of scene 112 surrounding person 120.

[0099] XR device 102 may display, or not display, representations of people, animals, and / or objects on a person-by -person, ammal-by-ammal, and / or obj ect-byobject basis. FIG. 6 A includes an image 600 including two representations of two respective people, according to various aspects of the present disclosure. FIG. 6B includes representation 602 and representation 604 without image 600.

[0100] For example, XR device 102 may determine a first distance between an XR device 102 and person 118 and display a representation 602 of person 118 based on the first distance (e.g., according to a first visual treatment). Additionally, XR device 102 may determine a second distance between an XR device 102 and person 120 and display a representation 604 of person 120 based on the second distance (e.g., according to a second visual treatment).

[0101] FIG. 7A includes an image 700 including two representations of two respective people, according to various aspects of the present disclosure. FIG. 7B includes representation 702 and representation 704 without image 700.Qualcomm Ref No 2504477WO 23

[0102] If two or more people, animals, and / or objects are close, such that their segments touch and / or their bounding boxes overlap, they may be treated individually, for example, as described with regard to FIG. 6A and FIG. 6B. Additionally or alternatively, if two or more people, animals, and / or objects are close, such that their segments touch and / or their bounding boxes overlap and they are substantially the same distance from XR device 102, they may be treated together. For example, they may be represented by a common representation having a common visual treatment.

[0103] FIG. 8 A includes an image 800 including a representation of a person in a pose, according to various aspects of the present disclosure. FIG. 8B includes representation 802 without image 800. According to various aspects of the present disclosure, representations may be based on segments of images that represent people, animals, and / or objects. As such, when a person, animal, and / or object is in an unusual pose, the representations may still represent all of the person (e.g., including extended legs and feet) that is in the image. For example, representation 802 accurately represents the person in the sitting pose. Displaying a representation of all of the person, in their pose, may increase safety of a user of an XR device by displaying the position of the legs of the person.

[0104] FIG. 9A includes an image 900 including a representation of an infant, according to various aspects of the present disclosure. FIG. 9B includes representation 902 without image 900. FIG. 9A and FIG. 9B illustrate that the principles described herein with regard to people apply to people of any age, including infants, children, and adults. For example, for safety, it may be particularly important to display children and infants so a user of an XR device is aware of the presence of children and infants in their environment.

[0105] FIG. 10A includes an image 1000 including a representation of an animal, according to various aspects of the present disclosure. FIG. 10B includes representation 1002 without image 1000. FIG. 10A and FIG. 10B illustrate that the principles described herein with regard to people apply to animals (e.g., pets) as well as to people. For example, it may be valuable to display a representation of a cat to a user so the user is aware of the cat's presence in their environment (e.g., such that the user can protect themselves from the cat).Qualcomm Ref No 2504477WO 24

[0106] FIG. 11A is a flow diagram illustrating an example process 1100 for displaying virtual content, in accordance with aspects of the present disclosure. One or more operations of process 1100 may be performed by a computing device (or apparatus) or a component (e.g., a chipset, codec, etc.) of the computing device. The computing device may be a mobile device (e.g., a mobile phone), a network-connected wearable such as a watch, an extended reality7(XR) device such as a virtual reality (VR) device or augmented reality7(AR) device, a vehicle or component or system of a vehicle, a desktop computing device, a tablet computing device, a server computer, a robotic device, and / or any other computing device with the resource capabilities to perform the one or more operations of process 1100. The one or more operations of process 1100 may be implemented as software components that are executed and run on one or more processors.

[0107] At block 1102, a computing device (or one or more components thereof) may determine a distance between a display and a subject in a real-world environment of the display. For example, XR device 102 may determine a distance between XR device 102 and a person 120 in scene 112.

[0108] At block 1104, the computing device (or one or more components thereof) may, based on the distance relative to one or more thresholds, provide a representation of the subject to the display, the representation of the subject associated with a first representation style based on the distance relative to the one or more thresholds. For example, XR device 102 may provide a representation of person 120 to d display (for display to user 108). The representation of person 120 may be associated with a first representation style. Based on the distance relative to one or more distance thresholds.

[0109] In some aspects, the computing device (or one or more components thereof) may provide image data representative of virtual content to the display. For example, XR device 102 may provide virtual content (e.g.. virtual scene) to a display (for display to user 108).

[0110] In some aspects, the computing device (or one or more components thereof) may provide the representation of the subject to the display such that the representation of the subject overlaps at least a portion of the image data representative of the virtual content. For example, XR device 102 may generateQualcomm Ref No 2504477WO 25image data in which a representation of person 120 overlaps a portion of a virtual scene.

[0111] In some aspects, the computing device (or one or more components thereof) may obtain images of the subject from a camera proximate to the display; and generate the representation of the subject based on the images of the subject. For example, XR device 102 may capture images of person 120 and generate the representation of person 120 based on the images of person 120.

[0112] In some aspects, the one or more thresholds may be, or may include, a first distance threshold associated with a first representation style; and a second distance threshold associated with a second representation style, wherein the second distance threshold includes distances closer to the display than distances included in the first distance threshold, and wherein the second representation style includes more detail than the first representation style. For example, XR device 102 may be configured to generate a representation of person 120 according to a first representation style if person 120 is within a first distance threshold from XR device 102. Further, XR device 102 may be configured to generate a representation of person 120 according to a second representation style if person 120 is within the second distance threshold. In some aspects, representations according to the second representation style may include more detail than representations according to the first representation style.

[0113] In some aspects, the one or more thresholds further comprise athird distance threshold associated with a third representation style, wherein the third distance threshold includes distances closer to the display than the distances included in the second distance threshold, and wherein the third representation style includes more detail than the second representation style. For example, XR device 102 may be configured to generate a representation of person 120 according to a third representation style if person 120 is within the third distance threshold. In some aspects, representations according to the third representation style may include more detail than representations according to the second representation style.

[0114] In some aspects, the first representation style is associated with a first opacify; the second representation style is associated with a second opacify that is greater than the first opacify; and the third representation style is associated with a third opacify that is greater than the second opacify.Qualcomm Ref No 2504477WO 26

[0115] In some aspects, the first representation style is associated with a first brightness; the second representation style is associated with a second brightness that is greater than the first brightness; and the third representation style is associated with a third brightness that is greater than the second brightness.

[0116] In some aspects, the first representation style is associated with a first resolution; the second representation style is associated with a second resolution that is greater than the first resolution; and the third representation style is associated with a third resolution that is greater than the second resolution.

[0117] In some aspects, the first representation style is associated with a first saturation; the second representation style is associated with a second saturation that is greater than the first saturation; and the third representation style is associated with a third saturation that is greater than the second saturation.

[0118] In some aspects, the first representation style is associated with a monochromatic translucent representation of the subject; the second representation style is associated with a colored translucent representation of the subject; and the third representation style is associated with a colored opaque representation of the subject.

[0119] In some aspects, the first representation style is associated with an outline representation of the subject; the second representation style is associated with a colored translucent representation of the subject; and the third representation style is associated with a colored opaque representation of the subject.

[0120] In some aspects, the first representation style is associated with a wire-frame based representation of the subject; the representation style is associated with a colored translucent representation of the subject; and the third representation style is associated with a colored opaque representation of the subject.

[0121] In some aspects, the computing device (or one or more components thereof) may, based on the distance relative to the one or more thresholds, provide a representation of a portion of the real-world environment to the display, the representation of the portion of the real-world environment having a level of environmental detail based on the distance relative to the one or more thresholds. For example, XR device 102 may capture images including at least a portion of scene 112. XR device 102 may provide images including at least a portion of scene 112 forQualcomm Ref No 2504477WO 27display. According to various aspects of the present disclosure, the images of the scene may be displayed according to various levels of detail based on the distance between XR device 102 and person 120.

[0122] In some aspects, the one or more thresholds may be, or may include, a first distance threshold associated with a first level of environmental detail; and a second distance threshold associated with a second level of environmental detail, wherein the second distance threshold includes distances closer to the display than distances included in the first distance threshold, and wherein the second level of environmental detail is greater than the first level of environmental detail. For example, if person 120 is within a first threshold distance of XR device 102, XR device 102 may provide image data for display. The image data may include a representation of person 120 and a representation of at least a portion of scene 112 (e.g., the portion of scene 112 surrounding person 120). Based on person 120 being within the first threshold, XR device 102 may display the representation of scene 112 with a first level of detail. If person 120 is within a second threshold distance of XR device 102, XR device 102 may provide image data for display. The image data may include a representation of person 120 and a representation of at least a portion of scene 112 (e.g., the portion of scene 112 surrounding person 120). Based on person 120 being within the second threshold, XR device 102 may display the representation of scene 112 with a second level of detail.

[0123] In some aspects, the first level of environmental detail is associated with a first size; and the second level of environmental detail is associated with a second size that is larger than the first size.

[0124] In some aspects, the first level of environmental detail is associated with first margins around a bounding box based on the subject; the second level of environmental detail is associated with second margins around the bounding box based on the subject; and the second margins are larger than the first margins.

[0125] In some aspects, the first level of environmental detail is associated with a first opacity; and the second level of environmental detail is associated with a second opacify that is greater than the first opacify.Qualcomm Ref No 2504477WO 28

[0126] In some aspects, the first level of environmental detail is associated with a first brightness; and the second level of environmental detail is associated with a second brightness that is greater than the first brightness.

[0127] In some aspects, the first level of environmental detail is associated with a first resolution; and the second level of environmental detail is associated with a second resolution that is greater than the first resolution.

[0128] In some aspects, the first level of environmental detail is associated with a first saturation; and the second level of environmental detail is associated with a second saturation that is greater than the first saturation.

[0129] FIG. I IB is a flow diagram illustrating an example process 1120 for displaying virtual content, in accordance with aspects of the present disclosure. One or more operations of process 1120 may be performed by a computing device (or apparatus) or a component (e.g., a chipset, codec, etc.) of the computing device. The computing device may be a mobile device (e.g., a mobile phone), a network-connected wearable such as a watch, an extended reality (XR) device such as a virtual reality (VR) device or augmented reality (AR) device, a vehicle or component or system of a vehicle, a desktop computing device, a tablet computing device, a server computer, a robotic device, and / or any other computing device with the resource capabilities to perform the one or more operations of process 1120. The one or more operations of process 1120 may be implemented as software components that are executed and run on one or more processors.

[0130] At block 1122, a computing device (or one or more components thereof) may display first content. For example, XR device 102 may display virtual content to user 108.

[0131] At block 1124, the computing device (or one or more components thereof) may receive first sensor data, the first sensor data representing a real-world scene including a subject. For example, XR device 102 may receive sensor data (e.g., image data, ToF data, etc.). The sensor data may represent at least a portion of scene 112. Additionally, the sensor data may represent person 120 in scene 112.

[0132] At block 1126, the computing device (or one or more components thereof) may determine, based on the first sensor data, a first representation type for the subject from among a plurality of representation types. For example, XR device 102Qualcomm Ref No 2504477WO 29may determine a distance between XR device 102 and person 120 based on the sensor data. Further, XR device 102 may determine a first representation ty pe for representing person 120 based on the distance between XR device 102 and person 120.

[0133] At block 1128, the computing device (or one or more components thereof) may display second content, wherein the second content includes the first content and a representation of the subject according to the first representation type. For example, XR device 102 may7display virtual content (e g, a virtual scene) including a representation of person 120 to user 108. The representation of person 120 may overlap at least a portion of the virtual content.

[0134] In some aspects, the computing device (or one or more components thereof) may receive second sensor data, determine, based on the second sensor data, a second representation type for the subject from among the plurality of representation types; and display third content, wherein the third content includes the first content and a representation of the subject according to the second representation type. For example, person 120 may come closer to XR device 102. XR device 102 may receive sensor data indicating that person 120 is within a second distance threshold from XR device 102. XR device 102 may determine a second representation type for person 120. XR device 102 may generate a second representation of person 120, according to the second representation type. XR device 102 may display virtual content to user 108. The virtual content may include the second representation of person 120. For example, the second representation of person 120 may overlap a portion of the virtual content.

[0135] In some aspects, the first representation type is determined based on determining the subject is farther than a distance threshold from the apparatus; and the second representation type is determined based on determining the subject is within a distance range from the apparatus. For example, XR device 102 may determine to use the first representation type based on person 120 being farther than a first distance threshold from XR device 102. Further, XR device 102 may determine to use the second representation ty pe based on person 120 being within a distance range from XR device 102.Qualcomm Ref No 2504477WO 30

[0136] In some aspects, the first representation type is associated with a first opacity; and the second representation type is associated with a second opacity that is greater than the first opacity.

[0137] In some aspects, the first representation type is associated with a first brightness; and the second representation type is associated with a second brightness that is greater than the first brightness.

[0138] In some aspects, the first representation type is associated with a first resolution; and the second representation type is associated with a second resolution that is greater than the first resolution.

[0139] In some aspects, the first representation type is associated with a first saturation; and the second representation type is associated with a second saturation that is greater than the first saturation.

[0140] In some aspects, the computing device (or one or more components thereof) may receive third sensor data, determine, based on the third sensor data, a third representation type for the subject from among the plurality of representation types; and display fourth content, wherein the fourth content includes the first content and a representation of the subject according to the third representation type. For example, person 120 may come closer to XR device 102. XR device 102 may receive sensor data indicating that person 120 is within a third distance threshold from XR device 102. XR device 102 may determine a third representation type for person 120. XR device 102 may generate a third representation of person 120, according to the third representation ty pe. XR device 102 may display virtual content to user 108. The virtual content may include the third representation of person 120. For example, the third representation of person 120 may overlap a portion of the virtual content.

[0141] In some aspects, the first representation type is determined based on determining the subject is farther than a first distance threshold from the apparatus; the second representation type is determined based on determining the subject is within a distance range from the apparatus; and the third representation type is determined based on determining the subject is closer than a second distance threshold from the apparatus. For example, XR device 102 may determine to use the first representation type based on person 120 being farther than a first distance threshold from XR device 102. Further, XR device 102 may determine to use theQualcomm Ref No 2504477WO 31second representation type based on person 120 being within a distance range from XR device 102. Further, XR device 102 may determine to use the third representation type based on person 120 being closer than a second distance threshold from XR device 102.

[0142] In some aspects, the first representation type is associated with a monotone translucent representation of the subject; the second representation type is associated with a colored translucent representation of the subject; and the third representation ty pe is associated with a colored opaque representation of the subject.

[0143] In some aspects, the first representation type is associated with an outline representation of the subject; the second representation type is associated with a colored translucent representation of the subject; and the third representation ty pe is associated with a colored opaque representation of the subject.

[0144] In some aspects, the first representation type is associated with a wire-frame based representation of the subject; the second representation type is associated with a colored translucent representation of the subject; and the third representation type is associated with a colored opaque representation of the subject.

[0145] In some aspects, the first representation type is determined based on determining the subject is farther than a distance threshold from the apparatus. For example, XR device 102 may determine to represent person 120 according to the first representation type based on person 120 being farther than a first distance threshold from XR device 102.

[0146] In some aspects, the computing device (or one or more components thereof) may determine a distance between the subject and the apparatus. For example, XR device 102 may determine a distance between XR device 102 and person 120.

[0147] In some aspects, the computing device (or one or more components thereof) may determine the first representation ty pe based on the distance. For example, XR device 102 may determine to represent person 120 according to the first representation type based on person 120 being farther than a first distance threshold from XR device 102.

[0148] In some aspects, the distance is determined according to at least one of: an active depth-sensing technique; a passive depth-sensing technique; or a machinelearning-based depth-prediction technique. For example, XR device 102 mayQualcomm Ref No 2504477WO 32determine the distance between XR device 102 and person 120 according to an active depth-sensing technique, a passive depth-sensing technique and / or a machinelearning-based depth-prediction technique.

[0149] In some aspects, the computing device (or one or more components thereof) may may determine a size of the subject in the first sensor data; and determine the first representation type based on size. For example, XR device 102 may determine a size of person 120 in an image capture by XR device 102. Further, XR device 102 may determine the representation type to use to represent person 120 based on the size.

[0150] FIG. 11C is a flow diagram illustrating an example process 1140 for displaying virtual content, in accordance with aspects of the present disclosure. One or more operations of process 1140 may be performed by a computing device (or apparatus) or a component (e.g., a chipset, codec, etc.) of the computing device. The computing device may be a mobile device (e.g., a mobile phone), a network-connected wearable such as a watch, an extended reality (XR) device such as a virtual reality (VR) device or augmented reality (AR) device, a vehicle or component or system of a vehicle, a desktop computing device, a tablet computing device, a server computer, a robotic device, and / or any other computing device with the resource capabilities to perform the one or more operations of process 1140. The one or more operations of process 1140 may be implemented as software components that are executed and run on one or more processors.

[0151] At block 1142, a computing device (or one or more components thereof) may output a first frame for display, the first frame comprising virtual content. For example, XR device 102 may display a first frame including virtual content.

[0152] At block 1144, the computing device (or one or more components thereof) may receive first image data representing a real -world scene including a subject. For example, XR device 102 may capture an image of scene 112. Person 120 may be in scene 112 and may be included in the captured image of scene 112.

[0153] At block 1146, the computing device (or one or more components thereof) may determine a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject. For example, XR device 102 may determine a portion of the images dataQualcomm Ref No 2504477WO 33captured at block 1144. The portion may include person 120 and a margin of image data around person 120. For example, the image may be an image of scene 112 including person 120 and the portion may be representation 402 of FIG. 4B.

[0154] In some aspects, to identify the region of the first image data, the computing device (or one or more components thereof) may identify a segment of the first image data that represents the subject; and determine a shape based on segment and the first margin. For example, XR device 102 may segment the image captured at block 1144 and determine the region of the image (e g., at block 1146) based on a margin around the segment representing the subject.

[0155] At block 1148, the computing device (or one or more components thereof) may output a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data. For example, XR device 102 may display image 400 including representation 402 (including the subject and the portion of the image data in the margin around the subject).

[0156] At block 1150, the computing device (or one or more components thereof) may receive second image data representing the real-world scene including the subject. For example, XR device 102 may capture an image of scene 112 and person 120 in the scene. As an example, person 120 may have moved between capturing the first image at block 1144 and capturing the second image at block 1150. For descriptive purposes, person 118 is used as an example of person 120 at a different position in scene 112 (e.g., at the time the second image is captured at block 1150).

[0157] At block 1152, the computing device (or one or more components thereof) may determine a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin. For example, the image may be an image of scene 112 including person 118 and the portion may be representation 502 of FIG. 5B.

[0158] At block 1154, the computing device (or one or more components thereof) may output a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data. For example, XR device 102 may display image 500 including representation 502 (including the subject and the portion of the image data in the margin around the subject).Qualcomm Ref No 2504477WO 34

[0159] In some aspects, the computing device (or one or more components thereof) may determine a first distance between the apparatus and the subject, wherein the first distance is associated with the first image data, wherein the region of the first image data is determined based on the first distance; and determine a second distance between the apparatus and the subject, wherein the second distance is associated with the second image data, wherein the region of the second image data is determined based on the second distance. For example, XR device 102 may determine a first distance between XR device 102 and person 120 (e.g., the person at the time the first image is captured at block 1144). XR device 102 may determine the region of the first image data (e.g., at block 1146, for example, representation 402) based on the first distance. Further, XR device 102 may determine a second distance between XR device 102 and person 118 (e.g., the same person at the time the second image is captured at block 1150). XR device 102 may determine the region of the second image data (e.g.. at block 1152. for example, representation 502) based on the second distance.

[0160] In some aspects, the computing device (or one or more components thereof) may determine a first distance between the apparatus and the subject, wherein the first distance is associated with the first image data; determine the first margin based on the first distance; determine a second distance between the apparatus and the subject, wherein the second distance is associated with the second image data; and determine the second margin based on the second distance. For example, XR device 102 may determine a first distance between XR device 102 and person 120 (e.g., the person at the time the first image is captured at block 1144). XR device 102 may determine first margin based on the first distance. Further, XR device 102 may determine a second distance between XR device 102 and person 118 (e.g., the same person at the time the second image is captured at block 1150). XR device 102 may determine the second margin based on the second distance.

[0161] In some aspects, the computing device (or one or more components thereof) may determine a size of the subject in the first image data, wherein the region of the first image data is determined based on the size of the subject in the first image data; and determine a size of the subject in the second image data, wherein the region of the second image data is determined based on the size of the subject in the second image data. For example, XR device 102 may determine a size of person 120 in theQualcomm Ref No 2504477WO 35image captured at block 1144 (e.g., the person at the time the first image is captured at block 1144). XR device 102 may determine the region of the first image data (e.g., at block 1146, for example, representation 402) based on size of person 120 in the image captured at block 1144. Further, XR device 102 may determine a size of person 118 in the image captured at block 1150 (e.g., the same person at the time the second image is captured at block 1150). XR device 102 may determine the region of the second image data (e.g., at block 1152, for example, representation 502) based on the size of person 118 in the image captured at block 1150.

[0162] In some aspects, the computing device (or one or more components thereof) may determine a size of the subject in the first image data; determine the first margin based on the size of the subject in the first image data; determine a size of the subject in the second image data; and determine the second margin based on the size of the subject in the second image data. For example, XR device 102 may determine a size of person 120 in the image captured at block 1144 (e.g., the person at the time the first image is captured at block 1144). XR device 102 may determine the first margin based on size of person 120 in the image captured at block 1144. Further, XR device 102 may determine a size of person 118 in the image captured at block 1150 (e.g., the same person at the time the second image is captured at block 1150). XR device 102 may determine the second margin based on the size of person 118 in the image captured at block 1150.

[0163] In some aspects, the computing device (or one or more components thereof) may determine the region of the first image data based on the first margin; and determine the region of the second image data based on the second margin. For example, XR device 102 may determine representation 402 based on a first margin size. Additionally, XR device 102 may determine representation 502 based on a second margin size.

[0164] In some aspects, the representation of the region of the first image data is according to a first representation type; the representation of the region of the second image data is according to a second representation type; and the second representation type is different than the first representation type. For example, at block 1148, XR device 102 may display a region of the image captured at block 1144 according to a first representation type. At block 1154, XR device 102 may displayQualcomm Ref No 2504477WO 36the region of the image captured at block 1150 according to a second representation type.

[0165] In some aspects, the first representation type is associated with a first translucence; the second representation type is associated with a second translucence; and the first translucence is greater than the second translucence. For example, at block 1148, when displaying the region of the image data capture at block 1144, XR device 102 may display the region with a first degree of translucence. At block 1154, when displaying the region of the image data capture at block 1150, XR device 102 may display the region w ith a second, different degree of translucence.

[0166] In some aspects, the first representation type is associated with a first amount of blending between the virtual content and the representation of the region of the first image data; the second representation type is associated with a second amount of blending between the virtual content and the representation of the region of the second image data; and the first amount of blending is greater than the second amount of blending. For example, at block 1148, when displaying the region of the image data capture at block 1144, XR device 102 may display the region with a first amount of blending between the virtual content and the representation of the region. At block 1154, when displaying the region of the image data capture at block 1150, XR device 102 may display the region with a second, different amount of blending between the virtual content and the representation of the region.

[0167] In some aspects, the computing device (or one or more components thereof) may determine an action of the subject at a time associated with the second image data; and determine the second margin based on the action of the subject. For example, XR device 102 may determine that person 120 is performing an action based on the image captured at block 1150. At block 1152, XR device 102 may determine the second margin based on the action.

[0168] In some aspects, the action may be, or may include, speaking, walking, waving, and / or gesturing.

[0169] In some aspects, the computing device (or one or more components thereof) may determine a user input related to the second frame; and determine the second margin based on the user input. For example, XR device 102 may receive a user inputQualcomm Ref No 2504477WO 37at a time associated with the second image frame displayed at block 1148. XR device 102 may determine the second margin based on the user input.

[0170] In some aspects, the user input may be, or may include, a gesture, a gaze, speech, a touch, or a press of a button.

[0171] In some examples, as noted previously, the methods described herein (e.g., process 1100 of FIG. 11A, process 1120 of FIG. 11B, process 1140 of FIG. 11C and / or other methods described herein) can be performed, in whole or in part, by a computing device or apparatus. In one example, one or more of the methods can be performed by XR device 102 of FIG. 1 or by another system or device. In another example, one or more of the methods (e.g., process 1100, process 1120, process 1140 and / or other methods described herein) can be performed, in whole or in part, by the computing-device architecture 1400 shown in FIG. 14. For instance, a computing device with the computing-device architecture 1400 shown in FIG. 14 can include, or be included in, the components of the XR device 102 and can implement the operations of process 1100, process 1120, process 1140, and / or other process described herein. In some cases, the computing device or apparatus can include various components, such as one or more input devices, one or more output devices, one or more processors, one or more microprocessors, one or more microcomputers, one or more cameras, one or more sensors, and / or other component(s) that are configured to carry out the steps of processes described herein. In some examples, the computing device can include a display, a network interface configured to communicate and / or receive the data, any combination thereof, and / or other component(s). The network interface can be configured to communicate and / or receive Internet Protocol (IP) based data or other ty pe of data.

[0172] The components of the computing device can be implemented in circuitry. For example, the components can include and / or can be implemented using electronic circuits or other electronic hardware, which can include one or more programmable electronic circuits (e.g., microprocessors, graphics processing units (GPUs), digital signal processors (DSPs), central processing units (CPUs), and / or other suitable electronic circuits), and / or can include and / or be implemented using computer software, firmware, or any combination thereof, to perform the various operations described herein.Qualcomm Ref No 2504477WO 38

[0173] Process 1100, process 1120, process 1140, and / or other process described herein are illustrated as logical flow diagrams, the operation of which represents a sequence of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations. Generally, computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and / or in parallel to implement the processes.

[0174] Additionally, process 1100, process 1120, process 1140, and / or other process described herein can be performed under the control of one or more computer systems configured with executable instructions and can be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executing collectively on one or more processors, by hardware, or combinations thereof. As noted above, the code can be stored on a computer-readable or machine-readable storage medium, for example, in the form of a computer program comprising a plurality of instructions executable by one or more processors. The computer-readable or machine-readable storage medium can be non-transitory.

[0175] As noted above, various aspects of the present disclosure can use machinelearning models or systems.

[0176] FIG. 12 is an illustrative example of a neural network 1200 (e.g., a deeplearning neural network) that can be used to implement machine-learning based object detection, person detection, image segmentation, distance prediction, feature segmentation, implicit-neural-representation generation, rendering, classification, image recognition (e.g., face recognition, object recognition, scene recognition, etc.), feature extraction, authentication, gaze detection, gaze prediction, and / or automation.

[0177] An input layer 1202 includes input data. In one illustrative example, input layer 1202 can include data such as text data, numerical data, image data, audio data, video data, etc. Neural network 1200 includes multiple hidden layers, for example,Qualcomm Ref No 2504477WO 39hidden layers 1206a, 1206b, through 1206n. The hidden layers 1206a, 1206b, through hidden layer 1206n include “n” number of hidden layers, where “n” is an integer greater than or equal to one. The number of hidden layers can be made to include as many layers as needed for the given application. Neural network 1200 further includes an output layer 1204 that provides an output resulting from the processing performed by the hidden layers 1206a, 1206b, through 1206n. In one illustrative example, output layer 1204 can output data such as text data, numerical data, image data, audio data, video data, etc.

[0178] Neural network 1200 may be, or may include, a multi-layer neural network of interconnected nodes. Each node can represent a piece of information. Information associated with the nodes is shared among the different layers and each layer retains information as information is processed. In some cases, neural network 1200 can include a feed-forward network, in which case there are no feedback connections where outputs of the network are fed back into itself. In some cases, neural network 1200 can include a recurrent neural network, which can have loops that allow information to be carried across nodes while reading in input.

[0179] Information can be exchanged between nodes through node-to-node interconnections between the various layers. Nodes of input layer 1202 can activate a set of nodes in the first hidden layer 1206a. For example, as shown, each of the input nodes of input layer 1202 is connected to each of the nodes of the first hidden layer 1206a. The nodes of first hidden layer 1206a can transform the information of each input node by applying activation functions to the input node information. The information derived from the transformation can then be passed to and can activate the nodes of the next hidden layer 1206b, which can perform their own designated functions. Example functions include convolutional, up-sampling, data transformation, and / or any other suitable functions. The output of the hidden layer 1206b can then activate nodes of the next hidden layer, and so on. The output of the last hidden layer 1206n can activate one or more nodes of the output layer 1204, at which an output is provided. In some cases, while nodes (e.g., node 1208) in neural network 1200 are shown as having multiple output lines, anode has a single output and all lines shown as being output from a node represent the same output value.Qualcomm Ref No 2504477WO 40

[0180] In some cases, each node or interconnection between nodes can have a weight that is a set of parameters derived from the training of neural network 1200. Once neural network 1200 is trained, it can be referred to as a trained neural network, which can be used to perform one or more operations. For example, an interconnection between nodes can represent a piece of information learned about the interconnected nodes. The interconnection can have a tunable numeric weight that can be tuned (e.g., based on a training dataset), allowing neural network 1200 to be adaptive to inputs and able to leam as more and more data is processed.

[0181] Neural network 1200 may be pre-trained to process the features from the data in the input layer 1202 using the different hidden layers 1206a, 1206b, through 1206n in order to provide the output through the output layer 1204. In an example in which neural network 1200 is used to identify features in images, neural network 1200 can be trained using training data that includes both images and labels, as described above. For instance, training images can be input into the network, with each training image having a label indicating the features in the images (for the feature-segmentation machine-learning system) or a label indicating classes of an activity in each image. In one example using object classification for illustrative purposes, a training image can include an image of a number 2, in which case the label for the image can be [00 1 0000000],

[0182] In some cases, neural network 1200 can adjust the weights of the nodes using a training process called backpropagation. As noted above, a backpropagation process can include a forward pass, a loss function, a backward pass, and a weight update. The forward pass, loss function, backward pass, and parameter update are performed for one training iteration. The process can be repeated for a certain number of iterations for each set of training images until neural network 1200 is trained well enough so that the weights of the layers are accurately tuned.

[0183] For the example of identifying objects in images, the forward pass can include passing a training image through neural network 1200. The weights are initially randomized before neural network 1200 is trained. As an illustrative example, an image can include an array of numbers representing the pixels of the image. Each number in the array can include a value from 0 to 255 describing the pixel intensity at that position in the array. In one example, the array can include a 28 x 28 x 3 array of numbers with 28 rows and 28 columns of pixels and 3 colorQualcomm Ref No 2504477WO 41components (such as red, green, and blue, or luma and two chroma components, or the like).

[0184] As noted above, for a first training iteration for neural network 1200, the output will likely include values that do not give preference to any particular class due to the weights being randomly selected at initialization. For example, if the output is a vector with probabilities that the object includes different classes, the probability value for each of the different classes can be equal or at least very similar (e.g., for ten possible classes, each class can have a probability value of 0.1). With the initial weights, neural network 1200 is unable to determine low-level features and thus cannot make an accurate determination of what the classification of the object might be. A loss function can be used to analyze error in the output. Any suitable loss function definition can be used, such as a cross-entropy loss. Another example of a loss function includes the mean squared error (MSE), defined as Etotal= S - (target — output) . The loss can be set to be equal to the value ofEtotal.

[0185] The loss (or error) will be high for the first training images since the actual values will be much different than the predicted output. The goal of training is to minimize the amount of loss so that the predicted output is the same as the training label. Neural network 1200 can perform a backward pass by determining which inputs (weights) most contributed to the loss of the network and can adjust the weights so that the loss decreases and is eventually minimized. A derivative of the loss with respect to the weights (denoted as cZL / dW, where W are the weights at a particular layer) can be computed to determine the weights that contributed most to the loss of the network. After the derivative is computed, a weight update can be performed by updating all the weights of the filters. For example, the weights can be updated so that they change in the opposite direction of the gradient. The weight update can be denoted as w = wt— r / dL / dW , where w denotes a weight, wLdenotes the initial weight, and q denotes a learning rate. The learning rate can be set to any suitable value, with a high learning rate including larger weight updates and a lower value indicating smaller weight updates.

[0186] Neural network 1200 can include any suitable deep network. One example includes a convolutional neural network (CNN), which includes an input layer and an output layer, with multiple hidden layers between the input and out layers. TheQualcomm Ref No 2504477WO 42hidden layers of a CNN include a series of convolutional, nonlinear, pooling (for downsampling), and fully connected layers. Neural network 1200 can include any other deep network other than a CNN, such as an autoencoder, a deep belief nets (DBNs), a Recurrent Neural Networks (RNNs), among others.

[0187] FIG. 13 is an illustrative example of a convolutional neural network (CNN) 1300. The input layer 1302 of the CNN 1300 includes data representing an image or frame. For example, the data can include an array of numbers representing the pixels of the image, with each number in the array including a value from 0 to 255 describing the pixel intensity at that position in the array. Using the previous example from above, the array can include a 28 x 28 x 3 array of numbers with 28 rows and 28 columns of pixels and 3 color components (e.g.. red, green, and blue, or luma and two chroma components, or the like). The image can be passed through a convolutional hidden layer 1304, an optional non-linear activation layer, a pooling hidden layer 1306, and fully connected layer 1308 (which fully connected layer 1308 can be hidden) to get an output at the output layer 1310. While only one of each hidden layer is shown in FIG. 13, one of ordinary skill will appreciate that multiple convolutional hidden layers, non-linear layers, pooling hidden layers, and / or fully connected layers can be included in the CNN 1300. As previously described, the output can indicate a single class of an object or can include a probability of classes that best describe the object in the image.

[0188] The first layer of the CNN 1300 can be the convolutional hidden layer 1304. The convolutional hidden layer 1304 can analyze image data of the input layer 1302. Each node of the convolutional hidden layer 1304 is connected to a region of nodes (pixels) of the input image called a receptive field. The convolutional hidden layer 1304 can be considered as one or more filters (each filter corresponding to a different activation or feature map), with each convolutional iteration of a filter being anode or neuron of the convolutional hidden layer 1304. For example, the region of the input image that a filter covers at each convolutional iteration would be the receptive field for the filter. In one illustrative example, if the input image includes a 28x28 array, and each filter (and corresponding receptive field) is a 5x5 array, then there will be 24x24 nodes in the convolutional hidden layer 1304. Each connection between a node and a receptive field for that node leams a weight and, in some cases, an overall bias such that each node leams to analyze its particular local receptiveQualcomm Ref No 2504477WO 43field in the input image. Each node of the convolutional hidden layer 1304 will have the same weights and bias (called a shared weight and a shared bias). For example, the filter has an array of weights (numbers) and the same depth as the input. A filter will have a depth of 3 for an image frame example (according to three color components of the input image). An illustrative example size of the filter array is 5 x 5 x 3, corresponding to a size of the receptive field of a node.

[0189] The convolutional nature of the convolutional hidden layer 1304 is due to each node of the convolutional layer being applied to its corresponding receptive field. For example, a filter of the convolutional hidden layer 1304 can begin in the top-left comer of the input image array and can convolve around the input image. As noted above, each convolutional iteration of the filter can be considered a node or neuron of the convolutional hidden layer 1304. At each convolutional iteration, the values of the filter are multiplied with a corresponding number of the original pixel values of the image (e.g., the 5x5 filter array is multiplied by a 5x5 array of input pixel values at the top-left corner of the input image array). The multiplications from each convolutional iteration can be summed together to obtain a total sum for that iteration or node. The process is next continued at a next location in the input image according to the receptive field of a next node in the convolutional hidden layer 1304. For example, a filter can be moved by a step amount (referred to as a stride) to the next receptive field. The stride can be set to 1 or any other suitable amount. For example, if the stride is set to 1, the filter will be moved to the right by 1 pixel at each convolutional iteration. Processing the filter at each unique location of the input volume produces a number representing the filter results for that location, resulting in a total sum value being determined for each node of the convolutional hidden layer 1304.

[0190] The mapping from the input layer to the convolutional hidden layer 1304 is referred to as an activation map (or feature map). The activation map includes a value for each node representing the filter results at each location of the input volume. The activation map can include an array that includes the various total sum values resulting from each iteration of the filter on the input volume. For example, the activation map will include a 24 x 24 array if a 5 x 5 filter is applied to each pixel (a stride of 1) of a 28 x 28 input image. The convolutional hidden layer 1304 can include several activation maps in order to identify multiple features in an image. TheQualcomm Ref No 2504477WO 44example shown in FIG. 13 includes three activation maps. Using three activation maps, the convolutional hidden layer 1304 can detect three different kinds of features, with each feature being detectable across the entire image.

[0191] In some examples, a non-linear hidden layer can be applied after the convolutional hidden layer 1304. The non-linear layer can be used to introduce nonlinearity to a system that has been computing linear operations. One illustrative example of a non-linear layer is a rectified linear unit (ReLU) layer. A ReLU layer can apply the function f(x) = max(0, x) to all of the values in the input volume, which changes all the negative activations to 0. The ReLU can thus increase the non-linear properties of the CNN 1300 without affecting the receptive fields of the convolutional hidden layer 1304.

[0192] The pooling hidden layer 1306 can be applied after the convolutional hidden layer 1304 (and after the non-linear hidden layer when used). The pooling hidden layer 1306 is used to simplify the information in the output from the convolutional hidden layer 1304. For example, the pooling hidden layer 1306 can take each activation map output from the convolutional hidden layer 1304 and generates a condensed activation map (or feature map) using a pooling function. Max-pooling is one example of a function performed by a pooling hidden layer. Other forms of pooling functions be used by the pooling hidden layer 1306, such as average pooling, L2-norm pooling, or other suitable pooling functions. A pooling function (e.g., a max-pooling filter, an L2-norm filter, or other suitable pooling filter) is applied to each activation map included in the convolutional hidden layer 1304. In the example shown in FIG. 13, three pooling filters are used for the three activation maps in the convolutional hidden layer 1304.

[0193] In some examples, max-pooling can be used by applying a max-pooling filter (e.g., having a size of 2x2) with a stride (e g., equal to a dimension of the filter, such as a stride of 2) to an activation map output from the convolutional hidden layer 1304. The output from a max-pooling filter includes the maximum number in every sub-region that the filter convolves around. Using a 2x2 filter as an example, each unit in the pooling layer can summarize a region of 2x2 nodes in the previous layer (with each node being a value in the activation map). For example, four values (nodes) in an activation map will be analyzed by a 2x2 max-pooling filter at each iteration of the filter, with the maximum value from the four values being output asQualcomm Ref No 2504477WO 45the “max” value. If such a max-pooling filter is applied to an activation filter from the convolutional hidden layer 1304 having a dimension of 24x24 nodes, the output from the pooling hidden layer 1306 will be an array of 12x12 nodes.

[0194] In some examples, an L2-norm pooling filter could also be used. The L2-norm pooling filter includes computing the square root of the sum of the squares of the values in the 2x2 region (or other suitable region) of an activation map (instead of computing the maximum values as is done in max-pooling) and using the computed values as an output.

[0195] The pooling function (e.g., max-pooling, L2-norm pooling, or other pooling function) determines whether a given feature is found anywhere in a region of the image and discards the exact positional information. This can be done without affecting results of the feature detection because, once a feature has been found, the exact location of the feature is not as important as its approximate location relative to other features. Max-pooling (as well as other pooling methods) offer the benefit that there are many fewer pooled features, thus reducing the number of parameters needed in later layers of the CNN 1300.

[0196] The final layer of connections in the network is a fully-connected layer that connects every’ node from the pooling hidden layer 1306 to every one of the output nodes in the output layer 1310. Using the example above, the input layer includes 28 x 28 nodes encoding the pixel intensities of the input image, the convolutional hidden layer 1304 includes 3x24x24 hidden feature nodes based on application of a 5x5 local receptive field (for the filters) to three activation maps, and the pooling hidden layer 1306 includes a layer of 3x12x12 hidden feature nodes based on application of max-pooling filter to 2x2 regions across each of the three feature maps. Extending this example, the output layer 1310 can include ten output nodes. In such an example, every' node of the 3x12x12 pooling hidden layer 1306 is connected to every’ node of the output layer 1310.

[0197] The fully connected layer 1308 can obtain the output of the previous pooling hidden layer 1306 (which should represent the activation maps of high-level features) and determines the features that most correlate to a particular class. For example, the fully connected layer 1308 can determine the high-level features that most strongly correlate to a particular class and can include weights (nodes) for the high-levelQualcomm Ref No 2504477WO 46features. A product can be computed between the weights of the fully connected layer 1308 and the pooling hidden layer 1306 to obtain probabilities for the different classes. For example, if the CNN 1300 is being used to predict that an object in an image is a person, high values will be present in the activation maps that represent high-level features of people (e.g., two legs are present, a face is present at the top of the object, two eyes are present at the top left and top right of the face, a nose is present in the middle of the face, a mouth is present at the bottom of the face, and / or other features common for a person).

[0198] In some examples, the output from the output layer 1310 can include an M-dimensional vector (in the prior example, M=10). M indicates the number of classes that the CNN 1300 has to choose from when classifying the object in the image. Other example outputs can also be provided. Each number in the M-dimensional vector can represent the probability the object is of a certain class. In one illustrative example, if a 10-dimensional output vector represents ten different classes of objects is [0 00.05 0.800.150000], the vector indicates that there is a 5% probability that the image is the third class of object (e.g., a dog), an 80% probability that the image is the fourth class of object (e.g., a human), and a 15% probability that the image is the sixth class of object (e.g., a kangaroo). The probability for a class can be considered a confidence level that the object is part of that class.

[0199] FIG. 14 illustrates an example computing-device architecture 1400 of an example computing device which can implement the various techniques described herein. In some examples, the computing device can include a mobile device, a wearable device, an extended reality device (e.g., a virtual reality (VR) device, an augmented reality (AR) device, or a mixed reality (MR) device), a personal computer, a laptop computer, a video server, a vehicle (or computing device of a vehicle), or other device. For example, the computing-device architecture 1400 may include, implement, or be included in any or all of XR device 102 of FIG. 1 and / or other devices, modules, or systems described herein. Additionally or alternatively, computing-device architecture 1400 may be configured to perform process 1100, process 1120, process 1140, and / or other process described herein.

[0200] The components of computing-device architecture 1400 are shown in electrical communication with each other using connection 1412, such as a bus. The example computing-device architecture 1400 includes a processing unit (CPU orQualcomm Ref No 2504477WO 47processor) 1402 and computing device connection 1412 that couples various computing device components including computing device memory 1410, such as read only memory (ROM) 1408 and random-access memory (RAM) 1406, to processor 1402.

[0201] Computing-device architecture 1400 can include a cache of high-speed memory connected directly with, in close proximity to, or integrated as part of processor 1402. Computing-device architecture 1400 can copy data from memory 1410 and / or the storage device 1414 to cache 1404 for quick access by processor 1402. In this way, the cache can provide a performance boost that avoids processor 1402 delays while waiting for data. These and other modules can control or be configured to control processor 1402 to perform various actions. Other computing device memory 1410 may be available for use as well. Memory 1410 can include multiple different types of memory' with different performance characteristics. Processor 1402 can include any general-purpose processor and a hardware or software service, such as service 1 1416. service 2 1418. and service 3 1420 stored in storage device 1414, configured to control processor 1402 as well as a special-purpose processor where software instructions are incorporated into the processor design. Processor 1402 may be a self-contained system, containing multiple cores or processors, a bus, memory controller, cache, etc. A multi-core processor may be symmetric or asymmetric.

[0202] To enable user interaction with the computing-device architecture 1400, input device 1422 can represent any number of input mechanisms, such as a microphone for speech, a touch-sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth. Output device 1424 can also be one or more of a number of output mechanisms known to those of skill in the art, such as a display, projector, television, speaker device, etc. In some instances, multimodal computing devices can enable a user to provide multiple types of input to communicate with computing-device architecture 1400. Communication interface 1426 can generally govern and manage the user input and computing device output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.Qualcomm Ref No 2504477WO 48

[0203] Storage device 1414 is a non-volatile memory and can be a hard disk or other types of computer readable media which can store data that are accessible by a computer, such as magnetic cassettes, flash memory cards, solid state memory devices, digital versatile discs (DVDs), cartridges, random-access memories (RAMs) 1406. read only memory (ROM) 1408, and hybrids thereof. Storage device 1414 can include services 1416, 1418, and 1420 for controlling processor 1402. Other hardware or software modules are contemplated. Storage device 1414 can be connected to the computing device connection 1412. In one aspect, a hardware module that performs a particular function can include the software component stored in a computer-readable medium in connection with the necessary hardware components, such as processor 1402, connection 1412, output device 1424, and so forth, to carry out the function.

[0204] The term ‘'substantially,” in reference to a given parameter, property, or condition, may refer to a degree that one of ordinary skill in the art would understand that the given parameter, property, or condition is met with a small degree of variance, such as, for example, within acceptable manufacturing tolerances. By way of example, depending on the particular parameter, property7, or condition that is substantially met, the parameter, property, or condition may be at least 90% met, at least 95% met, or even at least 99% met.

[0205] Aspects of the present disclosure are applicable to any suitable electronic device (such as security systems, smartphones, tablets, laptop computers, vehicles, drones, or other devices) including or coupled to one or more active depth sensing systems. While described below with respect to a device having or coupled to one light projector, aspects of the present disclosure are applicable to devices having any number of light projectors and are therefore not limited to specific devices.

[0206] The term “device” is not limited to one or a specific number of physical objects (such as one smartphone, one controller, one processing system and so on). As used herein, a device may be any electronic device with one or more parts that may implement at least some portions of this disclosure. While the below description and examples use the term “device” to describe various aspects of this disclosure, the term “device” is not limited to a specific configuration, type, or number of objects. Additionally, the term “system” is not limited to multiple components or specific aspects. For example, a system may be implemented on one or more printed circuitQualcomm Ref No 2504477WO 49boards or other substrates and may have movable or static components. While the below description and examples use the term ‘'system” to describe various aspects of this disclosure, the term “system” is not limited to a specific configuration, type, or number of objects.

[0207] Specific details are provided in the description above to provide a thorough understanding of the aspects and examples provided herein. However, it will be understood by one of ordinary skill in the art that the aspects may be practiced without these specific details. For clarity of explanation, in some instances the present technology may be presented as including individual functional blocks including functional blocks including devices, device components, steps or routines in a method embodied in software, or combinations of hardware and software. Additional components may be used other than those shown in the figures and / or described herein. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the aspects in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the aspects.

[0208] Individual aspects may be described above as a process or method which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination can correspond to a return of the function to the calling function or the main function.

[0209] Processes and methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer-readable media. Such instructions can include, for example, instructions and data which cause or otherwise configure a general-purpose computer, special purpose computer, or a processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries,Qualcomm Ref No 2504477WO 50intermediate format instructions such as assembly language, firmware, source code, etc.

[0210] The term ’‘computer-readable medium” includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other mediums capable of storing, containing, or carry ing instruction(s) and / or data. A computer-readable medium may include a non-transitory medium in which data can be stored and that does not include carrier waves and / or transitory electronic signals propagating wirelessly or over wired connections. Examples of a non-transitory medium may include, but are not limited to, a magnetic disk or tape, optical storage media such as compact disk (CD) or digital versatile disk (DVD), flash memory', magnetic or optical disks, USB devices provided with non-volatile memory, networked storage devices, any suitable combination thereof, among others. A computer-readable medium may have stored thereon code and / or machine-executable instructions that may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and / or receiving information, data, arguments, parameters, or memory' contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, or the like.

[0211] In some aspects the computer- readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like. However, when mentioned, non-transitory' computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.

[0212] Devices implementing processes and methods according to these disclosures can include hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof, and can take any of a variety' of form factors. When implemented in software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks (e.g., a computerprogram product) may be stored in a computer- readable or machine-readable medium. A processor(s) may perform the necessary' tasks. Typical examples of formQualcomm Ref No 2504477WO 51factors include laptops, smart phones, mobile phones, tablet devices or other small form factor personal computers, personal digital assistants, rackmount devices, standalone devices, and so on. Functionality described herein also can be embodied in peripherals or add-in cards. Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.

[0213] The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are example means for providing the functions described in the disclosure.

[0214] In the foregoing description, aspects of the application are described with reference to specific aspects thereof, but those skilled in the art will recognize that the application is not limited thereto. Thus, while illustrative aspects of the application have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed, and that the appended claims are intended to be construed to include such variations, except as limited by the prior art. Various features and aspects of the above-described application may be used individually or jointly. Further, aspects can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. For the purposes of illustration, methods were described in a particular order. It should be appreciated that in alternate aspects, the methods may be performed in a different order than that described.

[0215] One of ordinary skill will appreciate that the less than (“<”) and greater than (“>”) symbols or terminology used herein can be replaced with less than or equal to (“<”) and greater than or equal to (“>”) symbols, respectively, without departing from the scope of this description.

[0216] Where components are described as being "configured to’' perform certain operations, such configuration can be accomplished, for example, by designing electronic circuits or other hardware to perform the operation, by programming programmable electronic circuits (e.g., microprocessors, or other suitable electronic circuits) to perform the operation, or any combination thereof.Qualcomm Ref No 2504477WO 52

[0217] The phrase "coupled to” refers to any component that is physically connected to another component either directly or indirectly, and / or any component that is in communication with another component (e.g., connected to the other component over a wired or wireless connection, and / or other suitable communication interface) either directly or indirectly.

[0218] Claim language or other language reciting “at least one of’ a set and / or “one or more” of a set indicates that one member of the set or multiple members of the set (in any combination) satisfy the claim. For example, claim language reciting “at least one of A and B” or “at least one of A or B” means A, B, or A and B. In another example, claim language reciting “at least one of A, B, and C” or “at least one of A, B, or C” means A, B, C, or A and B. or A and C, or B and C, A and B and C. or any duplicate information or data (e.g., A and A, B and B, C and C, A and A and B, and so on), or any other ordering, duplication, or combination of A, B, and C. The language “at least one of a set and / or “one or more” of a set does not limit the set to the items listed in the set. For example, claim language reciting “at least one of A and B” or “at least one of A or B” may mean A, B, or A and B, and may additionally include items not listed in the set of A and B. The phrases “at least one” and “one or more” are used interchangeably herein.

[0219] Claim language or other language reciting “at least one processor configured to,” “at least one processor being configured to,” “one or more processors configured to,” “one or more processors being configured to,” or the like indicates that one processor or multiple processors (in any combination) can perform the associated operation(s). For example, claim language reciting “at least one processor configured to: X, Y, and Z” means a single processor can be used to perform operations X, Y, and Z; or that multiple processors are each tasked with a certain subset of operations X, Y. and Z such that together the multiple processors perform X, Y, and Z; or that a group of multiple processors work together to perform operations X, Y, and Z. In another example, claim language reciting “at least one processor configured to: X, Y, and Z” can mean that any single processor may only perform at least a subset of operations X, Y. and Z.

[0220] Where reference is made to one or more elements performing functions (e.g.. steps of a method), one element may perform all functions, or more than one element may collectively perform the functions. When more than one elementQualcomm Ref No 2504477WO 53collectively performs the functions, each function need not be performed by each of those elements (e.g., different functions may be performed by different elements) and / or each function need not be performed in whole by only one element (e.g., different elements may perform different sub-functions of a function). Similarly, where reference is made to one or more elements configured to cause another element (e.g., an apparatus) to perform functions, one element may be configured to cause the other element to perform all functions, or more than one element may collectively be configured to cause the other element to perform the functions.

[0221] Where reference is made to an entity (e.g., any entity or device described herein) performing functions or being configured to perform functions (e.g., steps of a method), the entity may be configured to cause one or more elements (individually or collectively) to perform the functions. The one or more components of the entity may include at least one memory, at least one processor, at least one communication interface, another component configured to perform one or more (or all) of the functions, and / or any combination thereof. Where reference to the entity performing functions, the entity may be configured to cause one component to perform all functions, or to cause more than one component to collectively perform the functions. When the entity is configured to cause more than one component to collectively perform the functions, each function need not be performed by each of those components (e.g.. different functions may be performed by different components) and / or each function need not be performed in whole by only one component (e.g., different components may perform different sub-functions of a function).

[0222] The various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the aspects disclosed herein may be implemented as electronic hardware, computer software, firmware, or combinations thereof. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality' is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.Qualcomm Ref No 2504477WO 54

[0223] The techniques described herein may also be implemented in electronic hardware, computer software, firmware, or any combination thereof. Such techniques may be implemented in any of a variety of devices such as general-purposes computers, wireless communication device handsets, or integrated circuit devices having multiple uses including application in wireless communication device handsets and other devices. Any features described as modules or components may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices. If implemented in software, the techniques may be realized at least in part by a computer-readable data storage medium including program code including instructions that, when executed, performs one or more of the methods described above. The computer-readable data storage medium may form part of a computer program product, which may include packaging materials. The computer-readable medium may include memory or data storage media, such as random-access memory (RAM) such as synchronous dynamic random-access memory (SDRAM), read-only memory (ROM), non-volatile random-access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic or optical data storage media, and the like. The techniques additionally, or alternatively, may be realized at least in part by a computer-readable communication medium that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and / or executed by a computer, such as propagated signals or waves.

[0224] The program code may be executed by a processor, which may include one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, an application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Such a processor may be configured to perform any of the techniques described in this disclosure. A general-purpose processor may be a microprocessor; but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, such as, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Accordingly, the term “processor,” as used herein may refer to any of the foregoing structure, anyQualcomm Ref No 2504477WO 55combination of the foregoing structure, or any other structure or apparatus suitable for implementation of the techniques described herein.

[0225] Illustrative aspects of the disclosure include:

[0226] Aspect 1. An apparatus for displaying virtual content, the apparatus comprising: at least one memory: and at least one processor coupled to the at least one memory and configured to: output a first frame for display, the first frame comprising virtual content; receive first image data representing a real-world scene including a subject; determine a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject; output a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data; receive second image data representing the real-world scene including the subject; determine a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and output a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

[0227] Aspect 2. The apparatus of aspect 1, wherein the at least one processor is configured to: determine a first distance between the apparatus and the subject, wherein the first distance is associated with the first image data, wherein the region of the first image data is determined based on the first distance; and determine a second distance between the apparatus and the subject, wherein the second distance is associated with the second image data, wherein the region of the second image data is determined based on the second distance.

[0228] Aspect 3. The apparatus of any one of aspects 1 or 2, wherein the at least one processor is configured to: determine a size of the subject in the first image data, wherein the region of the first image data is determined based on the size of the subject in the first image data; and determine a size of the subject in the second image data, wherein the region of the second image data is determined based on the size of the subject in the second image data.

[0229] Aspect 4. The apparatus of any one of aspects 1 to 3, wherein the at least one processor is configured to: determine the region of the first image data based onQualcomm Ref No 2504477WO 56the first margin; and determine the region of the second image data based on the second margin.

[0230] Aspect 5. The apparatus of any one of aspects 1 to 4, wherein: the representation of the region of the first image data is according to a first representation ty pe; the representation of the region of the second image data is according to a second representation type: and the second representation type is different than the first representation type.

[0231] Aspect 6. The apparatus of aspect 5, wherein: the first representation t pe is associated with a first translucence: the second representation type is associated with a second translucence: and the first translucence is greater than the second translucence.

[0232] Aspect 7. The apparatus of any one of aspects 5 or 6, wherein: the first representation ty pe is associated with a first amount of blending between the virtual content and the representation of the region of the first image data; the second representation type is associated with a second amount of blending between the virtual content and the representation of the region of the second image data; and the first amount of blending is greater than the second amount of blending.

[0233] Aspect 8. The apparatus of any one of aspects 1 to 7, wherein, to identify the region of the first image data, the at least one processor is configured to: identify a segment of the first image data that represents the subject; and determine a shape based on segment and the first margin.

[0234] Aspect 9. The apparatus of any one of aspects 1 to 8, wherein the at least one processor is configured to: determine a first distance between the apparatus and the subject, wherein the first distance is associated with the first image data; determine the first margin based on the first distance; determine a second distance between the apparatus and the subject, wherein the second distance is associated with the second image data: and determine the second margin based on the second distance.

[0235] Aspect 10. The apparatus of any one of aspects 1 to 9, wherein the at least one processor is configured to: determine a size of the subject in the first image data; determine the first margin based on the size of the subject in the first image data;Qualcomm Ref No 2504477WO 57determine a size of the subject in the second image data; and determine the second margin based on the size of the subject in the second image data.

[0236] Aspect 11. The apparatus of any one of aspects 1 to 10, wherein the at least one processor is configured to: determine an action of the subject at a time associated with the second image data; and determine the second margin based on the action of the subject.

[0237] Aspect 12. The apparatus of aspect 11, wherein the action comprises at least one of: speaking; walking; waving; or gesturing.

[0238] Aspect 13. The apparatus of any one of aspects 1 to 12, wherein the at least one processor is configured to: determine a user input related to the second frame; and determine the second margin based on the user input.

[0239] Aspect 14. The apparatus of aspect 13, wherein the user input comprises at least one of: a gesture; a gaze; speech; a touch; or a press of a button.

[0240] Aspect 15. A method for displaying virtual content, the method comprising: outputting a first frame for display, the first frame comprising virtual content; receiving first image data representing a real-world scene including a subject; determining a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject; outputting a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data; receiving second image data representing the real-world scene including the subject; determining a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and outputting a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

[0241] Aspect 16. The method of aspect 15, further comprising: determining a first distance between the method and the subject, wherein the first distance is associated with the first image data, wherein the region of the first image data is determined based on the first distance; and determining a second distance between the method and the subject, wherein the second distance is associated with the second image data,Qualcomm Ref No 2504477WO 58wherein the region of the second image data is determined based on the second distance.

[0242] Aspect 17. The method of any one of aspects 15 or 16, further comprising: determining a size of the subject in the first image data, wherein the region of the first image data is determined based on the size of the subject in the first image data; and determining a size of the subject in the second image data, wherein the region of the second image data is determined based on the size of the subject in the second image data.

[0243] Aspect 18. The method of any one of aspects 15 to 17, further comprising: determining the region of the first image data based on the first margin; and determining the region of the second image data based on the second margin.

[0244] Aspect 19. The method of any one of aspects 15 to 18, wherein: the representation of the region of the first image data is according to a first representation type; the representation of the region of the second image data is according to a second representation type; and the second representation type is different than the first representation type.

[0245] Aspect 20. The method of aspect 19, wherein: the first representation type is associated with a first translucence; the second representation ty pe is associated with a second translucence; and the first translucence is greater than the second translucence.

[0246] Aspect 21. The method of any one of aspects 19 or 20, wherein: the first representation type is associated with a first amount of blending between the virtual content and the representation of the region of the first image data; the second representation type is associated with a second amount of blending between the virtual content and the representation of the region of the second image data; and the first amount of blending is greater than the second amount of blending.

[0247] Aspect 22. The method of any one of aspects 15 to 21, wherein identifying the region of the first image data comprises: identifying a segment of the first image data that represents the subject; and determining a shape based on segment and the first margin.

[0248] Aspect 23. The method of any one of aspects 15 to 22, further comprising: determining a first distance between the method and the subject, wherein the firstQualcomm Ref No 2504477WO 59distance is associated with the first image data; determining the first margin based on the first distance; determining a second distance between the method and the subject, wherein the second distance is associated with the second image data; and determining the second margin based on the second distance.

[0249] Aspect 24. The method of any one of aspects 15 to 23, further comprising: determining a size of the subject in the first image data; determining the first margin based on the size of the subject in the first image data; determining a size of the subject in the second image data; and determining the second margin based on the size of the subject in the second image data.

[0250] Aspect 25. The method of any one of aspects 15 to 24, further comprising: determining an action of the subject at a time associated with the second image data; and determining the second margin based on the action of the subject.

[0251] Aspect 26. The method of aspect 25, wherein the action comprises at least one of: speaking; walking; waving; or gesturing.

[0252] Aspect 27. The method of any one of aspects 15 to 26, further comprising: determining a user input related to the second frame; and determining the second margin based on the user input.

[0253] Aspect 28. The method of aspect 27, wherein the user input comprises at least one of: a gesture; a gaze; speech; a touch; or a press of a button.

[0254] Aspect 29. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by at least one processor, cause the at least one processor to perform operations according to any of aspects 15 to 28.

[0255] Aspect 30. An apparatus for displaying virtual content, the apparatus comprising one or more means for perform operations according to any of aspects 15 to 28.

Claims

Qualcomm Ref No 2504477WO 60CLAIMS WHAT IS CLAIMED IS:

1. An apparatus for displaying virtual content, the apparatus comprising: at least one memory; andat least one processor coupled to the at least one memory and configured to: output a first frame for display, the first frame comprising virtual content; receive first image data representing a real-world scene including a subject;determine a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subject;output a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data;receive second image data representing the real-world scene including the subj ect;determine a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; andoutput a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

2. The apparatus of claim 1, wherein the at least one processor is configured to:determine a first distance between the apparatus and the subject, wherein the first distance is associated with the first image data, wherein the region of the first image data is determined based on the first distance; anddetermine a second distance between the apparatus and the subject, wherein the second distance is associated with the second image data, wherein the region of the second image data is determined based on the second distance.Qualcomm Ref No 2504477WO 613. The apparatus of claim 1, wherein the at least one processor is configured to:determine a size of the subject in the first image data, wherein the region of the first image data is determined based on the size of the subject in the first image data; and determine a size of the subject in the second image data, wherein the region of the second image data is determined based on the size of the subject in the second image data.

4. The apparatus of claim 1, wherein the at least one processor is configured to:determine the region of the first image data based on the first margin; and determine the region of the second image data based on the second margin.

5. The apparatus of claim 1, wherein:the representation of the region of the first image data is according to a first representation type;the representation of the region of the second image data is according to a second representation type; andthe second representation type is different than the first representation type.

6. The apparatus of claim 5, wherein:the first representation ty pe is associated with a first translucence;the second representation type is associated with a second translucence; and the first translucence is greater than the second translucence.

7. The apparatus of claim 5, wherein:the first representation type is associated with a first amount of blending between the virtual content and the representation of the region of the first image data;the second representation type is associated with a second amount of blending between the virtual content and the representation of the region of the second image data; andthe first amount of blending is greater than the second amount of blending.

8. The apparatus of claim 1, wherein, to identify the region of the first image data, the at least one processor is configured to:Qualcomm Ref No 2504477WO 62identify a segment of the first image data that represents the subject; and determine a shape based on segment and the first margin.

9. The apparatus of claim 1, wherein the at least one processor is configured to:determine a first distance between the apparatus and the subject, wherein the first distance is associated with the first image data;determine the first margin based on the first distance;determine a second distance between the apparatus and the subject, wherein the second distance is associated with the second image data; anddetermine the second margin based on the second distance.

10. The apparatus of claim 1, wherein the at least one processor is configured to:determine a size of the subject in the first image data;determine the first margin based on the size of the subject in the first image data; determine a size of the subject in the second image data; anddetermine the second margin based on the size of the subject in the second image data.

11. The apparatus of claim 1 , wherein the at least one processor is configured to:determine an action of the subject at a time associated with the second image data; anddetermine the second margin based on the action of the subject.

12. The apparatus of claim 11, wherein the action comprises at least one of: speaking;walking;waving; orgesturing.

13. The apparatus of claim 1, wherein the at least one processor is configured to:Qualcomm Ref No 2504477WO 63determine a user input related to the second frame; anddetermine the second margin based on the user input.

14. The apparatus of claim 13, wherein the user input comprises at least one of:a gesture;a gaze;speech;a touch; ora press of a button.

15. A method for displaying virtual content, the method comprising: outputting a first frame for display, the first frame comprising virtual content; receiving first image data representing a real-world scene including a subject; determining a region of the first image data, the region of the first image data including at least a portion of the subject and a first margin around the portion of the subj ect;outputting a second frame for display, the second frame comprising the virtual content and a representation of the region of the first image data;receiving second image data representing the real-world scene including the subj ect;determining a region of the second image data, the region of the second image data including at least the portion of the subject and a second margin around the portion of the subject, the second margin being different than the first margin; and outputting a third frame for display, the third frame comprising the virtual content and a representation of the region of the second image data.

16. The method of claim 15, further comprising:determining a first distance between the method and the subject, wherein the first distance is associated with the first image data, wherein the region of the first image data is determined based on the first distance; anddetermining a second distance between the method and the subject, wherein the second distance is associated with the second image data, wherein the region of the second image data is determined based on the second distance.Qualcomm Ref No 2504477WO 6417. The method of claim 15, further comprising:determining a size of the subject in the first image data, wherein the region of the first image data is determined based on the size of the subject in the first image data; and determining a size of the subject in the second image data, wherein the region of the second image data is determined based on the size of the subject in the second image data.

18. The method of claim 15, further comprising:determining the region of the first image data based on the first margin; and determining the region of the second image data based on the second margin.

19. The method of claim 15, wherein:the representation of the region of the first image data is according to a first representation type;the representation of the region of the second image data is according to a second representation type; andthe second representation type is different than the first representation type.

20. The method of claim 19, wherein:the first representation ty pe is associated with a first translucence;the second representation type is associated with a second translucence; and the first translucence is greater than the second translucence.