Extended reality image capture

A gesture-based visual context selection system in XR devices enables precise interaction and efficient processing by using a two-handed pinch-and-spread gesture to define regions of interest, addressing misalignment and improving interaction accuracy.

US20260376641A1Pending Publication Date: 2026-11-26SNAP INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/215902
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

XR devices face challenges in providing intuitive and efficient ways for users to interact with their environment due to wide-angle cameras capturing large field-of-view images that lack focused context, leading to inefficient processing, reduced accuracy, and misalignment between display and camera centers, which complicates object selection and interaction.

Method used

Implementing a gesture-based visual context selection system using a two-handed pinch-and-spread gesture to define a spatial region of interest, along with transformations to maintain alignment and a multi-modal interaction framework for processing and sharing captured content.

Benefits of technology

Enhances user interaction efficiency and accuracy by allowing precise definition of field-of-view areas, reducing processing requirements, and improving response accuracy through focused visual context processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260376641A1-D00000_ABST
    Figure US20260376641A1-D00000_ABST
Patent Text Reader

Abstract

An extended Reality (XR) device is provided for capturing images within an XR environment. The XR device detects a predefined hand gesture performed by at least one hand of a user. In response to detecting the predefined hand gesture, the XR device activates a crop mode and tracks movement of the at least one hand to define a crop region within a field of view of the XR device. The XR device adjusts the crop region based on an orientation of the XR device and captures image data corresponding to the crop region and processes the image data. The XR device presents, via a display of the XR device, at least one interactive option for interacting with the processed image data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates generally to user input devices and, more particularly, gesture inputs used for extended reality.BACKGROUND

[0002] A head-wearable apparatus can be implemented with a transparent or semi-transparent display through which a user of the head-wearable apparatus can view the surrounding environment. Such head-wearable apparatuses enable a user to see through the transparent or semi-transparent display to view the surrounding environment, and to also see objects (e.g., objects such as a rendering of a 2D or 3D graphic model, images, video, text, and so forth) that are generated for display to appear as a part of, and / or overlaid upon, the surrounding environment. This is typically referred to as “augmented reality” or “AR.” A head-wearable apparatus can additionally completely occlude a user's visual field and display a virtual environment through which a user can move or be moved. This is typically referred to as “virtual reality” or “VR.” In a hybrid form, a view of the surrounding environment is captured using cameras, and then that view is displayed along with augmentation to the user on displays the occlude the user's eyes. As used herein, the term eXtended Reality (XR) refers to augmented reality, virtual reality and any hybrids of these technologies unless the context indicates otherwise.

[0003] A user of the head-wearable apparatus can access and use a computer software application to perform various tasks or engage in an activity. To use the computer software application, the user may make hand gestures to provide inputs to the head-wearable apparatus.BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

[0004] In the drawings, which are not necessarily drawn to scale, like numerals can describe similar components in different views. To easily identify the discussion of any particular element or act, the most significant digit or digits in a reference number refer to the figure number in which that element is first introduced. Some non-limiting examples are illustrated in the figures of the accompanying drawings in which:

[0005] FIG. 1A is a perspective view of an XR device in a form of a head-wearable apparatus, according to some examples.

[0006] FIG. 1B illustrates a further view of the head-wearable apparatus of FIG. 1A, according to some examples.

[0007] FIG. 2 illustrates a system in which the head-wearable apparatus is operably connected to a mobile device, according to some examples.

[0008] FIG. 3 is a diagrammatic representation of a machine in the form of a computer system, according to some examples.

[0009] FIG. 4 is a block diagram showing a software architecture, according to some examples.

[0010] FIG. 5A illustrates a collaboration diagram of components of an XR device, according to some examples.

[0011] FIG. 5B illustrates an image capture method of an image capture mode, according to some examples.

[0012] FIG. 6A, FIG. 6B, and FIG. 6C illustrate a user dialog for an image capture, according to some examples.

[0013] FIG. 7A illustrates a machine-learning pipeline, according to some examples.

[0014] FIG. 7B illustrates training and use of a machine-learning program, according to some examples.

[0015] FIG. 8A illustrates a networked environment, according to some examples.

[0016] FIG. 8B is a diagrammatic representation of a digital interaction system that has both client-side and server-side functionality, according to some examples.DETAILED DESCRIPTION

[0017] Augmented reality (AR) glasses have become increasingly sophisticated, offering users the ability to view and interact with digital content overlaid on the real world. However, these devices face significant challenges in providing intuitive and efficient ways for users to interact with their environment. One particular challenge arises from the wide-angle cameras typically used in AR glasses, which capture large field-of-view images that lack focused context. This makes it difficult for users to isolate specific objects of interest within their field of view.

[0018] When users want to analyze or interact with a specific object or area in their field of view, the wide-angle capture includes excessive information that creates several problems. The lack of focused context makes processing slower and less efficient, requires more computational resources, and reduces accuracy due to ambiguous context. Traditional XR interfaces lack intuitive mechanisms for users to specify which portion of their field of view they want to interact with, resulting in inefficient processing and reduced accuracy in visual analysis.

