US 12,333,860 B2
Method for detecting opening and closing of eye, device for detecting opening and closing of eye, and non-transitory computer-readable recording medium recording program for detecting opening and closing of eye
Toshikazu Ohno, Ibaraki (JP)
Assigned to SWALLOW INCUBATE CO., LTD., Ibaraki (JP); and PANASONIC HOLDINGS CORPORATION, Osaka (JP)
Filed by Swallow Incubate Co., Ltd., Ibaraki (JP); and Panasonic Holdings Corporation, Osaka (JP)
Filed on Jun. 16, 2022, as Appl. No. 17/841,841.
Application 17/841,841 is a continuation of application No. PCT/JP2021/021993, filed on Jun. 9, 2021.
Claims priority of application No. 2020-212910 (JP), filed on Dec. 22, 2020.
Prior Publication US 2022/0309832 A1, Sep. 29, 2022
Int. Cl. G06V 40/18 (2022.01); G06T 7/90 (2017.01)
CPC G06V 40/18 (2022.01) [G06T 7/90 (2017.01); G06T 2207/10024 (2013.01)] 13 Claims
OG exemplary drawing
 
1. A method for detecting opening and closing of an eye, by a computer, comprising:
acquiring a first image taken by an image taking device, including a face of a person;
generating a second image including an eye region of the person from the first image;
generating a third image in which pixels having a gradation value smaller than a threshold are represented at a first luminance value and pixels having a gradation value not smaller than the threshold are represented at a second luminance value, by binarizing the second image;
determining whether the eye of the person is opened or closed, on the basis of a height of the third image and a maximum height which is the maximum of a vertical distance between an upper pixel and a lower pixel in a first luminance region having the first luminance value; and
outputting information indicative of a result of the determination,
wherein, in the determining:
it is determined whether the maximum height in the first luminance region is larger than a value obtained by multiplying the height of the third image by a first factor; and
it is determined that the eye is opened when the maximum height in the first luminance region is determined to be larger than the value obtained by multiplying the height of the third image by the first factor.