Pupil detection device
View Patent ↗There is provided a pupil tracking device including an active light source, an image sensor and a processing unit. The active light source emits light toward an eyeball alternatively in a first brightness value and a second brightness value. The image sensor captures a first brightness image corresponding to the first brightness value and a second brightness image corresponding to the second brightness value. The processing unit identifies a brightest region at corresponding positions of the first brightness image and the second brightness image as an active light image.
1. A pupil tracking device, comprising:
an infrared light source configured to emit light toward an eyeball alternatively in a first brightness value and a second brightness value;
an image sensor having a contact point and configured to capture a first brightness image corresponding to the first brightness value and a second brightness image corresponding to the second brightness value; and
a processing unit electrically coupled to the contact point of the image sensor, and configured to
identify a first brightest region in the first brightness image and a second brightest region in the second brightness image,
identify the first brightest region and the second brightest region as infrared light images associated with the infrared light source when the first brightest region and the second brightest region are at corresponding positions in the first brightness image and the second brightness image, and
identify the first brightest region and the second brightest region as ambient light source images when the first brightest region and the second brightest region are not at corresponding positions in the first brightness image and the second brightness image.
2. The pupil tracking device as claimed in claim 1 , wherein the processing unit is further configured to identify a pupil position according to the first brightness image or the second brightness image.
3. The pupil tracking device as claimed in claim 2 , wherein
the first brightness value is higher than the second brightness value; and
the processing unit is configured to
identify a plurality of pixels around a lowest gray level in the first brightness image and having gray levels within a gray level range as a pupil region, and
calculate a gravity center or a center of the pupil region as the pupil position.
4. The pupil tracking device as claimed in claim 2 , further comprising a memory unit configured to save pupil coordinate information associated with the infrared light image and the pupil position, and the processing unit is further configured to remove the ambient light source images from the first and second brightness images.
5. The pupil tracking device as claimed in claim 1 , wherein
the first brightness value is equal to the second brightness value; and
the image sensor is configured to
capture the first brightness image with a first exposure time and a first gain, and
capture the second brightness image with a second exposure time and a second gain, wherein the first exposure time is not equal to the second exposure time and/or the first gain is not equal to the second gain.
6. The pupil tracking device as claimed in claim 1 , wherein the pupil tracking device is disposed on a head accessory.