[0019] Another significant challenge is the physical offset between the display (centered in user's vision) and cameras (on the sides of glasses), which creates alignment challenges for accurate cropping and interaction. This misalignment can lead to confusion and frustration for users attempting to select specific content within their field of view.

[0020] Furthermore, XR systems should use input gestures that are intentional enough to avoid false positives but natural enough for easy user adoption, especially at the system level.

[0021] Current XR interfaces also lack effective ways to provide specific visual context to an external resource to get more relevant and accurate responses. When sending entire wide-angle images to for analysis, the results are often less precise and take longer to process than if the external resource could focus on just the relevant portion of the image.

[0022] These limitations significantly impact the user experience and utility of XR devices, restricting their potential as tools for information gathering, analysis, and interaction. Users need a more intuitive and efficient way to specify exactly which parts of their field of view they want to interact with, and XR systems need better mechanisms to process this focused visual information.

[0023] The methodologies described in this disclosure provide an innovative solution to the challenges faced in XR environments by implementing a gesture-based visual context selection system that enables users to precisely define and capture specific areas within their field of view. In some examples, the methodologies include a two-handed pinch-and-spread gesture that allows users to intuitively frame objects of interest in a dynamic XR environment. This ameliorates the problem of context selection in wide-angle XR camera views by enabling users to explicitly define a spatial region of interest using natural hand gestures. This creates a direct mapping between physical hand movements and digital content selection, establishing a clear user intent signal that triggers a contextual processing pipeline.

[0024] In some examples, the methodologies provide for maintaining proper spatial alignment between the user's perspective, the physical cameras of an XR device, and a digital overlay by implementing transformations that account for head movement and the physical offset between cameras and display. This ensures that the crop region remains properly aligned with the object of interest even as the user's head position changes.

[0025] In some examples, after capturing the cropped image, the methodologies provide for a multi-modal interaction framework with options for sharing, web searching, or voice interaction, allowing users to immediately process, analyze, and act upon the captured content through an integrated system of external resources, web connectivity, and social sharing capabilities. This improves the efficiency and accuracy of visual context processing in XR environments by sending only the relevant portion to external resources, reducing processing requirements and improving response accuracy.

[0026] In an example, an XR device detects a predefined hand gesture performed by at least one hand of a user. In response to detecting the predefined hand gesture, the XR device activates a crop mode and tracks movement of the at least one hand to define a crop region within a field of view of the XR device. The XR device adjusts the crop region based on an orientation of the XR device and captures image data corresponding to the crop region and processes the image data. The XR device presents, via a display of the XR device, at least one interactive option for interacting with the processed image data.

[0027] Other technical features can be readily apparent to one skilled in the art from the following figures, descriptions, and claims.

[0028] FIG. 1A is a perspective view of an XR device in a form of a head-wearable apparatus 100 according to some examples. The head-wearable apparatus 100 can include a frame 102 made from any suitable material such as plastic or metal, including any suitable shape memory alloy. In one or more examples, the frame 102 includes a first or left optical element holder 104 (e.g., a display or lens holder) and a second or right optical element holder 106 connected by a bridge 112. A first or left optical element 108 and a second or right optical element 110 can be provided within respective left optical element holder 104 and right optical element holder 106. The right optical element 110 and the left optical element 108 can be a lens, a display, a display assembly, or a combination of the foregoing. Any suitable display assembly can be provided in the head-wearable apparatus 100.

[0029] The frame 102 additionally includes a left arm or left temple piece 122 and a right arm or right temple piece 124. In some examples, the frame 102 can be formed from a single piece of material so as to have a unitary or integral construction.

[0030] The head-wearable apparatus 100 can include a computing device, such as a computer 120, which can be of any suitable type so as to be carried by the frame 102 and, in one or more examples, of a suitable size and shape, so as to be partially disposed in one of the left temple piece 122 or the right temple piece 124. The computer 120 can include one or more processors with memory, wireless communication circuitry, and a power source. As discussed below, the computer 120 comprises low-power circuitry 224, high-speed circuitry 226, and a display processor. Various other examples can include these elements in different configurations or integrated together in different ways. Additional details of aspects of the computer 120 can be implemented as illustrated by the machine 300 discussed herein.

[0031] The computer 120 additionally includes a battery 118 or other suitable portable power supply. In some examples, the battery 118 is disposed in left temple piece 122 and is electrically coupled to the computer 120 disposed in the right temple piece 124. The head-wearable apparatus 100 can include a connector or port (not shown) suitable for charging the battery 118, a wireless receiver, transmitter or transceiver (not shown), or a combination of such devices.

[0032] The head-wearable apparatus 100 includes a first or left camera 114 and a second or right camera 116. Although two cameras are depicted, other examples contemplate the use of a single or additional cameras (e.g., two or more cameras).

[0033] In some examples, the head-wearable apparatus 100 includes any number of input sensors or other input / output devices in addition to the left camera 114 and the right camera 116. Such sensors or input / output devices can additionally include biometric sensors, location sensors, motion sensors, and so forth.

[0034] In some examples, the head-wearable apparatus 100 includes a set of audio sensors 154, 156, 158, and 160 such as microphones or the like. For example, audio sensor 154 and audio sensor 156 are located on the right temple piece 124 and audio sensor 158 and audio sensor 160 are located on the left temple piece 122. The audio sensors are operable to capture audio data of acoustic signals from a real-world environment of the head-wearable apparatus 100 including ambient sounds and sounds generated by physical interaction with the head-wearable apparatus 100 itself. In some examples, these acoustic signals are processed to detect specific patterns associated with touch gestures. The audio sensors are strategically positioned around the XR device to enable accurate detection of touch location (left / right side) and gesture type (tap / swipe). In some examples, four audio sensors are distributed across the frame and / or temple pieces of the head-wearable apparatus 100.

[0035] In some examples, the audio data captured by the audio sensors provides a discriminative interaction signal that can distinguish between different types of touch gestures based on their unique acoustic signatures. For taps, the audio sensors can detect audio signals having short, loud impulses, while swipes appear as longer audio signals with changing intensity patterns.

[0036] In some examples, to address privacy concerns, the audio sensors are not continuously active and are only activated when necessary to receive audio inputs.

[0037] In some examples, the left camera 114 and the right camera 116 provide tracking image data for use by the head-wearable apparatus 100 to extract 3D information from a real-world scene.

[0038] The head-wearable apparatus 100 can also include a touchpad 126 mounted to or integrated with one or both of the left temple piece 122 and right temple piece 124. The touchpad 126 is generally vertically-arranged, approximately parallel to a user's temple in some examples. As used herein, generally vertically aligned means that the touchpad is more vertical than horizontal, although potentially more vertical than that. Additional user input can be provided by one or more buttons 128, which in the illustrated examples are provided on the outer upper edges of the left optical element holder 104 and right optical element holder 106. The one or more touchpads 126 and buttons 128 provide a means whereby the head-wearable apparatus 100 can receive input from a user of the head-wearable apparatus 100.

[0039] FIG. 1B illustrates the head-wearable apparatus 100 from the perspective of a user while wearing the head-wearable apparatus 100. For clarity, a number of the elements shown in FIG. 1A have been omitted. As described in FIG. 1A, the head-wearable apparatus 100 shown in FIG. 1B includes left optical element 140 and right optical element 144 secured within the left optical element holder 132 and the right optical element holder 136 respectively.

[0040] The head-wearable apparatus 100 includes right forward optical assembly 130 comprising a left near eye display 150, a right near eye display 134, and a left forward optical assembly 142 including a left projector 146 and a right projector 152.

[0041] In some examples, the near eye displays are waveguides. The waveguides include reflective or diffractive structures (e.g., gratings and / or optical elements such as mirrors, lenses, or prisms). Light 138 emitted by the right projector 152 encounters the diffractive structures of the waveguide of the right near eye display 134, which directs the light towards the right eye of a user to provide an image on or in the right optical element 144 that overlays the view of the real-world scene seen by the user. Similarly, light 148 emitted by the left projector 146 encounters the diffractive structures of the waveguide of the left near eye display 150, which directs the light towards the left eye of a user to provide an image on or in the left optical element 140 that overlays the view of the real-world scene seen by the user. The combination of a Graphical Processing Unit, an image display driver, the right forward optical assembly 130, the left forward optical assembly 142, left optical element 140, and the right optical element 144 provide an optical engine of the head wearable apparatus 100. The head-wearable apparatus 100 uses the optical engine to generate an overlay of the real-world scene view of the user including display of a user interface to the user of the head-wearable apparatus 100.

[0042] It will be appreciated however that other display technologies or configurations can be utilized within an optical engine to display an image to a user in the user's field of view. For example, instead of a projector and a waveguide, an LCD, LED or other display panel or surface can be provided.

[0043] In use, a user of the head-wearable apparatus 100 will be presented with information, content and various user interfaces on the near eye displays. As described in more detail herein, the user can then interact with the head-wearable apparatus 100 using a touchpad 126 and / or the button 128, voice inputs or touch inputs on an associated device (e.g. mobile device 240 illustrated in FIG. 2), and / or hand movements, locations, and positions recognized by the head-wearable apparatus 100.

[0044] In some examples, an optical engine of an XR device is incorporated into a lens that is in contact with a user's eye, such as a contact lens or the like. The XR device generates images of an XR experience using the contact lens.

[0045] In some examples, the head-wearable apparatus 100 comprises an XR device. In some examples, the head-wearable apparatus 100 is a component of an XR device including additional computational components. In some examples, the head-wearable apparatus 100 is a component in an XR device comprising additional user input systems or devices.

[0046] FIG. 2 is a high-level functional block diagram of a system 200 including a head-wearable apparatus 100 communicatively coupled to a mobile device 240 and various server systems 204 via various communication protocols.

[0047] The head-wearable apparatus 100 includes one or more cameras, each of which can be, for example, a visible light camera 206, an infrared emitter 208, and an infrared camera 210.

[0048] The mobile device 240 connects with head-wearable apparatus 100 using both a low-power wireless connection 212 and a high-speed wireless connection 214. The mobile device 240 is also connected to the server system 204 and the networks 216.

[0049] The head-wearable apparatus 100 further includes one or more image displays of the optical engine 218. The optical engines 218 include one associated with the left lateral side and one associated with the right lateral side of the head-wearable apparatus 100. The head-wearable apparatus 100 also includes an image display driver220, an image processor 222, low-power circuitry 224, and high-speed circuitry 226. The optical engine 218 is for presenting images and videos, including an image that can include a graphical user interface to a user of the head-wearable apparatus 100.

[0050] The image display driver 220 commands and controls the optical engine 218. The image display driver 220 can deliver image data directly to the optical engine 218 for presentation or can convert the image data into a signal or data format suitable for delivery to the image display device. For example, the image data can be video data formatted according to compression formats, such as H.264 (MPEG-4 Part 10), HEVC, Theora, Dirac, RealVideo RV40, VP8, VP9, or the like, and still image data can be formatted according to compression formats such as Portable network Group (PNG), Joint Photographic Experts Group (JPEG), Tagged Image File Format (TIFF) or exchangeable image file format (EXIF) or the like.

[0051] The head-wearable apparatus 100 includes a frame and stems (or temples) extending from a lateral side of the frame. The head-wearable apparatus 100 further includes a user input device 228 (e.g., touch sensor or push button), including an input surface on the head-wearable apparatus 100. The user input device 228 (e.g., touch sensor or push button) is to receive from the user an input selection to manipulate the graphical user interface of the presented image.

[0052] The components shown in FIG. 2 for the head-wearable apparatus 100 are located on one or more circuit boards, for example a PCB or flexible PCB, in the rims or temples. Alternatively, or additionally, the depicted components can be located in the chunks, frames, hinges, or bridge of the head-wearable apparatus 100. Left and right visible light cameras 206 can include digital camera elements such as a complementary metal oxide-semiconductor (CMOS) image sensor, charge-coupled device, camera lenses, or any other respective visible or light-capturing elements that can be used to capture data, including images of scenes with unknown objects.

[0053] The head-wearable apparatus 100 includes a memory 202, which stores instructions to perform a subset, or all the functions described herein. The memory 202 can also include storage device.

[0054] As shown in FIG. 2, the high-speed circuitry 226 includes a high-speed processor 230, a memory 202, and high-speed wireless circuitry 232. In some examples, the image display driver 220 is coupled to the high-speed circuitry 226 and operated by the high-speed processor 230 to drive the left and right image displays of the optical engine 218. The high-speed processor 230 can be any processor capable of managing high-speed communications and operation of any general computing system needed for the head-wearable apparatus 100. The high-speed processor 230 includes processing resources needed for managing high-speed data transfers on a high-speed wireless connection 214 to a wireless local area network (WLAN) using the high-speed wireless circuitry 232. In certain examples, the high-speed processor 230 executes an operating system such as a LINUX operating system or other such operating system of the head-wearable apparatus 100, and the operating system is stored in the memory 202 for execution. In addition to any other responsibilities, the high-speed processor 230 executing a software architecture for the head-wearable apparatus 100 is used to manage data transfers with high-speed wireless circuitry 232. In certain examples, the high-speed wireless circuitry 232 is configured to implement Institute of Electrical and Electronic Engineers (IEEE) 802.11 communication standards, also referred to herein as WI-FI®. In some examples, other high-speed communications standards can be implemented by the high-speed wireless circuitry 232.

[0055] The low-power wireless circuitry 234 and the high-speed wireless circuitry 232 of the head-wearable apparatus 100 can include short-range transceivers (e.g., Bluetooth™, Bluetooth LE, Zigbee, ANT+) and wireless wide, local, or wide area network transceivers (e.g., cellular or WI-FI®). Mobile device 240, including the transceivers communicating via the low-power wireless connection 212 and the high-speed wireless connection 214, can be implemented using details of the architecture of the head-wearable apparatus 100, as can other elements of the network 216.

[0056] The memory 202 includes any storage device capable of storing various data and applications, including, among other things, camera data generated by the left and right visible light cameras 206, the infrared camera 210, and the image processor 222, as well as images generated for display by the image display driver 220 on the image displays of the optical engine 218. While the memory 202 is shown as integrated with high-speed circuitry 226, in some examples, the memory 202 can be an independent standalone element of the head-wearable apparatus 100. In certain such examples, electrical routing lines can provide a connection through a chip that includes the high-speed processor 230 from the image processor 222 or the low-power processor 236 to the memory 202. In some examples, the high-speed processor 230 can manage addressing of the memory 202 such that the low-power processor 236 will boot the high-speed processor 230 any time that a read or write operation involving memory 202 is needed.

[0057] As shown in FIG. 2, the low-power processor 236 or high-speed processor 230 of the head-wearable apparatus 100 can be coupled to the camera (visible light camera 206, infrared emitter 208, or infrared camera 210), the image display driver 220, the user input device 228 (e.g., touch sensor or push button), and the memory 202.

[0058] In some examples, the head-wearable apparatus 100 can be connected to a host computer. For example, the head-wearable apparatus 100 is paired with the mobile device 240 via the high-speed wireless connection 214 or connected to the server system 204 via the network 216. The server system 204 can be one or more computing devices as part of a service or network computing system, for example, that includes a processor, a memory, and network communication interface to communicate over the network 216 with the mobile device 240 and the head-wearable apparatus 100.

[0059] The mobile device 240 includes a processor and a network communication interface coupled to the processor. The network communication interface allows for communication over the network 216, low-power wireless connection 212, or high-speed wireless connection 214. The mobile device 240 can further store at least portions of the instructions in the memory of the mobile device 240 memory to implement the functionality described herein.

[0060] Output components of the mobile device 240 include visual components, such as a display such as a liquid crystal display (LCD), a plasma display panel (PDP), a light-emitting diode (LED) display, a projector, or a waveguide. The image displays of the optical assembly are driven by the image display driver 220. The output components of the mobile device 240 further include acoustic components (e.g., speakers), haptic components (e.g., a vibratory motor), other signal generators, and so forth. The input components of the mobile device 240, the mobile device 240, and server system 204, such as the user input device 228, can include alphanumeric input components (e.g., a keyboard, a touch screen configured to receive alphanumeric input, a photo-optical keyboard, or other alphanumeric input components), point-based input components (e.g., a mouse, a touchpad, a trackball, a joystick, a motion sensor, or other pointing instruments), tactile input components (e.g., a physical button, a touch screen that provides location and force of touches or touch gestures, or other tactile input components), audio input components (e.g., an audio sensor), and the like.

[0061] The head-wearable apparatus 100 can also include additional peripheral device elements. Such peripheral device elements can include sensors and display elements integrated with the head-wearable apparatus 100. For example, peripheral device elements can include any I / O components including output components, motion components, position components, or any other such elements described herein.

[0062] In some examples, the head-wearable apparatus 100 can include biometric components or sensors to detect expressions (e.g., hand expressions, facial expressions, vocal expressions, body gestures, or eye-tracking), measure biosignals (e.g., blood pressure, heart rate, body temperature, perspiration, or brain waves), identify a person (e.g., voice identification, retinal identification, facial identification, fingerprint identification, electroencephalogram-based identification, hand-based identification), and the like. Any biometric data collected by the biometric components or sensors is captured and stored with only user approval and deleted on user request, and in accordance with applicable laws. Further, such biometric data is used for very limited purposes, such as identification verification. To ensure limited and authorized use of biometric information and other Personally Identifiable Information (PII), access to this data is restricted to authorized personnel only, if at all. Any use of biometric data can strictly be limited to identification verification purposes, and the biometric data is not shared or sold to any third party without the explicit consent of the user. All biometric data is permanently destroyed when the initial purpose for collecting or obtaining such data has been satisfied. In addition, appropriate technical and organizational measures are implemented to ensure the security and confidentiality of this sensitive information as more fully described in reference to FIG. 8B

[0063] The motion components include acceleration sensor components (e.g., accelerometer), gravitation sensor components, rotation sensor components (e.g., gyroscope), and so forth. The position components include location sensor components to generate location coordinates (e.g., a Global Positioning System (GPS) receiver component), Wi-Fi or Bluetooth™ transceivers to generate positioning system coordinates, altitude sensor components (e.g., altimeters or barometers that detect air pressure from which altitude can be derived), orientation sensor components (e.g., magnetometers), and the like. Such positioning system coordinates can also be received over low-power wireless connections 212 and high-speed wireless connection 214 from the mobile device 240 via the low-power wireless circuitry 234 or high-speed wireless circuitry 232.

[0064] FIG. 3 is a diagrammatic representation of the machine 300 within which instructions 302 (e.g., software, a program, an application, an applet, an app, or other executable code) for causing the machine 300 to perform any one or more of the methodologies discussed herein can be executed. For example, the instructions 302 can cause the machine 300 to execute any one or more of the methods described herein. The instructions 302 transform the general, non-programmed machine 300 into a particular machine 300 programmed to carry out the described and illustrated functions in the manner described. The machine 300 can operate as a standalone device or can be coupled (e.g., networked) to other machines. In a networked deployment, the machine 300 can operate in the capacity of a server machine or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine 300 can comprise, but not be limited to, a server computer, a client computer, a personal computer (PC), a tablet computer, a laptop computer, a netbook, a set-top box (STB), a personal digital assistant (PDA), an entertainment media system, a cellular telephone, a smartphone, a mobile device, a wearable device (e.g., a smartwatch), a smart home device (e.g., a smart appliance), other smart devices, a web appliance, a network router, a network switch, a network bridge, or any machine capable of executing the instructions 302, sequentially or otherwise, that specify actions to be taken by the machine 300. Further, while a single machine 300 is illustrated, the term “machine” shall also be taken to include a collection of machines that individually or jointly execute the instructions 302 to perform any one or more of the methodologies discussed herein. The machine 300, for example, can comprise the user system 802 or any one of multiple server devices forming part of the server system 810. In some examples, the machine 300 can also comprise both client and server systems, with certain operations of a particular method or algorithm being performed on the server-side and with certain operations of the method or algorithm being performed on the client-side.

[0065] The machine 300 can include one or more hardware processors 304, memory 306, and input / output I / O components 308, which can be configured to communicate with each other via a bus 310.

[0066] The processor 304 can comprise one or more processors such as, but not limited to, processor 312 and processor 314. The one or more processors can comprise one or more types of processing systems such as, but not limited to, Central Processing Units (CPUs), Graphics Processing Units (GPUs), Digital Signal Processors (DSPs), Neural Processing Units (NPUs) or AI Accelerators, Physics Processing Units (PPUs), Field-Programmable Gate Arrays (FPGAs), Multi-core Processors, Symmetric Multiprocessing (SMP) Systems, and the like.

[0067] The memory 306 includes a main memory 316, a static memory 318, and a storage unit 320, both accessible to the processor 304 via the bus 310. The main memory 306, the static memory 318, and storage unit 320 store the instructions 302 embodying any one or more of the methodologies or functions described herein. The instructions 302 can also reside, completely or partially, within the main memory 316, within the static memory 318, within machine-readable medium 322 within the storage unit 320, within at least one of the processor 304 (e.g., within the processor's cache memory), or any suitable combination thereof, during execution thereof by the machine 300.

[0068] The I / O components 308 can include a wide variety of components to receive input, provide output, produce output, transmit information, exchange information, capture measurements, and so on. The specific I / O components 308 that are included in a particular machine will depend on the type of machine. For example, portable machines such as mobile phones can include a touch input device or other such input mechanisms, while a headless server machine will likely not include such a touch input device. It will be appreciated that the I / O components 308 can include many other components that are not shown in FIG. 3. In various examples, the I / O components 308 can include user output components 324 and user input components 326. The user output components 324 can include visual components (e.g., a display such as a plasma display panel (PDP), a light-emitting diode (LED) display, a liquid crystal display (LCD), a projector, or a cathode ray tube (CRT)), acoustic components (e.g., speakers), haptic components (e.g., a vibratory motor, resistance mechanisms), other signal generators, and so forth. The user input components 326 can include alphanumeric input components (e.g., a keyboard, a touch screen configured to receive alphanumeric input, a photo-optical keyboard, or other alphanumeric input components), point-based input components (e.g., a mouse, a touchpad, a trackball, a joystick, a motion sensor, or another pointing instrument), tactile input components (e.g., a physical button, a touch screen that provides location and force of touches or touch gestures, or other tactile input components), audio input components (e.g., an audio sensor), and the like.

[0069] In further examples, the I / O components 308 can include biometric components 328, motion components 330, environmental components 332, or position components 334, among a wide array of other components. For example, the biometric components 328 can include components to detect expressions (e.g., hand expressions, facial expressions, vocal expressions, body gestures, or eye-tracking), measure biosignals (e.g., blood pressure, heart rate, body temperature, perspiration, or brain waves), identify a person (e.g., voice identification, retinal identification, facial identification, fingerprint identification, or electroencephalogram-based identification, hand-based identification), and the like. Any biometric data collected by the biometric components or sensors is captured and stored with only user approval and deleted on user request, and in accordance with applicable laws. Further, such biometric data is used for very limited purposes, such as identification verification. To ensure limited and authorized use of biometric information and other Personally Identifiable Information (PII), access to this data is restricted to authorized personnel only, if at all. Any use of biometric data can strictly be limited to identification verification purposes, and the biometric data is not shared or sold to any third party without the explicit consent of the user. In addition, appropriate technical and organizational measures are implemented to ensure the security and confidentiality of this sensitive information. All biometric data is permanently destroyed when the initial purpose for collecting or obtaining such data has been satisfied.

[0070] Any biometric data collected by the biometric components is captured and stored only with user approval and deleted on user request, and in accordance with applicable laws. Further, such biometric data can be used for very limited purposes, such as identification verification. To ensure limited and authorized use of biometric information and other Personally Identifiable Information (PII), access to this data is restricted to authorized personnel only, if at all. Any use of biometric data can strictly be limited to identification verification purposes, and the data is not shared or sold to any third party without the explicit consent of the user. In addition, appropriate technical and organizational measures are implemented to ensure the security and confidentiality of this sensitive information.

[0071] The motion components 330 include acceleration sensor components (e.g., accelerometer), gravitation sensor components, rotation sensor components (e.g., gyroscope).

[0072] The environmental components 332 include, for example, one or cameras (with still image / photograph and video capabilities), illumination sensor components (e.g., photometer), temperature sensor components (e.g., one or more thermometers that detect ambient temperature), humidity sensor components, pressure sensor components (e.g., barometer), acoustic sensor components (e.g., one or more audio sensors that detect background noise), proximity sensor components (e.g., infrared sensors that detect nearby objects), gas sensors (e.g., gas detection sensors to detection concentrations of hazardous gases for safety or to measure pollutants in the atmosphere), or other components that can provide indications, measurements, or signals corresponding to a surrounding physical environment.

[0073] With respect to cameras, the user system 802 can have a camera system comprising, for example, front cameras on a front surface of the user system 802 and rear cameras on a rear surface of the user system 802. The front cameras can, for example, be used to capture still images and video of a user of the user system 802 (e.g., “selfies”), which can then be modified with digital effect data (e.g., filters) described above. The rear cameras can, for example, be used to capture still images and videos in a more traditional camera mode, with these images similarly being modified with digital effect data. In addition to front and rear cameras, the user system 802 can also include a 360° camera for capturing 360° photographs and videos.

[0074] Moreover, the camera system of the user system 802 can be equipped with advanced multi-camera configurations. This can include dual rear cameras, which might consist of a primary camera for general photography and a depth-sensing camera for capturing detailed depth information in a scene. This depth information can be used for various purposes, such as creating a bokeh effect in portrait mode, where the subject is in sharp focus while the background is blurred. In addition to dual camera setups, the user system 802 can also feature triple, quad, or even penta camera configurations on both the front and rear sides of the user system 802. These multiple cameras systems can include a wide camera, an ultra-wide camera, a telephoto camera, a macro camera, and a depth sensor, for example.

[0075] Communication can be implemented using a wide variety of technologies. The I / O components 308 further include communication components 336 operable to couple the machine 300 to a network 338 or devices 340 via respective coupling or connections. For example, the communication components 336 can include a network interface component or another suitable device to interface with the network 338. In further examples, the communication components 336 can include wired communication components, wireless communication components, cellular communication components, Near Field Communication (NFC) components, Bluetooth® components (e.g., Bluetooth® Low Energy), Wi-Fi® components, and other communication components to provide communication via other modalities. The devices 340 can be another machine or any of a wide variety of peripheral devices (e.g., a peripheral device coupled via a USB).

[0076] Moreover, the communication components 336 can detect identifiers or include components operable to detect identifiers. For example, the communication components 336 can include Radio Frequency Identification (RFID) tag reader components, NFC smart tag detection components, optical reader components (e.g., an optical sensor to detect one-dimensional bar codes such as Universal Product Code (UPC) bar code, multi-dimensional bar codes such as Quick Response (QR) code, Aztec code, Data Matrix, Dataglyph ™ MaxiCode, PDF417, Ultra Code, UCC RSS-2D bar code, and other optical codes), or acoustic detection components (e.g., audio sensors to identify tagged audio signals). In addition, a variety of information can be derived via the communication components 336, such as location via Internet Protocol (IP) geolocation, location via Wi-Fi® signal triangulation, location via detecting an NFC beacon signal that can indicate a particular location, and so forth.

[0077] The various memories (e.g., main memory 316, static memory 318, and memory of the processor 304) and storage unit 320 can store one or more sets of instructions and data structures (e.g., software) embodying or used by any one or more of the methodologies or functions described herein. These instructions (e.g., the instructions 302), when executed by processor 304, cause various operations to implement the disclosed examples.

[0078] The instructions 302 can be transmitted or received over the network 338, using a transmission medium, via a network interface device (e.g., a network interface component included in the communication components 336) and using any one of several well-known transfer protocols (e.g., hypertext transfer protocol (HTTP)). Similarly, the instructions 302 can be transmitted or received using a transmission medium via a coupling (e.g., a peer-to-peer coupling) to the devices 340.

[0079] FIG. 4 is a software architecture diagram illustrating a software architecture 402, which can be installed on any one or more of the devices described herein. The software architecture 402 is supported by hardware such as a machine 404 that includes processors 406, memory 408, and I / O components 410. In this example, the software architecture 402 can be conceptualized as a stack of layers, where each layer provides a particular functionality. The software architecture 402 includes layers such as an operating system 412, libraries 414, frameworks 416, and applications 418. Operationally, the applications 418 invoke API calls 420 through the software stack and receive messages 422 in response to the API calls 420.

[0080] The operating system 412 manages hardware resources and provides common services. The operating system 412 includes, for example, a kernel 424, services 426, and drivers 428. The kernel 424 acts as an abstraction layer between the hardware and the other software layers. For example, the kernel 424 provides memory management, processor management (e.g., scheduling), component management, networking, and security settings, among other functionalities. The services 426 can provide other common services for the other software layers. The drivers 428 are responsible for controlling or interfacing with the underlying hardware. For instance, the drivers 428 can include display drivers, camera drivers, BLUETOOTH® or BLUETOOTH® Low Energy drivers, flash memory drivers, serial communication drivers (e.g., USB drivers), WI-FI® drivers, audio drivers, power management drivers, and so forth.

[0081] The libraries 414 provide a common low-level infrastructure used by the applications 418. The libraries 414 can include system libraries 430 (e.g., C standard library) that provide functions such as memory allocation functions, string manipulation functions, mathematical functions, and the like. In addition, the libraries 414 can include API libraries 432 such as media libraries (e.g., libraries to support presentation and manipulation of various media formats such as Moving Picture Experts Group-4 (MPEG4), Advanced Video Coding (H.264 or AVC), Moving Picture Experts Group Layer-3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR) audio codec, Joint Photographic Experts Group (JPEG or JPG), or Portable Network Graphics (PNG)), graphics libraries (e.g., an OpenGL framework used to render in two dimensions (2D) and three dimensions (3D) in a graphic content on a display), database libraries (e.g., SQLite to provide various relational database functions), web libraries (e.g., WebKit to provide web browsing functionality), and the like. The libraries 414 can also include a wide variety of other libraries 434 to provide many other APIs to the applications 418.

[0082] The frameworks 416 provide a common high-level infrastructure that is used by the applications 418. For example, the frameworks 416 provide various graphical user interface (GUI) functions, high-level resource management, and high-level location services. The frameworks 416 can provide a broad spectrum of other APIs that can be used by the applications 418, some of which can be specific to a particular operating system or platform.

[0083] In an example, the applications 418 can include a home application 436, a contacts application 438, a browser application 440, a book reader application 442, a location application 444, a media application 446, a messaging application 448, a game application 450, and a broad assortment of other applications such as a third-party application 452. The applications 418 are programs that execute functions defined in the programs.

[0084] In some examples, the applications 418 can include a compliance application 458 that facilitates compliance by a device or system with data privacy and other regulations, including for example the California Consumer Privacy Act (CCPA), General Data Protection Regulation (GDPR), and Digital Services Act (DSA). The compliance application 458 comprises several components that address data privacy, protection, and user rights, ensuring a secure environment for user data. A data collection and storage component securely handles user data, using encryption and enforcing data retention policies. A data access and processing component provides controlled access to user data, ensuring compliant data processing and maintaining an audit trail. A data subject rights management component facilitates user rights requests in accordance with privacy regulations, while the data breach detection and response component detects and responds to data breaches in a timely and compliant manner. The compliance application 458 also incorporates opt-in / opt-out management and privacy controls across a digital interaction system, empowering users to manage their data preferences. The compliance application 458 is designed to handle sensitive data by obtaining explicit consent, implementing strict access controls and in accordance with applicable laws.

[0085] Various programming languages can be employed to create one or more of the applications 418, structured in a variety of manners, such as object-oriented programming languages (e.g., Objective-C, Java, or C++) or procedural programming languages (e.g., C or assembly language). In a specific example, the third-party application 452 (e.g., an application developed using the ANDROID™ or IOS™ software development kit (SDK) by an entity other than the vendor of a platform) can be mobile software running on a mobile operating system such as IOS™, ANDROID™, WINDOWS® Phone, or another mobile operating system. In this example, the third-party application 452 can invoke the API calls 420 provided by the operating system 412 to facilitate functionalities described herein.

[0086] FIG. 5A illustrates a collaboration diagram of components of an XR device 508, such as head-wearable apparatus 100 of FIG. 1A, and FIG. 5B illustrates an example image capture method 550 of an image capture mode, according to some examples. The XR device 508 provides continuous real-time input modalities to a user 506 of the XR device 508 where the user 506 interacts with one or more XR user interfaces 516 using various input modalities including, but not limited to. hand-tracking and hand touch input modalities.

[0087] An XR device 508 uses the image capture method 550 to capture image data of a real-world environment 544 and present a user dialog to a user based on the image data. Although the image capture method 550 depicts a particular sequence of operations, the sequence may be altered without departing from the scope of the present disclosure. For example, some of the operations depicted may be performed in parallel or in a different sequence that does not materially affect the function of the method. In other examples, different components of the XR device 508 may perform functions at substantially the same time or in a specific sequence.

[0088] While in use, the XR device 508 uses a set of sensors 518 to detect and record positions, orientations, and gestures of the hands 520 and 536 of the user 506. This can involve capturing the speed and trajectory of hand movements, recognizing specific hand poses, and determining the relative positioning of the hands in a 3D space of a real-world environment 544.

[0089] In some examples, the sensors 518 comprise an array of optical sensors capable of capturing a wide range of hand movements and gestures in real-time as images. The sensors 518 can include a set of cameras 538. A subset of the cameras 538 can be Red Green and Blue (RGB) cameras that capture images of the hands of the user 506 using light having a broad wavelength spectrum, such as natural light provided by the real-world environment or artificial illumination created by one or more incandescent lamps, LED lamps, or the like provided by the XR device 508. In some examples, a subset of the cameras 538 can include infrared cameras that capture images of the hands 520 of the user 506 using energy in the infrared radiation (IR) spectrum. The IR energy can be supplied by one or more IR emitters of the XR device 508.

[0090] In some examples, the sensors 518 include a set of pose sensors 530 such as an Inertial Measurement Unit (IMU) 542 and the like that track the orientation and movements of the XR device of the user 506. The pose sensors 530 are used to determine Six Degrees of Freedom (6DoF) data of movement of the XR device 508 in three-dimensional space.

[0091] Specifically, the 6DoF data encompasses three translational movements along the x, y, and z axes (forward / back, up / down, left / right) and three rotational movements (pitch, yaw, roll) included in pose data 532. In the context of XR, 6DoF data allows for the tracking of both position and orientation of an object or user in 3D space. In some examples, the XR device 508 is a head-wearable apparatus worn by the user 506 in which case the location, gaze direction, and orientation of the user 506 can be inferred from the 6DoF data of the XR device 508.

[0092] In some examples, the pose sensors 530 include one or more cameras that capture images of the real-world environment 544. The images are included in the pose data 532. A tracking pipeline 514 XR device 508 uses the images and photogrammetric methodologies to determine the 6DoF data of the XR device 508.

[0093] In some examples, the XR device 508 uses a combination of an IMU and a set of cameras to determine 6DoF for the XR device 508.

[0094] In some examples, the sensors 518 include one or more audio sensors 540 such as microphones or the like. The audio sensors 540 are operable to capture audio data of acoustic signals from the real-world environment 544 including human voices, ambient sounds, and sounds generated by physical interaction with the XR device 508 itself. In some examples, the audio sensors 540 are strategically positioned around the XR device 508 to enable accurate detection of a location of a sound source.

[0095] The XR device 508 uses the tracking pipeline 514 to determine tracking data 528 based on the image data 548 generated by the set of cameras 538 and pose data 532 generated by the set of pose sensors 530. For example, the tracking pipeline 514 includes a Region Of Interest (ROI) detector, a tracker, and a 3D model generator used to generate the tracking data 528 using the image data 548 and the pose data 532. The ROI detector uses a ROI detector model to detect a region in the real world environment that includes the hands 520 and 536 of the user 506. The ROI detector model is trained to recognize those portions of the image data 548 of the real-world environment 544 that include a user's hands. The ROI detector generates ROI data indicating which portions of the image data 548 include the one or more hands 520 and 536 of the user 506 and communicates the ROI data to the tracker.

[0096] The tracker uses 2D image data included in the image data 548 and a tracking model to generate 2D tracking data. The tracker uses the tracking model to recognize landmark features on portions of the hands 520 and 536 of the user 506 captured in the image data 548 and within the ROI identified by the ROI detector. The tracker extracts landmarks of the hands 520 and 536 of the user 506 from the image data 548 using computer vision methodologies including, but not limited to, Harris corner detection, Shi-Tomasi corner detection, Scale-Invariant Feature Transform (SIFT), Speeded-Up Robust Features (SURF), Features from Accelerated Segment Test (FAST), Oriented FAST and Rotated BRIEF (ORB), and the like. The tracking model operates on the landmarks to generate the 2D tracking data that includes a sequence of skeletal models of one or more hands of the user 506.

[0097] The 3D model generator receives the 2D tracking data and generates 3D tracking data using the 2D tracking data, the pose data 532, and a 3D coordinate generator model. For example, the 3D model generator determines a reference position in the real-world environment 544 for the XR device 508. The 3D model generator uses a 3D coordinate generator model that operates on the 2D tracking data to generate 3D tracking data that includes 3D coordinate information of skeletal models of the hands 520 and 536 of the user in the tracking data 528.

[0098] In some examples, the tracker generates the tracking data 528 using photogrammetry methodologies to create 3D models of the hands of the user 506 from the 2D tracking data by capturing overlapping pictures of the hands of the user 506 from different angles. In some examples, the 2D tracking data includes multiple images taken from different angles, which are then processed to generate the 3D models that are included in the tracking data 528. In some examples, the XR device 508 uses the pose data 532 captured by pose sensor 530 to determine an angle or position of the XR device 508 as an image is captured of the hands of the user 506.

[0099] An image capture application 570 and gesture recognition pipeline 568 serve as a specialized processing system within the XR device 508 that manages the workflow of capturing and processing images based on user gestures. For example, the image capture application 570 coordinates the sequence of operations from detecting a predefined hand gesture to generating an interactive XR user interface 516 based on captured image data 548 as more fully described in reference to FIG. 5B.

[0100] In some examples, the gesture recognition pipeline 568 can operate at a system level within the operating system of the XR device 508, allowing the gesture recognition pipeline 568 to invoke the image capture application 570 to activate an image capture mode of the XR device 508 regardless of which application is currently running on the XR device 508.

[0101] In some examples, the gesture recognition pipeline 568 communicates with the image capture application 570 using image capture messages 574. The image capture messages 574 can also include an invocation of the image capture application 570 that implements an XR user interface 516 for an image capture method of the XR device 508. The image capture application 570 includes a dialog script or similar structure that specifies the user interface dialog to be presented to the user 506 during the image capture process. This dialog script defines the sequence of interactions and visual elements that guide the user through the image capture and interactive XR user interface 516 workflow.

[0102] In some examples, the image capture application 570 uses the tracking data 528 generated from user hand gestures as a user input modality. In some examples, the image capture application 570 receives image data 548 directly from the cameras 538 in order to capture additional or contextual data about the real-world environment 544.

[0103] In some examples, the image capture application 570 comprises functionality to implement one or more actions that are to be taken by the XR device 508 based on detecting various dialog events such as user inputs input by the user 506 using the XR user interface 516. These actions can include presenting interactive options to the user.

[0104] In some examples, the image capture application 570 receives audio data 546 from the sensors 518 that the image capture application 570 can use to implement additional input modalities such as voice commands or the like received from the user 506.

[0105] In some examples, the image capture application 570 can operate at a system level within the operating system of the XR device 508, allowing the image capture application 570 to be activated and implement an image capture mode regardless of which application is currently running on the XR device 508.

[0106] In some examples, the image capture application 570 generates an XR user interface 516 provided to the user 506 within an XR environment 576. The XR user interface 516 includes interactive virtual objects 526 that the user 506 can interact with. For example, the user interface engine 504 includes an XR user interface object model 522. The XR user interface object model 522 includes 3D coordinate data of the interactive virtual objects 526 of the XR user interface 516. The XR user interface object model 522 also includes 3D graphics data of the interactive virtual objects 526. The 3D graphics data is used by an optical engine 515 to generate the XR user interface 516 for display to the user 506.

[0107] The user interface engine 504 generates XR user interface data 510 using the XR user interface object model 522. The XR user interface data 510 includes image data of the interactive virtual objects 526 of the XR user interface 516. The user interface engine 504 communicates the XR user interface data 510 to a display driver 512 of an optical engine 515 of the XR device 508. The display driver 512 receives the XR user interface data 510 and generates display control signals using the XR user interface data 510. The display driver 512 uses the display control signals to control the operations of one or more optical assemblies 502 of the optical engine 515. In response to the display control signals, the one or more optical assemblies 502 generate an XR user interface graphics display 524 of the XR user interface 516 that is provided to the user 506.

[0108] The image capture application 570 and user interface engine 504 communicate using user interface messages 572. The user interface messages 572 include data used by the image capture application 570 to instruct the user interface engine 504 on how to construct and present the XR user interface 516 within the XR environment 576 to the user 506. The user interface messages 572 also include data of the interactive virtual objects 526 used by the user interface engine 504 to inform the image capture application 570 about the configuration of the interactive virtual objects 526 within the XR user interface 516.

[0109] In some examples, the XR device 508 is operably connected to a mobile device (not shown). The user 506 can use the mobile device to configure the XR device 508. In some examples, the mobile device functions as a user input modality.

[0110] In some examples, an XR device performs the functions of the tracking pipeline 514, the gesture recognition pipeline 568, the user interface engine 504, and the optical engine 515 utilizing various APIs and system libraries.

[0111] In operation 552 of FIG. 5B, the XR device 508 detects a predefined hand gesture performed by at least one hand of a user. For example, the gesture recognition pipeline 568 of the XR device 508 detects a predefined hand gesture performed by at least one hand of a user using the tracking data 528 and the one or more gesture models 534 to detect specific hand gestures made by the user 506.

[0112] In some examples, in reference to FIG. 6A, the gesture recognition pipeline 568 detects a predefined hand gesture comprising a double-handed pinch gesture being made by the user 506 within a real-world environment 602. The double-handed pinch gesture comprises at least two intentional gestures of the user's hands 612 and 614 not prone to false positives. This makes the double-handed pinch gesture well suited for activating a system level function by the operating system of the XR device 508.

[0113] In some examples, the predefined hand gesture includes a first pinch gesture 656 performed by a first hand 612 of the user and a second pinch gesture 658 performed by a second hand 614 of the user. Included a field of view of the cameras 538 of the XR device 508 and a field of view of the user 506 are physical objects from the real-world environment 602, such as physical object 616 (e.g., a box of water), physical object 644 (e.g., a table top upon which the box of water sits), the first hand 612 of the user 506, and the second hand 614 of the user 506. The double-handed pinch gesture is made by the user 506 using their first hand 612 and their second hand 614 with each hand performing a pinch gesture within a predetermined proximity to each other. In some examples, the predetermined proximity is defined by a sphere 646 with a defined radius. This detection involves recognizing the specific finger positions that constitute a pinch gesture being made by both hands simultaneously with a first pinch location 652 and second pinch location 654 within the sphere 646.

[0114] In some examples, the gesture recognition pipeline 568 uses the tracking data 528 and the one or more gesture models 534 to detect the predefined hand gesture. A gesture model accepts the tracking data 528 generated by the tracking pipeline 514 and outputs a recognition decision and a confidence interval indicating whether the gesture model 534 recognizes the predefined hand gesture. The training of the gesture model 534 is more fully described in reference to FIG. 7A and FIG. 7B.

[0115] In operation 554 of FIG. 5B, in response to detecting the predefined hand gesture, the XR device 508 activates an image capture mode. For example, the gesture recognition pipeline 568 activates the image capture mode in response to detecting the predefined hand gesture through a series of coordinated operations. Upon recognizing the predefined hand gesture, the gesture recognition pipeline 568 invokes the image capture application 570 to transition the XR device 508 from a normal operating state to a specialized image capture mode that enables the user 506 to define and capture images of a portion of the real-world environment 544 within their field of view.

[0116] In some examples, in reference to FIG. 6A, the image capture application 570 generates a prompt icon 610 indicating to the user what the next hand gesture should be and displays the prompt icon to the user in an XR user interface 626. In some examples, the prompt icon 610 comprises a camera icon and diagonally opposed arrows indicating that the user 506 is to pull their hands 612 and 614 away from each other along a diagonal line while holding the pinch gesture of each hand.

[0117] In operation 556 of FIG. 5B, the XR device 508 tracks movement of the at least one hand to define a crop region within a field of view of the XR device. For example, in reference to FIG. 6B, the image capture application 570 uses the tracking data 528 received from the tracking pipeline 514 to track movement of the at least one hand to define a crop region 620 within a field of view of the user through a tracking process. The image capture application 570 uses the tracking pipeline 514 to continuously monitor the position and movement of the hands 612 and 614 in three-dimensional space of the real-world environment 602. This tracking involves capturing, by the tracking pipeline 514, image data 548 from the cameras 538 and pose data 532 from the pose sensors 530 to determine the precise position of the hands 612 and 614 as they move to define the boundaries of the crop region 620.

[0118] In some examples, the image capture application 570 tracks a relative spreading movement of the user's hands 612 and 614 after the first pinch gesture 656 and the second pinch gesture 658 to create a crop frame 648 that frames the crop region 620. The first hand 612 and second hand 614 move apart to create the crop region 620 with two opposing diagonal corners of the crop region 620 determined by the first pinch location 652 of the first hand 612 of the user and the second pinch location 654 of the second hand 614. The crop frame 648 frames an object of interest in the real-world environment 544 within the field of view of the user, such as physical object 616. The image capture application 570 renders an image of the crop frame 648 and displays the image of the crop frame 648 to the user 506 in the XR user interface 626.

[0119] In some examples, the image capture application 570 continuously updates the position of the crop region 620 and the rendering of the crop frame 648 based on the real-time hand tracking data, allowing the user to see a current position of the crop frame 648 and precisely adjust the size and position of the crop frame 648 before finalizing a capture of an image 650 of the portion of the real-world environment 544 that includes a physical object, such as physical object 616.

[0120] In operation 558 of FIG. 5B, the XR device 508 adjusts the crop region 620 and the crop frame 648 based on an orientation of the XR device 508. For example, the image capture application 570 adjusts the crop region 620 and the crop frame 648 based on an orientation of the XR device 508 through a dynamic adjustment process that maintains proper alignment between the crop region 620, the crop frame 648, and the user's field of view. After defining the initial crop region 620 and crop frame 648 through hand tracking, the image capture application 570 uses data from the pose sensors 530, such as the IMU 542, to detect changes in the orientation of the XR device 508 as the user moves or tilts their head.

[0121] In some examples, when the image capture application 570 adjusts the crop region 620 and the crop frame 648 based on the orientation of the XR device 508, the image capture application 570 implements one or more transformations and translations to maintain the proper alignment between the crop region 620, the crop frame 648, and the user's field of view. For example, the image capture application 570 uses rotation matrices derived from quaternions to handle the head orientation adjustments. This rotation transformation ensures that the crop region 620 and the crop frame 648 maintain proper alignment with the user's field of view of the real-world environment 602 despite changes in the user's head position. In some examples, one or more translation matrices are utilized to compensate for the physical offset between the cameras 538 and a display generated by the optical assemblies 502. For example, when the cameras 538 are positioned on the sides of a head-wearable apparatus comprising the XR device 508 and the display generated by the optical assemblies 502 is centered in the user's field of view.

[0122] In some examples, the image capture application 570 obtains camera parameters including, but not limited to, focal length of the cameras 538 and physical offset between the cameras 538 and a display generated by the optical engine 218 for at least one camera of the cameras 538 of the XR device 508 relative to the display generated by the optical assemblies 502 and creates a virtual camera with matching parameters to align the crop region 620 and the crop frame 648 to the field of view of the user. In some examples, the position and orientation of the virtual camera coincides with the position and orientation of the user and the user's gaze direction.

[0123] In some examples, a scaling transformation may be employed during the adjustment of the crop frame 648, where the image capture application 570 allows the user 506 to adjust a scale or zoom affecting the size of the crop region 620 to capture larger areas or zoom in on a physical object without including the user's first hands 612 and 614 in the image data. This scaling transformation enables the user to zoom in or out after initial framing. Use of the transformations ensures that the crop region 620 accurately represents what the user 506 intends to capture, maintaining proper spatial alignment with real-world objects despite changes in orientation, position, or scale.

[0124] In some examples, the image capture application 570 uses the gesture recognition pipeline 568 to detect a corner scaling gesture performed by the user and adjusts a size of the crop region in response to the corner scaling gesture. This enables the image capture application 570 to capture a larger portion or a smaller portion of the real-world environment without including the user's hands in captured image data.

[0125] In some examples, the XR device 508 displays an image 650 of the crop region 620 in the XR user interface 626 at the location of the crop region 620 inside of the crop frame 648 during a framing process. For example, the image capture application 570 displays the image 650 inside of the crop frame 648 through a rendering process of the XR user interface 626 that provides visual feedback to the user 506. As the user defines the crop region 620 using the predefined hand gesture, the image capture application 570 captures images of the portion of the field of view corresponding to this crop region 620 and displays the captured images within the crop frame 648. The image capture application 570 maintains proper alignment between the displayed cropped image 650, the real-world environment 602 and the field of view of the user 506 despite any changes in the user's head position or orientation, using transformation and translation matrices as described above. This visual representation allows the user to see exactly what content will be captured before finalizing the image capture process, providing immediate feedback about the framing and composition of the image.

[0126] In some examples, the XR device 508 continuously updates the crop region 620, the crop frame 648, and the cropped image 650 displayed within the crop frame 648 as the user adjusts the position and size of the crop frame 648. This real-time updating ensures that the user can precisely frame an object of interest before releasing the predefined hand gesture to capture the final image 650.

[0127] In operation 560 of FIG. 5B, the XR device 508 detects a release of the predefined hand gesture. For example, the image capture application 570 detects a release of the predefined hand gesture through a monitoring process that tracks when the user 506 ends the predefined hand gesture. After the user 506 has defined the crop region 620 by spreading their first hand 612 and their second hand 614 apart, the XR device 508 continues to monitor the hand positions using the tracking pipeline 514 and detects when the user 506 releases the first pinch gesture 656 and the second pinch gesture 658 that were initially used to activate the image capture mode. This release serves as a signal to the image capture application 570 that the user 506 has completed defining the crop region 620 and is ready to capture an image.

[0128] In additional examples, the XR device 508 implements a gesture recognition process that can distinguish between an intentional release to complete the image capture process and accidental releases or other hand movements. The image capture application 570 may use temporal information, such as the duration of the predefined hand gesture and the stability of the crop frame 648 before release, to determine when the user has intentionally completed the crop region 620 definition process. The detection of the predefined hand gesture release serves as the trigger for capturing the image 650 corresponding to the defined crop region 620.

[0129] In some examples, the image capture application 570 uses geometric methodologies to determine when the user 506 releases the predefined hand gesture. For example, the image capture application 570 continuously monitors the three-dimensional positions of the first hand 612 and the second hand 614 using the tracking pipeline 514. The tracking pipeline 514 processes image data 548 from the cameras 538 and pose data 532 from the pose sensors 530 to generate 3D models of the first hand 612 and second hand 614 of the user 506 comprising nodes for each joint of a hand and arcs for the phalanges of the fingers. The image capture application 570 analyzes the geometric relationship between the arcs and nodes of the 3D model of the hands and fingers to detect when the predefined hand gesture is released.

[0130] In some examples, the image capture application 570 uses the gesture recognition pipeline 568 to determine when the user 506 releases the predefined hand gesture. For example, the gesture recognition pipeline 568 continuously analyzes the tracking data 528 using the one or more gesture models 534 to identify when the user releases the pinch gesture that was initially used to activate the image capture mode to detect the transition from the held predefined hand gesture to a released position, signaling that the user has completed defining the crop region 620. In additional examples, the gesture recognition pipeline 568 implements temporal and spatial analysis to distinguish between intentional releases and accidental movements. The gesture recognition pipeline 568 not only detects the geometric configuration of the fingers when they are no longer in a pinched position but also analyzes the trajectory and velocity of the hand movements leading up to the release. This analysis allows the gesture recognition pipeline 568 to accurately determine when the user 506 has intentionally completed the framing process, triggering the transition from the crop region definition phase to the image capture phase.

[0131] In operation 562 of FIG. 5B, in response to detecting the release of the predefined hand gesture, the XR device 508 captures image data 548 corresponding to the crop region 620. For example, the image capture application 570 captures image data 548 of the image 650 corresponding to the crop region 620 in response to detecting the release of the predefined hand gesture. In some examples, the image capture application 570 captures the data of the image 650 by extracting the specific portion of a field of view of one or more of the cameras 538 that corresponds to the defined crop region 620.

[0132] In operation 564 of FIG. 5B, the XR device 508 generates an XR user interface using the data of the captured image and causes the XR user interface to be provided to the user at operation 566. The XR user interface includes at least one interactive option for interacting with the XR user interface. For example, in reference to FIG. 6C, the image capture application 570 generates an update to the XR user interface 626 using the image 650 and causes the XR user interface 626 to be provided to the user 506 using the user interface engine 504. After capturing the image 650 corresponding to the crop region 620, the image capture application 570 processes the data of image 650 to create a contextual interface that allows the user 506 to interact with the captured image 650. This process involves generating XR user interface data 510 that includes visual elements and interactive options specifically tailored to the captured image content.

[0133] In some examples, the image capture application 570 generates a multi-modal interaction interface, where the captured image 650 of the physical object 616 is displayed within the crop frame 648 in the XR user interface 626. In addition, one or more interactive buttons are displayed in the XR user interface 626 such as, but not limited to, a share button 638, a search button 640, and a voice input button 642. These buttons represent different interaction options for the XR user interface 626.

[0134] In some examples, selecting the share button 638 allows the user 506 share the cropped image 650 with friends. For example, in response to the user selecting the share button 638 representing a share option, the image capture application 570 transmits the data of the image 650 to one or more recipients selected by the user.

[0135] In some examples, selecting the search button 640 initiates one or more web searches based on the content of the image 650. For example, in response to a selection of the search button 640 representing a web search option, the image capture application 570 initiates a web search based on content identified in the image 650 and displays the web search results in a user interface element of the XR user interface 626.

[0136] In some examples, selecting the voice input button 642 activates a voice input modality for voice interaction with the XR user interface 626. For example, in response to a selection of the voice input button 642 representing a voice interaction option, the image capture application 570 activates an audio sensor of the XR device, receives voice input from the user regarding the image 650, and communicates the voice input and the data of the image 650 to an external resource, such as an Artificial Intelligence (AI) resource, for processing.

[0137] In some examples, the image capture application 570 implements processing of the data of the captured image 650 before generating the XR user interface. This processing can include sending the data of the image 650 to an external resource for analysis. The analysis can include, but is not limited to, analyzing the content of the image 650 to identify objects within crop region, generating captions or descriptions of the content, retrieving relevant web search results, and the like. In some examples, the image capture application 570 generates contextual information about the captured content and displays the contextual information in a user interface element 634 of the XR user interface 626 or the like. By allowing a user to capture a cropped image 650 from a real-world environment, the image capture application 570 provides for a reduced workload of the external resource as well as improves the relevance of the processing performed by the external resource. The cropped image 650 allows the external resource to perform processing a reduced number of objects within the field of view of the cameras 538 of the XR device 508.

[0138] In some examples, the image capture application 570 analyzes the data of the image 650 to identify one or more objects within the crop region 620 and selects a processing service from a plurality of available processing services based on the identified one or more objects.

[0139] In some examples, the image capture application 570 uses this processed information to customize the interactive options of the XR user interface 626 presented to the user, potentially highlighting different interaction modes based on the specific content identified in the image. For example, if the image capture application 570 identifies a product in the image 650, it might emphasize shopping-related options in the XR user interface 626. As the interactive XR user interface 626 is generated as an overlay within the user's field of view, the XR user interface 626 allows for seamless interaction with both the virtual elements of the XR user interface 626 and the real-world environment.

[0140] In an example, an image capture mode of an XR device can be used as a shopping guide while shopping for unique items, such as antiques or the like. The image capture mode enables users to capture specific portions of their field of view containing items of interest, and then leverage external resources to obtain information about these items. For example, when a user is browsing antiques or collectibles, they can use the predefined hand gesture to frame a specific item, capture its image, and then utilize a web search functionality to find pricing information or product details. This functionality is particularly valuable for comparison shopping or researching unique items where standard barcodes or product identifiers may not be available. The user can capture the image of the antique, and the system will process this focused visual context to provide more accurate and relevant search results than would be possible with a full wide-angle image.

[0141] FIG. 7B is a flowchart depicting a machine-learning pipeline 716, according to some examples. The machine-learning pipeline 716 can be used to generate a trained machine-learning model 718 such as, but not limited to a gesture model 534 of FIG. 5A, and the like, to perform operations associated with determining user inputs into an XR device, such as XR device 508 of FIG. 5A.

[0142] Machine learning can involve using computer algorithms to automatically learn patterns and relationships in data, potentially without the need for explicit programming. Machine learning algorithms can be divided into three main categories: supervised learning, unsupervised learning, and reinforcement learning.

[0143] Supervised learning involves training a model using labeled data to predict an output for new, unseen inputs. Examples of supervised learning algorithms include linear regression, decision trees, and neural networks.

[0144] Unsupervised learning involves training a model on unlabeled data to find hidden patterns and relationships in the data. Examples of unsupervised learning algorithms include clustering, principal component analysis, and generative models like autoencoders.

[0145] Reinforcement learning involves training a model to make decisions in a dynamic environment by receiving feedback in the form of rewards or penalties. Examples of reinforcement learning algorithms include Q-learning and policy gradient methods.

[0146] Examples of specific machine learning algorithms that can be deployed, according to some examples, include logistic regression, which is a type of supervised learning algorithm used for binary classification tasks. Logistic regression models the probability of a binary response variable based on one or more predictor variables. Another example type of machine learning algorithm is Naïve Bayes, which is another supervised learning algorithm used for classification tasks. Naïve Bayes is based on Bayes' theorem and assumes that the predictor variables are independent of each other. Random Forest is another type of supervised learning algorithm used for classification, regression, and other tasks. Random Forest builds a collection of decision trees and combines their outputs to make predictions. Further examples include neural networks, which consist of interconnected layers of nodes (or neurons) that process information and make predictions based on the input data. Matrix factorization is another type of machine learning algorithm used for recommender systems and other tasks. Matrix factorization decomposes a matrix into two or more matrices to uncover hidden patterns or relationships in the data. Support Vector Machines (SVM) are a type of supervised learning algorithm used for classification, regression, and other tasks. SVM finds a hyperplane that separates the different classes in the data. Other types of machine learning algorithms include decision trees, k-nearest neighbors, clustering algorithms, and deep learning algorithms such as convolutional neural networks (CNN), recurrent neural networks (RNN), and transformer models. The choice of algorithm depends on the nature of the data, the complexity of the problem, and the performance requirements of the application.

[0147] The performance of machine learning models is typically evaluated on a separate test set of data that was not used during training to ensure that the model can generalize to new, unseen data.

[0148] Although several specific examples of machine learning algorithms are discussed herein, the principles discussed herein can be applied to other machine learning algorithms as well. Deep learning algorithms such as convolutional neural networks, recurrent neural networks, and transformers, as well as more traditional machine learning algorithms like decision trees, random forests, and gradient boosting can be used in various machine learning applications.

[0149] Three example types of problems in machine learning are classification problems, regression problems, and generation problems. Classification problems, also referred to as categorization problems, aim at classifying items into one of several category values (for example, is this object an apple or an orange?). Regression algorithms aim at quantifying some items (for example, by providing a value that is a real number). Generation algorithms aim at producing new examples that are similar to examples provided for training. For instance, a text generation algorithm is trained on many text documents and is configured to generate new coherent text with similar statistical properties as the training data.

[0150] Generating a trained machine-learning model 718 can include multiple phases that form part of the machine-learning pipeline 716, including for example the following phases illustrated in FIG. 7A:

[0151] Data collection and preprocessing 702: This phase can include acquiring and cleaning data to ensure that it is suitable for use in the machine learning model. This phase can also include removing duplicates, handling missing values, and converting data into a suitable format.

[0152] Feature engineering 704: This phase can include selecting and transforming the training data 722 to create features that are useful for predicting the target variable. Feature engineering can include (1) receiving features 724 (e.g., as structured or labeled data in supervised learning) and / or (2) identifying features 724 (e.g., unstructured or unlabeled data for unsupervised learning) in training data 722.

[0153] Model selection and training 706: This phase can include selecting an appropriate machine learning algorithm and training it on the preprocessed data. This phase can further involve splitting the data into training and testing sets, using cross-validation to evaluate the model, and tuning hyperparameters to improve performance.

[0154] Model evaluation 708: This phase can include evaluating the performance of a trained model (e.g., the trained machine-learning model 718) on a separate testing dataset. This phase can help determine if the model is overfitting or underfitting and determine whether the model is suitable for deployment.

[0155] Prediction 710: This phase involves using a trained model (e.g., trained machine-learning model 718) to generate predictions on new, unseen data.

[0156] Validation, refinement or retraining 712: This phase can include updating a model based on feedback generated from the prediction phase, such as new data or user feedback.

[0157] Deployment 714: This phase can include integrating the trained model (e.g., the trained machine-learning model 718) into a more extensive system or application, such as a web service, mobile app, or IoT device. This phase can involve setting up APIs, building a user interface, and ensuring that the model is scalable and can handle large volumes of data.

[0158] FIG. 7B illustrates further details of two example phases, namely a training phase 720 (e.g., part of the model selection and trainings 706) and a prediction phase 726 (part of prediction 710). Prior to the training phase 720, feature engineering 704 is used to identify features 724. This can include identifying informative, discriminating, and independent features for effectively operating the trained machine-learning model 718 in pattern recognition, classification, and regression. In some examples, the training data 722 includes labeled data, known for pre-identified features 724 and one or more outcomes. Each of the features 724 can be a variable or attribute, such as an individual measurable property of a process, article, system, or phenomenon represented by a data set (e.g., the training data 722). Features 724 can also be of different types, such as numeric features, strings, and graphs, and can include one or more of content 728, concepts 730, attributes 732, historical data 734, and / or user data 736, merely for example.

[0159] In some examples, the training data 722 includes examples of the gestures that are to be recognized by the gesture model 534. The training data 722 includes examples of the gestures that are to be recognized by the gesture model 534 through a comprehensive collection of hand movement patterns and positions. The training data is used to develop and refine the image capture gesture model 534, enabling it to accurately recognize the specific hand gestures required for the camera crop functionality.

[0160] In training phase 720, the machine-learning pipeline 716 uses the training data 722 to find correlations among the features 724 that affect a predicted outcome or prediction / inference data 738.

[0161] With the training data 722 and the identified features 724, the trained machine-learning model 718 is trained during the training phase 720 during machine-learning program training 740. The machine-learning program training 740 appraises values of the features 724 as they correlate to the training data 722. The result of the training is the trained machine-learning model 718 (e.g., a trained or learned model).

[0162] Further, the training phase 720 can involve machine learning, in which the training data 722 is structured (e.g., labeled during preprocessing operations). The trained machine-learning model 718 implements a neural network 742 capable of performing, for example, classification and clustering operations. In other examples, the training phase 720 can involve deep learning, in which the training data 722 is unstructured, and the trained machine-learning model 718 implements a deep neural network 742 that can perform both feature extraction and classification / clustering operations.

[0163] In some examples, a neural network 742 can be generated during the training phase 720, and implemented within the trained machine-learning model 718. The neural network 742 includes a hierarchical (e.g., layered) organization of neurons, with each layer consisting of multiple neurons or nodes. Neurons in the input layer receive the input data, while neurons in the output layer produce the final output of the network. Between the input and output layers, there can be one or more hidden layers, each consisting of multiple neurons.

[0164] Each neuron in the neural network 742 operationally computes a function, such as an activation function, which takes as input the weighted sum of the outputs of the neurons in the previous layer, as well as a bias term. The output of this function is then passed as input to the neurons in the next layer. If the output of the activation function exceeds a certain threshold, an output is communicated from that neuron (e.g., transmitting neuron) to a connected neuron (e.g., receiving neuron) in successive layers. The connections between neurons have associated weights, which define the influence of the input from a transmitting neuron to a receiving neuron. During the training phase, these weights are adjusted by the learning algorithm to optimize the performance of the network. Different types of neural networks can use different activation functions and learning algorithms, affecting their performance on different tasks. The layered organization of neurons and the use of activation functions and weights enable neural networks to model complex relationships between inputs and outputs, and to generalize to new inputs that were not seen during training.

[0165] In some examples, the neural network 742 can also be one of several different types of neural networks, such as a single-layer feed-forward network, a Multilayer Perceptron (MLP), an Artificial Neural Network (ANN), a Recurrent Neural Network (RNN), a Long Short-Term Memory Network (LSTM), a Bidirectional Neural Network, a symmetrically connected neural network, a Deep Belief Network (DBN), a Convolutional Neural Network (CNN), a Generative Adversarial Network (GAN), an Autoencoder Neural Network (AE), a Restricted Boltzmann Machine (RBM), a Hopfield Network, a Self-Organizing Map (SOM), a Radial Basis Function Network (RBFN), a Spiking Neural Network (SNN), a Liquid State Machine (LSM), an Echo State Network (ESN), a Neural Turing Machine (NTM), or a Transformer Network, merely for example.

[0166] In addition to the training phase 720, a validation phase can be performed on a separate dataset known as the validation dataset. The validation dataset is used to tune the hyperparameters of a model, such as the learning rate and the regularization parameter. The hyperparameters are adjusted to improve the model's performance on the validation dataset.

[0167] Once a model is fully trained and validated, in a testing phase, the model can be tested on a new dataset. The testing dataset is used to evaluate the model's performance and ensure that the model has not overfitted the training data.

[0168] In prediction phase 726, the trained machine-learning model 718 uses the features 724 for analyzing inference data 744 to generate inferences, outcomes, or predictions, as examples of a prediction / inference data 738. For example, during prediction phase 726, the trained machine-learning model 718 generates an output. Inference data 744 is provided as an input to the trained machine-learning model 718, and the trained machine-learning model 718 generates the prediction / inference data 738 as output, responsive to receipt of the inference data 744.

[0169] In some examples, the trained machine-learning model 718 can be a generative AI model. Generative AI is a term that can refer to any type of artificial intelligence that can create new content from training data 722. For example, generative AI can produce text, images, video, audio, code, or synthetic data similar to the original data but not identical. In cases where the trained machine-learning model 718 is a generative AI, inference data 744 can include text, audio, image, video, numeric, or media content prompts and the output prediction / inference data 738 can include text, images, video, audio, code, or synthetic data.

[0170] Some of the techniques that can be used in generative AI are:

[0171] Convolutional Neural Networks (CNNs): CNNs can be used for image recognition and computer vision tasks. CNNs can, for example, be designed to extract features from images by using filters or kernels that scan the input image and highlight important patterns.

[0172] Recurrent Neural Networks (RNNs): RNNs can be used for processing sequential data, such as speech, text, and time series data, for example. RNNs employ feedback loops that allow them to capture temporal dependencies and remember past inputs.

[0173] Generative Adversarial Networks (GANs): GANs can include two neural networks: a generator and a discriminator. The generator network attempts to create realistic content that can “fool” the discriminator network, while the discriminator network attempts to distinguish between real and fake content. The generator and discriminator networks compete with each other and improve over time.

[0174] Variational autoencoders (VAEs): VAEs can encode input data into a latent space (e.g., a compressed representation) and then decode it back into output data. The latent space can be manipulated to generate new variations of the output data. VAEs can use self-attention mechanisms to process input data, allowing them to handle long text sequences and capture complex dependencies.

[0175] Transformer models: Transformer models can use attention mechanisms to learn the relationships between different parts of input data (such as words or pixels) and generate output data based on these relationships. Transformer models can handle sequential data, such as text or speech, as well as non-sequential data, such as images or code.

[0176] FIG. 8A is a block diagram showing an example digital interaction system 800 for facilitating interactions and engagements (e.g., exchanging text messages, conducting text audio and video calls, or playing games) over a network. The digital interaction system 800 includes multiple systems that can be used by a user, such as user system 802, XR device 864, and the like, each of which hosts multiple applications, including an interaction client 804 and other applications 806. Each interaction client 804 is communicatively coupled, via one or more networks including a network 808 (e.g., the Internet), to other instances of the interaction client 804 (e.g., hosted on respective other user systems), a server system 810 and third-party servers 812). An interaction client 804 can also communicate with locally hosted applications 806 using Applications Program Interfaces (APIs).

