Touchless image-based input interface
A 2D camera-based touchless interface using AI for gesture recognition addresses the need for contactless interaction in diverse environments, offering accurate and cost-effective gesture interpretation.
Patent Information
- Application Number
- JP2024517060
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-15
- Filing Date
- 2022-09-14
- Publication Date
- 2024-09-20
AI Technical Summary
Existing user interfaces require physical contact, which can be undesirable in certain environments, and existing touchless solutions are complex and costly, often relying on proprietary add-ons like 3D cameras and sensors.
A touchless user interface using image processing with 2D cameras and AI to detect hand gestures, converting them into commands without the need for complex sensors, leveraging computer vision and deep learning for accurate gesture recognition.
Provides a cost-effective, contactless user interface that accurately interprets diverse hand gestures, suitable for various environments, reducing complexity and cost compared to existing systems.
Smart Images

Figure 2024534472000001
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Provisional Patent Application No. 63 / 261,242, filed September 15, 2021, the contents of which are incorporated by reference into this application for all purposes. [Background technology]
[0002] Computer user interfaces for the last few decades have relied heavily on keyboards, mice, joysticks, and other input peripherals that the user physically manipulates / touches. These types of input mechanisms are highly effective and remain ubiquitous. Additionally, many current interfaces utilize: touch sensors; motion sensors; voice recognition; and interpretation of captured images, e.g., hand gestures or natural inputs, that indicate the location of the input relative to the displayed content. For image-based interfaces, while these systems are steadily improving, accurate recognition / interpretation across diverse use-case environments can involve significant complexity. Summary of the Invention [Problem to be solved by the invention]
[0003] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Moreover, the claimed subject matter is not limited to implementations that solve any or all of the disadvantages noted anywhere in this disclosure. [Means for solving the problem]
[0004] A method of input detection on a computing device includes receiving a plurality of images from a camera depicting a user's hand. The plurality of images are processed to detect a plurality of user intent parameters including a predefined activation gesture performed by the user's hand. In response to the plurality of user intent parameters satisfying a gesture input activation condition, the plurality of images are processed to detect movements of the user's hand consistent with a predefined input gesture. The predefined input gesture is mapped to a computer-controlled action, and the computer-controlled action is executed in response to the predefined input gesture. [Brief description of the drawings]
[0005] [Figure 1A] 1A and 1B are schematic diagrams of a computing device receiving a plurality of images showing the user's hands of a human user. [Figure 1B] 1A and 1B are schematic diagrams of a computing device receiving a plurality of images showing the user's hands of a human user. [Diagram 2] FIG. 2 illustrates an exemplary method for user input detection. [Diagram 3] FIG. 3 shows an exemplary process flow illustrating stability control operation with respect to user input to a computing device. [Figure 4] FIG. 4 illustrates an exemplary anchor point locking decision table that may be employed for cursor locking operations performed by a computing device. [Diagram 5] FIG. 5 illustrates exemplary locking and unlocking scenarios that can be used for various gestures during touchless interaction. [Figure 6] FIG. 6 illustrates an exemplary process flow illustrating operations a computing device may perform to prevent unintentional multiple click user input. [Figure 7]FIG. 7 illustrates two example locking and scrolling scenarios for moving a cursor during touchless interaction. [Figure 8] FIG. 8 illustrates an example scenario in which a crop and / or zoom is applied to an image showing a human user. [Figure 9] FIG. 9 illustrates an example scenario in which a computing system employs context awareness to optimize touchless user interaction. [Figure 10] FIG. 10 illustrates an exemplary context-based gesture mapping scheme. [Figure 11] FIG. 11 is a schematic diagram of an exemplary computing system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0006] Many user interfaces require a user to touch a keyboard, touch screen, or other structure to operate the interface. The need for physical contact may be undesirable in some environments. For example, to avoid the transmission of viruses or other pathogens, touchless interfaces can be of great benefit in shared devices such as ATMs, information kiosks, and point-of-sale systems. Touchless interfaces are also useful in sterile environments such as hospitals and operating rooms, dirty environments such as garages or factory environments, remote control of devices for presentations, or advanced experiences for mixed reality immersive gaming and training. Furthermore, past attempts at solutions for touchless user interfaces have required proprietary add-on peripheral devices that rely on three-dimensional (3D) time-of-flight cameras, infrared sensors, gyroscopes, or other sensors, resulting in complex and costly touchless user interfaces.
[0007] The present disclosure is thus directed to a computing system and corresponding computer-implemented method for implementing a touchless user interface that uses image processing to recognize gesture input from a user and convert the gesture input into commands for controlling the touchless user interface in a simple and cost-effective manner. As described in further detail below, various optimization operations can be performed to improve touchless interaction with the touchless user interface. Although touch-free operation is often desirable, the computing systems described herein can provide significant benefits even in environments where avoiding contact with the device is not an issue.
[0008] 1A is a schematic diagram of an exemplary scenario in which a computing device 100 is controlled by a human user 102. Specifically, the human user provides input to the computing device by moving their hand 104. The user's hand movements are detected by the computing device's camera 106. In this example, the computing device responds to the user's hand movements by moving the displayed position of an on-screen graphical cursor 108. This is illustrated by dashed line 110A extending from the user's hand, which indicates the hand movement over time, and corresponds to dashed line 110B extending from the graphical cursor, which indicates the cursor movement over time.
[0009] It will be understood that the computing devices illustrated in FIG. 1 are non-limiting and are greatly simplified for illustrative purposes. The techniques described herein may be implemented by any suitable computing system consisting of one or more computing devices, each of which may have any suitable functionality, hardware configuration, and form factor. In some examples, the techniques described herein may be implemented by a computing system 1100, described below in connection with FIG. 11.
[0010] The movement of the user's hand is detected via images captured by the camera 106. This is illustrated in FIG. 1B, which shows three exemplary images 112A-112C of the user's hand 104 captured by the camera 106. For simplicity, only the user's hand and a portion of the user's wrist are shown in the images 112A-112C. It will be understood that any part or entire body of the user may be shown in an image captured as described herein, along with the entire body or portions of one or more other users, details of the background environment, etc.
[0011] 1B, each image 112A-112C is captured at a different time during the user's hand movement. The hand can therefore be seen in a different position in each image. This allows the computing device to process the images to detect the user's hand movement and respond appropriately to this movement, as described in more detail below. It will be appreciated that any suitable number of different images may be captured, and that these images may be captured at any suitable rate.
[0012] Any type of optical input mechanism may be employed for capturing images that are processed for control of the touchless user interface. However, in some examples, it may be particularly advantageous to employ a simple and widespread two-dimensional (2D) camera that operates in red-green-blue (RGB), grayscale, or other visible light ranges. In other words, the images captured by the camera may include two-dimensional image pixel data having RGB color values. The techniques described herein may be advantageously implemented using a computing device's integrated webcam, thereby alleviating the need to acquire and configure an external camera. As described below, such a system may leverage existing image recognition components and avoid much of the complexity and cost found in depth-based tracking systems and other 3D systems. Furthermore, in some examples, such a system may enable "plug and play" operation without the need for integration of complex Application Programming Interfaces (APIs) or Software Development Kits (SDKs).
[0013] Gesture recognition herein can utilize a combination of computer vision and deep learning to form the above-mentioned touchless / contactless user interface using only commonly available 2D cameras. As an example, computer vision and deep neural network (DNN) learning can be used to detect the positions of human hands and fingers, which are then mapped to displayed user interface elements (e.g., buttons displayed on a screen). The described computer-implemented method employs a novel combination of AI models and post-network processing to identify gestures under different environmental conditions. Non-limiting examples of suitable AI and / or machine learning (ML) techniques are described below in conjunction with FIG. 11. For example, such processing can be performed for distinguishing between right and left hands, different skin colors, gloved fingers, multiple lighting conditions, and primary and secondary interactions when multiple users are within the camera's field of view.
[0014] 2 illustrates an exemplary method 200 for providing input to a computing device. The steps of method 200 may be performed by any suitable computing system comprising one or more computing devices. As an example, method 200 may be implemented by computing system 1100, which is described in detail below in connection with FIG. 11.
[0015] At 202, the method 200 includes receiving a plurality of images of a human user showing the user's hands. This may be performed substantially as described above in connection with FIGS. 1A and 1B. More particularly, the plurality of images may be captured by any suitable camera or array of cameras. For example, the cameras may include a 2D webcam or another readily available "off the shelf" camera.
[0016] At 204, method 200 includes processing the images to detect a number of user intent parameters. In general, a "user intent parameter" refers to any suitable data or context that can be used to determine whether a user intends to control a computing device and / or whether a computing device should treat future movements of the user's hand as control inputs.
[0017] As an example, the plurality of user intent parameters include a predefined activation gesture performed by the user's hand. For example, the activation gesture may include pointing the index finger at the computing device as shown in FIG. 1A, 1B. More generally, the user may perform an activation gesture or pose, or a series of gestures and poses, that indicate an intent to initiate a touchless interaction, that is captured via an image feed. The computing system is configured to process the image feed to recognize one or more gestures of the user, determine that the one or more gestures correspond to appropriate one or more activation gestures, and initiate the touchless interaction based on the recognized one or more activation gestures. In other words, the computing system is configured to initiate an interaction between the user and the touchless user interface when a specified rule or condition, referred to herein as a "gesture input activation condition," is met based on the touchless user input.
[0018] In some examples, the computing system may be configured to recognize individual gestures, such as hand gestures, as user intent parameters. In some examples, the computing system may be configured to recognize multi-modal gestures involving multiple body parts, such as hand gestures combined with gaze tracking, head pose, etc. In some examples, the computing system may leverage audio modalities, such as speech recognition. In other words, the plurality of user intent parameters may include a detected speech of a human user, detected, for example, via a microphone communicatively coupled to the computing system.
[0019] Evaluating the user's intent before interpreting the user's hand movements as input gestures can help mitigate scenarios where the user's hand movements are interpreted by the computing system as unintentional control inputs, resulting in unexpected behavior. For example, a user may be conversing with another person while moving their hands without intending to manipulate the interface. This can also mitigate scenarios where multiple users can be seen in a captured image, and only one (or none) of the users is attempting to control the computing device. The multiple user intent parameters may thus include a recognized identity of a human user. For example, the multiple images captured by the camera may include a human user's face, and thus the identity of the human user may be recognized by facial recognition. Additionally or alternatively, the identity of the human user may be recognized in other suitable ways, such as speech recognition, security authentication (e.g., requiring the user to provide a password or respond to a security challenge), skin tone analysis, etc. In general, the techniques described herein may rely on fixed pre-configured parameters or on AI algorithms that study interaction patterns to dynamically determine in real-time whether a gesture input activation condition is met.
[0020] More generally, the user intent parameters may include any of the following non-limiting examples: The user intent parameters may include a number of different human users detected in the images. For example, depending on the use case, some scenarios may require only one hand and one user (e.g., a surgeon manipulating an image during surgery), or the scenario may require multiple users and multiple hands (e.g., a multiplayer gaming scenario). Thus, in various cases, the gesture input activation condition may only be met if only one user (e.g., a surgeon performing a surgery) is visible, or the condition may only be met if more than one user is visible (e.g., a multiplayer gaming scenario).
[0021] The plurality of user intent parameters may include detecting a predefined trigger sequence to determine whether to start or end an interaction with the computing system. This may include performing a predefined start gesture, such as the above, or a more complex sequence of gestures that are less likely to be triggered by the user accidentally, such as a palm-up gesture followed by a peace sign and then a fist. In some cases, the trigger sequence may include movements or poses performed by more than one part of the user's body, such as two-handed movements, a movement of the user's head, an orientation of the user's torso or body relative to the camera, etc. In other words, the plurality of user intent parameters may include poses of one or more additional user body parts of a human user other than the user's hands. An end sequence (e.g., a sequence that causes the computing system to cease interpreting the user's hand movements as control inputs) may be as simple as the user turning a palm down, looking away from the screen, or performing some other action that indicates disengagement from the interaction.
[0022] The user intent parameters may include, for example, a detected gaze direction of the user's eyes if the images show the eyes of a human user. In other words, the gesture input activation condition may only be met when the user is looking at the screen, and the condition cannot be met when the user is not looking at the screen. However, it will be appreciated that gaze detection is not suitable for all scenarios, and other user intent parameters may additionally or alternatively be considered. In some cases, the computing system may employ background segmentation techniques to remove background noise, allowing image processing to focus only on people with active movements in the foreground.
[0023] The user intent parameters may include detecting the presence of a recognized object being held by the user's hand when such recognized object is shown in the images captured by the camera. In other words, the computing system can employ object detection to evaluate the user's intent in an environment. In a known activity, the detection of a particular object held in an environment may indicate a desired action to be performed (e.g., painting a broad area with a brush in art, drawing with a fine pencil, or moving a yoke or pushing a lever in an airplane). This allows the correct activity to be triggered on an application without the need for a fully mechanically instrumented physically held object connected to the application itself. Object detection further evaluates intent when the held object partially obscures parts of the hand itself, since the visible grip or body pose would limit the possibilities of the intended action. Object detection can also be employed as a switching mechanism as to which hand is the primary hand of a person in an environment. For example, if a surgeon initiates a trigger action sequence with his dominant hand and uses his dominant hand to pick up a medical instrument, his non-dominant hand can continue to control the user interface.
[0024] In some cases, the computing system may track the speed and / or consistency of the user's movements. This can be used as an assessment of performance to see how well a particular movement was performed compared to an optimally intended movement, which can be used to generate recommendations for the user's physical training. Periodically collected movement data over time can also be used to retrain DNN models used to tune intent detection to a particular person or to compensate for changes in range of movement over time.
[0025] The computing system may be configured to perform gesture recognition using any type of neural network generated by any suitable training process. For example, a series of images in an image feed may be looped and processed continuously, for example, using deep neural network processing, to extract the user's hand and body pose and / or features. A combination of pre-trained DNN models of body and hand poses may be employed. To compensate for weaknesses in DNN models (such as not being able to detect hands without seeing elbows), non-ML algorithms may be used to detect hands based on hand shape and color. When hand position cannot be detected due to not seeing elbow joints or lighting conditions that prevent skin color detection, hand shape detection with custom training may be used. Furthermore, computer vision techniques may be used to increase the variability of skin tone and dirtiness when hand inference accuracy is low. Since humans make fists in different ways based on physical attributes such as the length, thickness, and flexibility of the fingers of a person's hand, the fingers of a hand may be decomposed into their root vectors based on angle and direction but not including length. This allows gesture definitions to be accurately identified across many different physical attributes. The computing system may be configured to employ any suitable ML and NN techniques for gesture recognition.
[0026] As mentioned above, the computing system may optionally be configured to process the image feed to recognize facial features or key points on the user's face to create a unique identifier for the user. Such unique facial feature-based user identification may enable the computing system to provide collaborative multi-user touchless interaction. By uniquely identifying different users in this way, the computing system may be configured to recognize different gestures performed at the same time and associate the different gestures with different users, thereby allowing multiple users to interact with the touchless user interface simultaneously. For example, such a collaborative interaction may include two users, each using two hands, and thus the computing system may track all four hands and associate the gestures of these hands simultaneously with a particular user. As an example, such a collaborative multi-user touchless interaction may include a simulation of unfurling a large flag between two people using all four hands. Another simpler example is a multiplayer game scenario, where the computing system can recognize multiple players and track the non-cooperative actions of each player throughout the game.
[0027] It will be appreciated that such facial feature-based unique user identification is applicable to scenarios where a camera can capture the user's face in multiple images. In other scenarios where the user's face is not captured by an image feed, the computing system may be configured to employ other user identification techniques. For the purpose of authenticating a user, the computing system may lock the interaction only to humans who match preset facial key points or multimodal body gestures that uniquely identify an individual (such as by making a simple air signature). This is desirable when the intention is to allow only authenticated users to control the computing device.
[0028] Returning briefly to FIG. 2 , at 206, the method 200 includes detecting hand movements of the user consistent with predefined input gestures by processing the plurality of images in response to the plurality of user intent parameters satisfying a gesture input activation condition. As described above, the gesture input activation condition can be satisfied based on any suitable combination of user intent parameters, such as based on detection of predefined input gestures, gaze direction, number of visible users, recognized identities of users, etc. It will be appreciated that different user intent parameters may be considered depending on the implementation. In general, the techniques described herein may rely on fixed preconfigured parameters or on AI algorithms that study interaction patterns to dynamically determine in real time whether a gesture input activation condition is satisfied.
[0029] The user's hand movements can be mapped to predefined input gestures in any suitable manner. Any suitable number of different input gestures can be recognized, such as pointing with index finger, palm outward, palm down, peace sign, thumb and pinky finger extended laterally away from each other, etc. Such gestures are typically detected by computer vision analysis of the captured image, which can be performed in any suitable manner depending on the implementation.
[0030] In some cases, the computing system can display one or more on-screen graphical cursors, each of which can be associated with a different user's hand, e.g., only one cursor is displayed if only one user's hand is detected. See, e.g., graphical cursor 108 shown in FIG. 1A. Each displayed cursor can be controlled by the user's motion, e.g., as the user's hand moves, the cursor moves accordingly. In some cases, the cursor can be moved a distance and direction determined at least in part based on the detected user's hand motion. However, in other scenarios, the cursor motion can be at least partially independent of the user's hand motion, as described in more detail below. When there are more than one user, more than one cursor can be displayed. For example, the system displays a second on-screen graphical cursor associated with the second user's hand of a second human user. The user can trigger an action on the touchless user interface by providing a subsequent gesture that is processed by the computing system. Some such gestures can be associated with the cursor. Other such gestures can be independent of the cursor.
[0031] In one example, the movement / position of the user's body or body parts (e.g., hands) is translated into desired UI events. XY coordinates of visual elements such as fingers on a hand can be mapped to one or more UI elements (cursor, buttons, keypad, etc.). One aspect of the interpretation can involve the time spent hovering over a UI element. For example, a hover time exceeding a threshold duration can trigger a determination that the user intends to actuate the displayed UI element, as opposed to simply passing over it while moving to another element.
[0032] In some examples, even when using traditional 2D cameras, 3D information can be approximated or derived to aid in gesture recognition and / or multi-user touchless input scenarios. When employing such techniques, 3D information (or Z coordinate information) can be approximated from 2D data using an estimate of how long the average length of the joint pairs of the user's body parts is. When using secondary cameras, occluded fields of view are supplemented by one or more other cameras by fusing 3D position data. Furthermore, a buffer of frames can be stored so that if, for example, an elbow was previously visible but has now moved off-screen, past frames can be used in the synthesis to extend and estimate where the elbow would be positionally outside the frame, thereby providing user position data for gesture recognition and / or other processing.
[0033] In some cases, touchless interaction with a touchless user interface can be improved by applying various optimizations to user inputs / gestures, as described in more detail below, such as, for example, but not limited to, stability control, anchor point optimization, and user intent awareness.
[0034] Jitter is a problem that frequently occurs when the focal point of interaction, such as a mouse pointer or index finger, jumps around too much to perform actions accurately. Overcompensation for jitter also creates problems by making the interaction feel slower. In some examples, to address such problems, a computing system may be configured to perform stability control optimization on user input / gestures. In other words, the movement of a displayed on-screen cursor may be affected by a jitter smoothing value.
[0035] 3 shows an example process flow 300 for smoothing jitter. At 302, a computing system calculates and applies an initial smoothing value to a user input motion based on operating conditions such as display size, camera resolution, and hand size (or other body part size). The computing system may be configured to reduce jitter by applying the initial smoothing value to the user input motion.
[0036] At 304, the computing system calculates an updated jitter smoothing value for the user input motion while the user input motion is being performed. Such dynamic recalculation of the smoothing value may be repeated according to any suitable sampling rate.
[0037] In step 306, the computing system is configured to determine whether the user input motion is fast (e.g., above a threshold speed) and / or long distance (e.g., above a threshold distance). If the result is positive, in step 308, the computing system increases the smoothing value and applies the updated smoothing value to the user input motion. Alternatively, in step 310, the computing system determines whether the user input motion is slow (e.g., below a threshold speed) and / or accurate (e.g., above a threshold distance). If the result is positive, in step 312, the computing system decreases the smoothing value and applies the updated smoothing value to the user input motion. By performing such a dynamic optimization operation of the stability control, jitter can be dynamically compensated, for example, when a user has a hand shake problem or when the refresh rate or resolution of the computing system is too high. In other words, the displayed cursor movement can be at least partially influenced by the initial jitter smoothing value and the updated jitter smoothing value calculated based on one or both of the distance of the user's hand movement and the speed of the user's hand movement.
[0038] In some examples, the computing system may perform an anchor point lock optimization operation based on the user input / gesture. This includes locking the position of a displayed on-screen graphical cursor until the end of a predefined input gesture performed by the user's hand. The anchor point may be defined in terms of screen coordinates, and upon the performance of an action, the X and Y coordinates of the cursor may be locked on the display. The computing system may be configured to lock the position of the cursor (or another prominent UI element) to the anchor point based on the computing system detecting that the user is starting to form a gesture. The computing system may be configured to lock the cursor (or another prominent UI element) to the anchor point until the computing system detects that the user has completed performing the gesture. The computing system may be configured to dynamically select an optimal anchor point for a selected user interaction.
[0039] In some examples, the computing system may lock the cursor to the screen coordinates of an anchor point for some gestures and may not lock the cursor to the screen coordinates of an anchor point for other gestures. An exemplary anchor point locking decision table 400 is shown in FIG. 4. According to the decision table shown in FIG. 4, as an example, a pinch gesture with thumb and index finger is mapped to a left click operation of a mouse. The anchor point for the pinch gesture with thumb and index finger is the wrist. For this gesture, the computing system locks the cursor to the wrist anchor point while the gesture is being performed. As another example, a user may curl their fingers into a fist gesture that is mapped to a scroll operation of a middle button of a mouse. The anchor point for the fist gesture is the wrist. For this gesture, the computing system locks the cursor to the wrist anchor point while the gesture is being performed. As yet another example, a gesture of pointing index finger up (vertical pointing) is mapped to a drag and drop operation. The anchor point for an index finger up gesture is the tip of the index finger. For this gesture, the computing system does not lock the cursor to the anchor point while the gesture is being performed. As yet another example, an open hand gesture is mapped to an operation that moves the cursor. The anchor point for an open hand gesture is the palm of the user's hand. For this gesture, the computing system does not lock the cursor to the anchor point while the gesture is being performed. These gestures are provided as non-limiting examples. Any suitable gesture can have any suitable anchor point that can be used to selectively lock the cursor (or another prominent UI element) to the anchor point while the gesture is being performed.
[0040] Exemplary locking and unlocking scenarios are illustrated in FIG. 5. Specifically, FIG. 5 illustrates a locking process flow 500 and an unlocking process flow 502. The exemplary locking scenario 500 illustrated in the upper portion of FIG. 5 shows a user waving his / her hand to control the movement of a cursor on a touchless user interface. At this point, the cursor is not locked to an anchor point corresponding to the user's wrist, and the cursor can be moved within the touchless user interface. The user's hand then moves to perform a gesture of extending the thumb and pinky finger laterally. Based on the recognition of the start of this gesture, the computing system locks the cursor to an anchor point corresponding to the wrist of the user's hand while the gesture is being performed. The computing system recognizes the gesture and performs a lookup operation in a decision table to determine whether the cursor should be locked to an anchor point based on the recognized gesture. In this case, the gesture triggers the locking of the screen coordinates of the cursor to the anchor point of the user's wrist. The user's hand is then curled into a fist indicating a middle mouse button scrolling gesture, where the cursor is locked to the anchor point while the gesture is being performed.
[0041] An exemplary non-locking scenario 502 shown at the bottom of FIG. 5 shows a user waving his / her hand to control the movement of a cursor on a touchless user interface. At this point, the cursor is not locked to an anchor point corresponding to the user's wrist, and the cursor can be moved within the touchless user interface. The user's hand then moves to perform a gesture of extending the thumb and pinky finger laterally. Based on recognition of the start of this gesture, the computing system locks the cursor to an anchor point corresponding to the wrist of the user's hand while the gesture is being performed. The computing system recognizes the gesture and performs a lookup operation in a decision table to determine whether the cursor should be locked to an anchor point based on the recognized gesture. In this case, the gesture does not trigger the locking of the screen coordinates of the cursor to the anchor point of the user's wrist. The user's hand then takes a gesture of pointing the index finger up, corresponding to a drag and drop operation, where the cursor is not locked to an anchor point while the gesture is being performed, and the cursor moves around within the touchless user interface while the drag and drop operation is being performed.
[0042] The above scenarios are provided as non-limiting examples of anchor point locking optimization operations that a computing system can perform to prevent false triggers and / or imprecise cursor control that can lead to unintended results.
[0043] When a user's hand remains in the same place during touchless user interaction, multiple input gestures, such as "click" or "select" type inputs, may be unintentionally recognized. Such unintentional inputs may cause inaccurate control and user frustration during touchless interaction. In some examples, to address such issues, the computing system may be configured to perform optimization operations to prevent unintentional multiple click user inputs. More generally, the user intent parameters may include the length of time since the last computer-controlled action was performed in response to the last predefined input gesture, such as how long it has been since the computer last performed a "click" action in response to a user gesture.
[0044] An exemplary process flow 600 illustrating optimization operations that a computing system may perform to prevent repeated unintentional user input is shown in Figure 6. Although the example in Figure 6 focuses specifically on "click" type actions, it will be understood that this is non-limiting and the steps of Figure 6 may be similarly implemented for any type of computer action performed in response to a user gesture.
[0045] The process flow begins by detecting a gesture, such as a thumb and index finger pinch gesture, that is mapped to a click command. Once a click gesture is detected, it is determined at 602 whether this is the first click, e.g., the first click detected since: powering on the device; since waking up from hibernation; since a particular user has logged in; since a threshold time has passed; and / or since some other suitable condition has been met. If this is the first click, then a click is triggered at 604, i.e., a click command is issued.
[0046] If this is not the first click (e.g., it is the second click), it is determined at 606 whether the user's hand is still making the same gesture (e.g., pinching with thumb and index finger). If the same gesture is still being made, the click is stopped at 608, i.e., no click command is issued. Conversely, if the same gesture is not being made, the cursor movement distance is calculated at 610. If the cursor movement distance meets the threshold distance, another click command is issued. Conversely, if the cursor movement distance does not meet the threshold distance, the click is stopped, i.e., no click command is issued. The exemplary process flow illustrated in FIG. 6 utilizes the time, movement, and position of the cursor and / or user input to make a determination as to which clicks are intentional and which are unintentional clicks. The exemplary process flow illustrated in FIG. 6 can be implemented by a computing system each time a click gesture is detected to prevent an unintentional click command from being issued.
[0047] In some examples, the touchless user interface is visually presented on a display that is too large for the user to navigate at arm's length alone. For example, such examples may occur with giant monitors or when the user is far away from the display. In these examples, the computing system may be configured to perform optimization operations in the form of locking and scrolling operations instead of relying on hand position as a reference for cursor position, or to perform cropping / zooming techniques to resize images to use dimensions more suitable for interaction. Two exemplary locking and scrolling scenarios are shown in FIG. 7, while the cropping / zooming technique is shown in FIG. 8.
[0048] In a first exemplary scenario 700 shown at the top of FIG. 7, a lock gesture is performed to reposition the cursor. In step 1, the cursor is unlocked and the hand length is sufficient to move the cursor within the bottom right interaction area of the touchless user interface, which is shown by the bounding box. To interact with a different area of the touchless user interface, in step 2, the user performs a lock gesture, in this example by clenching a fist. Based on the detection of the lock gesture, the cursor position is locked and the touchless user interface is displaced relative to the locked cursor position. In particular, the interaction area is displaced from the bottom left of the touchless user interface to the center centered on the cursor. In step 3, the user maintains the clenched fist gesture and displaces the interaction area relative to the cursor by moving the hand position. In step 4, the cursor position is unlocked by opening the user's hand, which allows the cursor to be moved within the interaction area.
[0049] In a second exemplary scenario 702 shown at the bottom of FIG. 7, a pointing gesture is performed to reposition the cursor. In step 1, the cursor is unlocked and the hand length is sufficient to move the cursor within the lower right interaction area of the touchless user interface, indicated by the bounding box. In step 2, the user performs a pointing gesture, pointing with the index finger in the direction of cursor movement, which in this example is upwards. In step 3, the cursor moves in the pointed direction until the user stops performing the pointing gesture. In step 4, the user's hand is released from the pointing gesture, which allows the cursor to be moved within the displaced interaction area.
[0050] By implementing these exemplary optimization operations for locking and displacing the cursor, user fatigue can be reduced when interacting with a touchless user interface: for example, instead of having to hold the user's hand at a specified position, the user can rest their hand while the cursor is locked in place.
[0051] FIG. 8 illustrates an exemplary scenario in which cropping and / or zooming is applied based on the distance between a user and a computing device. Specifically, FIG. 8 illustrates two different images 800A, 800B captured by a camera of a computing device, such as the camera 106 of FIG. 1A. In FIG. 8, the size of a human user's body 802 is relatively small compared to the overall size of the captured image, which may indicate that the user is relatively far away from the device. Thus, cropping / zooming image 800B to focus on user 802 can facilitate easier interaction with the computing device. In other words, the multiple images may be cropped and / or zoomed based at least in part on the visible size of the human user in the multiple images.
[0052] In some examples, a computing system may be configured to track a sequence of inputs of a single user over time and apply context awareness to improve responsiveness. For example, if the application is a quick service ordering menu, the location of a "click" action can be tracked over time, allowing the cursor to move faster as it moves away from a previously tracked "click" action point and slower as it moves closer to a known "click" action point. If an order involves multiple actions in succession, the next action in the sequence can be predicted and used as a suggested action.
[0053] An exemplary scenario in which context awareness is employed by a computing system is illustrated in FIG. 9. The computing system may be configured to learn over time which areas of a touchless user interface a user interacts with most frequently. Specifically, FIG. 9 illustrates an exemplary interface 900 depicted as a grayscale heat map of user interactions, with areas with the most interactions shown in lighter shading, transitioning to darker shading for areas with less interaction. Additionally, the computing system may be configured to learn over time the order of steps in an interaction sequence, and the areas of the interface that correspond to those steps. For example, in FIG. 9, an exemplary touchless interaction may include interactions with areas 1-4 in this order to perform the touchless interaction. The computing system may be configured to improve the accuracy of touch input during the touchless interaction by dynamically adjusting cursor movement, click speed, etc., depending on how frequently the areas are used.
[0054] Returning briefly to FIG. 2, at 208, method 200 includes mapping the predefined input gestures to computer-controlled actions. More generally, the computing system may map the recognized gestures to actions, operations, and / or events that the computing system and / or the touchless user interface performs / tracks. In some examples, the computing system may perform such mapping using a database (e.g., a look-up table) that associates computational actions, operations, and / or events. Any suitable gesture may be mapped to any suitable computational action, operation, and / or event in a database stored in a storage device of the computing system.
[0055] Returning to the example of hovering over a UI element, the recognized action (e.g., a detected finger hovering over a UI element for longer than a threshold amount of time) is mapped to an event supported by the UI. For example, index finger hovering for more than 0.5 seconds = key press; index and middle finger hovering for more than 0.5 seconds = double click. As shown throughout, in many examples, a display may be employed to provide visual feedback regarding, for example, the movement / position of the user's fingers. In the example of hovering over a UI element, the display may visually present visual feedback of the user's fingertip as it moves across a displayed number pad and hovers over a particular displayed number. After a threshold hover time (e.g., 0.5 seconds), the system maps the action (hovering over the threshold) to selection of the number for input into a calculator or other number receiving application. In other examples, the display may visually present other forms of visual feedback to one or more users of touchless user input.
[0056] In some examples, the computing system may be configured to combine mappings of gestures to mouse, keyboard, and / or touch actions. In some examples, the mappings may be applied system-wide or customized for individual users. In some examples, the mappings may be different for different contexts, such as different mappings for multiple gaming or work applications. For example, as described above, the techniques described herein may potentially be applied to a multi-user environment. Thus, the mapping of the predefined input gestures to the computer control actions may include detecting a hand movement of a second human user, where the two hand movements are mapped together to a single control action, such as a control input for a video game. As another example, different mappings may be applied for different application programs, such as different mappings for video conferencing and video game applications.
[0057] One exemplary mapping scheme is illustrated in FIG. 10, which shows an exemplary mapping table 1000. In this exemplary mapping scheme, a thumb and index finger pinch gesture is mapped to a mouse left click command for any computing application executed by the computing system. This gesture is further mapped to a mouse left click command for a work-related context. A fist gesture is mapped to a mouse middle button scroll command for any computing application executed by the computing system. This gesture is further mapped to a mouse middle button scroll command for a home-related context. A index finger up gesture is mapped to a drag and drop command for the "Alien Attack" video game and video calling application executed by the computing system. This gesture is further mapped to a drag and drop operation for work and gaming contexts. A hand open gesture is mapped to a mouse cursor movement command for any computing application executed by the computing system. This gesture is further mapped to a mouse cursor movement command for a home context. The mapping scheme illustrated in FIG. 10 is provided as a non-limiting example. Any suitable context-based mapping scheme may be contemplated herein.
[0058] Returning briefly to Figure 2, at 210, the computing system performs the computer-controlled action in response to the predefined input gesture. In other words, the computing system triggers an appropriate computational action, operation, and / or event to be performed in a touchless user interface or appropriate computing application that is mapped to the gesture. In some examples, the computing system may record or log the performed action, operation, and / or event for use in further analysis of the user's intent in the future when additional touchless user input is provided.
[0059] It will be appreciated that in some instances, the systems described herein provide the advantage of enabling touch-free user input. For example, the techniques described herein can be implemented at the point of sale to replace touch screen / pen-based input of quantities, item codes, signatures, and checkout intent. Existing contactless functionality can be maintained and seamlessly integrated into the described interface.
[0060] The techniques described herein can be seamlessly integrated with increasingly popular AR / VR technologies. For example, instead of a separate camera, AR and VR headsets can incorporate the features described herein. Instead of displaying UI elements on an external screen, these devices project the UI onto glasses, and the user interacts with the UI using their hands and fingers.
[0061] Although this description frequently refers to "gestures", it will be understood that the scope of this term extends to simple positions / configurations of a user's body parts, for example in some cases it may be important only to identify the position of a user's fingertips in, for example, a particular XY configuration / position, and not necessarily that such is caused by a particular hand / arm movement.
[0062] Any or all of the methods and processes described herein may be implemented as an executable application, a network-accessible service, an application programming interface (API), a library, and / or any other suitable computing resource or combination of computing resources.
[0063] 11 is a simplified schematic diagram of a computing system 1100 configured to implement any or all of the techniques described herein. The computing system 1100 may take the form of one or more personal computers, network-accessible server computers, mobile computing devices, mobile communication devices (e.g., smartphones), Internet of Things (IoT) devices, embedded computing devices, and / or other computing devices.
[0064] Computing system 1100 includes a logic subsystem 1102 and a storage subsystem 1104. Computing system 1100 may optionally include a display subsystem 1106, an input subsystem 1108, a communication subsystem 1110, and / or other subsystems not shown in FIG.
[0065] Logical subsystem 1102 includes one or more physical logical devices configured to execute computer instructions. For example, the logical subsystem may include hardware elements configured to execute instructions that are part of one or more software applications or other executable data structures, and / or the logical subsystem may include one or more hardware or firmware elements configured to execute hardware or firmware instructions. The processor of the logical subsystem may have any suitable number of cores and may execute instructions sequentially, in parallel, and / or through distributed processing. Individual components of the logical subsystem may optionally be distributed across two or more separate, possibly remotely located devices. In some cases, aspects of the logical subsystem may be virtualized and executed by multiple remotely accessible networked computing devices, such as those configured in a cloud computing configuration.
[0066] The storage subsystem 1104 includes one or more physical storage devices configured to temporarily and / or permanently hold computer information, e.g., instructions executable by the logic subsystem, and / or other suitable data. When the storage subsystem includes more than one device, the devices may be co-located and / or remotely located. The storage subsystem 1104 may include volatile, non-volatile, dynamic, static, read / write, read-only, random access, sequential access, location-addressed, file-addressed, and / or content-addressed devices. The storage subsystem 1104 may include removable and / or embedded devices. In some cases, execution of instructions by the logic subsystem may modify data stored by the storage subsystem, e.g., thereby allowing new data to be stored.
[0067] In some cases, any or all aspects of logic subsystem 1102 and / or storage subsystem 1104 may be integrated into one or more hardware logic components, including, for example, program specific / application specific integrated circuits (PASIC / ASIC), program specific / application specific standard products (PSSP / ASSP), systems on a chip (SOC), and complex programmable logic devices (CPLDs).
[0068] The logic subsystem and the storage subsystem may cooperate to implement one or more logical machines. As used herein, the term "machine" is used to refer generally to a combination of computer hardware, firmware, software, instructions, and / or any other components that together provide the functionality of a computer. In other words, a "machine" is never an abstract concept, but always has a concrete form. A machine may be instantiated by a single computing device, or a machine may be distributed among multiple components of two or more different computing devices. A machine may include local components (e.g., software applications executed by a processor of a local computer) that cooperate with remote components (e.g., network-accessible services provided by one or more remote computing devices).
[0069] The machines may be implemented using any suitable combination of state-of-the-art and / or future machine learning (ML), artificial intelligence (AI), and / or natural language processing (NLP) techniques. Non-limiting examples of techniques that may be incorporated into one or more machine implementations include support vector machines, multi-layer neural networks, convolutional neural networks (e.g., including spatial convolutional networks for processing images and / or videos, temporal convolutional neural networks for processing audio signals and / or natural language sentences, and / or any other suitable convolutional neural networks configured to convolve and pool features across one or more time and / or spatial dimensions), recurrent neural networks (e.g., long short-term memory networks), associative memories (e.g., lookup tables, hash tables, Bloomfills, etc.), and / or other suitable neural networks (e.g., hierarchical networks, such as hierarchical networks, ... data, neural Turing machines, and / or neural random access memories), word embedding models (e.g. GloVe or Word2Vec), unsupervised spatial and / or clustering methods (e.g. nearest neighbor algorithms, topological data analysis, and / or k-means clustering), graphical models (e.g. (hidden) Markov models, Markov random fields, (hidden) conditional random fields, and / or AI knowledge bases), and / or natural language processing techniques (e.g. tokenization, stemming, constituent relationship and / or dependency analysis, and / or intent recognition, segment models, and / or higher-level segment models (e.g. hidden dynamic models)).
[0070] In some examples, the methods and processes described herein can be implemented using one or more differentiable functions, the slopes of which can be calculated and / or estimated with respect to the inputs and / or outputs of the differentiable functions (e.g., with respect to training data and / or with respect to an objective function). Such methods and processes can be determined, at least in part, by a set of trainable parameters. Thus, the trainable parameters for a particular method or process can be adjusted by any suitable training procedure to continually improve the functioning of the method or process.
[0071] Non-limiting examples of training procedures for tuning trainable parameters include supervised training (e.g., using gradient descent or any other suitable optimization method), zero-shot, few-shot, unsupervised learning methods (e.g., classification based on classes derived from unsupervised clustering methods), reinforcement learning (e.g., feedback-based deep Q-learning) and / or generative adversarial neural network training methods, belief propagation, random sample consensus (RANSAC), contextual bandit methods, maximum likelihood methods, and / or expectation maximization methods. In some examples, multiple components of the methods, processes, and / or systems described herein can be trained simultaneously (e.g., with respect to reinforcement feedback and / or with respect to labeled training data) with respect to an objective function that measures the performance of the collective functionality of the multiple components. By training multiple methods, processes, and / or components simultaneously, the collective functionality as described above can be improved. In some examples, one or more methods, processes, and / or components may be trained independently of other components (e.g., offline training on historical data).
[0072] If included, the display subsystem 1106 may be used to present a visual display of any or all of the data maintained by the storage subsystem 1104. By way of example, the visual display may take the form of a user interface that presents information to, and optionally receives input from, a human user. The display subsystem 1106 may include one or more display devices utilizing substantially any suitable type of display technology.
[0073] If included, an input subsystem 1108 may comprise or interface with one or more input devices. The input devices may include user input devices and / or sensor input devices. Non-limiting examples of user input devices include a keyboard, a mouse, or a touch screen. The input devices of the input subsystem may include integrated devices and / or peripheral devices.
[0074] If included, the communications subsystem 1110 may be configured to communicatively couple any or all of the components of the computing system 1100 with one or more other computer components, e.g., corresponding to other computing devices. The communications subsystem 1110 may include wired and / or wireless communication devices compatible with any suitable data communications protocol. The communications subsystem may be configured to communicate over personal, local, and / or wide area networks.
[0075] It will be understood that the configurations and / or approaches described herein are exemplary in nature, and that these specific embodiments or examples are not to be considered in a limiting sense, as numerous variations are possible. The particular routines or methods described herein may represent one or more of any number of processing strategies. Thus, various operations shown and / or described may be performed in the order shown and / or described, in other orders, in parallel, or may be omitted. Similarly, the order of the processes described above may be changed.
[0076] The subject matter of the present disclosure includes novel and non-obvious combinations and subcombinations of the various processes, systems, and configurations disclosed herein, as well as other features, functions, operations, and / or properties, and all equivalents thereof.
Claims
1. 1. A method of user input detection in a computing device, comprising: The method comprises: receiving a plurality of images from a camera showing a user's hand of a human user; processing the plurality of images to detect a plurality of user intent parameters, the plurality of user intent parameters including a predefined activation gesture performed by the user's hand; responsive to the plurality of user intent parameters satisfying a gesture input activation condition, detecting hand movements of the user consistent with a predefined input gesture by processing the plurality of images; mapping the predefined input gestures to computer controlled actions; and Executing the computer-controlled action in response to the predefined input gesture. A method comprising:
2. The method of claim 1 , wherein the images captured by the camera include two-dimensional image pixel data having RGB color values.
3. The method of claim 2 , wherein the camera is a webcam integrated into the computing device.
4. The method of claim 1 , wherein the plurality of images further show user eyes of the human user, and the plurality of user intent parameters further include a detected gaze direction of the user's eyes.
5. The method of claim 1 , wherein the plurality of user intent parameters further comprises a pose of one or more additional user body parts of the human user other than the user's hands.
6. The method of claim 1 , wherein the plurality of user intent parameters further comprises a number of different human users detected in the plurality of images.
7. The method of claim 1 , wherein the plurality of user intent parameters further comprises a perceived identity of the human user.
8. The method of claim 7 , wherein the plurality of images further show a face of the human user, and the identity of the human user is recognized by facial recognition.
9. 2. The method of claim 1, wherein the plurality of images further show a recognized object being held in the user's hand, and the plurality of user intent parameters comprises a detected presence of the recognized object.
10. The method of claim 1 , wherein the plurality of user intent parameters further comprises a detected speech of the human user.
11. The method of claim 1 , wherein the plurality of user intent parameters further comprises a length of time since a last computer-controlled action was executed in response to a last predefined input gesture.
12. The method of claim 1 , wherein the step of mapping the predefined input gesture to the computer-controlled action further comprises detecting hand movements of a second human user.
13. The method of claim 1 , further comprising the step of displaying an on-screen graphical cursor associated with the user's hand.
14. 14. The method of claim 13, further comprising the step of displaying a second on-screen graphical cursor associated with a second user's hand of a second human user.
15. 14. The method of claim 13, further comprising moving a displayed position of the on-screen graphical cursor a distance and direction determined based at least in part on the detected movement of the user's hand.
16. 16. The method of claim 15, wherein the step of moving the displayed position of the on-screen graphical cursor is influenced at least in part by an initial jitter smoothing value and an updated jitter smoothing value calculated based on one or both of a distance of the user's hand movement and a velocity of the user's hand movement.
17. The method of claim 13 , further comprising locking a display position of the on-screen graphical cursor until an end of the predefined input gesture.
18. The method of claim 1 , further comprising cropping or zooming the plurality of images based at least in part on a visible size of the human user within the plurality of images.
19. camera; A logical subsystem; and The logic subsystem: receiving a plurality of images from the camera showing a user's hand of a human user; processing the plurality of images to detect a plurality of user intent parameters, where the plurality of user intent parameters include a predefined activation gesture performed by the user's hand; Detecting hand movements of the user consistent with predefined input gestures by processing the plurality of images in response to the plurality of user intent parameters satisfying a gesture input activation condition; Mapping the predefined input gestures to computer controlled actions; Executing the computer-controlled action in response to the predefined input gesture. A storage subsystem that holds executable instructions for A computing device comprising:
20. 1. A method of user input detection in a computing device, comprising: The method comprises: receiving a plurality of images showing a user's hands of a human user from an integrated webcam of the computing device; processing the plurality of images to detect a predefined activation gesture performed by the user's hand and detecting a gaze direction of the user's eyes of the human user toward a display of the computing device; responsive to the plurality of user intent parameters satisfying a gesture input activation condition, detecting hand movements of the user consistent with a predefined input gesture by processing the plurality of images; moving a displayed position of an on-screen graphical cursor a distance and direction determined based at least in part on the detected movement of the user's hand; mapping the predefined input gestures to computer controlled actions; and Executing the computer-controlled action in response to the predefined input gesture. A method comprising:
Citation Information
Patent Citations
Cursor operation device, method therefor and program therefor
JP2004258837A
Enhanced interface for voice and video communication
JP2010541398A
Information processing apparatus and method of controlling the same
JP2011192081A
Gesture recognition apparatus, method for controlling gesture recognition apparatus, and control programprogram
JP2011192090A
Electronic apparatus and method of controlling the same
JP2013140578A
