摘要 |
Input can be provided to a computing device based upon relative movement of a user or other object with respect to the device. In some embodiments, infrared radiation is used to determine measurable aspects of the eyes or other of a user. Since the human retina is a retro-reflector for certain wavelengths, using two different wavelengths or two measurement angles can allow user pupils to be quickly located and measured without requiring resource-intensive analysis of full color images captured using ambient light, which can be important for portable, low power, or relatively inexpensive computing devices. Various embodiments provide differing levels of precision and design that can be used with different devices. |
主权项 |
1. A computer-implemented method of enabling a user to provide a control input to an electronic device, comprising:
under control of one or more computing systems configured with executable instructions,
illuminating, by a first infrared (IR) source of the electronic device, at least a portion of a face;illuminating, by a second IR source of the electronic device, at least the portion of the face;determining that a third IR sensor is covered, based at least in part on the third IR sensor not receiving reflected IR light;capturing, by a first IR sensor at a first time, a first image including reflected IR light from the first IR source;capturing, by a second IR sensor at the first time, a second image including reflected IR light from the second IR source;determining a first portion of the first image, the first portion including facial features that meet a minimum level of distinctiveness;locating a second portion of the second image, the second portion of the second image corresponding to the first portion of the first image;aligning the first portion of the first image and the second portion of the second image, based at least in part on first information;determining a first position of the face based at least on the first image;determining a second position of the face based at least on the second image;determining a relative position of the face based at least on a difference between the first position of the face and the second position of the face; anddetermining a control input for the electronic device based on the relative position of the face. |