IMU for touch detection
Through the inertial measurement unit and depth image capture technology, the problem of touch event detection in the real environment is solved, the touch points can be accurately identified and responses provided in the mixed reality environment, and the interactivity of virtual reality and mixed reality is improved.
Patent Information
- Application Number
- CN202111281018.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-28
- Filing Date
- 2019-09-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-09-27
AI Technical Summary
It is difficult for existing technologies to effectively detect touch events in real environments, especially in mixed reality environments where real objects usually do not include traditional touch sensors, making it difficult to accurately identify touch points and provide responses when virtual objects interact with real objects.
Use inertial measurement unit (IMU)-based data to monitor the movement of touched objects, combined with depth image capture and analysis, determine touch events through computer executable programs, generate or refine models of touched objects, distinguish real touch events from false positives, and use Depth information and image data are classified.
It achieves accurate identification of touch events and objects in the real environment, provides precise responses, enhances the interactivity of virtual reality and mixed reality systems, and improves the user's interactive experience with virtual objects.
Smart Images

Figure CN113821124B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese invention patent application with application date of September 27, 2019, application number 201910923517.0, and invention name “IMU for touch detection”. Background Art
[0002] The present disclosure relates generally to the field of touch detection, and more particularly to the field of providing a wearable IMU for touch detection.
[0003] Today's electronic devices provide users with many ways to interact with the world around them. For example, users can interact with electronic devices using virtual or physical keyboards, mice, trackballs, joysticks, touch screens, etc. One way users often interact with digital information on their devices is through a touch screen interface. A touch screen interface allows a user to interact with a display surface using a finger, stylus, or other object. The touch sensor identifies the area touched and provides a response to the user.
[0004] As mixed reality environments increase, users often provide input in additional ways to enable virtual objects to interact with real objects. For example, a user may touch a real object to interact with the real object in a mixed reality manner. However, real objects typically do not include touch sensors that are traditionally used to detect touch from a user. Summary of the invention
[0005] In one embodiment, a method of touch detection is described. The method may include determining a touch event based on data from an inertial measurement unit (IMU) on a first device that monitors movement of a touch object, wherein the touch event indicates contact between the touch object and a surface. The method may also include obtaining a depth image captured by a second device including a touch image in response to the touch event, determining a touch point of the object based on the touch image, and providing a response based on the touch point of the object and the touched surface.
[0006] In another embodiment, the method may be embodied in a computer executable program code and stored in a non-transitory storage device. In another embodiment, the method may be implemented in an electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 A simplified system diagram is shown in block diagram form according to one or more embodiments.
[0008] Figure 2 An exemplary technique for detecting touch in a real environment according to one or more embodiments is shown in flowchart form.
[0009] Figure 3An exemplary technique for generating a model according to one or more embodiments is shown in flowchart form.
[0010] Figure 4 An exemplary technique for identifying true touch events according to one or more embodiments is shown in flowchart form.
[0011] Figure 5 A simplified multifunction device according to one or more embodiments is shown in block diagram form. DETAILED DESCRIPTION
[0012] The present disclosure relates to systems, methods, and computer-readable media for detecting touch in a physical environment. Generally, techniques are disclosed for identifying when a user touches a surface in a physical environment using an inertial measurement unit, and techniques for refining a model of a touch object (such as a finger) in response to detecting a touch in the physical environment. In addition, the present disclosure relates to techniques for estimating a physical environment (e.g., estimating a normal / direction of a physical surface).
[0013] According to one or more embodiments, a wearable device such as a watch or a ring may be worn by a user interacting with a physical environment. The wearable device may include an inertial measurement unit ("IMU") that can track forces, accelerations, acoustic signals (e.g., generated by a user interacting with the physical environment), etc. for an object attached thereto. In one or more embodiments, the wearable device may be worn by a user in a physical environment. Specifically, the wearable device may be worn, for example, on an arm, wrist, or finger, which is or is connected to a finger that interacts with the physical environment by touch. In one or more embodiments, a touch event may be determined based on sensor data from the IMU. For example, the detected force may indicate a touch event. A touch event may indicate contact between a touch object and a surface. The surface may be part of an object in a real environment, or may be another part of a user, such as a hand or finger. In response to detecting a touch event, a touch image of the touch event may be obtained, the touch image including the touch object and the touched surface. The touch image may be captured by a second device. The captured image may be an RGB image or a depth image. Based on the touch image, the touched surface may be determined, and a response may be provided to the user based on the touched surface. A user part (eg, a hand or finger) may first be detected in the image, and the surface may be determined as the surface extending under the user part.
[0014] In one or more embodiments, the touch image may be used to generate or refine a model of a touch object. Specifically, an image captured by a second device (such as a depth image) may not capture the portion of the touch object that makes contact with the surface. However, in one or more embodiments, data about the geometry of the touch object at the touch point may be determined based on depth information from the touch image. For example, a depth image may be obtained from an angle that causes the touch point to be obscured by the touch object (e.g., from the user's perspective, the fingertip touching the surface may be obscured by the hand). A model of a touch object (e.g., a finger, hand, or arm) may be generated or refined based on combined data from a touch image and touch detection. For example, the specific length of a finger may be determined based on the relative position of the surface that the finger is touching and the depth information about the visible portion of the finger in the touch image, even if the touching portion of the finger is obscured. The touch image may be used as a reference image to determine the contact state between the finger and the surface. For example, a release action (i.e., the finger moves away from the surface) may be determined by comparing a reference image with a currently captured image, such as by comparing the distance of the finger from the camera or comparing the distance of the finger relative to the surface.
[0015] In addition, in one or more embodiments, a touch image may be used to determine a false positive from the detected touch. For example, an IMU may detect a touch based on a specific force, but the force may not be associated with the touch. For example, a force may be associated with a twitch of an arm or wrist. Therefore, in one or more embodiments, the auxiliary device may capture a "touch image" when a touch event is detected, and determine whether the touch event is a real touch event based on the touch image. For example, if the image captured when the touch is detected shows that the touch object is not near the surface, the detected touch event may be determined to be a false positive touch event. A method based on depth learning can be used to classify real touch events from other non-touch events (such as twitches of an arm or wrist). The classification can be based on IMU data. The deep learning network can be an LSTM (long short-term memory), an RNN (recurrent neural network), or any time-related network.
[0016] In the following description, for the purpose of explanation, a lot of specific details are set forth in order to provide a thorough understanding of the disclosed concept. As part of this specification, some drawings of the present disclosure represent structures and devices in the form of block diagrams to avoid blurring the novel aspects of the disclosed embodiments. In this context, it should be understood that references to numbered drawing elements without associated identifiers (e.g., 100) refer to all instances of drawing elements with identifiers (e.g., 100a and 100b). In addition, as part of this specification, some drawings of the present disclosure can be provided in the form of flow charts. The blocks in any particular flow chart can be presented in a specific order. However, it should be understood that the specific flow of any flow chart is only used to illustrate an embodiment. In other embodiments, any various components depicted in the flow chart can be deleted, or components can be executed in different orders, or even executed simultaneously. In addition, other embodiments may include additional steps that are not shown as a part of the flow chart. The language used in this disclosure is mainly selected for readability and guidance purposes, and it may not be selected to depict or limit the disclosed subject matter. Reference in this disclosure to "one embodiment" or "an embodiment" is meant to include a particular feature, structure, or characteristic described in connection with the embodiment in at least one embodiment, and multiple references to "one embodiment" or "an embodiment" should not be construed as necessarily all referring to the same embodiment.
[0017] It will be appreciated that in the development of any actual implementation (as in any development project), many decisions must be made to achieve the developer's specific goals (e.g., to meet system and business-related constraints), and that these goals will vary from one implementation to another. It will also be appreciated that such a development effort may be complex and time-consuming, but will nevertheless be a routine undertaking for those of ordinary skill in the art who benefit from the image capture disclosed herein.
[0018] For the purposes of this disclosure, the term "lens" refers to a lens assembly, which may include multiple lenses. In one or more embodiments, the lens may be moved to different positions to capture images with different focal points. Additionally, in one or more embodiments, the lens may refer to any type of lens, such as a telescopic lens or a wide-angle lens. Thus, the term lens may refer to a single optical element or multiple elements configured as a stack or other arrangement.
[0019] For purposes of this disclosure, the term "camera system" refers to one or more lens assemblies and one or more sensor elements and other circuitry for capturing images. For purposes of this disclosure, a "camera" may include more than one camera system, such as a stereo camera system, a multi-camera system, or a camera system capable of sensing the depth of a captured scene.
[0020] The physical environment refers to the physical world that people can sense and / or interact with without the help of electronic systems. A physical environment, such as a physical park, includes physical objects, such as physical trees, physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through vision, touch, hearing, taste, and smell.
[0021] In contrast, a computer generated reality (CGR) environment refers to a fully or partially simulated environment that people sense and / or interact with via electronic systems. In CGR, a subset of a person's physical movements, or representations thereof, are tracked, and in response, one or more features of one or more virtual objects simulated in the CGR environment are adjusted in a manner that complies with at least one law of physics. For example, a CGR system may detect a person's head turning, and in response, adjust the graphical content and sound field presented to the person in a manner similar to the way such views and sounds change in a physical environment. In some cases (e.g., for accessibility reasons), adjustments to features of virtual objects in a CGR environment may be made in response to representations of physical movement (e.g., voice commands).
[0022] A person may sense and / or interact with a CGR object using any of their senses, including vision, hearing, touch, taste, and smell. For example, a person may sense and / or interact with an audio object that creates a 3D or spatial audio environment that provides the perception of a point audio source in 3D space. As another example, an audio object may enable audio transparency that selectively introduces ambient sounds from the physical environment with or without computer-generated audio. In some CGR environments, a person may sense and / or interact only with an audio object.
[0023] Examples of CGR include virtual reality and mixed reality. A virtual reality (VR) environment refers to a simulated environment designed to be based entirely on computer-generated sensory input to one or more senses. A VR environment includes a plurality of virtual objects that a person can sense and / or interact with. For example, trees, buildings, and computer-generated images representing avatars of people are examples of virtual objects. A person can sense and / or interact with virtual objects in a VR environment through a simulation of the person's presence within the computer-generated environment, and / or through a simulation of a subset of the person's physical movements within the computer-generated environment.
[0024] In contrast to VR environments, which are designed to be based entirely on computer-generated sensory input, a mixed reality (MR) environment refers to a simulated environment designed to include sensory input from the physical environment, or representations thereof, in addition to computer-generated sensory input (e.g., virtual objects). On the virtuality continuum, a mixed reality environment is anything between a fully physical environment at one end and a virtual reality environment at the other end, but not including both ends.
[0025] In some MR environments, computer-generated sensory input can respond to changes in sensory input from the physical environment. In addition, some electronic systems used to render the MR environment can track position and / or orientation relative to the physical environment to enable virtual objects to interact with real objects (i.e., physical items from the physical environment or representations thereof). For example, the system can cause motion so that virtual trees appear stationary relative to the physical ground.
[0026] Examples of mixed reality include augmented reality and augmented virtuality. An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed on a physical environment or a representation thereof. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person can directly view the physical environment. The system may be configured to present virtual objects on a transparent or translucent display so that a person uses the system to perceive virtual objects superimposed on a physical environment. Alternatively, the system may have an opaque display and one or more imaging sensors that capture images or videos of a physical environment that are representations of the physical environment. The system combines the image or video with the virtual object and presents the composition on an opaque display. People use the system to indirectly view the physical environment via an image or video of the physical environment and perceive virtual objects superimposed on the physical environment. As used herein, a video of a physical environment displayed on an opaque display is referred to as a "transparent video," meaning that the system uses one or more image sensors to capture images of the physical environment and uses those images when presenting an AR environment on an opaque display. Further alternatively, the system may have a projection system that projects virtual objects into a physical environment, for example as a hologram or on a physical surface, so that a person using the system perceives the virtual objects superimposed on the physical environment.
[0027] An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing a pass-through video, the system may transform one or more sensor images to apply a selected perspective (e.g., a viewpoint) that is different from the perspective captured by the imaging sensor. For another example, a representation of a physical environment may be transformed by graphically modifying (e.g., enlarging) a portion thereof so that the modified portion may be a representative but not true version of the original captured image. For another example, a representation of a physical environment may be transformed by graphically eliminating or blurring a portion thereof.
[0028] An augmented virtual (AV) environment refers to a simulated environment in which a virtual or computer-generated environment is combined with one or more sensory inputs from a physical environment. The sensory input may be a representation of one or more features of the physical environment. For example, an AV park may have virtual trees and virtual buildings, but the faces of people are realistically reproduced from images taken of physical people. For another example, a virtual object may take the shape or color of a physical object imaged by one or more imaging sensors. For another example, a virtual object may take a shadow that conforms to the position of the sun in the physical environment.
[0029] refer to Figure 1 , which shows a simplified block diagram of an electronic device 100 according to one or more embodiments of the present disclosure, which is communicatively connected to a first mobile device 150 and a second mobile device 175. The electronic device 100 may be part of a multi-function device such as a mobile phone, a tablet computer, a personal digital assistant, a portable music / video player, a wearable device, a base station, a laptop computer, a desktop computer, a network device, or any other electronic device. Figure 1 An overall view of a system diagram capable of providing touch detection using an inertial measurement unit ("IMU") is shown in block diagram form. The electronic device 100 may be connected to a first mobile device 150 and a second mobile device 175 via a network, a wired connection, a Bluetooth or other short-range connection, etc. The first mobile device 150 may be a smart accessory, such as a smart watch worn on a user's wrist or arm, a smart ring worn on a user's finger, or any other electronic device including an IMU from which at least some movement of the user can be determined. The second mobile device 175 may include, for example, a head-mounted device that includes a camera or other sensor and can communicate with the first mobile device 150 directly or via the electronic device 100. In one or more embodiments, the second mobile device 175 may not be a wearable device, and may simply be an electronic device with the ability to capture touch images indicating depth information in a physical environment.
[0030] The electronic device 100 may include a processor, such as a central processing unit (CPU) 110. The processor 110 may be a system-on-chip such as those present in mobile devices, and may include one or more dedicated graphics processing units (GPUs). In addition, the processor 110 may include multiple processors of the same or different types. The electronic device 100 may also include a memory 120. The memory 120 may include one or more different types of memory, which may be used to perform device functions in conjunction with the processor 110. For example, the memory 120 may include a cache, a ROM, a RAM, or any type of transient or non-transient computer-readable storage medium capable of storing computer-readable code. The memory 120 may store various programming modules for execution by the processor 110, including a touch detection module 122 and a modeling module 124. The electronic device 100 may also include a storage device 130. The storage device 130 may include one or more non-transitory computer-readable storage media, including, for example, magnetic disks (fixed hard disks, floppy disks, and removable disks) and tapes, optical media (such as CD-ROMs and digital video disks (DVDs)), and semiconductor storage devices (such as electrically programmable read-only memories (EPROMs) and electrically erasable programmable read-only memories (EEPROMs)). The storage device 130 may include a model repository 145.
[0031] The first mobile device 150 and the second mobile device 175 may each be an electronic device having components similar to those described above with respect to the electronic device 100. The first mobile device 150 may include, for example, a memory 166 and a CPU 160. The first mobile device 150 may also include an IMU 155. The IMU 155 may be a sensor that detects sudden changes in acceleration. Thus, the IMU 155 may include an accelerometer, a gyroscope, and the like. The first mobile device 150 may be worn by a user in such a way that the IMU detects inertial changes indicating a touch event. For example, the first mobile device 150 may be part of a watch or other device worn on the user's arm or wrist, and tracks inertial changes in a part of the user that interacts with the physical environment (e.g., a finger on the arm on which the first mobile device is worn).
[0032] The second mobile device 175 may be any type of electronic device (e.g., wearable or non-wearable) that includes one or more cameras 176 or other sensors, such as a depth sensor 178 from which the depth of the scene can be determined. In one or more embodiments, each of the one or more cameras 176 may be a traditional RGB camera or a depth camera. In addition, the camera 176 may include a stereo or other multi-camera system, a time-of-flight camera system, etc., which captures images from which the depth information of the scene can be determined. The second mobile device 175 may allow a user to interact with the CGR environment. There are many different types of electronic systems that enable people to sense and / or interact with various CGR environments. Examples include head-mounted systems, projection-based systems, head-up displays (HUDs), vehicle windshields integrated with display capabilities, windows integrated with display capabilities, displays formed as lenses designed to be placed on human eyes (e.g., similar to contact lenses), headphones / earpieces, speaker arrays, input systems (e.g., wearable or handheld controllers with or without tactile feedback), smart phones, tablets, and desktop / laptop computers. The head-mounted system may have one or more speakers and an integrated opaque display. Alternatively, the head-mounted system can be configured to accept an external opaque display (e.g., a smart phone). The head-mounted system can incorporate one or more imaging sensors for capturing images or videos of the physical environment, and / or one or more microphones for capturing audio of the physical environment. The head-mounted system can have a transparent or translucent display instead of an opaque display. The transparent or translucent display can have a medium through which light representing the image is guided to the person's eyes. The display 180 can utilize digital light projection, OLED, LED, uLED, silicon-based liquid crystal, laser scanning light source, or any combination of these technologies. The medium can be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, the transparent or translucent display can be configured to selectively become opaque. A projection-based system can employ retinal projection technology that projects graphic images onto a person's retina. The projection system can also be configured to project virtual objects into a physical environment, such as a hologram or on a physical surface.
[0033] In one or more embodiments, the touch detection module 122 may determine when a touch event occurs. A touch event may indicate that contact may have been formed between a touch object and a surface. The touch detection module 122 may determine when a touch event occurs, for example, by receiving an indication from the first mobile device 150 that a touch event has occurred. Additionally, in one or more embodiments, the touch detection module 122 may receive a signal from the IMU 155 and determine that a touch event has occurred based on the signal. According to one or more embodiments, the touch detection module 122 may utilize additional data to verify that a touch event has actually occurred. For example, the touch detection module 122 may obtain depth information from the second mobile device 175, such as from one or more of the camera 176 and / or the depth sensor 178. In one or more embodiments, upon determining that a touch event has occurred, the touch detection module 122 may verify that the touch event has actually occurred based on the depth data from the second mobile device 175. For example, if the depth information indicates that the touch object is not anywhere near the surface, the touch detection module 122 may determine that the touch event is a false touch event.
[0034] In one or more embodiments, the modeling module 124 can manage models of touch objects. For example, the modeling module 124 can manage models of touch objects (such as fingers) in the model repository 145. The modeling module 124 can register fingers or other touch objects used to interact with the physical environment. In one or more embodiments, a user can initiate the use of a particular touch object in a variety of ways, such as logging into a user account associated with the touch object, or using object detection to determine that a particular touch object is in use. For example, a user can rotate a finger in front of a camera (such as the camera 176 of the second mobile device 175) so that the modeling module 124 and the touch detection module 122 can begin using touch techniques and modeling techniques based on a model of a particular identified finger. For example, an initial model of a particular identified finger can be obtained from the model repository 145 and used in various techniques described herein.
[0035] According to one or more embodiments, the 3D model of the touch object that has been refined based on the touch image or other depth data can then be used for more accurate touch detection and other tracking by the second mobile device 175. In one or more embodiments, by having better data about, for example, the overall length or other characteristics of the touch object, the tracking module 186 can better detect touch events in the physical environment when the first mobile device 150 or IMU 155 is not available or otherwise used to detect inertial data with the touch object.
[0036] Although the electronic device 100 is described as including many of the above-mentioned components, in one or more embodiments, various components may be distributed across multiple devices. Specifically, in one or more embodiments, one or more of the touch detection module 122, the modeling module 124, and the model repository 145 may be distributed differently on the first mobile device 150 and the second mobile device 175. Therefore, according to one or more embodiments, the electronic device 100 may not be required to perform one or more of the techniques described herein. Therefore, although certain calls and transmissions are described herein with respect to the specific system depicted, in one or more embodiments, various calls and transmissions may be directed differently based on the functions of the different distributions. In addition, additional components may be used, and certain combinations of the functions of any components may also be combined.
[0037] Figure 2 A method for using touch detection in a physical environment is shown in flowchart form. For the purpose of explanation, Figure 1 The following steps are described in the context of . However, it should be understood that various actions can be performed by alternative components. In addition, various actions can be performed in different orders. In addition, some actions can be performed simultaneously, and some actions may not be required, or other actions may be added.
[0038] The flowchart begins at 210, and an inertial monitoring unit on the first device detects a touch event between a touch object and a surface. According to one or more embodiments, the IMU 155 of the first mobile device 150 may be any sensor that detects motion information of a touch object. For example, the IMU 155 may detect such motion as acceleration, direction, and the like. In one or more embodiments, a touch event may be detected when a change in inertia indicates that contact has been formed between a touch object (e.g., an object for which inertia and other motion information is detected). For example, contact may be detected when the motion information of the touch device indicates a sudden stop or change in direction. Therefore, as will be described in more detail below, the detected touch event may not be a real touch event. For the purposes of this flowchart, the detected touch event is considered to be a real touch event.
[0039] The flowchart continues at 220, where a touch image of the touch object is obtained by a camera on the second device. The touch image may include an RGB image of the object, a depth image of the object, a stereo image of the object, or other data indicating the depth of the object relative to the second mobile device 175. In one or more embodiments, the detection of the touch event by the first electronic device 150 indicates that image data should be captured by the auxiliary device. At 225, obtaining the touch image may include sending a request for the touch image when the touch event is detected. For example, sending the request may include the first mobile device 150 sending a notification to the electronic device 100 that the touch event has occurred, so that the electronic device 100 can obtain the touch image from the second device 175. Alternatively, sending the request may include sending a notification directly from the first mobile device 150 to the second mobile device 175 for processing the detected touch. In addition, in one or more embodiments, the notification may include a timestamp by which the electronic device 100 and / or the second mobile device 175 can determine when the depth or image data should be captured.
[0040] The flowchart continues at 230, where the touch detection module 122 determines the touch point of the object based on the touch image. In one or more embodiments, the touch point can be determined in a coordinate system associated with the first mobile device 150, the second mobile device 175, or the electronic device 100. In one or more embodiments, the position can be determined in the coordinate system of the second mobile device 175, which detects the depth of the touch object and the sensor. In one or more embodiments, at 232, the touch detection module 122 can determine the position of the touch object in the physical environment. According to one or more embodiments, the position of the touch object in the physical environment can be determined at least in part based on a 3D model of the touch object. For example, the electronic device 100 may include a model repository 145, which includes a model of the touch object. As described above, in order to initiate the process, the user can register a specific touch object, for example, by swinging the touch object in front of the camera 176 for detection and identification with a predetermined action. Therefore, the position of the touch object in the physical environment can be based on a combination of a pre-stored 3D model of the touch object and the touch image.
[0041] At 234, the position of the surface in the physical environment is determined. In one or more embodiments, the position of the surface may be determined in part based on the touch image. For example, an area of the surface adjacent to or surrounding the touch portion may be identified, and its depth may be determined based on the touch image. In another embodiment, the camera 176 and / or the depth sensor 178 may continuously capture depth information cached within a pre-time period (e.g., 5 seconds, etc.). According to one or more embodiments, the second mobile device 175 may obtain a touch image from the cached depth data, for example, based on a timestamp received from the first mobile device 150 at the time of the detected touch event. In addition, in one or more embodiments, the second mobile device 175 may obtain a non-touch image from before or after the touch event, which may show the portion of the surface touched during the touch event. Therefore, the second mobile device 175 may determine the position of the surface in the physical environment based on a comparison of the touch image with the non-touch image to identify the touch position, and determine the depth information of the touched portion of the surface in the real environment. In one or more embodiments, the position of the touched portion may be in the coordinate system of the second mobile device 175 or in a coordinate system common to the coordinate system of the position of the touch object determined at 232.
[0042] The flowchart ends at 240, where the second mobile device 175 provides a response to the user based on the touch point of the object and the touched surface. In one or more embodiments, the response can be presented by the second mobile device 175, for example, on the display 180. As described above, the second mobile device 175 can provide an interface for virtual reality, augmented reality, and / or mixed reality systems. In one or more embodiments, the user's physical touch in the physical environment can trigger a virtual response, such as the generation and / or display of virtual information.
[0043] See now Figure 3 , which shows a flow chart describing a technique for generating a 3D model of a touch object using a touch image. In one or more embodiments, by capturing depth information of the touch object in the physical environment along with the touch points, the system can obtain better modeling information for the touch object. Therefore, touch detection can be improved in the future when the IMU and / or the first mobile device 155 are not available or otherwise not used for touch detection.
[0044] The flow chart begins at 305, where the first mobile device 150 detects a touch event between a touch object and a surface via an IMU. As described above, the IMU can detect a touch event in response to a change in inertia, which can indicate contact between a touch device whose motion is monitored by the IMU and a surface in the physical environment. For example, the IMU 155 can detect a potential touch event in response to a sudden stop or change in direction of a touch object.
[0045] The flowchart continues at 310, and the first mobile device obtains a touch image of the touch object through a camera on the second device. As described above, the touch image may include an RGB image of the object, a depth image of the object, a stereo image of the object, or other data indicating the depth of the object relative to the second mobile device 175. In one or more embodiments, the detection of a touch event by the first electronic device 150 indicates that image data should be captured by an auxiliary device. In one or more embodiments, a camera may provide lower accuracy than an IMU at which a touch event has occurred, such as when the touch is occluded, and or because the IMU obtains sensor data at a faster rate than the camera. Therefore, the image data captured by the camera can be cross-referenced or supplemented with the IMU data to determine a more precise moment when the touch occurred.
[0046] At 315, the second mobile device 175 obtains a non-touch image of the touch object through a camera on the second device. As described above, the camera 176 and / or the depth sensor 178 can continuously capture depth information cached within a pre-time period (e.g., 5 seconds, etc.). According to one or more embodiments, the second mobile device 175 can obtain a touch image from the cached depth data, for example, based on a timestamp received from the first mobile device 150 at the time of the detected touch event. In addition, in one or more embodiments, the second mobile device 175 can obtain a non-touch image from before or after the touch event, which can be an image captured just before the timestamp of the touch event. Therefore, the second mobile device 175 can determine a very close non-touch gesture of the touch object.
[0047] Alternatively or in addition, non-touch images can be obtained in other ways. For example, at 317, the IMU can detect a change in orientation. Then, at 319, the second mobile device 175 captures a non-touch image in response to the change in orientation. Thus, after a touch occurs, a non-touch image and / or depth data can be captured based on determining that the touch object 1) has made contact with the surface; and 2) has changed orientation. That is, capturing image data only after a touch event occurs may not be sufficient because the touch object can touch the surface and rest on the surface, thereby remaining at the touch location after the touch event is detected.
[0048] The flowchart ends at 320, and the modeling module 124 generates a model of the touch object using the touch image and the non-touch image. For example, by determining the pose of the touch object at the touch point with the surface and the non-contact pose very close to the surface, the modeling module 124 can generate or refine the 3D model of the provided touch object for subsequent use in touch detection without the use of an IMU.
[0049] See now Figure 4, which presents a flow chart illustrating a technique for utilizing inertial measurements from a first device and depth information captured from a second device to distinguish between actual touches in a physical environment and false positives based on IMU data.
[0050] The flowchart begins at 405, and the first mobile device 150 detects sensor data indicating a touch event. As described above, the IMU can detect a touch event in response to a change in inertia, which can indicate contact between a touch device whose motion is monitored by the IMU and a surface in the physical environment. For example, the IMU 155 can detect a potential touch event in response to a sudden stop or change in direction of a touch object.
[0051] The flow chart continues at 410, and the mobile device 150 transmits an indication of the detected potential touch event. According to one or more embodiments, the mobile device 150 can transmit other contextual information about the touch event, such as a timestamp indicating when the event occurred, or other data about the touch event. In one or more embodiments, at 415, the second mobile device 175 obtains a touch image consistent with the detected touch event.
[0052] The flowchart continues at 420, where it is determined whether a surface is detected at the location of the detected touch. In one or more embodiments, the determination may be made based on the location of the surface determined when the touch event occurs. For example, an area of the surface adjacent to or surrounding the touch portion may be identified, and its depth may be determined based on the touch image. In another embodiment, the camera 176 and / or the depth sensor 178 may continuously capture depth information cached within a pre-time period (e.g., 5 seconds, etc.). According to one or more embodiments, the second mobile device 175 may obtain a touch image from the cached depth data, for example, based on a timestamp received from the first mobile device 150 at the time of the detected touch event. In addition, in one or more embodiments, the second mobile device 175 may obtain a non-touch image from before or after the touch event, which may show the portion of the surface that was obfuscated during the touch event. Therefore, the second mobile device 175 may determine the location of the surface in the physical environment based on a comparison of the touch image with the non-touch image to identify the touch location, and determine the depth information of the touched portion of the surface in the real environment.
[0053] Similarly, the position of the touch object in the physical environment is determined. In one or more embodiments, the touch detection module 122 can determine the position of the touch object in the physical environment. According to one or more embodiments, the position of the touch object in the physical environment can be determined at least in part based on a 3D model of the touch object. For example, the electronic device 100 may include a model repository 145 that includes a model of the touch object. Therefore, by determining the depth of the visible portion of the touch object, the position of the touch portion of the touch object can be estimated based on the depth information of the visible portion of the touch object and the 3D model of the touch object.
[0054] By comparing the determined position of the touch object with the determined surface position, it can be determined whether the touch object actually touches the surface when the touch event occurs. If the surface is detected at the position of the detected touch at 420, the flowchart continues at 430, where a response is provided based on the touched surface. In one or more embodiments, the response may be presented on the display 180 by the second mobile device 175, for example. As described above, the second mobile device 175 may provide an interface for virtual reality, augmented reality, and / or mixed reality systems. In one or more embodiments, the physical touch of the user in the physical environment may trigger a virtual response, such as the generation and / or display of virtual information. For example, the response may be based on the touched portion of the surface. In another example, the response may be based on a specific gesture recognition (e.g., a pinch of two fingers, a tap on the user, a hand or finger touching the palm, etc.). A captured touch image consistent with the detected touch event may be used to identify a gesture. The position of the touch and / or the gesture associated with the touch may be associated with a specific action or command performed by the electronic device 100, the first mobile device 150, and / or the second mobile device 175.
[0055] Returning to 420, if it is determined that a surface is not detected at the location of the detected touch, the flowchart continues at 425, and the second mobile device 175 transmits an indication of a false positive to the first mobile device 150. The flowchart ends at 435, where the first mobile device 150 continues to monitor sensor data from the IMU 155 to detect potential touch events. According to one or more embodiments, the mobile device 150 can also provide a notification of the false positive, such as through one or more interfaces of the second mobile device 175.
[0056] Reference now Figure 5, which shows a simplified functional block diagram of an exemplary multifunctional electronic device 500 according to one embodiment. Each of the electronic device 100, the first mobile device 150, and the second mobile device 175 can be a multifunctional electronic device, or can have some or all of the components described herein for the multifunctional electronic device. The multifunctional electronic device 500 may include a processor 505, a display 510, a user interface 515, graphics hardware 520, a device sensor 525 (e.g., a proximity sensor / ambient light sensor, an accelerometer, and / or a gyroscope), a microphone 530, an audio codec 535, a speaker 540, a communication circuit 545, a digital image capture circuit 550 (e.g., including a camera system) a video codec 555 (e.g., supporting a digital image capture unit), a memory 560, a storage device 565, and a communication bus 570. The multifunctional electronic device 500 can be, for example, a digital camera or a personal electronic device, such as a personal digital assistant (PDA), a personal music player, a mobile phone, or a tablet computer.
[0057] The processor 505 may execute instructions necessary for the operation of many functions performed or controlled by the device 500 (e.g., such as the generation and / or processing of images disclosed herein). The processor 505 may, for example, drive the display 510 and may receive user input from the user interface 515. The user interface 515 may allow a user to interact with the device 500. For example, the user interface 515 may take a variety of forms, such as buttons, keypads, dials, click-touch dials, keyboards, display screens, and / or touch screens. The processor 505 may also be, for example, a system on a chip, such as those present in mobile devices, and include a dedicated graphics processing unit (GPU). The processor 505 may be based on a reduced instruction set computer (RISC) architecture or a complex instruction set computer (CISC) architecture or any other suitable architecture, and may include one or more processing cores. The graphics hardware 520 may be dedicated computing hardware for processing graphics and / or assisting the processor 505 to process graphics information. In one embodiment, the graphics hardware 520 may include a programmable GPU.
[0058] Image capture circuit 550 may include two (or more) lens assemblies 580A and 580B, each of which may have a separate focal length. For example, lens assembly 580A may have a shorter focal length relative to the focal length of lens assembly 580B. Each lens assembly may have a separate associated sensor element 590. Alternatively, two or more lens assemblies may share a common sensor element. Image capture circuit 550 may capture still images and / or video images. Output from image capture circuit 550 may be processed at least in part by the following devices: video codec 555 and / or processor 505 and / or graphics hardware 520, and / or a dedicated image processing unit or pipeline incorporated within circuit 565. The images captured in this way may be stored in memory 560 and / or storage device 565.
[0059] The sensor and camera circuit 550 may capture still images and video images that may be processed in accordance with the present disclosure, at least in part, by the video codec 555 and / or the processor 505 and / or the graphics hardware 520, and / or a dedicated image processing unit incorporated within the circuit 550. Such captured images may be stored in the memory 560 and / or storage 565. The memory 560 may include one or more different types of media used by the processor 505 and the graphics hardware 520 to perform device functions. For example, the memory 560 may include a memory cache, a read-only memory (ROM), and / or a random access memory (RAM). The storage 565 may store media (e.g., audio files, image files, and video files), computer program instructions or software, preference information, device profile information, and any other suitable data. The storage device 565 may include one or more non-transitory storage media, including, for example, magnetic disks (fixed hard disks, floppy disks, and removable disks) and tapes, optical media (e.g., CD-ROMs and digital video disks (DVDs)), and semiconductor storage devices (e.g., electrically programmable read-only memories (EPROMs) and electrically erasable programmable read-only memories (EEPROMs)). The memory 560 and the storage device 565 may be used to tangibly retain computer program instructions or codes organized into one or more modules and written in any desired computer programming language. For example, when executed by the processor 505, such computer program code may implement one or more of the methods described herein.
[0060] According to one or more embodiments, a camera-based transparent display can have a variety of uses. For example, the above techniques can be used for image stabilization. That is, the warping function used to warp an image can also be used to stabilize the image. In another embodiment, a camera-based transparent display can be used for machine learning. For example, a camera can capture an image of a scene and classify the scene and / or objects within the scene.
[0061] In one or more embodiments, by tracking the objects that the user's eyes are looking at, objects that should be classified can be identified.
[0062] In one or more embodiments, a camera-based transparent display can be used to present virtual information on a display, such as for augmented reality purposes. For example, digital information associated with a particular location can be displayed at a more accurate location perceived through the display from a particular viewpoint. For example, an image of a scene can be enhanced by additional text or image data at a specific point within the scene in a warped image. In one or more embodiments, the digital information can be associated with a specific object in the scene. When an object falls into the warped image (or when the object is visible in the display), the digital information associated with the object can be displayed in the warped image together with the object. In one or more embodiments, when the warped image changes, whether the scene changes or the warping changes due to a change in the viewpoint or the position of the device relative to the scene, the digital information can also change.
[0063] The scope of the subject matter disclosed in the present invention should be determined with reference to the appended claims, along with the full scope of equivalents to which the claims are entitled. In the appended claims, the terms "including" and "in which" are used as the plain-English equivalents of the respective terms "comprising" and "wherein."
Claims
1. A non-transitory computer readable medium comprising computer readable code executable by one or more processors to perform the following operations: detecting, at the first device, an indication that a touch event has occurred based on data received from an inertial measurement unit (IMU) on the second device that monitors motion of a touch object, wherein the touch event indicates contact between the touch object and a surface; In response to a touch event: obtaining, by the first device, a touch image of the touch object, wherein the touch object is in contact with the surface in the touch image; detecting an indication of a change in the orientation of the touch object based on additional data received from the IMU; capturing a non-touch image of the touch object, wherein the touch image is no longer in contact with the surface in the non-touch image; as well as A model of the touch object is generated based on the touch image and the no-touch image. 2 . The non-transitory computer-readable medium of claim 1 , wherein the touch object comprises a finger, and wherein the touch event occurs between the finger and the surface.
3. The non-transitory computer readable medium of claim 1 , wherein the computer readable code for detecting the indication that the touch event has occurred further comprises computer readable code for: The touch event is determined to be a real touch event based on depth information from the touch image of the touch object and the surface.
4. The non-transitory computer readable medium of claim 3, wherein the computer readable code for capturing the non-touch image further comprises computer readable code for: Based on a determination that the touch event is a true touch event and a determination that the touch object has changed direction, the no-touch image is captured.
5. The non-transitory computer readable medium of claim 1 , further comprising computer readable code for: determining a pose of the touch object at a touch point on the surface, The model of the touch object is further generated based on the posture of the touch object.
6. The non-transitory computer readable medium of claim 5, further comprising computer readable code for performing the following operations: The model of the touch object is provided to the second device for visual tracking of the touch object.
7. The non-transitory computer-readable medium of claim 1, wherein the second device is a wearable device.
8. A method for touch detection, comprising: detecting, at the first device, an indication that a touch event has occurred based on data received from an inertial measurement unit (IMU) on the second device that monitors motion of a touch object, wherein the touch event indicates contact between the touch object and a surface; In response to a touch event: obtaining, by the first device, a touch image of the touch object, wherein the touch object is in contact with the surface in the touch image; detecting an indication of a change in the orientation of the touch object based on additional data received from the IMU; capturing a non-touch image of the touch object, wherein the touch image is no longer in contact with the surface in the non-touch image; as well as A model of the touch object is generated based on the touch image and the no-touch image.
9. The method of claim 8, wherein the touch object comprises a finger, and wherein the touch event occurs between the finger and the surface.
10. The method according to claim 8, wherein detecting that the touch event has occurred further comprises: The touch event is determined to be a real touch event based on depth information from the touch image of the touch object and the surface.
11. The method of claim 10, wherein capturing the non-touch image further comprises: Based on a determination that the touch event is a true touch event and a determination that the touch object has changed direction, the no-touch image is captured.
12. The method according to claim 8, further comprising: determining a pose of the touch object at a touch point on the surface, The model of the touch object is further generated based on the posture of the touch object.
13. The method according to claim 12, further comprising: The model of the touch object is provided to the second device for visual tracking of the touch object. The method of claim 8 , wherein the second device is a wearable device.
15. A system for touch detection, comprising: one or more processors; as well as One or more computer readable media including computer readable code executable by the one or more processors to perform the following operations: detecting, at the first device, an indication that a touch event has occurred based on data received from an inertial measurement unit (IMU) on the second device that monitors motion of a touch object, wherein the touch event indicates contact between the touch object and a surface; In response to a touch event: obtaining, by the first device, a touch image of the touch object, wherein the touch object is in contact with the surface in the touch image; detecting an indication of a change in the orientation of the touch object based on additional data received from the IMU; capturing a non-touch image of the touch object, wherein the touch image is no longer in contact with the surface in the non-touch image; as well as A model of the touch object is generated based on the touch image and the no-touch image.
16. The system of claim 15, wherein the touch object comprises a finger, and wherein the touch event occurs between the finger and the surface.
17. The system of claim 15, wherein the computer readable code for detecting the indication that the touch event has occurred further comprises computer readable code for: The touch event is determined to be a real touch event based on depth information from the touch image of the touch object and the surface.
18. The system of claim 17, wherein the computer readable code for capturing the non-touch image further comprises computer readable code for: Based on a determination that the touch event is a true touch event and a determination that the touch object has changed direction, the no-touch image is captured.
19. The system of claim 15, further comprising computer readable code for: determining a pose of the touch object at a touch point on the surface, The model of the touch object is further generated based on the posture of the touch object.
20. The system of claim 19, further comprising computer readable code for: The model of the touch object is provided to the second device for visual tracking of the touch object.
21. A method for touch detection, comprising: Receiving, by the first device, an indication of a potential touch event from an inertial measurement unit (IMU) on the second device that monitors motion of a touch object; in response to receiving the indication and obtaining, by the first device, an image of a scene including the touch object, wherein the image is captured consistent with the touch event; Based on the image, determining whether the touch object performs a touch event; as well as Based on the determination, a response is generated.
22. The method of claim 21 , wherein generating the response based on a determination that a touch event occurred between the touch object and a surface comprises: generating virtual information according to the touch event, and The virtual information is presented on a display.
23. The method of claim 21 , wherein based on a determination that a touch event did not occur, generating the response comprises: An indication of a false positive is presented based on the potential touch event.
24. The method of claim 21 , wherein the indication comprises a timestamp indicating a time of a potential touch event, and wherein obtaining the touch image comprises: The touch image is retrieved from the cached depth data according to the timestamp.
25. The method of claim 21, wherein the response is generated based on a touched portion of a surface.
26. The method of claim 21, wherein generating the response comprises: recognizing a predetermined gesture from the image, Wherein a response is generated based on the recognized gesture.
27. The method of claim 21, wherein the second device is a wearable device.