[0177] An XR device 864 or a user system 802 can comprise one or more user devices, such as a mobile device 240, a head-wearable apparatus 100, a computer client device 814, and the like that are communicatively connected to exchange data and messages.

[0178] An interaction client 804 interacts with other interaction clients 804 and with the server system 810 via the network 808. The data exchanged between the interaction clients 804 (e.g., interactions 816) and between the interaction clients 804 and the server system 810 includes functions (e.g., commands to invoke functions) and payload data (e.g., text, audio, video, or other multimedia data).

[0179] The server system 810 provides server-side functionality via the network 808 to the interaction clients 804. While certain functions of the digital interaction system 800 are described herein as being performed by either an interaction client 804 or by the server system 810, the location of certain functionality either within the interaction client 804 or the server system 810 can be a design choice. For example, it can be technically preferable to initially deploy particular technology and functionality within the server system 810 but to later migrate this technology and functionality to the interaction client 804 where a user system 802 has sufficient processing capacity.

[0180] The server system 810 supports various services and operations that are provided to the interaction clients 804. Such operations include transmitting data to, receiving data from, and processing data generated by the interaction clients 804. This data can include message content, client device information, geolocation information, digital effects (e.g., media augmentation and overlays), message content persistence conditions, entity relationship information, and live event information. Data exchanges within the digital interaction system 800 are invoked and controlled through functions available via user interfaces (UIs) of the interaction clients 804.

