Virtual keyboard
By detecting the user's hand landmark points and postures through the extended reality device, stable registration and tracking of the virtual keyboard is achieved, which solves the problem of unstable input of the virtual keyboard in the extended reality system and improves the user experience.
Patent Information
- Application Number
- CN202410805683.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-02
- Filing Date
- 2020-09-03
- Publication Date
- 2024-10-08
AI Technical Summary
Existing virtual keyboard technology is difficult to effectively register with the user's hands in extended reality systems, resulting in unstable input and high mis-click rates, especially in the absence of real-world reference points.
Detect the user's hand landmark points through the extended reality device, use hand posture and position to locate and track the virtual keyboard, ensure that it is displayed stably on the display, and re-register when necessary to adapt to hand movements and position changes.
Precise registration of the virtual keyboard with the user's hands is achieved, reducing input errors and improving user experience and operational stability, especially in environments lacking real-world reference points.
Smart Images

Figure CN118747041A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application with application date of September 3, 2020, application number 202080059641.8, and invention name “Virtual Keyboard”. Technical Field
[0002] In general, the present disclosure relates to techniques and systems for generating an extended reality keyboard (referred to as a "virtual keyboard") and registering it with one or more hands of a user. Background Art
[0003] Extended reality technology can be used to present virtual content to users, and / or can combine real environments from the physical world with virtual environments to provide users with extended reality experiences. The term extended reality can include virtual reality, augmented reality, mixed reality, etc. Each of these forms of extended reality allows users to experience or interact with immersive virtual environments or content. For example, an extended reality experience can allow users to interact with a real or physical environment that is enhanced or enhanced using virtual content. Extended reality technology can be implemented to enhance user experience in a wide range of contexts (e.g., entertainment, healthcare, retail, education, social media, etc.). Summary of the invention
[0004] In some examples, systems, methods, and computer-readable media for generating an extended reality keyboard (also referred to as a virtual keyboard) are described. For example, an extended reality device (e.g., an augmented reality head-mounted device, such as glasses or other head-mounted devices) worn by a user can detect one or more hands of the user, for example, by detecting one or more hands in the field of view of a camera of the extended reality device, using sensors located near or on the hands to detect one or more hands, and so on. The extended reality device can generate a virtual keyboard and display it on a display of the extended reality device, for example in response to detecting one or more hands in the field of view of the camera. In some examples, the virtual keyboard can be displayed on top of an image of real-world content (e.g., a scene of a real-world environment can be viewed through the display of the extended reality device) or on top of virtual content. In some examples, the virtual keyboard can be displayed as a projection on the display of the extended reality device (e.g., in these examples, the display can include lenses of extended reality glasses), so that the viewer can view and control the virtual keyboard while viewing the real world through the display. From the perspective of the viewer through the extended reality device, the virtual keyboard appears to be located in an open space.
[0005] The extended reality device can register the virtual keyboard relative to one or more hands of the user. For example, one or more landmark points on one or more hands can be used as real-world registration points for positioning the virtual keyboard on the display of the extended reality device. In some implementations, the one or more landmark points can include at least one point on each hand of the user (e.g., a point on the palm of each hand) and at least one point on each finger of the hand (e.g., three points on each finger). As used herein, the term "finger" can refer to all five fingers of a hand, including the thumb.
[0006] In some examples, once the position of the virtual keyboard is determined based on registering with one or more hands of the user, the virtual keyboard can remain at that position so that it remains fixed at that position until a re-registration event is detected. Examples of re-registration events can include a change in position of one or more hands by a threshold change amount, movement of one or more hands by a threshold movement amount, expiration of a predetermined amount of time after determining the position of the virtual keyboard on the display, any combination thereof, and / or other re-registration events.
[0007] In some examples, the virtual keyboard can be divided into at least a first part and a second part. The first part can be registered relative to the user's first hand, and the second part can be registered relative to the user's second hand. For example, the first hand can be the user's left hand, and the first part of the virtual keyboard can include the left half of the virtual keyboard (or other left side part), while the second hand can be the user's right hand, and the second part of the virtual keyboard can include the right half of the virtual keyboard (or other right side part). In such an example, the first part of the virtual keyboard can track the first hand, and the second part of the virtual keyboard can track the second hand. For example, when the user moves the first hand, the first part of the virtual keyboard can move relative to the first hand on the display. Similarly, the second part of the virtual keyboard can move relative to the second hand on the display.
[0008] According to at least one illustrative example, a method for generating virtual content is provided. The method includes: obtaining, by an extended reality device, an image of a scene of a real world environment, wherein when virtual content is displayed by a display of the extended reality device, the real world environment is viewable through the display; detecting, by the extended reality device, at least a portion of a user's physical hand in the image; generating a virtual keyboard based on detecting at least the portion of the physical hand; determining a position of the virtual keyboard on the display of the extended reality device, the position being determined relative to at least the portion of the physical hand; and displaying, by the extended reality device, the virtual keyboard at the position on the display.
[0009] In another example, an apparatus for generating virtual content is provided, the apparatus comprising: a display; a memory configured to store one or more images; and one or more processors (e.g., implemented in a circuit) coupled to the memory. The one or more processors are configured and can perform the following operations: obtaining an image of a scene of a real-world environment, wherein the real-world environment is viewable through the display when virtual content is displayed by the display of the augmented reality device; detecting at least a portion of a user's physical hand in the image; generating a virtual keyboard based on detecting at least the portion of the physical hand; determining a position of the virtual keyboard on the display, the position being determined relative to at least the portion of the physical hand; and displaying the virtual keyboard at the position on the display.
[0010] In another example, a non-transitory computer-readable medium of an extended reality device having instructions stored thereon, the instructions, when executed by one or more processors, cause the one or more processors to: obtain an image of a scene of a real-world environment, wherein the real-world environment is viewable through a display of the extended reality device when virtual content is displayed by the display; detect at least a portion of a user's physical hand in the image; generate a virtual keyboard based on detecting at least the portion of the physical hand; determine a position of the virtual keyboard on the display, the position being determined relative to at least the portion of the physical hand; and display the virtual keyboard at the position on the display.
[0011] In another example, an apparatus for processing one or more frames is provided. The apparatus includes means for obtaining an image of a scene; detecting at least a portion of a user's physical hand in the image, the at least the portion of the physical hand being viewable through a display; generating a virtual keyboard based on detecting at least the portion of the physical hand; determining a position of the virtual keyboard on the display, the position being determined relative to the at least the portion of the physical hand; and displaying the virtual keyboard at the position on the display and over a real world environment viewable through the display.
[0012] In some aspects, the above-mentioned methods, devices and computer-readable media also include: detecting one or more landmark points on the physical hand; determining one or more positions of the one or more landmark points relative to the camera used to capture the image; and based on the one or more positions of the one or more landmark points relative to the camera, determining the position of the virtual keyboard on the display relative to the physical hand.
[0013] In some aspects, the above-mentioned methods, apparatuses and computer-readable media further include: determining a posture of the user's head; and determining the position of the virtual keyboard on the display relative to the head based on the posture of the head.
[0014] In some aspects, the virtual keyboard is fixed at the position on the display as the physical hand moves position.
[0015] In some aspects, the methods, apparatus, and computer-readable media described above further include: receiving input associated with operation of the virtual keyboard; and maintaining the virtual keyboard at the position while operating the virtual keyboard based on the received input.
[0016] In some aspects, the above-mentioned methods, devices and computer-readable media also include: determining that at least the portion of the physical hand is in a different position in an additional image of the scene compared to the position of at least the portion of the physical hand in the image; and based on determining that at least the portion of the physical hand is in the different position in the additional image of the scene, displaying the virtual keyboard at an additional position on the display, wherein the additional position is different from the position.
[0017] In some aspects, the above-mentioned methods, devices and computer-readable media also include: detecting the expiration of a predetermined amount of time after determining the position of the virtual keyboard on the display; and based on detecting the expiration of the predetermined amount of time, displaying the virtual keyboard at an additional position on the display, wherein the additional position is different from the position.
[0018] In some aspects, at least the portion of the physical hand includes at least one point on the physical hand and at least one point on a finger of the physical hand.
[0019] In some aspects, at least the portion of the physical hand includes at least one point on the physical hand and at least one point on each finger of the physical hand.
[0020] In some aspects, the virtual keyboard includes a first portion and a second portion, the first portion being displayed on the display at the position relative to the physical hand, and the second portion being displayed on the display at an additional position relative to another physical hand of the user. In some aspects, the first portion of the virtual keyboard moves on the display relative to the physical hand, and wherein the second portion of the virtual keyboard moves on the display relative to the another physical hand.
[0021] In some aspects, the above-mentioned methods, devices and computer-readable media also include: determining that the physical hand does not exist in the additional image of the scene; and based on determining that the physical hand does not exist in the additional image of the scene, removing the virtual keyboard from the display.
[0022] In some aspects, the virtual keyboard is active for providing input when the virtual keyboard is removed from the display.
[0023] In some aspects, the above methods, apparatuses, and computer-readable media further include: deactivating the virtual keyboard so that it is not used to provide input.
[0024] In some aspects, the virtual keyboard is displayed when the physical hand is not present in one or more images of the scene.
[0025] In some aspects, the apparatus is or is part of a camera (e.g., an IP camera), a mobile device (e.g., a mobile phone or so-called "smart phone" or other mobile device), a wearable device, an extended reality device (e.g., a virtual reality (VR) device, an augmented reality (AR) device, or a mixed reality (MR) device), a personal computer, a laptop computer, a server computer, or other device. In some aspects, the apparatus includes a camera or multiple cameras for capturing one or more images. In some aspects, the apparatus also includes a display for displaying one or more images, notifications, and / or other displayable data. In some aspects, the apparatus may include one or more sensors.
[0026] This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by reference to appropriate portions of the entire specification of this patent, any or all drawings, and each claim.
[0027] The foregoing and other features and embodiments will become more fully apparent after reference to the following description, claims and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Illustrative embodiments of the present application are described in detail below with reference to the following drawings:
[0029] Figure 1 is a diagram illustrating an example of an extended reality device worn by a user according to some examples;
[0030] Figure 2 is a diagram illustrating an example of a virtual keyboard displayed by an extended reality device according to some examples;
[0031] Figure 3is a diagram illustrating examples of hand landmark points that may be used to register a position of a virtual keyboard and / or track a position of a virtual keyboard in one or more images according to some examples;
[0032] Figure 4 is a diagram illustrating an example of a virtual keyboard divided into two parts according to some examples.
[0033] Figure 5 is a flow chart illustrating an example of a process for displaying virtual content according to some examples;
[0034] Figure 6 is an example computing device architecture for an example computing device that can implement the various techniques described herein. DETAILED DESCRIPTION
[0035] Some aspects and embodiments of the present disclosure are provided below. It will be apparent to those skilled in the art that some of these aspects and embodiments can be applied independently, and some of them can be applied in combination. In the following description, for the purpose of explanation, specific details are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent that each embodiment can be implemented without using these specific details. The accompanying drawings and description are not intended to be restrictive.
[0036] The following description only provides exemplary embodiments and is not intended to limit the scope, applicability or configuration of the present disclosure. More specifically, the following description of the exemplary embodiments will provide a feasible description for implementing the exemplary embodiments to those skilled in the art. It should be understood that various changes may be made to the function and arrangement of the elements without departing from the spirit and scope of the present application as set forth in the appended claims.
[0037] As mentioned above, extended reality (XR) technology can provide virtual content to users, and / or combine the real or physical environment with the virtual environment (composed of virtual content) to provide users with an extended reality experience. Extended reality experience includes virtual reality (VR), augmented reality (AR), mixed reality (MR) and / or other immersive content.
[0038] AR is a technology that provides virtual or computer-generated content (referred to as AR content) over a user's perspective of a physical, real-world scene or environment. AR content may include any virtual content, such as video, graphical content, location data (e.g., global positioning system (GPS) data or other location data), sound, any combination thereof, and / or other enhanced content. AR systems are designed to enhance (or enhance) (rather than replace) a person's current perception of reality. For example, a user may see a real stationary or moving object through an AR device display, but the user's visual perception of the real object may be enhanced or strengthened by a virtual image of the object (e.g., a real-world car is replaced with a virtual image of a DeLorean) or by AR content added to the object (e.g., virtual wings added to a living animal). Various types of AR systems may be used for gaming, entertainment, and / or other applications.
[0039] Two types of AR systems that can be used to provide AR content include video see-through displays and optical see-through displays, both of which can be used to enhance the user's visual perception of real-world objects. In a video see-through system, a live video of a real-world scene is displayed, including one or more objects that are enhanced or enhanced on the live video. A video see-through system can be implemented using a mobile device (e.g., video on a mobile phone display), a head-mounted display (HMD), or other suitable devices that can display video and display computer-generated objects on top of the video.
[0040] In an optical see-through system with AR features, AR objects can be displayed directly in a real-world view without video. For example, a user can view physical objects through a display (e.g., glasses or lenses), and AR content can be projected onto the display to allow the user to gain an enhanced visual perception of one or more real-world objects. Examples of displays used in optical see-through AR systems are AR glasses, a head-mounted display (HMD), another AR headset, or other similar devices that may include lenses or glasses in front of each eye to allow the user to see real-world objects directly, while also allowing an enhanced image of the object or additional AR content to be projected onto the glasses to enhance the user's visual perception of the real world.
[0041] VR provides a fully immersive experience in a three-dimensional computer-generated environment or a video of a real-world environment (which can be interacted with in a seemingly real or physical way). As the user experiencing the VR environment moves in the real world, the image rendered in the virtual environment also changes, giving the user the perception that the user is moving within the VR environment. For example, the user can turn left or right, look up or down, and / or move forward or backward, thereby changing the user's viewpoint of the VR environment. The VR content presented to the user can change accordingly, making the user's experience as seamless as in the real world. In some cases, VR content can include VR videos that can be captured and rendered with very high quality, thereby potentially providing a truly immersive virtual reality experience. Virtual reality applications include games, training, education, sports videos, and online shopping. VR content can be rendered and displayed using VR devices (e.g., VR HMD or other VR headsets), which completely cover the user's eyes during the VR experience.
[0042] MR technology can combine aspects of VR and AR to provide users with an immersive experience. For example, in an MR environment, real-world and computer-generated objects can interact (e.g., real people can interact with virtual people as if the virtual people were real people).
[0043] Text and character input is a fundamental feature for many communication devices, including AR, VR, and MR systems. For example, current and future AR devices will need to support text input via some kind of input device. Many text input solutions use a type of physical input device, such as a keyboard, pen or other pointer device, or other input device. Gestures and voice are also examples of input mechanisms, but are not widely used due to, for example, social acceptance of using such input mechanisms.
[0044] Using a keyboard for text and character input is well known to most users. However, a physical keyboard cannot be used with many XR (e.g., AR, VR, and / or MR) systems in a user-friendly manner. In some cases, XR systems are often mobile and used while the user is traveling from one place to another. In some cases, the user cannot see the physical keyboard while wearing the XR headset. Furthermore, in some cases, the XR device may not have an input that can allow the connection of a physical keyboard. For example, a set of AR glasses may not have a keyboard cable or Bluetooth port that can accept a keyboard. TM Universal Serial Bus (USB) port of the adapter.
[0045] A virtual keyboard (e.g., an AR keyboard) can be beneficial in an XR system by allowing a user to easily provide text or character input without the need for a physical keyboard. However, there are technical challenges associated with developing a virtual keyboard. The virtual keyboard should closely match the usability standards of the real-world keyboard in order to be effective and accepted by the user. For example, the keyboard should not experience excessive jitter or drift so that the user can accurately select buttons on the keyboard (to reduce errors). In order to prevent such jitter in AR-based and some MR-based systems that allow users to view the real world enhanced with virtual content, it is necessary to align the virtual keyboard with one or more physical objects in the real world (e.g., position it relative to it). However, in some cases, there may be a lack of real-world objects that can be used to provide references for alignment purposes. There are also such problems for other virtual objects, such as virtual musical instruments, virtual buttons, virtual sliders, virtual steering wheels, virtual paintbrushes, virtual writing tools, and / or other virtual objects.
[0046] Systems, devices, methods, and computer-readable media for generating virtual objects (e.g., virtual keyboards) and aligning virtual objects relative to one or more hands of a user are described herein. Examples are provided herein using a virtual keyboard as an example of a virtual object. However, the techniques described herein may be implemented to align other virtual objects relative to one or more hands of a user, including virtual musical instruments (e.g., virtual pianos or keyboards, virtual drums, virtual snare drums, etc.), virtual buttons, virtual sliders, virtual steering wheels, virtual paintbrushes, virtual writing tools (e.g., virtual pencils, virtual pens, etc.), and / or other virtual objects. For illustrative purposes, an example using an optical perspective AR system is also provided herein. However, a person of ordinary skill will appreciate that the techniques described herein may be applicable to video perspective AR systems or other types of XR systems, including VR and MR systems.
[0047] Figure 1 1 is a diagram showing an example of an AR device 102 being worn by a user 100. Figure 1 102 is shown as an HMD, but the AR device 102 may include any suitable type of AR device, such as AR glasses or other AR devices. The AR device 102 is described as an optical see-through AR device that allows the user 100 to view the real world through the display 110 of the AR device 102 while wearing the AR device 102. For example, the user 100 can view an object 104 in a real-world scene or environment on a target plane 106 that is a certain distance away from the user 100. The AR device 102 has a camera 108 and a display 110 (e.g., glasses, screens, lenses, or other displays) that allow the user to see the real-world scene or environment and also allow AR content to be displayed thereon. Although in Figure 11 and 104. In some implementations, the AR device 102 may include multiple cameras and / or multiple displays (e.g., a display for the right eye and a display for the left eye). AR content (e.g., images, videos, graphics, virtual or AR objects, or other AR content) may be projected or otherwise displayed on the display 110. In one example, the AR content may include an enhanced version of the object 104. In another example, the AR content may include additional AR content related to the object 104 or to one or more other objects in the real-world scene or environment.
[0048] like Figure 1 As shown, the AR device 102 may include a processor 114 and a memory 112 (or other computer-readable medium), or may communicate with the processor 114 and the memory 112 (or other computer-readable medium) by wire or wireless communication. Figure 1 A processor 114 and a memory 112 are shown in FIG, but in some implementations, the AR device 102 may include multiple processors and / or multiple memory devices. The processor 114 and the memory 112 may store and execute instructions for performing the techniques described herein. In an implementation where the AR device 102 communicates (wired or wirelessly) with the memory 112 and the processor 114, the device that houses the memory 112 and the processor 114 may be a computing device, such as a desktop computer, a laptop computer, a mobile phone, a tablet device, a game console, or other suitable device. The AR device 102 also includes an input device 116 or communicates (wired or wirelessly) with the input device 116. The input device 116 may include any suitable input device, such as a touch screen, a pen or other pointer device, a keyboard, a mouse, a button or key, a microphone for receiving voice commands, a gesture input device for receiving gesture commands, any combination thereof, and / or other input devices. In some cases, the camera 108 may capture images that can be processed for interpreting gesture commands.
[0049] Camera 108 may capture color images (e.g., images with red-green-blue (RGB) color components, images with luminance (Y) and chrominance (C) color components (e.g., YCbCr images), or other color images) and / or grayscale images. As described above, in some cases, AR device 102 may include multiple cameras, such as dual front cameras and / or one or more front cameras and one or more rear cameras, which may also incorporate various sensors (e.g., one or more sensors 118). In some cases, camera 108 (and / or other cameras of AR device 102) may capture still images and / or videos including multiple video frames (or images). In some cases, image data received by the image sensor of camera 108 (and / or other cameras) may be in a raw, uncompressed format and may be compressed and / or otherwise processed (e.g., by an image signal processor (ISP) or other processor of AR device 102) before being further processed and / or stored in memory 112. In some cases, image compression may be performed by processor 114 using a lossless or lossy compression technique (eg, any suitable video or image compression technique).
[0050] In some cases, camera 108 (and / or other cameras of AR device 102) can be configured to also capture depth information. For example, in some implementations, camera 108 (and / or other cameras) can include an RGB depth (RGB-D) camera. In some cases, AR device 102 may include one or more depth sensors (not shown) that are separate from camera 108 (and / or other cameras) and can capture depth information. For example, such a depth sensor can obtain depth information independently of camera 108. In some examples, the depth sensor can be physically mounted in the same general location as camera 108, but can operate at a different frequency or frame rate than camera 108. In some examples, the depth sensor can take the form of a light source that can project a structured or textured light pattern (which can include one or more narrow light bands) onto one or more objects in the scene. Depth information can then be obtained by exploiting the geometric distortion of the projected pattern caused by the surface shape of the object. In one example, depth information can be obtained from a stereo sensor, such as a combination of an infrared structured light projector and an infrared camera registered with a camera (e.g., an RGB camera).
[0051] In some implementations, the AR device 102 includes one or more sensors 118. The one or more sensors 118 may include one or more accelerometers, one or more gyroscopes, one or more magnetometers, combinations thereof, and / or other sensors. The one or more sensors 118 may provide speed, orientation, and / or other position-related information to the processor 114. In some cases, the one or more sensors 118 may include at least one inertial measurement unit (IMU). An IMU is an electronic device that uses a combination of one or more accelerometers, one or more gyroscopes, and / or one or more magnetometers to measure the specific force, angular rate, and / or orientation of the AR device 102. In some examples, the one or more sensors 118 may output measurement information associated with the capture of images captured by the camera 108 (and / or other cameras of the AR device 102) and / or depth information obtained using one or more depth sensors of the AR device 102.
[0052] The processor 114 may use the output of one or more sensors 118 (e.g., one or more IMUs) to determine the pose (also referred to as the head pose) of the AR device 102 and / or the pose of the camera 108 (or other cameras of the AR device 102). In some cases, the pose of the AR device 102 and the pose of the camera 108 (or other cameras) may be the same. The pose of the camera 108 refers to the position and orientation of the camera 108 relative to a reference frame (e.g., relative to the object 104). In some implementations, the camera pose may be determined for 6 degrees of freedom (6DOF), which refers to three translational components (e.g., which may be given by X (horizontal), Y (vertical), and Z (depth) coordinates relative to a reference frame (e.g., an image plane)) and three angular components (e.g., roll, pitch, and yaw relative to the same reference frame).
[0053] In some embodiments, the pose of the camera 108 and / or the AR device 102 can be determined and / or tracked by the processor 114 based on images captured by the camera 108 (and / or other cameras of the AR device 102) using a visual tracking solution. In some examples, the processor 114 can perform tracking using computer vision-based tracking, model-based tracking, and / or simultaneous localization and mapping (SLAM) technology. For example, the processor 114 can perform SLAM or can communicate (wired or wirelessly) with a SLAM engine (not shown). SLAM refers to a class of technologies that create an environmental map (e.g., an environmental map modeled by the AR device 102) while tracking the pose of the camera (e.g., camera 108) and / or the AR device 102 relative to the map. The map can be referred to as a SLAM map and can be three-dimensional (3D). SLAM technology can be performed using color or grayscale image data captured by the camera 108 (and / or other cameras of the AR device 102) and can be used to generate an estimate of the 6DOF pose measurement of the camera 108 and / or the AR device 102. Such SLAM technology configured to perform 6DOF tracking may be referred to as 6DOF SLAM.In some cases, the output of one or more sensors 118 may be used to estimate, correct, and / or otherwise adjust the estimated pose.
[0054] In some cases, 6DOF SLAM (e.g., 6DOF tracking) can associate features observed from certain input images from camera 108 (and / or other cameras) with a SLAM map. 6DOF SLAM can use feature point associations from the input image to determine the pose (position and orientation) of camera 108 and / or AR device 102 for the input image. 6DOF mapping can also be performed to update the SLAM map. In some cases, a SLAM map maintained using 6DOF SLAM can contain 3D feature points triangulated from two or more images. For example, a keyframe can be selected from an input image or video stream to represent the observed scene. For each keyframe, a corresponding 6DOF camera pose associated with the image can be determined. The pose of camera 108 and / or AR device 102 can be determined by projecting features from a 3D SLAM map into an image or video frame and updating the camera pose according to a verified 2D-3D correspondence.
[0055] In one illustrative example, the processor 114 may extract feature points from each input image or from each key frame. As used herein, a feature point (also referred to as a registration point) is a unique or identifiable part of an image, such as a part of a hand, an edge of a table, etc. The features extracted from the captured image may represent different feature points along a three-dimensional space (e.g., coordinates on the X, Y, and Z axes), and each feature point may have an associated feature position. The feature points in the key frame either match (same or corresponding) or fail to match the feature points of the previously captured input image or key frame. Feature detection may be used to detect feature points. Feature detection may include an image processing operation for checking one or more pixels of an image to determine whether a feature exists at a particular pixel. Feature detection may be used to process the entire captured image or certain parts of an image. For each image or key frame, once a feature has been detected, a local image block around the feature may be extracted. Features may be extracted using any suitable technique, such as a scale invariant feature transform (SIFT) (which locates features and generates their descriptions), a speeded up robust feature (SURF), a gradient location-orientation histogram (GLOH), a normalized cross correlation (NCC), or other suitable techniques.
[0056] In some examples, AR (or virtual) objects can be aligned with (e.g., positioned relative to) feature points detected in the scene. For example, user 100 may be viewing a restaurant across the street from where user 100 is standing. In response to identifying the restaurant and AR content associated with the restaurant, processor 114 can generate an AR object that provides information related to the restaurant. Processor 114 can also detect feature points from a portion of the image that includes a restaurant sign, and can align the AR object with the feature points of the sign so that the AR object is displayed relative to the sign (e.g., above the sign so that it can be easily identified by user 100 as being related to the restaurant).
[0057] The AR device 102 can generate and display various AR objects for the user 100 to view. For example, the AR device 102 can generate and display a virtual keyboard as an AR object for the user 100 to enter text and / or other characters as needed. As described above, the virtual keyboard should be as stable as possible so that the user can provide input accurately. The virtual keyboard needs to be aligned with one or more physical objects in the real world. However, in many cases, there may be a lack of real-world objects with unique features that can be used as a reference for alignment purposes. For example, if the user is staring at a blank whiteboard, the whiteboard may not have any unique features with which the virtual keyboard can be aligned. Outdoor environments provide even fewer unique points that can be used to align the virtual keyboard, such as based on a lack of points in the real world, unique objects in the real world are farther apart (compared to when the user is indoors), there are many moving points in the real world, points are at a certain distance, and so on.
[0058] To at least avoid the problem of lack of feature points in the real world scene or environment, the AR device 102 can utilize the hands of the user 100 to register the virtual keyboard. For example, one or both hands and fingers of the user 100 can be used as real-world registration points for the virtual keyboard (e.g., anchoring the virtual keyboard in space). By registering the keyboard with the hands and fingers, the challenges of outdoor operation are reduced.
[0059] Figure 2 2 is a diagram showing an example of an AR device 202 displaying a virtual keyboard 228 on a display 210 (e.g., a piece of glass or lens positioned above a user's eye). The virtual keyboard 228 is displayed as an AR object that augments the user's view of a real-world scene or environment. As shown, the user can view the actual real-world environment through the display 210 of the AR device 202, including their actual (or physical) hands 226 in the real-world environment. The AR device 202 can be similar to the AR device 202 described above with respect to Figure 1 The AR device 102 described above may also be applicable to other types of XR devices, such as VR devices and / or MR devices.
[0060] In some examples, the AR device 202 may be responsive to a camera (e.g., Figure 1 The AR device 202 may detect the user's hand 226 in the field of view of the camera 108 or other camera shown in FIG. 2 and generate and display the virtual keyboard 228. For example, the processor of the AR device 202 (e.g., in FIG. 2 ) may detect the user's hand 226 in the field of view of the camera 108 or other camera shown in FIG. Figure 1The processor 114 or other components shown in the AR device 202 can detect the user's actual (or physical) hand 226 in the image captured by the camera of the AR device 202. In some cases, a hand or a portion of a hand can be detected in the image, which can cause the virtual keyboard 228 to be displayed. Any suitable object detection technology can be used to detect the hand 226 in one or more images. In an illustrative example, the processor can use computer vision-based object detection to detect the hand 226 (or a hand) in the image. Object detection is generally a technique for detecting (or locating) an object from an image or video frame. When performing positioning, a bounding area that identifies the location and / or approximate boundaries of an object (e.g., a face) in the image or video frame can be used to represent the detected object. The bounding area of the detected object may include a bounding box, a bounding circle, a bounding ellipse, or an area of any other suitable shape representing the detected object.
[0061] The processor can use different types of computer vision-based object detection algorithms. In an illustrative example, a template matching-based technique can be used to detect one or more hands in an image. Various types of template matching algorithms can be used. An example of a template matching algorithm can perform Haar or Haar-like feature extraction, integral image generation, Adaboost training, and cascade classifiers. This object detection technique performs detection by applying a sliding window (e.g., with a rectangular, circular, triangular, or other shape) across an image. The integral image can be calculated as an image representation that evaluates features of a specific area (e.g., a rectangular or circular feature) from an image. For each current window, the Haar features of the current window can be calculated from the integral image mentioned above, and the integral image can be calculated before calculating the Haar features.
[0062] Haar features can be calculated by calculating the sum of image pixels (e.g., those pixels of the integral image) within a specific feature area of the object image. For example, in a face, an area with eyes is generally darker than an area with a nose bridge or cheeks. Haar features can be selected by selecting the best features and / or a learning algorithm (e.g., an Adaboost learning algorithm) that trains a classifier that uses them, and can be used to effectively classify a window as a hand (or other object) window or a non-hand window using a cascade classifier. A cascade classifier includes multiple classifiers combined in a cascade manner, which allows the background area of the image to be quickly discarded while performing more calculations on areas of similar objects. For example, a cascade classifier can classify the current window as a hand category or a non-hand category. If a classifier classifies the window as a non-hand category, the window is discarded. Otherwise, if a classifier classifies the window as a hand category, the next classifier in the cascade arrangement will be used to test again. Until all classifiers determine that the current window is a hand (or other object), the window will be marked as a candidate for a hand (or other object). After all windows are detected, a non-maximum suppression algorithm may be used to group the facial windows around each hand to generate a final result of one or more detected hands.
[0063] In another illustrative example, machine learning techniques can be used to detect the hand 226 (or a hand) in the image. For example, a neural network (e.g., a convolutional neural network) can be trained using labeled training data to detect one or more hands in the image. In response to detecting the hand 226 (or a hand), the processor of the AR device 202 can generate a virtual keyboard 228 for display. In some examples, if the hand 226 is no longer detected in an image captured by the camera of the AR device 202 or in a certain number of images captured therefrom (e.g., 1800 images, corresponding to one minute at a capture rate of 30 frames per second, or other number of images), the processor of the AR device 202 can remove the virtual keyboard 228 from the display. In some examples, if the hand 226 is no longer detected in one or more images for a certain duration (e.g., within one minute, three minutes, five minutes, or other amount of time), the processor of the AR device 202 can remove the virtual keyboard 228 from the display. In some examples, when virtual keyboard 228 is removed from the display, the AR device 220 process may deactivate virtual keyboard 228 .
[0064] In some examples, the processor of the AR device 220 may maintain the virtual keyboard 228 as active for providing input (e.g., based on receiving input from the user) after the virtual keyboard is removed from the display. For example, if the user looks away from their hand 226 (and away from the virtual keyboard 228 registered with respect to the hand 226), the virtual keyboard 228 may remain active and the user may continue typing or otherwise providing input using the virtual keyboard 228. In some examples, the process of the AR device 220 may deactivate the virtual keyboard 228 so that the virtual keyboard 228 cannot be used to provide input to the AR device 220 and / or other devices in communication with the AR device 220. For example, the user may select an option (e.g., by providing user input such as gesture input, voice input, and / or other input) to deactivate the virtual keyboard 228.
[0065] In some examples, the processor of the AR device 220 can continue to display the virtual keyboard 228 even if the hand 226 is no longer detected in one or more images. For example, in some cases, when the hand 226 is not detected in one or more images, the processor can display the virtual keyboard 228 at a specific or predefined location on the display, such as at the bottom center of the display, the lower left corner of the display, the lower right corner of the display, the upper left corner of the display, the upper right corner of the display, or other parts of the display. In some cases, the specific or predefined location can be configured or set by the user (e.g., as a user preference).
[0066] In some examples, the pose of the hand 226 can be determined using one or more sensors located on or near the one or more hands 226. In one example, at least one sensor can be part of a glove on the user's right hand, and at least one other sensor can be part of a glove on the user's left hand. In another example, at least one sensor can be part of a wristband, watch, or other item on the user's right wrist, and at least one other sensor can be part of a wristband, watch, or other item on the user's right wrist. The one or more sensors can detect the pose of the hand and can transmit information for the pose (e.g., X, Y, and Z coordinates and / or roll, pitch, and yaw) to the AR device 202. The AR device 202 can then be displayed relative to the user's hands (as described herein), as specified by the hand pose information.
[0067] like Figure 2As shown, the virtual keyboard 228 is displayed as a projection on the display 210 at a position relative to the user's physical hand 226. The position where the virtual keyboard 228 is displayed relative to the hand 226 can be determined by aligning the virtual keyboard 228 with one or more landmark points detected on the hand 226, as described in more detail below. The user can continue to view the real world scene (or environment) through the display 210 while the virtual keyboard 228 is displayed. The user can view and control the virtual keyboard 228 while being able to view the real world scene. In some examples (not shown), the AR device 202 is configured to display the virtual keyboard as an overlay on an image of the real world scene or on an image of the virtual environment displayed by the AR device 202.
[0068] In some examples, one or more AR objects may be displayed on the display 210 of the AR device 202, and the user may input text and / or other characters that may be used to manipulate the one or more AR objects. Figure 2 As shown, AR object 224 can be displayed on display 210. Virtual keyboard 228 can receive input from the user in response to the user typing text and / or other characters on virtual keyboard 228. The input can be processed and displayed in AR object 224. In one illustrative example, AR object 224 includes a text application, and the user can use virtual keyboard 228 to enter a message, which can be displayed as a message in a field of AR object 224.
[0069] Before displaying the virtual keyboard 228 (or in some cases while the virtual keyboard 228 is displayed), the processor of the AR device 202 may register the virtual keyboard 228 with one or more landmark points (also referred to as registration points) detected on the hand 226. In some examples, the landmark points on the hand may be detected using a hand skeleton tracking method. For example, the detection may be performed using a depth camera view of the user's hand 226 (e.g., an image from a depth camera (such as a depth sensor or an RGB-D camera)), an RGB monocular camera view of the hand 226 (e.g., an image from an RGB monocular camera), and / or a monochrome camera view of the hand 226 (e.g., an image from a monochrome camera). In one illustrative example, a 3-dimensional (3D) deformable model of the hand (or hands 226) is used to generate a view of the hand that most closely matches the view of the hand as seen by an image sensor (e.g., a depth camera, an RGB camera, and / or a monochrome camera). For example, the 3D deformable model may be modified and used to generate a view that matches the view of the hand (or hands 226) in an image captured using an image sensor. Once a closely matching view of the 3D model of the hand is established, the parameters of the model corresponding to this matching view can be used to obtain the locations of the landmark points of the model, which can be used to approximate the landmark points of the hand.
[0070] In other examples, templates for various hand gestures and their corresponding landmark points can be stored a priori in a database. At detection time, an image captured by an image sensor (e.g., an RGB camera, a depth camera, a monochrome camera, or other image sensor) is matched to one of these templates, and the landmark points are located using the corresponding matching template. The templates and matches can be stored in a feature space that is handcrafted or learned using machine learning techniques.
[0071] As a result of the detection of one or more landmark points on the hand 226, a pose of the landmarks (and therefore the hand and fingers) in relative physical positions relative to the image sensor is established. As described in more detail below, the one or more landmark points on the hand 226 can be used as real-world registration points for positioning the virtual keyboard 228 on the display 210 of the AR device 202. Although the examples provided below describe using one or more landmark points on the hand 226 for registration of the virtual keyboard 228, in some cases the registration can be performed using landmark points of only one hand of the user. In some examples, different portions of the virtual keyboard can be registered relative to different hands of the user (e.g., a first portion can be registered relative to a first hand, and a second portion can be registered relative to a second hand, as described below with respect to Figure 4 described).
[0072] In some cases, the one or more landmark points may include at least one point on each hand of the user (e.g., a point on the palm of each hand) and at least one point on each finger of the hand (e.g., three points on each finger). As used herein, the term "finger" may refer to all five fingers of a hand, including the index finger, middle finger, ring finger, pinky finger (or pinky finger), and thumb. Landmark points on different parts of the hand may provide multiple degrees of freedom, which may provide multiple options for positioning the virtual keyboard 228.
[0073] Figure 3 is a diagram showing examples of landmark points of a hand 326 that may be used for registration in one or more images. Figure 2 The position of the virtual keyboard 228 and / or the real world point that tracks the position of the virtual keyboard 228. Figure 3The landmark points shown in correspond to different parts of the hand 326, including a landmark point 335 on the palm of the hand, three landmark points on the thumb 330 of the hand 326, three landmark points on the index finger 332 of the hand 326, three landmark points on the middle finger 334 of the hand 326, three landmark points on the ring finger 336 of the hand 326, and three landmark points on the pinky finger 338 of the hand 326. The palm of the hand 326 can move in three translational directions (e.g., measured in the X, Y, and Z directions relative to a plane such as the image plane) and in three rotational directions (e.g., measured in yaw, pitch, and roll relative to the plane), and thus provide six degrees of freedom (6DOF) that can be used for registration and / or tracking. The 6DOF movement of the palm is Figure 3 Shown as a square, as indicated in legend 339.
[0074] Different joints of the fingers of hand 326 allow for different degrees of movement, as shown in illustration 339. Figure 3 As shown by the diamond shape in FIG. 3 (e.g., diamond 333), the base of each finger (corresponding to the metacarpophalangeal joint (MCP) between the proximal phalanx and the metacarpal bone) has two degrees of freedom (2DOF), which correspond to flexion and extension and abduction and adduction. Figure 3 As shown by the circular shapes in FIG. 3 (e.g., circle 331), each of the upper joints of each finger (corresponding to the interphalangeal joints between the distal, middle, and proximal phalanges) has one degree of freedom (2DOF), which corresponds to flexion and extension. As a result, hand 326 provides 26 degrees of freedom (26DOF) according to which virtual keyboard 228 will be registered and tracked.
[0075] Return to reference Figure 2 , the processor of the AR device 202 may use one or more of the landmark points on the hand 226 to register the virtual keyboard. As described above, as a result of the detection of one or more landmark points on the hand 226, a pose of the landmarks (and thus the hand and fingers) in relative physical positions relative to the image sensor is established. For example, landmark points on the palm of the hand 226 (e.g., Figure 3226), and the locations of the landmark points can be determined relative to the camera of the AR device 202. One or more points (e.g., a center point, such as a center of mass or other center point) of the virtual keyboard 228 can then be positioned on the display 210 of the AR device 202 relative to the locations determined for the landmark points on the palm of the hand 226. In some examples, one or more points (e.g., the center point) of the virtual keyboard 228 can be aligned relative to the locations of multiple landmark points on the hand 226. In some examples, multiple points on the virtual keyboard 228 can be aligned relative to the locations of one or more landmark points on the hand 226. For example, the center point of the virtual keyboard 228 and points corresponding to the four corners of the virtual keyboard 228 can be aligned relative to the locations of one or more landmark points on the hand 226.
[0076] In some examples, the processor of the AR device 202 may align the virtual keyboard with points in the real-world environment (as detected in one or more images) and / or other parts of the user. For example, in some implementations, one or more image sensors (e.g., cameras) may be rigidly mounted on an AR device (e.g., an HMD, AR glasses, VR glasses, or other device). In such an implementation, in addition to the physical posture of one or more hands relative to the image sensor on the AR device, the positions of other fixed environmental landmarks (e.g., unique points on a wall (referred to as key points), one or more corners of an object, features on the floor, etc.) may also be determined. The virtual keyboard may be placed so that it does not always move with the hand, but is instead constrained to a certain position relative to a stationary environmental key point.
[0077] In some examples, the posture of the user's head (or "head posture") can be determined. The posture of the head can correspond to the position (e.g., with respect to the horizontal or X-dimension, the vertical or Y-dimension, and the depth or Z-dimension) and / or orientation (e.g., with respect to roll, pitch, and yaw) of the head. The head posture can be determined using any suitable technique, such as using the above-described head posture. Figure 1 The techniques described above (e.g., using one or more sensors 118, such as one or more accelerometers, one or more gyroscopes, one or more magnetometers, one or more inertial measurement units (IMUs), combinations thereof, and / or other sensors) may be used to determine the position of the virtual keyboard 228. For example, the head pose may be used as another reference point to which the virtual keyboard 228 may be registered.
[0078] In some examples, the user's head posture can be used to determine whether to display the virtual keyboard 228 on the display 210. For example, in addition to detecting the hand 226, the processor can also determine the user's head posture as described above (e.g., using one or more sensors 118, such as one or more accelerometers, one or more gyroscopes, one or more magnetometers, one or more inertial measurement units (IMUs), combinations thereof, and / or other sensors). The processor can determine whether to display the virtual keyboard 228 based on a combination of the head posture and the hand position. In one illustrative example, if the hand 226 is detected as being stretched out a certain amount (e.g., twelve inches or more) and the posture of the head is such that it is tilted back, it can be determined that the user is not trying to type a message (e.g., the user may be tilting her head back and spreading her hands apart in frustration), and the processor can determine not to display the virtual keyboard 228.
[0079] In some examples, the virtual keyboard 228 may remain at a position determined using the positions of the landmark points of the hand 226 (and in some cases using points in the real world scene or environment). While the virtual keyboard 228 remains fixed at the determined position, the user may then virtually type on the virtual keyboard 228. The virtual keyboard 228 may remain fixed while the user types. In some cases, the virtual keyboard 228 may remain at the determined position until a processor of the AR device 202 detects a re-registration event. If a re-registration event is detected, the processor may re-register the virtual keyboard 228 relative to the hand 226 so that the virtual keyboard 228 is displayed at a new position on the display 210. In one illustrative example, the re-registration event may include a change in position of one or more of the hands 226 by a threshold change amount. For example, if the user moves the hand 226 beyond the threshold change amount, the processor of the AR device 202 may re-register the virtual keyboard 228 using one or more landmark points of the hand 226. The threshold change amount may include any suitable distance, such as six inches, twelve inches, eighteen inches, or other suitable amount.
[0080] In another illustrative example, the re-registration event may include one or more hands 226 moving by a threshold movement amount. For example, the velocity and / or acceleration of the hands may be measured (e.g., using an accelerometer, gyroscope, and / or other sensor), and the velocity and / or acceleration of the hands may be used to determine whether the velocity and / or acceleration exceeds the threshold movement amount. If the processor of the AR device 202 detects movement of one or more hands 226 at a velocity and / or acceleration that exceeds the threshold movement amount, the processor may use one or more landmark points of the hands 226 to re-register the virtual keyboard 228. The threshold movement amount may include any suitable velocity and / or acceleration (e.g., two feet per second) that indicates that the hands 226 may have moved to a new location.
[0081] In another illustrative example, the re-registration event can include a predetermined amount of time after determining the position of the virtual keyboard 228 on the display 210. For example, if the processor of the AR device 202 detects that the predetermined amount of time has expired since the previous position of the virtual keyboard 228 was determined (e.g., since the virtual keyboard 228 was last registered with the user's hand 226), the processor can use one or more landmark points of the hand 226 to re-register the virtual keyboard 228. The predetermined amount of time can include any suitable amount of time, such as every fifteen seconds, thirty seconds, one minute, two minutes, five minutes, or other amount of time.
[0082] In some examples, the location of the landmark points of hand 226 (and in some cases points in a real-world scene or environment) may be used to determine the initial location of virtual keyboard 228. In some cases, after determining the initial location of virtual keyboard 228, virtual keyboard 228 may move as the user's hand 226 moves. In some examples, virtual keyboard 228 may maintain the same location or positioning relative to the fingertip location as hand 226 moves. If the fingertip is within a threshold distance (e.g., 0.5 inches, 1 inch, 2 inches, and / or other distances) for selecting a nearby key, virtual keyboard 228 may not move. For example, when the fingertip is within a threshold distance for selecting a nearby key, virtual keyboard 228 may remain stationary.
[0083] In some examples, the gesture of hand 226 may be used to virtually position virtual keyboard 228 so that it is always at a predetermined angle relative to hand 226. In such an example, as hand 226 and / or fingers of hand 226 move in space, the virtual keyboard will move with hand 226, but will remain positioned at the predetermined angle relative to hand 226.
[0084] In some cases, the virtual positioning of the virtual keyboard 228 can be determined for the entire virtual keyboard as a single object. In some examples, the virtual keyboard 228 can be generated as different parts (e.g., as different virtual objects), and the different parts can be positioned separately relative to separate hands 226 or even different fingers, as described below with respect to Figure 4 In such an example, different parts of the virtual keyboard will move with different hands 226 as the hands and / or fingers move in space.
[0085] In one illustrative example, virtual keyboard 228 may be divided into at least a first portion and a second portion. Figure 44 is a diagram showing an example of a virtual keyboard 428 that has been divided into two parts, including a first part 440 and a second part 442. Using a registration technique similar to the registration technique described above, the first part 440 of the virtual keyboard 428 can be registered relative to the user's first hand 444, and the second part 442 of the virtual keyboard 428 can be registered relative to the user's second hand 446. The first part 440 can track the first hand 444 so that when the user moves the first hand 444, the first part 440 moves relative to the first hand 444 on the display of the AR device. As the user moves the second hand 446, the second part 442 of the virtual keyboard 428 can also move relative to the second hand 446 on the display.
[0086] By dividing the virtual keyboard 228 into multiple parts (e.g., Figure 4 ), the accuracy of detecting which keyboard buttons are being pressed can be maximized. For example, certain buttons of each portion of the virtual keyboard 228 can be registered with certain fingers (e.g., registered with landmark points corresponding to the fingertips of certain fingers) so that the buttons are positioned next to (e.g., below or relative to) those fingers. In one illustrative example, the J, U, Y, H, N, M, and 7 buttons (and other buttons in some cases) can be registered relative to the fingertip of the index finger of the user's right hand or relative to other parts of the right hand. For example, the portion of the virtual keyboard 228 including those buttons can be positioned (and / or moved in some cases) relative to the fingertip of the index finger of the user's right hand so that those buttons are always close to the fingertip of the index finger. In another example, the portion of the virtual keyboard 228 including those buttons can be positioned relative to another part of the user's right hand or arm (e.g., the wrist (e.g., the center point on the wrist), the palm (e.g., the center point on the palm), or other parts or points on the hand or arm). In some examples, the initial position of each of the first and second parts of the virtual keyboard 228 can be determined based on the position of the fingertip, wrist, palm, or other part of the user's hand 226 or arm. In such an example, after determining the initial position of the virtual keyboard 228, the virtual keyboard 228 can move as the user's hand 226 moves. In some cases, as the hand 226 moves, the virtual keyboard 228 can maintain the same position relative to the fingertip position, but if the fingertip is within a threshold distance (e.g., 0.5 inches, 1 inch, 2 inches, and / or other distances) for selecting a nearby key, it may not move. For example, when the fingertip is within the threshold distance for selecting a nearby key, the virtual keyboard 228 can remain stationary.
[0087] In some examples, other techniques may be performed to minimize keystroke errors by the user when using a virtual keyboard. For example, human error may still occur, but accidental button presses due to virtual keyboard placement or shape may be minimized. In some cases, when a user presses a button with a finger, segmentation of each finger may be performed to allow accurate target acquisition. Any suitable image segmentation may be performed to segment or divide the image into different fragments (e.g., sets of pixels, which may be referred to as superpixels) corresponding to different fingers. Examples of computer vision-based image segmentation techniques include thresholding methods, edge detection-based techniques, region-based techniques, clustering-based techniques, watershed-based techniques, partial differential equation-based techniques, and machine learning (e.g., neural network)-based techniques.
[0088] In some examples, the processor of the AR device 202 can determine that a certain part of the finger (e.g., fingertip, nail, side, and / or other part) and input can be accepted only when a certain part of the finger is in contact with a certain part of the virtual keyboard 228 (e.g., a button). For example, using machine learning techniques (e.g., neural networks, such as convolutional neural networks or other machine learning systems), the processor of the AR device 202 can determine which parts of the finger (e.g., all ten fingers) are acceptable to activate the buttons of the virtual keyboard 228. For example, the fingertip of the finger can be an acceptable touch target activator for activating a button on the virtual keyboard 228, while the side of the finger can be determined as not being an allowable touch target activator. The side of the finger can be defined as the part of the finger that is a certain distance (e.g., two centimeters, three centimeters, or other distance) from the center of the fingertip. The processor of the AR device 202 can then determine which part of the finger is in contact with the button of the virtual keyboard 228, and can activate the button based on whether the part of the finger is an acceptable touch target activator. Using a machine learning model can allow fingers of multiple types (e.g., shapes, sizes, etc.) to work accurately with the virtual keyboard 228.
[0089] In some examples, the processor of the AR device 202 can detect the size (e.g., length and / or width) of each finger of the user. The processor of the AR device 202 can use the size information to better detect which buttons of the virtual keyboard 228 are intended to be selected by the user. In some examples, the processor of the AR device 202 can use the size information to determine the size of the virtual keyboard 228 and / or the size of the buttons of the virtual keyboard 228. For example, a larger virtual keyboard with larger buttons can be generated for a first user with large fingers compared to a second user with smaller fingers than the first user.
[0090] In some examples, size information may also be used to determine when a user is wearing gloves or other items that change size. For example, gloves may cause fingers to appear large and may cause errors in fine manipulation and target selection when determining which buttons are intended to be selected by the user. In one illustrative example, in response to detecting that the user's fingers are larger (or smaller) than a previously determined size, the processor of the AR device 202 may generate a larger (or smaller) virtual keyboard 228 with larger (or smaller) button sizes. In one illustrative example, in response to detecting that the user's fingers are larger (or smaller) than a previously determined size, the processor of the AR device 202 may virtually change (e.g., based on the user wearing gloves) the size of the changed hand to match a previously determined size (e.g., an ungloved hand).
[0091] In some examples, the processor of the AR device 202 can track the user's typing habits (e.g., where they hit specific keys, where errors occur, etc.). Using the tracked typing habits, the AR device 202 can customize the layout of the virtual keyboard 228 to accommodate the user's typing habits. For example, certain buttons can be moved slightly to reduce typing errors, certain buttons can be resized, and / or other modifications can be performed. In some examples, machine learning can be used to track the user's typing habits.
[0092] Figure 5 5 is a flowchart illustrating an example of a process 500 for generating virtual content. At box 502, process 500 includes: obtaining an image of a scene of a real-world environment by an extended reality device. The extended reality device may include a display that allows the real-world environment to be viewable through the display when the virtual content is displayed by the display. The extended reality device may include an augmented reality (AR) device (e.g., an AR headset such as an HMD, AR glasses, or other AR devices), a virtual reality (VR) headset (e.g., an HMD or other type of VR headset), or a mixed reality (MR) device. In some examples, process 500 may be performed by an extended reality device or a component of an extended reality device.
[0093] At block 504, process 500 includes detecting, by the extended reality device, at least a portion of a user's physical hand in the image. In some examples, at least the portion of the physical hand is viewable through a display of the extended reality device (e.g., as part of a real-world environment). In some cases, at least the portion of the physical hand includes at least one point on the hand and at least one point on a finger of the hand. For example, at least the detected portion of the hand may include a Figure 3 In some examples, at least the portion of the hand includes at least one point on the hand and at least one point on each finger of the hand. For example, referring to Figure 3, at least the portion of the detected hand may include landmark point 335 in the palm of hand 326 and at least one of the landmark points on each finger of hand 326.
[0094] At box 506, process 500 includes generating a virtual keyboard based on detecting at least the portion of the physical hand. At box 508, process 500 includes determining the position of the virtual keyboard on the display of the extended reality device relative to the physical hand. In some examples, process 500 may include detecting one or more landmark points on the physical hand. Process 500 may include determining one or more positions of the one or more landmark points relative to a camera used to capture an image. Process 500 may also include determining the position of the virtual keyboard on the display relative to the physical hand. The position of the virtual keyboard can be determined based on one or more positions of the one or more landmark points relative to the camera. For example, the virtual keyboard can be aligned relative to one or more positions of the one or more landmark points.
[0095] In some examples, the user's head posture can be used to register the virtual keyboard.For example, process 500 can include: determining the user's head posture, and determining the position of the virtual keyboard on the display relative to the head based on the head posture.
[0096] At block 510, process 500 includes displaying, by the extended reality device, a virtual keyboard at the location on the display. For example, in some cases, process 500 may display the virtual keyboard at the location on the display and over the real world environment viewable through the display. In some implementations, the virtual keyboard is displayed as an overlay at the location in an additional image of the scene. In some implementations, the virtual keyboard is displayed as a projection at the location on the display.
[0097] In some examples, when the physical hand moves position, the virtual keyboard is fixed at the position on the display. In some cases, process 500 may include: receiving input associated with operation of the virtual keyboard; and maintaining the virtual keyboard at the position while operating the virtual keyboard based on the received input. For example, in such a case, when the user types or otherwise operates the virtual keyboard, the virtual keyboard remains fixed at the position on the display (the position to which it is registered).
[0098] In some cases, process 500 may include determining that at least the portion of the physical hand is at a different location in an additional image of the scene than the location of at least the portion of the physical hand in the image. Based on determining that at least the portion of the physical hand is at a different location in the additional image of the scene, process 500 may include displaying the virtual keyboard at an additional location on the display, wherein the additional location is different from the location.
[0099] In some cases, process 500 may include detecting expiration of a predetermined amount of time after determining the position of the virtual keyboard on the display. Based on detecting expiration of the predetermined amount of time, process 500 may include displaying the virtual keyboard at an additional position on the display, wherein the additional position is different from the position.
[0100] In some examples, the virtual keyboard may include a first portion and a second portion. For example, process 500 may include: generating a virtual keyboard so that it has a first portion and a second portion. In some instances, the first portion may be displayed on the display at a location relative to a physical hand, and the second portion may be displayed on the display at an additional location relative to another physical hand of the user. In some cases, the first portion of the virtual keyboard moves on the display relative to the physical hand (e.g., when the hand moves), and the second portion of the virtual keyboard moves on the display relative to the other physical hand (e.g., when the other hand moves).
[0101] In some examples, process 500 may include: determining that there is no physical hand in the additional image of the scene; and based on determining that there is no physical hand in the additional image of the scene, removing the virtual keyboard from the display. In some examples, when the virtual keyboard is removed from the display, the virtual keyboard is active for providing input.
[0102] In some cases, process 500 includes deactivating the virtual keyboard so that it is not used to provide input. In some cases, process 500 deactivates the virtual keyboard in response to determining that a physical hand is not present in one or more images of the scene. In some examples, process 500 deactivates the virtual keyboard in response to receiving user input indicating deactivation of the virtual keyboard.
[0103] In some examples, a virtual keyboard is displayed when a physical hand is not present in one or more images of the scene. For example, when a hand is not detected in one or more images, process 500 can display a virtual keyboard at a predefined location on the display. In some cases, the specific or predefined location can be configured or set by a user.
[0104] The above description of process 500 and the Figure 1-Figure 4 The described examples may be implemented individually or in any combination.
[0105] In some examples, process 500 can be performed by a computing device or apparatus, such as a computer having Figure 6 In one illustrative example, a computing device (e.g., executing process 500) may include an extended reality display device, such as AR glasses, an AR head-mounted display (HMD), a VR HMD, an MR HMD, or other types of XR devices.
[0106] In some cases, the computing device or apparatus may include an input device, an output device, one or more processors, one or more microprocessors, one or more microcomputers, and / or other components configured to perform the steps of process 500. The components of the computing device (e.g., one or more processors, one or more microprocessors, one or more microcomputers, and / or other components) may be implemented in circuits. For example, the components may include and / or be implemented using electronic circuits or other electronic hardware, which may include one or more programmable electronic circuits (e.g., microprocessors, graphics processing units (GPUs), digital signal processors (DSPs), central processing units (CPUs), and / or other suitable electronic circuits), and / or may include and / or be implemented using computer software, firmware, or any combination thereof to perform the various operations described herein. The computing device may also include a display (as an example of an output device or in addition to an output device), a network interface configured to transmit and / or receive data, any combination thereof, and / or other components. The network interface may be configured to transmit and / or receive data based on an Internet Protocol (IP) or other types of data.
[0107] Process 500 is illustrated as a logical flow diagram, the operations of which represent a series of operations that can be implemented using hardware, computer instructions, or a combination thereof. In the context of computer instructions, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations. Typically, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform specific functions or implement specific data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations may be combined in any order and / or in parallel to implement the process.
[0108] In addition, process 500 can be executed under the control of one or more computer systems configured with executable instructions, and can be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that is executed together on one or more processors, by hardware, or a combination thereof. As described above, the code can be stored on a computer-readable or machine-readable storage medium, for example, in the form of a computer program including multiple instructions executable by one or more processors. The computer-readable or machine-readable storage medium can be non-transitory.
[0109] Figure 6 is a diagram showing an example of a system for implementing certain aspects of the technology herein. Specifically, Figure 6An example of a computing system 600 is shown, which may be, for example, any computing device constituting an internal computing system, a remote computing system, a camera, or any component thereof, wherein the components of the system communicate with each other using connection 605. Connection 605 may be a physical connection using a bus, or a direct connection to processor 610 (e.g., in a chipset architecture). Connection 605 may also be a virtual connection, a network connection, or a logical connection.
[0110] In some embodiments, computing system 600 is a distributed system in which the functionality described in the present disclosure may be distributed across a data center, multiple data centers, a peer-to-peer network, etc. In some embodiments, one or more of the described system components represent a number of such components that each perform some or all of the functionality for which the functionality of the component is described. In some embodiments, a component may be a physical or virtual device.
[0111] The example system 600 includes at least one processing unit (CPU or processor) 610 and connections 605 that couple various system components including system memory 615 (e.g., read only memory (ROM) 620 and random access memory (RAM) 625) to the processor 610. The computing system 600 may include a cache 612 of high-speed memory directly connected to, proximate to, or integrated as part of the processor 610.
[0112] Processor 610 may include any general purpose processor and hardware or software services, such as services 632, 634, and 636 stored in storage device 630, which are configured to control processor 610 as well as a dedicated processor where software instructions are incorporated into the actual processor design. Processor 610 may essentially be a completely self-contained computing system, including multiple cores or processors, buses, memory controllers, caches, etc. Multi-core processors may be symmetric or asymmetric.
[0113] To enable user interaction, the computing system 600 includes an input device 645, which can represent any number of input mechanisms, such as a microphone for voice, a touch-sensitive screen for gesture or graphical input, a keyboard, a mouse, motion input, voice, etc. The computing system 600 can also include an output device 635, which can be one or more of a variety of output mechanisms. In some cases, a multimodal system can enable a user to provide multiple types of input / output to communicate with the computing system 600. The computing system 600 may include a communication interface 640, which can generally govern and manage user input and system output. The communication interface can use a wired and / or wireless transceiver to perform or facilitate the reception and / or transmission of wired or wireless communications, including a transceiver using the following: an audio jack / plug, a microphone jack / plug, a universal serial bus (USB) port / plug, Ports / plugs, Ethernet ports / plugs, Fiber optic ports / plugs, Proprietary wired ports / plugs, Wireless signal transmission, Low power (BLE) wireless signal transmission, Wireless signal transmission, radio frequency identification (RFID) wireless signal transmission, near field communication (NFC) wireless signal transmission, dedicated short range communication (DSRC) wireless signal transmission, 802.11 Wi-Fi wireless signal transmission, wireless local area network (WLAN) signal transmission, visible light communication (VLC), Worldwide Interoperability for Microwave Access (WiMAX), infrared (IR) communication wireless signal transmission, public switched telephone network (PSTN) signal transmission, integrated services digital network (ISDN) signal transmission, 3G / 4G / 5G / LTE cellular data network wireless signal transmission, ad hoc network signal transmission, radio wave signal transmission, microwave signal transmission, infrared signal transmission, visible light signal transmission, ultraviolet light signal transmission, wireless signal transmission along the electromagnetic spectrum, or some combination thereof. The communication interface 640 may also include one or more global navigation satellite system (GNSS) receivers or transceivers for determining the location of the computing system 600 based on the reception of one or more signals from one or more satellites associated with one or more GNSS systems. GNSS systems include, but are not limited to, the United States-based Global Positioning System (GPS), the Russian-based Global Navigation Satellite System (GLONASS), the Chinese-based BeiDou Navigation Satellite System (BDS), and the European-based Galileo GNSS. There is no restriction on operation on any particular hardware arrangement, and thus the basic features herein may be easily replaced with improved hardware or firmware arrangements as they are developed.
[0114] The storage device 630 may be a non-volatile and / or non-transitory and / or computer-readable memory device, and may be a hard disk or other type of computer-readable medium that can store data accessible by a computer, such as a magnetic cassette, a flash memory card, a solid-state memory device, a digital versatile disk, a cassette, a floppy disk, a floppy disk, a hard disk, a magnetic tape, a magnetic stripe / magnetic stripe, any other magnetic storage medium, a flash memory, a memristor memory, any other solid-state memory, a compact disk-read only memory (CD-ROM) optical disk, a rewritable compact disk (CD) optical disk, a digital video disk (DVD) optical disk, a Blu-ray disc (BDD) optical disk, a holographic optical disk, another optical medium, a secure digital (SD) card, a micro secure digital (microSD) card, card, a smart card chip, an EMV chip, a subscriber identity module (SIM) card, a micro / micro / nano / pico SIM card, another integrated circuit (IC) chip / card, a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash EPROM (FLASHEPROM), a cache memory (L1 / L2 / L3 / L4 / L5 / L#), a resistive random access memory (RRAM / ReRAM), a phase change memory (PCM), a spin-transfer torque RAM (STT-RAM), other memory chips or cartridges, and / or combinations thereof.
[0115] Storage device 630 may include software services, servers, services, etc., which cause the system to perform functions when the processor 610 executes the code defining such software. In some embodiments, hardware services that perform a particular function may include software components stored in a computer-readable medium that interface with the necessary hardware components (e.g., processor 610, connection 605, output device 635, etc.) to perform the function.
[0116] As used herein, the term "computer-readable medium" includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other media capable of storing, containing or carrying instructions and / or data. Computer-readable media may include non-transitory media in which data may be stored and does not include the following: carrier waves and / or temporary electronic signals propagated wirelessly or on a wired connection. Examples of non-transitory media may include, but are not limited to: disks or tapes, optical storage media such as compact discs (CDs) or digital versatile discs (DVDs), flash memory, memory, or memory devices. Computer-readable media may have codes and / or machine-executable instructions stored thereon, which may represent any combination of procedures, functions, subroutines, programs, routines, subroutines, modules, software packages, classes, or instructions, data structures, or program statements. A code segment may be coupled to another code segment or hardware circuit by passing and / or receiving information, data, independent variables, parameters, or memory contents. Information, independent variables, parameters, data, etc. may be passed, forwarded, or sent via any appropriate means including memory sharing, message passing, token passing, network transmission, etc.
[0117] In some embodiments, computer-readable storage devices, media, and memories may include cables or wireless signals containing bit streams, etc. However, when referred to, non-transitory computer-readable storage media explicitly excludes media such as energy, carrier signals, electromagnetic waves, and signals themselves.
[0118] Specific details are provided in the above description to provide a thorough understanding of the embodiments and examples provided herein. However, it will be appreciated by those of ordinary skill in the art that these embodiments can be implemented without these specific details. For clarity of explanation, in some cases, the technology herein can be presented as a separate functional block including the following functional blocks, which include equipment, device components, steps or routines in the method embodied in software, or a combination of hardware and software. In addition to the components shown in the figures and / or described herein, additional components can also be used. For example, circuits, systems, networks, processes, and other components can be shown as components in block diagram form, so as not to obscure these embodiments in unnecessary details. In other cases, known circuits, processes, algorithms, structures, and techniques may be shown as not having unnecessary details, so as to avoid obscuring these embodiments.
[0119] Each embodiment may be described as a process or method above, and the process or method is depicted as a flow chart, a schematic flow chart, a data flow chart, a structure diagram or a block diagram. Although the flow chart can describe the operation as a sequential process, many operations in these operations can be performed in parallel or simultaneously. In addition, the order of the operation can be rearranged. The process is terminated after its operation is completed, but may have additional steps that are not included in the figure. A process (process) may correspond to a method, a function, a procedure (procedure), a subroutine, a subprogram, etc. When a process corresponds to a function, its termination may correspond to the function returning to a calling function or a main function.
[0120] The process and method according to the above examples can be implemented using computer executable instructions, which are stored in a computer readable medium or can be obtained from a computer readable medium in other ways. Such instructions may include, for example, instructions or data, which cause a general-purpose computer, a special-purpose computer or a processing device to execute or otherwise be configured to perform a specific function or a specific set of functions. Parts of the computer resources used can be accessed through a network. Computer executable instructions can be, for example, binary files, intermediate format instructions such as assembly language, firmware, source code, etc. Examples of computer readable media that can be used to store instructions, information used, and / or information created during the method according to the described examples include disks or optical disks, flash memory, USB devices provided with non-volatile memory, network storage devices, etc.
[0121] The equipment implementing the process and method according to these disclosures may include hardware, software, firmware, middleware, microcode, hardware description language or any combination thereof, and may adopt any of a variety of form factors. When implemented with software, firmware, middleware or microcode, the program code or code segment (e.g., computer program product) for performing the necessary tasks may be stored in a computer-readable or machine-readable medium. The processor may perform the necessary tasks. Typical examples of form factors include personal computers, personal digital assistants, rack-mounted devices, stand-alone devices, etc., of laptop computers, smart phones, mobile phones, tablet devices or other small form factors. The functions described herein may also be embodied in peripheral devices or plug-in cards. By way of additional example, this function may also be implemented on circuit boards between different chips or different processes executed in a single device.
[0122] Instructions, media for transmitting such instructions, computing resources for executing them, and other structures for supporting such computing resources are example means for providing the functionality described in this disclosure.
[0123] In the foregoing description, various aspects of the present application are described with reference to the specific embodiments of the present application, but those skilled in the art will recognize that the present application is not limited thereto. Therefore, although the illustrative embodiments of the present application have been described in detail herein, it should be understood that the inventive concept can be embodied and adopted differently in other ways, and the appended claims are intended to be interpreted as including such variations, except for variations limited by the prior art. The various features and aspects of the above-mentioned applications can be used individually or collectively. In addition, without departing from the broader spirit and scope of this specification, the embodiments can be used in any number of environments and applications other than the environments and applications described herein. Therefore, the description and the accompanying drawings are considered to be illustrative rather than restrictive. For the purpose of illustration, the method is described in a specific order. It should be understood that in an alternative embodiment, the method can be performed in an order different from the described order.
[0124] It will be understood by those of ordinary skill in the art that the less than ("<") and greater than (">") symbols or terms used herein may be replaced by less than or equal to ("≤") and greater than or equal to ("≥") symbols, respectively, without departing from the scope of the present specification.
[0125] When a component is described as being “configured to” perform certain operations, such configuration may be achieved, for example, by designing circuits or other hardware to perform the operation, by programming programmable circuits (e.g., a microprocessor or other appropriate circuitry) to perform the operation, or any combination thereof.
[0126] The phrase "coupled to" refers to any component that is physically connected directly or indirectly to another component, and / or any component that communicates directly or indirectly with another component (e.g., connected to another component via a wired or wireless connection and / or other appropriate communication interface).
[0127] Claim language or other language in the present disclosure that recites "at least one of" a set and / or "one or more of" a set indicates that one member of the set or multiple members of the set (in any combination) satisfies the claim. For example, claim language that recites "at least one of A and B" or "at least one of A or B" means A, B, or A and B. In another example, claim language that recites "at least one of A, B, and C" or "at least one of A, B, or C" means A, B, C, or A and B, or A and C, or B and C, or A and B and C. The language "at least one of" a set and / or "one or more of" a set does not limit the set to the items listed in the set. For example, claim language that recites "at least one of A and B" or "at least one of A or B" may mean A, B, or A and B, and may additionally include items not listed in the set of A and B.
[0128] Various illustrative logic blocks, modules, circuits and algorithmic steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software, firmware or a combination thereof. In order to clearly illustrate this interchangeability of hardware and software, various illustrative components, frames, modules, circuits and steps have been generally described above around their functions. Whether this function is implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. Technicians can implement the described functions in different ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the scope of the application.
[0129] The technology described herein can also be implemented with electronic hardware, computer software, firmware, or any combination thereof. Such technology can be implemented in any of a variety of devices, such as a general-purpose computer, a wireless communication device mobile phone, or an integrated circuit device with multiple uses (including applications in wireless communication devices and other devices). Any features described as modules or components can be implemented together in an integrated logic device, or as separate but interoperable logic devices. If implemented with software, the technology can be implemented at least in part by a computer-readable data storage medium, which includes a program code, and the program code includes instructions for executing one or more of the above methods when executed. The computer-readable data storage medium can form a part of a computer program product, and the computer program product can include packaging materials. The computer-readable medium can include a memory or a data storage medium, such as a random access memory (RAM) (such as a synchronous dynamic random access memory (SDRAM)), a read-only memory (ROM), a non-volatile random access memory (NVRAM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic or optical data storage medium, etc. Additionally or alternatively, the techniques may be implemented at least in part by a computer-readable communication medium (such as a propagated signal or wave) that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and / or executed by a computer.
[0130] The program code can be executed by a processor, which may include one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Such a processor can be configured to perform any technology described in this disclosure. A general-purpose processor can be a microprocessor, but in an alternative, the processor can be any conventional processor, controller, microcontroller, or state machine. The processor can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, a combination of one or more microprocessors and a DSP core, or any other such configuration. Therefore, the term "processor" as used herein may refer to any of the aforementioned structures, any combination of the aforementioned structures, or any other structure or device suitable for implementing the technology described herein.
[0131] Illustrative examples of the present disclosure include:
[0132] Example 1. A method for generating virtual content, the method comprising: obtaining, by an extended reality device, an image of a scene of a real-world environment, wherein when the virtual content is displayed by a display of the extended reality device, the real-world environment is viewable through the display; detecting, by the extended reality device, at least a portion of a user's physical hand in the image; generating a virtual keyboard based on detecting at least the portion of the physical hand; determining a position of the virtual keyboard on the display of the extended reality device, the position being determined relative to at least the portion of the physical hand; and displaying, by the extended reality device, the virtual keyboard at the position on the display.
[0133] Example 2. The method according to Example 1 further includes: detecting one or more landmark points on the physical hand; determining one or more positions of the one or more landmark points relative to a camera used to capture the image; and determining the position of the virtual keyboard on the display relative to the physical hand based on the one or more positions of the one or more landmark points relative to the camera.
[0134] Example 3. The method according to any one of Examples 1 or 2 further includes: determining a posture of the user's head; and determining the position of the virtual keyboard on the display relative to the head based on the posture of the head.
[0135] Example 4. A method according to any one of Examples 1 to 3, wherein when the physical hand moves position, the virtual keyboard is fixed at the position on the display.
[0136] Example 5. The method according to any one of Examples 1 to 4 further includes: receiving input associated with the operation of the virtual keyboard; and maintaining the virtual keyboard at the position when the virtual keyboard is operated based on the received input.
[0137] Example 6. The method according to any one of Examples 1 to 5 further includes: determining that at least the portion of the physical hand is at a different position in an additional image of the scene compared to the position of at least the portion of the physical hand in the image; and based on determining that at least the portion of the physical hand is at the different position in the additional image of the scene, displaying the virtual keyboard at an additional position on the display, the additional position being different from the position.
[0138] Example 7. The method according to any one of Examples 1 to 6 further includes: detecting expiration of a predetermined amount of time after determining the position of the virtual keyboard on the display; and based on detecting the expiration of the predetermined amount of time, displaying the virtual keyboard at an additional position on the display, the additional position being different from the position.
[0139] Example 8. A method according to any one of Examples 1 to 7, wherein at least the portion of the physical hand includes at least one point on the physical hand and at least one point on a finger of the physical hand.
[0140] Example 9. A method according to any one of Examples 1 to 8, wherein at least the portion of the physical hand includes at least one point on the physical hand and at least one point on each finger of the physical hand.
[0141] Example 10. A method according to any one of Examples 1 to 9, wherein the virtual keyboard includes a first part and a second part, the first part is displayed on the display at the position relative to the physical hand, and the second part is displayed on the display at an additional position relative to another physical hand of the user.
[0142] Example 11. A method according to Example 10, wherein the first part of the virtual keyboard moves on the display relative to the physical hand, and wherein the second part of the virtual keyboard moves on the display relative to the other physical hand.
[0143] Example 12. The method according to any one of Examples 1 to 11 further includes: determining that the physical hand does not exist in an additional image of the scene; and removing the virtual keyboard from the display based on determining that the physical hand does not exist in the additional image of the scene.
[0144] Example 13. The method of any one of Examples 1 to 12, wherein when the virtual keyboard is removed from the display, the virtual keyboard is active for providing input.
[0145] Example 14: The method according to any one of Examples 1 to 13, further comprising: deactivating the virtual keyboard so as not to be used for providing input.
[0146] Example 15. A method according to any one of Examples 1 to 14, wherein the virtual keyboard is displayed when the physical hand is not present in one or more images of the scene.
[0147] Example 16. An apparatus comprising: a memory configured to store one or more images; and a processor configured to perform operations according to any of Examples 1 to 15.
[0148] Example 17. An apparatus according to Example 16, wherein the apparatus includes an extended reality device.
[0149] Example 18. The apparatus according to any one of Examples 16 or 17 further includes: a camera configured to capture the image of the scene.
[0150] Example 19. The apparatus according to any one of Examples 16 to 18, further comprising: a display configured to display one or more images of the scene.
[0151] Example 20. A computer readable medium having instructions stored thereon, the instructions, when executed by a processor, performing the operations according to any of Examples 1 to 15.
[0152] Example 21. An apparatus comprising: one or more units for performing the operations according to any of Examples 1 to 15.
Claims
1. A method for generating virtual content, the method comprising: Obtaining, by an extended reality device, an image of a scene of a real world environment, wherein the real world environment is viewable through a display of the extended reality device when virtual content is displayed by the display; detecting, by the extended reality device, at least a gesture of a user in the image; generating a virtual keyboard in response to detecting at least the gesture of the user; determining a position of the virtual keyboard on the display of the extended reality device, the position being determined relative to at least the gesture of the user; and The virtual keyboard is displayed by the extended reality device at the position on the display.
2. The method according to claim 1, further comprising: determining a posture of the user's head; as well as The position of the virtual keyboard on the display relative to the head is determined based on the posture of the head.
3. The method according to claim 1, wherein: When the user moves a position, the virtual keyboard is fixed at the position on the display.
4. The method according to claim 1, further comprising: receiving input associated with operation of the virtual keyboard; as well as The virtual keyboard is maintained at the position while operating the virtual keyboard based on the received input.
5. The method according to claim 1, further comprising: determining that at least the gesture of the user is at a different location in an additional image of the scene than the location of at least the gesture of the user in the image; as well as Based on determining that at least the gesture of the user is at the different location in the additional image of the scene, the virtual keyboard is displayed at an additional location on the display, the additional location being different from the location.
6. The method according to claim 1, further comprising: detecting expiration of a predetermined amount of time after determining the position of the virtual keyboard on the display; as well as Based on detecting expiration of the predetermined amount of time, the virtual keyboard is displayed at an additional location on the display, the additional location being different from the location.
7. The method according to claim 1, wherein: The position of the virtual keyboard is adjustable by the user.
8. The method according to claim 1, wherein: The virtual keyboard includes a first portion and a second portion, the first portion being displayed on the display at the position relative to a physical hand of the user, and the second portion being displayed on the display at an additional position relative to another physical hand of the user.
9. The method according to claim 8, wherein: The first portion of the virtual keyboard moves on the display relative to the physical hand, and wherein the second portion of the virtual keyboard moves on the display relative to the other physical hand.
10. A device for generating virtual content, comprising: monitor; a memory configured to store one or more images; as well as a processor implemented in circuitry and coupled to the memory, the processor being configured to: obtaining an image of a scene of a real-world environment, wherein the real-world environment is viewable through a display of the device when the virtual content is displayed by the display; detecting at least a gesture of a user in the image; generating a virtual keyboard in response to detecting at least the gesture of the user; determining a position of the virtual keyboard on the display, the position being determined relative to at least the gesture of the user; and The virtual keyboard is displayed at the location on the display.
11. The device according to claim 10, wherein: The processor is further configured to: determining a pose of the user's head; and The position of the virtual keyboard on the display relative to the head is determined based on the posture of the head.
12. The device according to claim 10, wherein: When the user moves a position, the virtual keyboard is fixed at the position on the display.
13. The device according to claim 10, wherein: The processor is further configured to: receiving input associated with operation of the virtual keyboard; and The virtual keyboard is maintained at the position while operating the virtual keyboard based on the received input.
14. The device according to claim 10, wherein: The processor is further configured to: determining that at least the gesture of the user is at a different location in an additional image of the scene than the location of at least the gesture of the user in the image; as well as Based on determining that at least the gesture of the user is at the different location in the additional image of the scene, the virtual keyboard is displayed at an additional location on the display, the additional location being different from the location.
15. The device according to claim 10, wherein: The processor is further configured to: detecting expiration of a predetermined amount of time after determining the position of the virtual keyboard on the display; as well as Based on detecting expiration of the predetermined amount of time, the virtual keyboard is displayed at an additional location on the display, the additional location being different from the location.
16. The device according to claim 10, wherein: The virtual keyboard includes a first portion and a second portion, the first portion being displayed on the display at the position relative to a physical hand of the user, and the second portion being displayed on the display at an additional position relative to another physical hand of the user.
17. The device according to claim 10, wherein: The apparatus includes an extended reality device.
18. The apparatus according to claim 10, further comprising: A camera configured to capture the image of the scene.
19. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to perform the method of any one of claims 1-9.
