Patent ID: 11961328
Assignee: SWALLOW INCUBATE CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. An eye detecting device comprising:
a processor; and
a non-transitory computer-readable medium having stored thereon executable instructions that, when executed by the processor, cause the eye detecting device to function as:
an acquiring part for acquiring a color image including a face of a person taken by an image taking device;
a generating part for generating a grayscale image by multiplying each of a red component value, a green component value, and a blue component value of each pixel of the color image by a predetermined ratio according to characteristics of a lens of glasses that the person wears;
a detecting part for detecting an eye of the person from the grayscale image;
wherein the generating part is also for generating a binary image from the color image;
a determining part for extracting from the binary image an estimated glasses region where the glasses are estimated to be present;
wherein the determining part is also for determining whether the person is wearing the glasses, based on a length in a horizontal direction of a white region where a plurality of white pixels continue in the estimated glasses region;
wherein the detecting part is also for detecting the eye of the person from the color image upon determining that the person is not wearing the glasses; and
an outputting part for outputting eye information on the eye of the person,
wherein the eye detecting device is configured to generate the grayscale image upon determining that the person is wearing the glasses.