[0181] Turning now specifically to the server system 810, an Application Program Interface (API) server 818 is coupled to and provides programmatic interfaces to servers 820, making the functions of the servers 820 accessible to interaction clients 804, other applications 806 and third-party server 812. The servers 820 are communicatively coupled to a database server 822, facilitating access to a database 824 that stores data associated with interactions processed by the servers 820. Similarly, a web server 826 is coupled to the servers 820 and provides web-based interfaces to the servers820. To this end, the web server 826 processes incoming network requests over the Hypertext Transfer Protocol (HTTP) and several other related protocols.

[0182] The Application Program Interface (API) server 818 receives and transmits interaction data (e.g., commands and message payloads) between the servers 820 and the user systems 802 (and, for example, interaction clients 804 and other application 806) and the third-party server 812. Specifically, the Application Program Interface (API) server 818 provides a set of interfaces (e.g., routines and protocols) that can be called or queried by the interaction client 804 and other applications 806 to invoke functionality of the servers 820. The Application Program Interface (API) server 818 exposes various functions supported by the servers 820, including account registration; login functionality; the sending of interaction data, via the servers 820, from a particular interaction client 804 to another interaction client 804; the communication of media files (e.g., images or video) from an interaction client 804 to the servers 820; the settings of a collection of media data (e.g., a narrative); the retrieval of a list of friends of a user of a user system 802; the retrieval of messages and content; the addition and deletion of entities (e.g., friends) to an entity relationship graph; the location of friends within an entity relationship graph; and opening an application event (e.g., relating to the interaction client 804).

