Patent ID: 11961328
Assignee: PANASONIC HOLDINGS CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. An eye detecting method comprising:
acquiring, by a processor, a color image including a face of a person taken by an image taking device;
generating, by the processor, 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;
detecting, by the processor, an eye of the person from the grayscale image;
generating, by the processor, a binary image from the color image;
extracting, by the processor, from the binary image an estimated glasses region where the glasses are estimated to be present;
determining, by the processor, 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;
detecting, by the processor, the eye of the person from the color image upon determining that the person is not wearing the glasses; and
outputting, by the processor, eye information on the eye of the person,
wherein the grayscale image is generated by the processor upon determining that the person is wearing the glasses.