Eye and Head Tracking
Systems, methods, and computer readable media to detect and track a user's eye gaze and head movement are described. In general, techniques are disclosed for receiving one or more stereo images of a set of pupils, wherein each of the set of pupils is part of an eye of a head, calculating a location of each of the set of pupils from the stereo images, determining a head pose based on the one or more stereo images, identifying a location of the set of pupils in the head based on the determined head pose, and identifying a gaze using the locations of each of the set of pupils.
This disclosure relates generally to the detection of eye and head movement. More particularly, but not by way of limitation, this disclosure relates to techniques for detecting pupil location and the use of that information, and a head model, to track gaze.
It has recently been noted that three dimensional (3D) head tracking using a video sequence, or pose estimation using multiple images is an essential prerequisite for robust facial analysis and face recognition. Eye tracking often forms the basis of these operations and may be thought of as the process of electronically locating the point of a person's gaze, or following and recording the movement of the person's point of gaze. In practice, eye tracking is provided by locating and tracking corneal reflections from an applied light source. Because infrared or near-infrared light is not perceivable by the human eye, it is often used as the light source; infrared or near-infrared light passes through the pupil but is reflected by the iris, generating a differentiation between the pupil and the iris.
SUMMARYIn one embodiment the disclosed concepts provide a method to capturing, during a first time period, one or more images from each of a first and second image capture device; emitting light, during the first time period, from a first and a third light emitter and not from a second and a fourth light emitter—illustrative light emitters include infrared or near-infrared light emitters. In one embodiment, the first and second image capture devices are juxtaposed to one another; the first and second light emitters are juxtaposed to one another and arranged to a first side of the first image capture device; and the third and fourth light emitters are juxtaposed to one another and arranged to a second side of the second image capture device. The disclosed methods may continue by capturing, during a second time period, one or more images from each of the first and second image capture devices; and emitting light, during the second time period, from the second and fourth light emitters and not from the first and third light emitters. In one embodiment the first and second image capture devices may be configured to have incompletely overlapping fields of view (e.g., to provide stereoscopic image information). In some embodiments, the disclosed methods may further comprise detecting a first eye using the one or more images captured during the first time period; determining an initial pupil location for the first eye, wherein the initial pupil location is defined in terms of a first two-dimensional (2D) region; identifying a second region wholly within the first region; identifying a third region wholly outside the first region; identifying that area between the second and third regions as a fourth region, the fourth region comprising a plurality of pixels; determining a gradient for at least some of the pixels in the fourth region; identifying a first set of pixels from the plurality of pixels, wherein each pixel in the first set of pixels has a gradient value that meets a first criteria; and identifying an updated pupil location for the first eye based on the first set of pixels. In other embodiments, the disclosed methods can include determining a first gaze direction based on the updated pupil location for the first eye. In still other embodiments, the disclosed methods can also include determining a plurality of gaze directions for the first eye based on a plurality of captured images captured at different times. In another embodiment, the various methods may be embodied in computer executable program code and stored in a non-transitory storage device. In yet another embodiment, the method may be implemented in an electronic device having image capture capabilities.
In one embodiment, the disclosed concepts describe a method for receiving one or more stereo images of a set of pupils, wherein each of the set of pupils is part of an eye of a head, calculating a location of each of the set of pupils from the stereo images, determining a head pose based on the one or more stereo images, identifying a location of the set of pupils in the head based on the determined head pose, and identifying a gaze using the head pose and the location of each of the set of pupils. In another embodiment, the various methods may be embodied in computer executable program code and stored in a non-transitory storage device. In yet another embodiment, the method may be implemented in an electronic device having image capture capabilities.
This disclosure pertains to systems, methods, and computer readable media to detect and track a user's eye gaze and head movement. In general, techniques are disclosed for identifying a user's pupil location and using this information, in conjunction with a three dimensional (3D) model of the user's head, perform gaze tracking operations. More particularly, techniques disclosed herein utilize pupil gradient information to refine an initial pupil location estimate. Once identified, the pupil's location may be combined with 3D head pose information to generate an accurate and robust gaze detection mechanism.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed concepts. As part of this description, some of this disclosure's drawings represent structures and devices in block diagram form in order to avoid obscuring the novel aspects of the disclosed concepts. In the interest of clarity, not all features of an actual implementation may be described. Moreover, the language used in this disclosure has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter. Reference in this disclosure to “one embodiment” or to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the disclosed subject matter, and multiple references to “one embodiment” or “an embodiment” should not be understood as necessarily all referring to the same embodiment.
It will be appreciated that in the development of any actual implementation (as in any software and/or hardware development project), numerous decisions must be made to achieve a developers' specific goals (e.g., compliance with system- and business-related constraints), and that these goals may vary from one implementation to another. It will also be appreciated that such development efforts might be complex and time-consuming, but would nevertheless be a routine undertaking for those of ordinary skill in the design and implementation of eye tracking systems having the benefit of this disclosure.
Referring to
Referring to
Referring to
Referring to
Referring to
According to one or more embodiments, the location of the landmarks allows for head pose estimation 830 and 2D pupil localization 815L and 815R. In some embodiments head pose estimation may be done in any number of ways. One example, using the face detection and landmark alignment, may include performing a regression analysis of a current head against a test set of head poses. That is, the relation of the various landmarks may be compared against the relation of landmarks of others in a test set of images, where the head pose is known in the test set of images. As another example, a head pose may be determined based on a geometric analysis of the various landmarks of the face. For example, linear mapping may provide information about the geometry of facial features as compared to a model. Certain landmarks may lend themselves to determining a ground truth alignment. For example, two eyes are often aligned. In one or more embodiments, the landmarks may be analyzed to determine an alignment from ground truth in order to determine a head pose.
With respect to pupil localization, any number of methods may be used, including the methods described above. By way of example, the method depicted in
As an example, the 3D pupil triangulation method (block 820) may include reversely projecting the 2D coordinate of each pupil center into 3D ray based on the pin hole camera model and camera intrinsic parameters (such as focal length, image pixel size), and then computing the intersection point (X, Y, Z) of the two rays based on the camera extrinsic parameters (relative rotation and translation between two cameras), according to one or more embodiments. The 3D point (X, Y, Z) is further refined by an optimization algorithm (such as Levenberg-Marquardt method) to minimize the 2D distances between the original 2D pupil centers and the 2D projection of the 3D point into both images.
As another example, 3D pupil triangulation imay include modeling the pupil as a 3D circular patch (“disk”) in the 3D space and the triangulation problem is converted into estimating the 3D disk's center (X, Y, Z), radius R, and orientation (α, β, γ). The 2D ellipse fitted onto each of the two images may be used for a similar Levenberg-Marquardt optimization technique, where the loss function is computed as the distance between the projected 2D elliptical contours and the original detected 2D contours.
At block 825, a gaze may be determined. In one or more embodiments, determining the gaze may involve determining the location of the pupil in relation to the eye. The head pose and pupil locations may be used to detect the gaze. The process of gaze detection will be described in greater detail below with respect to
Refined head pose estimation 940 may be used to detect a gaze at 925. Similar to the flow depicted at 800, in system 900 the gaze detection 925 may involve determining the location of the pupil in relation to the eye. The location of the pupils may be determined by an initial pupil localization step at 915L and 915R to determine a 2D location of the pupils. The location of the pupils may further be determined based on a 3D pupil triangulation operation 920.
Although systems 900 and 800 each depict detecting a gaze using a set of stereo cameras and a depth sensor, in one or more other embodiments different hardware may be used. That is, in some embodiments the depth information and images may be collected using a different type of camera, or a different number of cameras. Thus, the gaze may be detected using any data that may be used to determine a 3D location of a set of eyes. The process of gaze detection will be described in greater detail below with respect to
Operation 1000 begins at 1005 where a center of each eye is determined. As shown in example 1050, the eye centers 1055R and 1055L may identify the center of the sphere of the eye. The center of the sphere of the eye may indicate, for example, a pivot point of each of the eyes. According to one or more embodiments, the center of each eye may be determined in a number of ways. In one embodiment, the head pose determined at 940 may indicate a general location of the eyes. For example, the various images captured by the stereo cameras at 905L and 905R and depth information from depth sensor 930, where available, may be used to determine a location of each of the eyes. The use of the head pose to determine the center of each eye will be explained in further detail below with respect to
Operation 1000 continues at 1010 where an initial vector 1060R and 1060L may be calculated for each eye from the center of the pupil of the eye to the center of the eye. According to one or more embodiments, the pupil of each eye may be determined in any number of ways, including those described above. At 1015, the initial vectors from the center of the pupil to the center of the eye may be projected out to the environment, as shown by 1065R and 1065L. Then, at 1020, a gaze 1070 of the eyes based on an intersection of the gaze vectors 1065R and 1065L.
Operation 1100 begins at 1105 when the facial landmarks are obtained from stereo images. According to one or more embodiments, the stereo images may be obtained from a stereo camera pair, such as 905L and 905R. However, the stereo images may be obtained by any other one or more stereo cameras. According to some embodiments, the facial landmarks may indicate identifiable characteristics in the face. In one or more embodiments the facial landmarks may be identified using depth analysis, feature extraction, or any other means or combination of means. An example of facial landmarks is depicted in 1150. In example 1150, the various landmarks indicate facial features, such as brows, nose, lips, and corners of the eyes. The flow chart continues at 1110, where, in one or more embodiments, additional sensor data is acquired, for example, from a depth sensor.
Illustrative operation 1100 continues at 1115 where a course head pose may be determined. Specifically, in certain embodiments, the depth information received from one or more depth sensors may be utilized to generate a depth map. The depth map may provide a general position of the head. In one or more embodiments, the depth map may be used along with the facial landmarks obtained in 1105 in a regression analysis against model data to determine a refined head location and orientation, at 1120. Example 1155 depicts an example of a location in an x, y, and z axis, along with a determined roll, pitch, and yaw of the head. According to one or more embodiments, the center of each eye may be determined based on the regression analysis performed at 1130. According to one or more embodiments, the regression analysis may provide models by which a location of each eye is obtained. Further, according to one or more other embodiments, the eye radius may be estimated based on the size of the pupil. The regression analysis may also provide model data to use in instances where a portion of the eyes is occluded in the images. Thus, the models may indicate where the eyes should be.
Referring to
Processor module or circuit 1205 may include one or more processing units each of which may include at least one central processing unit (CPU) and/or at least one graphics processing unit (GPU); each of which in turn may include one or more processing cores. Each processing unit may be based on reduced instruction-set computer (RISC) or complex instruction-set computer (CISC) architectures or any other suitable architecture. Processor module 1205 may be a system-on-chip, an encapsulated collection of integrated circuits (ICs), or a collection of ICs affixed to one or more substrates. Memory 1210 may include one or more different types of media (typically solid-state, but not necessarily so) used by processor 1205, graphics hardware 1220, device sensors 1225, image capture module 1230, communication interface 1235, user interface adapter 1240 and display adapter 1245. For example, memory 1210 may include memory cache, read-only memory (ROM), and/or random access memory (RAM). Storage 1215 may include one more non-transitory storage mediums including, for example, magnetic disks (fixed, floppy, and removable) and tape, optical media such as CD-ROMs and digital video disks (DVDs), and semiconductor memory devices such as Electrically Programmable Read-Only Memory (EPROM), and Electrically Erasable Programmable Read-Only Memory (EEPROM). Memory 1210 and storage 1215 may be used to retain media (e.g., audio, image and video files), preference information, device profile information, computer program instructions or code organized into one or more modules and written in any desired computer programming languages, and any other suitable data. When executed by processor(s) 1205 and/or graphics hardware 1220 and/or device sensors 1225 and/or functional elements within image capture module 1230 such computer program code may implement one or more of the methods described herein (e.g., any one or more of the operations disclosed in
Referring to
Processor 1305, display 1310, user interface 1315, graphics hardware 1320, device sensors 1325, communications circuitry 1345, image capture module or circuit 1350, memory 1360 and storage 1365 may be of the same or similar type and serve the same function as the similarly named component described above with respect to
It is to be understood that the above description is intended to be illustrative, and not restrictive. The material has been presented to enable any person skilled in the art to make and use the disclosed subject matter as claimed and is provided in the context of particular embodiments, variations of which will be readily apparent to those skilled in the art (e.g., some of the disclosed embodiments may be used in combination with each other). For example, in the description of initial pupil localization operation 110, the significance contour map has been described as if it had a 1:1 pixel correspondence with the associated gradient map. One of ordinary skill in the art will recognize this is not necessary. In addition, the gradient map used to generate a significance contour map may be filtered or unfiltered. Further, filter operations other than the described “soft threshold” may be applied during operations in accordance with block 320 (
Claims
1. A system to capture images, comprising:
- a processor; and
- a memory coupled to the processor and comprising instructions executable by the processor to: receive one or more stereo images of a set of pupils, wherein each of the set of pupils is part of an eye of a set of eyes of a head, calculate a first location of each of the set of pupils from the stereo images, determine a head pose based on the one or more stereo images, identify a second location of the set of pupils with respect to the head based on the determined head pose, and identify a gaze using the first location and the second location.
2. The system of claim 1, wherein the instructions to determine a head pose based on the one or more stereo images further comprises instructions to:
- detect a face of the head in the one or more stereo images,
- identify one or more landmarks of the face,
- calculate a coarse pose of the head based on the identified landmarks.
3. The system of claim 2, further comprising instructions to locate each of the pupils based on the identified one or more landmarks of the face.
4. The system of claim 2, further comprising instructions to:
- obtain depth information for the face from a depth sensor, and
- calculate a coarse head pose based on the depth information,
- wherein the gaze is further calculated using the coarse head pose.
5. The system of claim 1, wherein the instructions to identify a gaze comprises instructions to:
- for each eye of the set of eyes: determine a center of the eye, calculate an initial vector from the center of the pupil of the eye to a center of the eye, and project the initial vector from the center of the pupil out to an environment to obtain a gaze vector; and
- detect the gaze of the eye based on an intersection of the gaze vectors of each of the eyes.
6. The system of claim 1, wherein the instructions to determine a head pose based on the one or more stereo images comprises instructions to:
- obtain a plurality of head models,
- perform a regression analysis of the one or more stereo images of a set of pupils against the plurality of head models, and
- determine a head estimation pose based on the regression analysis.
7. A computer readable medium comprising computer readable code executable by one or more processors to:
- receive one or more stereo images of a set of pupils, wherein each of the set of pupils is part of an eye a set of eyes of a head,
- calculate a first location of each of the set of pupils from the stereo images,
- determine a head pose based on the one or more stereo images,
- identify a second location of the set of pupils with respect to the head based on the determined head pose, and
- identify a gaze using the first location and the second location.
8. The computer readable medium of claim 7, wherein the computer readable code to determine a head pose based on the one or more stereo images further comprises computer readable code to:
- detect a face of the head in the one or more stereo images,
- identify one or more landmarks of the face,
- calculate a coarse pose of the head based on the identified landmarks.
9. The computer readable medium of claim 8, further comprising computer readable code to locate each of the pupils based on the identified one or more landmarks of the face.
10. The computer readable medium of claim 8, wherein the one or more landmarks are selected from a group consisting of brows, nose, lips, and corners of the eyes.
11. The computer readable medium of claim 8, further comprising computer readable code to:
- obtain depth information for the face from a depth sensor; and
- calculate a coarse head pose based on the depth information,
- wherein the gaze is further calculated using the coarse head pose.
12. The computer readable medium of claim 7, wherein the computer readable code to identify a gaze comprises computer readable code to:
- for each eye of the set of eyes: determine a center of the eye, calculate an initial vector from the center of the pupil of the eye to a center of the eye, and project the initial vector from the center of the pupil out to an environment to obtain a gaze vector; and
- detect the gaze of the eye based on an intersection of the gaze vectors of each of the eyes.
13. The computer readable medium of claim 7, wherein the computer readable code to determine a head pose based on the one or more stereo images comprises computer readable code to:
- obtain a plurality of head models,
- perform a regression analysis of the one or more stereo images of a set of pupils against the plurality of head models, and
- determine a head estimation pose based on the regression analysis.
14. A method for detecting a gaze, comprising:
- receiving one or more stereo images of a set of pupils, wherein each of the set of pupils is part of an eye a set of eyes of a head;
- calculating a first location of each of the set of pupils from the stereo images;
- determining a head pose based on the one or more stereo images;
- identifying a second location of the set of pupils with respect to the head based on the determined head pose, and
- identifying a gaze using the first location and the second location.
15. The method of claim 14, wherein determining a head pose based on the one or more stereo images further comprises:
- detecting a face of the head in the one or more stereo images,
- identifying one or more landmarks of the face,
- calculating a coarse pose of the head based on the identified landmarks.
16. The method of claim 15, further comprising locating each of the pupils based on the identified one or more landmarks of the face.
17. The method of claim 16, wherein the one or more landmarks are selected from a group consisting of brows, nose, lips, and corners of the eyes.
18. The method of claim 15, further comprising:
- obtaining depth information for the face from a depth sensor; and
- calculating a coarse head pose based on the depth information,
- wherein the gaze is further calculated using the coarse head pose.
19. The method of claim 14, wherein identifying a gaze comprises:
- for each eye of the set of eyes: determining a center of the eye, calculating an initial vector from the center of the pupil of the eye to a center of the eye, and projecting the initial vector from the center of the pupil out to an environment to obtain a gaze vector; and
- detecting the gaze of the eye based on an intersection of the gaze vectors of each of the eyes.
20. The method of claim 14, wherein determining a head pose based on the one or more stereo images comprises:
- obtaining a plurality of head models,
- performing a regression analysis of the one or more stereo images of a set of pupils against the plurality of head models, and
- determining a head estimation pose based on the regression analysis.
Type: Application
Filed: Sep 22, 2017
Publication Date: Mar 22, 2018
Inventors: Matheen M. Siddiqui (Santa Clara, CA), Soumitry Jagadev Ray (Santa Clara, CA), Abhishek Sundararajan (Sunnyvale, CA), Rishabh Bardia (San Francisco, CA), Zhaoyi Wei (San Jose, CA), Chang Yuan (Los Gatos, CA)
Application Number: 15/713,341