[0183] The interaction client 804 provides a user interface that allows users to access features and functions of an external resource, such as a linked application 806, an applet, or a microservice. This external resource can be provided by a third party or by the creator of the interaction client 804.

[0184] The external resource can be a full-scale application installed on the user's system 802, or a smaller, lightweight version of the application, such as an applet or a microservice, hosted either on the user's system or remotely, such as on third-party servers 812 or in the cloud. These smaller versions, which include a subset of the full application's features, can be implemented using a markup-language document and can also incorporate a scripting language and a style sheet.

[0185] When a user selects an option to launch or access the external resource, the interaction client 804 determines whether the resource is web-based or a locally installed application. Locally installed applications can be launched independently of the interaction client 804, while applets and microservices can be launched or accessed via the interaction client 804.

[0186] If the external resource is a locally installed application, the interaction client 804 instructs the user's system to launch the resource by executing locally stored code. If the resource is web-based, the interaction client 804 communicates with third-party servers to obtain a markup-language document corresponding to the selected resource, which it then processes to present the resource within its user interface.

[0187] The interaction client 804 can also notify users of activity in one or more external resources. For instance, it can provide notifications relating to the use of an external resource by one or more members of a user group. Users can be invited to join an active external resource or to launch a recently used but currently inactive resource.

[0188] The interaction client 804 can present a list of available external resources to a user, allowing them to launch or access a given resource. This list can be presented in a context-sensitive menu, with icons representing different applications, applets, or microservices varying based on how the menu is launched by the user.

[0189] FIG. 8B is a block diagram illustrating further details regarding the digital interaction system 800, according to some examples. Specifically, the digital interaction system 800 is shown to comprise the interaction client 862 and the servers 860. The digital interaction system 800 embodies multiple subsystems, which are supported on the client-side by the interaction client 862 and on the server-side by the servers 860. In some examples, these subsystems are implemented as microservices. A microservice subsystem (e.g., a microservice application) may have components that enable it to operate independently and communicate with other services. Example components of microservice subsystem may include:

[0190] Function logic: The function logic implements the functionality of the microservice subsystem, representing a specific capability or function that the microservice provides.

[0191] API interface: Microservices may communicate with each other components through well-defined APIs or interfaces, using lightweight protocols such as REST or messaging. The API interface defines the inputs and outputs of the microservice subsystem and how it interacts with other microservice subsystems of the digital interaction system 800.

[0192] Data storage: A microservice subsystem may be responsible for its own data storage, which may be in the form of a database, cache, or other storage mechanism (e.g., using the database server 822 and database 824). This enables a microservice subsystem to operate independently of other microservices of the digital interaction system 800.

[0193] Service discovery: Microservice subsystems may find and communicate with other microservice subsystems of the digital interaction system 800. Service discovery mechanisms enable microservice subsystems to locate and communicate with other microservice subsystems in a scalable and efficient way.

[0194] Monitoring and logging: Microservice subsystems may need to be monitored and logged to ensure availability and performance. Monitoring and logging mechanisms enable the tracking of health and performance of a microservice subsystem.

[0195] In some examples, the digital interaction system 800 may employ a monolithic architecture, a service-oriented architecture (SOA), a function-as-a-service (FaaS) architecture, or a modular architecture:

[0196] Example subsystems are discussed below.

[0197] An image processing system 828 provides various functions that enable a user to capture and modify (e.g., augment, annotate or otherwise edit) media content associated with a message.

[0198] A camera system 830 includes control software (e.g., in a camera application) that interacts with and controls hardware camera hardware (e.g., directly or via operating system controls) of the user system 802 to modify real-time images captured and displayed via the interaction client 862.

[0199] The digital effect system 832 provides functions related to the generation and publishing of digital effects (e.g., media overlays) for images captured in real-time by cameras of the user system 802 or retrieved from memory of the user system 802. For example, the digital effect system 832 operatively selects, presents, and displays digital effects (e.g., media overlays such as image filters or modifications) to the interaction client 862 for the modification of real-time images received via the camera system 830 or stored images retrieved from memory 202 of a user system 802. These digital effects are selected by the digital effect system 832 and presented to a user of an interaction client 862, based on a number of inputs and data, such as for example:

[0200] Geolocation of the user system 802; and

[0201] Entity relationship information of the user of the user system 802.

[0202] Digital effects may include audio and visual content and visual effects. Examples of audio and visual content include pictures, texts, logos, animations, and sound effects. Examples of visual effects include color overlays and media overlays. The audio and visual content or the visual effects can be applied to a media content item (e.g., a photo or video) at user system 802 for communication in a message, or applied to video content, such as a video content stream or feed transmitted from an interaction client 862. As such, the image processing system 828 may interact with, and support, the various subsystems of the communication system 834, such as the messaging system 836 and the video communication system 838.

[0203] A media overlay may include text or image data that can be overlaid on top of a photograph taken by the user system 802 or a video stream produced by the user system 802. In some examples, the media overlay may be a location overlay (e.g., Venice beach), a name of a live event, or a name of a merchant overlay (e.g., Beach Coffee House). In further examples, the image processing system 828 uses the geolocation of the user system 802 to identify a media overlay that includes the name of a merchant at the geolocation of the user system 802. The media overlay may include other indicia associated with the merchant. The media overlays may be stored in the databases 824 and accessed through the database server 822.

[0204] The image processing system 828 provides a user-based publication platform that enables users to select a geolocation on a map and upload content associated with the selected geolocation. The user may also specify circumstances under which a particular media overlay should be offered to other users. The image processing system 828 generates a media overlay that includes the uploaded content and associates the uploaded content with the selected geolocation.

[0205] The digital effect creation system 840 supports augmented reality developer platforms and includes an application for content creators (e.g., artists and developers) to create and publish digital effects (e.g., augmented reality experiences) of the interaction client 862. The digital effect creation system 840 provides a library of built-in features and tools to content creators including, for example custom shaders, tracking technology, and templates.

[0206] In some examples, the digital effect creation system 840 provides a merchant-based publication platform that enables merchants to select a particular digital effect associated with a geolocation via a bidding process. For example, the digital effect creation system 840 associates a media overlay of the highest bidding merchant with a corresponding geolocation for a predefined amount of time.

[0207] A communication system 834 is responsible for enabling and processing multiple forms of communication and interaction within the digital interaction system 800 and includes a messaging system 836, an audio communication system 842, and a video communication system 838. The messaging system 836 is responsible, in some examples, for enforcing the temporary or time-limited access to content by the interaction clients 862. The messaging system 836 incorporates multiple timers that, based on duration and display parameters associated with a message or collection of messages (e.g., a narrative), selectively enable access (e.g., for presentation and display) to messages and associated content via the interaction client 862. The audio communication system 842 enables and supports audio communications (e.g., real-time audio chat) between multiple interaction clients 862. Similarly, the video communication system 838 enables and supports video communications (e.g., real-time video chat) between multiple interaction clients 862.

[0208] A user management system 844 is operationally responsible for the management of user data and profiles, and maintains entity information (e.g., stored in entity tables, entity graphs, and profile data) regarding users and relationships between users of the digital interaction system 800.

[0209] A collection management system 846 is operationally responsible for managing sets or collections of media (e.g., collections of text, image video, and audio data). A collection of content (e.g., messages, including images, video, text, and audio) may be organized into an “event gallery” or an “event collection.” Such a collection may be made available for a specified time period, such as the duration of an event to which the content relates. For example, content relating to a music concert may be made available as a “concert collection” for the duration of that music concert. The collection management system 846 may also be responsible for publishing an icon that provides notification of a particular collection to the user interface of the interaction client 862. The collection management system 846 includes a curation function that allows a collection manager to manage and curate a particular collection of content. For example, the curation interface enables an event organizer to curate a collection of content relating to a specific event (e.g., delete inappropriate content or redundant messages). Additionally, the collection management system 846 employs machine vision (or image recognition technology) and content rules to curate a content collection automatically. In certain examples, compensation may be paid to a user to include user-generated content into a collection. In such cases, the collection management system 846 operates to automatically make payments to such users to use their content.

[0210] A map system 848 provides various geographic location (e.g., geolocation) functions and supports the presentation of map-based media content and messages by the interaction client 862. For example, the map system 848 enables the display of user icons or avatars (e.g., stored in profile data) on a map to indicate a current or past location of “friends” of a user, as well as media content (e.g., collections of messages including photographs and videos) generated by such friends, within the context of a map. For example, a message posted by a user to the digital interaction system 800 from a specific geographic location may be displayed within the context of a map at that particular location to “friends” of a specific user on a map interface of the interaction client 862. A user can furthermore share his or her location and status information (e.g., using an appropriate status avatar) with other users of the digital interaction system 800 via the interaction client 862, with this location and status information being similarly displayed within the context of a map interface of the interaction client 862 to selected users.

[0211] A game system 850 provides various gaming functions within the context of the interaction client 862. The interaction client 862 provides a game interface providing a list of available games that can be launched by a user within the context of the interaction client 862 and played with other users of the digital interaction system 800. The digital interaction system 800 further enables a particular user to invite other users to participate in the play of a specific game by issuing invitations to such other users from the interaction client 862. The interaction client 862 also supports audio, video, and text messaging (e.g., chats) within the context of gameplay, provides a leaderboard for the games, and supports the provision of in-game rewards (e.g., coins and items).

[0212] An external resource system 852 provides an interface for the interaction client 862 to communicate with remote servers (e.g., third-party servers 812) to launch or access external resources, i.e., applications or applets. Each third-party server 812 hosts, for example, a markup language (e.g., HTML5) based application or a small-scale version of an application (e.g., game, utility, payment, or ride-sharing application). The interaction client 862 may launch a web-based resource (e.g., application) by accessing the HTML5 file from the third-party servers 812 associated with the web-based resource. Applications hosted by third-party servers 812 are programmed in JavaScript leveraging a Software Development Kit (SDK) provided by the servers 860. The SDK includes Application Programming Interfaces (APIs) with functions that can be called or invoked by the web-based application. The servers 860 host a JavaScript library that provides a given external resource access to specific user data of the interaction client 862. HTML5 is an example of technology for programming games, but applications and resources programmed based on other technologies can be used.

[0213] To integrate the functions of the SDK into the web-based resource, the SDK is downloaded by the third-party server 812 from the servers 860 or is otherwise received by the third-party server 812. Once downloaded or received, the SDK is included as part of the application code of a web-based external resource. The code of the web-based resource can then call or invoke certain functions of the SDK to integrate features of the interaction client 862 into the web-based resource.

[0214] The SDK stored on the server system 810 effectively provides the bridge between an external resource (e.g., applications 806 or applets) and the interaction client 862. This gives the user a seamless experience of communicating with other users on the interaction client 862 while also preserving the look and feel of the interaction client 862. To bridge communications between an external resource and an interaction client 862, the SDK facilitates communication between third-party servers 812 and the interaction client 862. A bridge script running on a user system 802 establishes two one-way communication channels between an external resource and the interaction client 862. Messages are sent between the external resource and the interaction client 862 via these communication channels asynchronously. Each SDK function invocation is sent as a message and callback. Each SDK function is implemented by constructing a unique callback identifier and sending a message with that callback identifier.

[0215] By using the SDK, not all information from the interaction client 862 is shared with third-party servers 812. The SDK limits which information is shared based on the needs of the external resource. Each third-party server 812 provides an HTML5 file corresponding to the web-based external resource to servers 860. The servers 860 can add a visual representation (such as a box art or other graphic) of the web-based external resource in the interaction client 862. Once the user selects the visual representation or instructs the interaction client 862 through a GUI of the interaction client 862 to access features of the web-based external resource, the interaction client 862 obtains the HTML5 file and instantiates the resources to access the features of the web-based external resource.

[0216] The interaction client 862 presents a graphical user interface (e.g., a landing page or title screen) for an external resource. During, before, or after presenting the landing page or title screen, the interaction client 862 determines whether the launched external resource has been previously authorized to access user data of the interaction client 862. In response to determining that the launched external resource has been previously authorized to access user data of the interaction client 862, the interaction client 862 presents another graphical user interface of the external resource that includes functions and features of the external resource. In response to determining that the launched external resource has not been previously authorized to access user data of the interaction client 862, after a threshold period of time (e.g., 3 seconds) of displaying the landing page or title screen of the external resource, the interaction client 862 slides up (e.g., animates a menu as surfacing from a bottom of the screen to a middle or other portion of the screen) a menu for authorizing the external resource to access the user data. The menu identifies the type of user data that the external resource will be authorized to use. In response to receiving a user selection of an accept option, the interaction client 862 adds the external resource to a list of authorized external resources and allows the external resource to access user data from the interaction client 862. The external resource is authorized by the interaction client 862 to access the user data under an OAuth 2 framework.

[0217] The interaction client 862 controls the type of user data that is shared with external resources based on the type of external resource being authorized. For example, external resources that include full-scale applications (e.g., an application 806) are provided with access to a first type of user data (e.g., two-dimensional avatars of users with or without different avatar characteristics). As another example, external resources that include small-scale versions of applications (e.g., web-based versions of applications) are provided with access to a second type of user data (e.g., payment information, two-dimensional avatars of users, three-dimensional avatars of users, and avatars with various avatar characteristics). Avatar characteristics include different ways to customize a look and feel of an avatar, such as different poses, facial features, clothing, and so forth.

[0218] An advertisement system 854 operationally enables the purchasing of advertisements by third parties for presentation to end-users via the interaction clients 862 and handles the delivery and presentation of these advertisements.

[0219] An artificial intelligence and machine learning system 856 provides a variety of services to different subsystems within the digital interaction system 800. For example, the artificial intelligence and machine learning system 856 operates with the image processing system 828 and the camera system 830 to analyze images and extract information such as objects, text, or faces. This information can then be used by the image processing system 828 to enhance, filter, or manipulate images. The artificial intelligence and machine learning system 856 may be used by the digital effect system 832 to generate modified content and augmented reality experiences, such as adding virtual objects or animations to real-world images. The communication system 834 and messaging system 836 may use the artificial intelligence and machine learning system 856 to analyze communication patterns and provide insights into how users interact with each other and provide intelligent message classification and tagging, such as categorizing messages based on sentiment or topic. The artificial intelligence and machine learning system 856 may also provide chatbot functionality to message interactions 816 between user systems 802 and between a user system 802 and the server system 810. The artificial intelligence and machine learning system 856 may also work with the audio communication system 842 to provide speech recognition and natural language processing capabilities, allowing users to interact with the digital interaction system 800 using voice commands.

[0220] A compliance system 858 facilitates compliance by the digital interaction system 800 with data privacy and other regulations, including for example the California Consumer Privacy Act (CCPA), General Data Protection Regulation (GDPR), and Digital Services Act (DSA). The compliance system 858 comprises several components that address data privacy, protection, and user rights, ensuring a secure environment for user data. A data collection and storage component securely handles user data, using encryption and enforcing data retention policies. A data access and processing component provides controlled access to user data, ensuring compliant data processing and maintaining an audit trail. A data subject rights management component facilitates user rights requests in accordance with privacy regulations, while the data breach detection and response component detects and responds to data breaches in a timely and compliant manner. The compliance system 858 also incorporates opt-in / opt-out management and privacy controls across the digital interaction system 800, empowering users to manage their data preferences. The compliance system 858 is designed to handle sensitive data by obtaining explicit consent, implementing strict access controls and in accordance with applicable laws.

[0221] Described implementations of the subject matter can include one or more features, alone or in combination as illustrated below by way of example.

[0222] Example 1 is a method comprising: detecting, by an extended Reality (XR) device, a predefined hand gesture performed by at least one hand of a user; in response to detecting the predefined hand gesture, activating a crop mode; tracking movement of the at least one hand to define a crop region within a field of view of the XR device; adjusting the crop region based on an orientation of the XR device; capturing image data corresponding to the crop region; processing the image data; and presenting, via a display of the XR device, at least one interactive option for interacting with the processed image data.

[0223] In Example 2, the subject matter of Example 1 includes, wherein the predefined hand gesture comprises a first pinch gesture performed by a first hand of the user and a second pinch gesture performed by a second hand of the user.

[0224] In Example 3, the subject matter of any of Examples 1-2 includes, wherein activating the crop mode comprises determining that both the first pinch gesture and the second pinch gesture are detected within a predetermined proximity to each other.

[0225] In Example 4, the subject matter of any of Examples 1-3 includes, wherein the at least one interactive option comprises at least one of: a sharing option, a web search option, and a voice interaction option.

[0226] In Example 5, the subject matter of any of Examples 1-4 includes, wherein processing the image data comprises: sending the image data to an external resource; and receiving, from the external resource, at least one of: a caption describing content in the image data or a web search result related to the content in the image data.

[0227] In Example 6, the subject matter of any of Examples 1-5 includes, in response to a selection of a web search option, initiating a web search based on content identified in the image data; and displaying web search results overlaid on the field of view of the XR device.

[0228] In Example 7, the subject matter of Examples 1-6 includes, in response to a selection of a voice interaction option, activating an audio sensor of the XR device; receiving voice input from the user regarding the image data; and providing the voice input and the image data to an external resource for processing.

[0229] In Example 8, the subject matter of any of Examples 1-7 includes, in response to a selection of a sharing option, transmitting the image data to one or more recipients selected by the user.

[0230] In Example 9, the subject matter of any of Examples 1-8 includes, wherein adjusting the crop region based on the orientation of the XR device comprises: detecting a change in orientation of the XR device; and adjusting a position or orientation of the crop region to maintain alignment with content in the field of view.

[0231] In Example 10, the subject matter of any of Examples 1-9 includes, detecting a corner scaling gesture performed by the user; and adjusting a size of the crop region in response to the corner scaling gesture to enable capture of a larger area without including the user's hands in the image data.

[0232] In Example 11, the subject matter of any of Examples 1-10 includes, wherein tracking movement of the at least one hand comprises: obtaining three-dimensional position data of joints of the at least one hand; and using the three-dimensional position data to define corners of the crop region.

[0233] In Example 12, the subject matter of any of Examples 1-11 includes, wherein the XR device detects the predefined hand gesture at a system level of an operating system of the XR device, such that the crop mode can be activated regardless of which application is currently active on the XR device.

[0234] In Example 13, the subject matter of any of Examples 1-12 includes, obtaining camera intrinsics and physical offset information for at least one camera of the XR device relative to a display of the XR device; and creating a virtual camera with matching parameters to align the crop region with an actual camera view despite the physical offset.

[0235] In Example 14, the subject matter of any of Examples 1-13 includes, wherein processing the image data comprises: analyzing the image data to identify one or more objects within the crop region; and selecting a processing service from a plurality of available processing services based on the identified one or more objects.

[0236] In Example 15, the subject matter of any of Examples 1-14 includes, wherein the crop region is defined by a rectangular frame displayed in the field of view of the XR device.

[0237] In Example 16, the subject matter of any of Examples 1-15 includes, wherein the XR device comprises a head-wearable apparatus having at least one camera positioned offset from a center of a field of view of the user, and wherein the method further comprises compensating for the offset when defining the crop region.

[0238] Example 17 is at least one machine-readable medium including instructions that, when executed by processing circuitry, cause the processing circuitry to perform operations to implement any of Examples 1-16.

[0239] Example 18 is an apparatus comprising means to implement any of Examples 1-16.

[0240] Example 19 is a system to implement any of Examples 1-16.

[0241] Example 20 is a method to implement any of Examples 1-16.

[0242] The various features, operations, or processes described herein can be used independently of one another, or can be combined in various ways. All possible combinations and sub-combinations are intended to fall within the scope of this disclosure. In addition, certain method or process blocks can be omitted in some implementations.

[0243] Although some examples, e.g., those depicted in the drawings, include a particular sequence of operations, the sequence can be altered without departing from the scope of the present disclosure. For example, some of the operations depicted can be performed in parallel or in a different sequence that does not materially affect the functions as described in the examples. In other examples, different components of an example device or system that implements an example method can perform functions at substantially the same time or in a specific sequence.

[0244] Changes and modifications can be made to the disclosed examples without departing from the scope of the present disclosure. These and other changes or modifications are intended to be included within the scope of the present disclosure, as expressed in the appended claims.Term Examples

[0245] As used in this disclosure, phrases of the form “at least one of an A, a B, or a C,”“at least one of A, B, or C,”“at least one of A, B, and C,” and the like, should be interpreted to select at least one from the group that comprises “A, B, and C.” Unless explicitly stated otherwise in connection with a particular instance in this disclosure, this manner of phrasing does not mean “at least one of A, at least one of B, and at least one of C.” As used in this disclosure, the example “at least one of an A, a B, or a C,” would cover any of the following selections: {A}, {B}, {C}, {A, B}, {A, C}, {B, C}, and {A, B, C}.

[0246] Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,”“comprising,” and the like are to be construed in an inclusive sense, as opposed to an exclusive or exhaustive sense, e.g., in the sense of “including, but not limited to.”

[0247] As used herein, the terms “connected,”“coupled,” or any variant thereof means any connection or coupling, either direct or indirect, between two or more elements; the coupling or connection between the elements can be physical, logical, or a combination thereof.

[0248] Additionally, the words “herein,”“above,”“below,” and words of similar import, when used in this application, refer to this application as a whole and not to any portions of this application. Where the context permits, words using the singular or plural number can also include the plural or singular number respectively.

[0249] The word “or” in reference to a list of two or more items, covers all the following interpretations of the word: any one of the items in the list, all the items in the list, and any combination of the items in the list. Likewise, the term “and / or” in reference to a list of two or more items, covers all the following interpretations of the word: any one of the items in the list, all the items in the list, and any combination of the items in the list.

[0250] “Carrier signal” can include, for example, any intangible medium that can store, encoding, or carrying instructions for execution by the machine and includes digital or analog communications signals or other intangible media to facilitate communication of such instructions. Instructions can be transmitted or received over a network using a transmission medium via a network interface device.

[0251] “Client device” can include, for example, any machine that interfaces to a network to obtain resources from one or more server systems or other client devices. A client device can be, but is not limited to, a mobile phone, desktop computer, laptop, portable digital assistants (PDAs), smartphones, tablets, ultrabooks, netbooks, laptops, multi-processor systems, microprocessor-based or programmable consumer electronics, game consoles, set-top boxes, or any other communication device that a user can use to access a network.

[0252] “Component” can include, for example, a device, physical entity, or logic having boundaries defined by function or subroutine calls, branch points, APIs, or other technologies that provide for the partitioning or modularization of particular processing or control functions. Components can be combined via their interfaces with other components to carry out a machine process. A component can be a packaged functional hardware unit designed for use with other components and a part of a program that usually performs a particular function of related functions. Components can constitute either software components (e.g., code embodied on a machine-readable medium) or hardware components. A “hardware component” is a tangible unit capable of performing certain operations and can be configured or arranged in a certain physical manner. In various examples, one or more computer systems (e.g., a standalone computer system, a client computer system, or a server computer system) or one or more hardware components of a computer system (e.g., a processor or a group of processors) can be configured by software (e.g., an application or application portion) as a hardware component that operates to perform certain operations as described herein. A hardware component can also be implemented mechanically, electronically, or any suitable combination thereof. For example, a hardware component can include dedicated circuitry or logic that is permanently configured to perform certain operations. A hardware component can be a special-purpose processor, such as a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). A hardware component can also include programmable logic or circuitry that is temporarily configured by software to perform certain operations. For example, a hardware component can include software executed by a general-purpose processor or other programmable processors. Once configured by such software, hardware components become specific machines (or specific components of a machine) uniquely tailored to perform the configured functions and are no longer general-purpose processors. It will be appreciated that the decision to implement a hardware component mechanically, in dedicated and permanently configured circuitry, or in temporarily configured circuitry (e.g., configured by software), can be driven by cost and time considerations. Accordingly, the phrase “hardware component”(or “hardware-implemented component”) should be understood to encompass a tangible entity, be that an entity that is physically constructed, permanently configured (e.g., hardwired), or temporarily configured (e.g., programmed) to operate in a certain manner or to perform certain operations described herein. Considering examples in which hardware components are temporarily configured (e.g., programmed), each of the hardware components need not be configured or instantiated at any one instance in time. For example, where a hardware component comprises a general-purpose processor configured by software to become a special-purpose processor, the general-purpose processor can be configured as respectively different special-purpose processors (e.g., comprising different hardware components) at different times. Software accordingly configures a particular proces sor or processors, for example, to constitute a particular hardware component at one instance of time and to constitute a different hardware component at a different instance of time. Hardware components can provide information to, and receive information from, other hardware components. Accordingly, the described hardware components can be regarded as being communicatively coupled. Where multiple hardware components exist contemporaneously, communications can be achieved through signal transmission (e.g., over appropriate circuits and buses) between or among two or more of the hardware components. In examples in which multiple hardware components are configured or instantiated at different times, communications between such hardware components can be achieved, for example, through the storage and retrieval of information in memory structures to which the multiple hardware components have access. For example, one hardware component can perform an operation and store the output of that operation in a memory device to which it is communicatively coupled. A further hardware component can then, at a later time, access the memory device to retrieve and process the stored output. Hardware components can also initiate communications with input or output devices, and can operate on a resource (e.g., a collection of information). The various operations of example methods described herein can be performed, at least partially, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors can constitute processor-implemented components that operate to perform one or more operations or functions described herein. As used herein, “proces sor-implemented component” can refer to a hardware component implemented using one or more processors. Similarly, the methods described herein can be at least partially processor-implemented, with a particular processor or processors being an example of hardware. For example, at least some of the operations of a method can be performed by one or more processors or processor-implemented components. Moreover, the one or more processors can also operate to support performance of the relevant operations in a “cloud computing” environment or as a “software as a service” (SaaS). For example, at least some of the operations can be performed by a group of computers (as examples of machines including processors), with these operations being accessible via a network (e.g., the Internet) and via one or more appropriate interfaces (e.g., an API). The performance of certain of the operations can be distributed among the processors, not only residing within a single machine, but deployed across a number of machines. In some examples, the processors or processor-implemented components can be located in a single geographic location (e.g., within a home environment, an office environment, or a server farm). In other examples, the processors or processor-implemented components can be distributed across a number of geographic locations.

[0253] “Computer-readable medium” can include, for example, both machine-storage media and signal media. Thus, the terms include both storage devices / media and carrier waves / modulated data signals. The terms “machine-readable medium,”“computer-readable medium” and “device-readable medium” mean the same thing and can be used interchangeably in this disclosure.

[0254] “Machine-storage medium” can include, for example, a single or multiple storage devices and media (e.g., a centralized or distributed database, and associated caches and servers) that store executable instructions, routines, and data. The term shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media, including memory internal or external to processors. Specific examples of machine-storage media, computer-storage media, and device-storage media include non-volatile memory, including by way of example semiconductor memory devices, e.g., erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), Field-Programmable Gate Arrays (FPGA), flash memory devices, Solid State Drives (SSD), and Non-Volatile Memory Express (NVMe) devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM, DVD-ROM, Blu-ray Discs, and Ultra HD Blu-ray discs. In addition, machine-storage medium can also refer to cloud storage services, Network Attached Storage (NAS), Storage Area Networks (SAN), and object storage devices. The terms “machine-storage medium,”“device-storage medium,”“computer-storage medium” mean the same thing and can be used interchangeably in this disclosure. The terms “machine-storage media,”“computer-storage media,” and “device-storage media” specifically exclude carrier waves, modulated data signals, and other such media, at least some of which are covered under the term “signal medium.”

[0255] “Network” can include, for example, one or more portions of a network that can be an ad hoc network, an intranet, an extranet, a Virtual Private Network (VPN), a Local Area Network (LAN), a Wireless LAN (WLAN), a Wide Area Network (WAN), a Wireless WAN (WWAN), a Metropolitan Area Network (MAN), the Internet, a portion of the Internet, a portion of the Public Switched Telephone Network (PSTN), a Voice over IP (VoIP) network, a cellular telephone network, a 5G™ network, a wireless network, a Wi-Fi® network, a Wi-Fi 6® network, a Li-Fi network, a Zigbee® network, a Bluetooth® network, another type of network, or a combination of two or more such networks. For example, a network or a portion of a network can include a wireless or cellular network, and the coupling can be a Code Division Multiple Access (CDMA) connection, a Global System for Mobile communications (GSM) connection, or other types of cellular or wireless coupling. In this example, the coupling can implement any of a variety of types of data transfer technology, such as third Generation Partnership Project (3GPP) including 4G, fifth-generation wireless (5G) networks, Universal Mobile Telecommunications System (UMTS), High Speed Packet Access (HSPA), Long Term Evolution (LTE) standard, others defined by various standard-setting organizations, other long-range protocols, or other data transfer technology.

[0256] “Non-transitory computer-readable medium” can include, for example, a tangible medium that is capable of storing, encoding, or carrying the instructions for execution by a machine.

[0257] “Processor” can include, for example, data processors such as a Central Processing Unit (CPU), a Reduced Instruction Set Computing (RISC) Processor, a Complex Instruction Set Computing (CISC) Processor, a Graphics Processing Unit (GPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Radio-Frequency Integrated Circuit (RFIC), a Quantum Processing Unit (QPU), a Tensor Processing Unit (TPU), a Neural Processing Unit (NPU), a Field Programmable Gate Array (FPGA), another processor, or any suitable combination thereof. The term “processor” can include multi-core processors that can comprise two or more independent processors (sometimes referred to as “cores”) that can execute instructions contemporaneously. These cores can be homogeneous (e.g., all cores are identical, as in multicore CPUs) or heterogeneous (e.g., cores are not identical, as in many modern GPUs and some CPUs). In addition, the term “processor” can also encompass systems with a distributed architecture, where multiple processors are interconnected to perform tasks in a coordinated manner. This includes cluster computing, grid computing, and cloud computing infrastructures. Furthermore, the processor can be embedded in a device to control specific functions of that device, such as in an embedded system, or it can be part of a larger system, such as a server in a data center. The processor can also be virtualized in a software-defined infrastructure, where the processor's functions are emulated in software.

[0258] “Signal medium” can include, for example, an intangible medium that is capable of storing, encoding, or carrying the instructions for execution by a machine and includes digital or analog communications signals or other intangible media to facilitate communication of software or data. The term “signal medium” shall be taken to include any form of a modulated data signal, carrier wave, and so forth. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a matter as to encode information in the signal. The terms “transmission medium” and “signal medium” mean the same thing and can be used interchangeably in this disclosure.

[0259] “User device” can include, for example, a device accessed, controlled or owned by a user and with which the user interacts perform an action, engagement or interaction on the user device, including an interaction with other users or computer systems.

Claims

1. A method comprising;detecting, by an extended Reality (XR) device, a predefined hand gesture performed by at least one hand of a user, andin response to detecting the predefined hand gesture, activating an image capture mode comprising:tracking movement of the at least one hand to define a crop region within a field of view of at least one camera of the XR device, the crop region defining a portion of image data captured of a real-world environment within the field of view of the at least one camera;displaying a crop frame corresponding to the crop region in the field of view of the user, the crop frame dynamically bounding the portion of the image data captured of the real-world environment in response to the tracked movement of the at least one hand;detecting, using at least one pose sensor of the XR device, a change in orientation of the XR device;adjusting the crop region using a virtual camera having parameters matching a focal length of the at least one camera and a physical offset between the at least one camera and a display of the XR device to maintain alignment between the crop region and a physical object within the field of view;monitoring, using a tracking pipeline of the XR device, hand positions of the at least one hand to detect a release of the predefined hand gesture, the release comprising the at least one hand transitioning from performing the predefined hand gesture to a released position;in response to detecting the release of the predefined hand gesture, capturing the portion of image data captured of a real-world environment as image data corresponding to the crop region from the at least one camera of the XR device;generating an XR user interface using the image data, the XR user interface including at least one interactive option for interacting with the XR user interface; andcausing the XR user interface to be provided to the user.

2. The method of claim 1, wherein the predefined hand gesture comprises a first pinch gesture performed by a first hand of the user and a second pinch gesture performed by a second hand of the user.

3. The method of claim 2, wherein activating the image capture mode comprises determining that both the first pinch gesture and the second pinch gesture are detected within a predetermined proximity to each other.

4. The method of claim 1, wherein the at least one interactive option comprises at least one of: a sharing option, a web search option, and a voice interaction option.

5. The method of claim 1, further comprising processing the image data, wherein processing the image data comprises:sending the image data to an external resource; andreceiving, from the external resource, at least one of: a caption describing content in the image data or a web search result related to the content in the image data.

6. The method of claim 1, further comprising:in response to a selection of a web search option, initiating a web search based on content identified in the image data; anddisplaying web search results in a user interface element of the XR user interface.

7. The method of claim 1, wherein the XR device is a head-wearable apparatus.

8. A machine comprising:at least one processor; andat least one memory storing instructions that, when executed by the at least one processor, cause the machine to perform operations comprising:detecting, by an extended Reality (XR) device, a predefined hand gesture performed by at least one hand of a user; andin response to detecting the predefined hand gesture, activating an image capture mode comprising:tracking movement of the at least one hand to define a crop region within a field of view of at least one camera of the XR device, the crop region defining a portion of image data captured of a real-world environment within the field of view of the at least one camera;displaying a crop frame corresponding to the crop region in the field of view of the user, the crop frame dynamically bounding the portion of the image data captured of the real-world environment in response to the tracked movement of the at least one hand;detecting, using at least one pose sensor of the XR device, a change in orientation of the XR device;adjusting the crop region using a virtual camera having parameters matching a focal length of the at least one camera and a physical offset between the at least one camera and a display of the XR device to maintain alignment between the crop region and a physical object within the field of view;monitoring, using a tracking pipeline of the XR device, hand positions of the at least one hand to detect a release of the predefined hand gesture, the release comprising the at least one hand transitioning from performing the predefined hand gesture to a released position;in response to detecting the release of the predefined hand gesture, capturing the portion of image data captured of a real-world environment as image data corresponding to the crop region from the at least one camera of the XR device;generating an XR user interface using the image data, the XR user interface including at least one interactive option for interacting with the XR user interface; andcausing the XR user interface to be provided to the user.

9. The machine of claim 8, wherein the predefined hand gesture comprises a first pinch gesture performed by a first hand of the user and a second pinch gesture performed by a second hand of the user.

10. The machine of claim 9, wherein activating the image capture mode comprises determining that both the first pinch gesture and the second pinch gesture are detected within a predetermined proximity to each other.

11. The machine of claim 8, wherein the at least one interactive option comprises at least one of: a sharing option, a web search option, and a voice interaction option.

12. The machine of claim 8, further comprising processing the image data, wherein processing the image data comprises:sending the image data to an external resource; andreceiving, from the external resource, at least one of: a caption describing content in the image data or a web search result related to the content in the image data.

13. The machine of claim 8, wherein the operations further comprise:in response to a selection of a web search option, initiating a web search based on content identified in the image data; anddisplaying web search results in a user interface element of the XR user interface.

14. The machine of claim 8, wherein the XR device is a head-wearable apparatus.

15. A machine-storage medium, the machine-storage medium including instructions that, when executed by a machine, cause the machine to perform operations comprising:detecting, by an extended Reality (XR) device, a predefined hand gesture performed by at least one hand of a user; andin response to detecting the predefined hand gesture, activating an image capture mode comprising:tracking movement of the at least one hand to define a crop region within a field of view of at least one camera of the XR device, the crop region defining a portion of image data captured of a real-world environment within the field of view of the at least one camera;displaying a crop frame corresponding to the crop region in the field of view of the user, the crop frame dynamically bounding the portion of the image data captured of the real-world environment in response to the tracked movement of the at least one hand;detecting, using at least one pose sensor of the XR device, a change in orientation of the XR device;adjusting the crop region using a virtual camera having parameters matching a focal length of the at least one camera and a physical offset between the at least one camera and a display of the XR device to maintain alignment between the crop region and a physical object within the field of view;monitoring, using a tracking pipeline of the XR device, hand positions of the at least one hand to detect a release of the predefined hand gesture, the release comprising the at least one hand transitioning from performing the predefined hand gesture to a released position;in response to detecting the release of the predefined hand gesture, capturing the portion of image data captured of a real-world environment as image data corresponding to the crop region from the at least one camera of the XR device;generating an XR user interface using the image data, the XR user interface including at least one interactive option for interacting with the XR user interface; andcausing the XR user interface to be provided to the user.

16. The machine-storage medium of claim 15, wherein the predefined hand gesture comprises a first pinch gesture performed by a first hand of the user and a second pinch gesture performed by a second hand of the user.

17. The machine-storage medium of claim 16, wherein activating the image capture mode comprises determining that both the first pinch gesture and the second pinch gesture are detected within a predetermined proximity to each other.

18. The machine-storage medium of claim 15, wherein the at least one interactive option comprises at least one of: a sharing option, a web search option, and a voice interaction option.

19. The machine-storage medium of claim 15, further comprising processing the image data, wherein processing the image data comprises:sending the image data to an external resource; andreceiving, from the external resource, at least one of: a caption describing content in the image data or a web search result related to the content in the image data.

20. The machine-storage medium of claim 15, wherein the XR device is a head-wearable apparatus.