Eye Open or Closed State Detection Method and Electronic Device
AssigneeHonor Device Co., Ltd.
InventorsHongbao Li, Chen Dong, Yongtao Jiang, Wenmei Gao
Life of this patent
Estimating the term…
Abstract
In an eye open or closed state detection method, in addition to an eye opening feature, an iris shape feature and/or a vertical direction feature are added to identify the eye open or closed state, where the eye opening feature is used to represent an eye opening degree, the iris shape feature is used to represent a shape of an iris of an eye, and the vertical direction feature is used to represent a change degree of an eyelid curve.
Claims21
1-11. (canceled)
An eye open or closed state detection method comprising:
- obtaining a grayscale image of an eye on a human face in a to-be-processed face image;
- extracting an eye feature from the grayscale image, wherein the eye feature comprises an eye opening feature, wherein the eye feature further comprises an iris shape feature or a vertical direction feature, wherein the eye opening feature represents an eye opening degree, wherein the iris shape feature represents a shape of the iris, and wherein the vertical direction feature represents a change degree of an eyelid curve;
- and
- identifying an eye open state or an eye closed state based on the eye feature.
An electronic device comprising:
- a processor;
- and
- a memory coupled to the processor and configured to store instructions that, when executed by the processor, cause the electronic device to be configured to:
- obtain a grayscale image of an eye on a human face in a to-be-processed face image;
- extract an eye feature from the grayscale image, wherein the eye feature comprises an eye opening feature, wherein the eye feature further comprises an iris shape feature or a vertical direction feature, wherein the eye opening feature represents an eye opening degree, wherein the iris shape feature represents a shape of the iris, and wherein the vertical direction feature represents a change degree of an eyelid curve;
- and
- identify an eye open state or an eye closed state based on the eye feature.
A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable medium that, when executed by a processor, cause an electronic device to:
- obtain a grayscale image of an eye on a human face in a to-be-processed face image;
- extract an eye feature from the grayscale image, wherein the eye feature comprises an eye opening feature, wherein the eye feature further comprises an iris shape feature or a vertical direction feature, wherein the eye opening feature represents an eye opening degree, wherein the iris shape feature represents a shape of the iris, and wherein the vertical direction feature represents a change degree of an eyelid curve;
- and
- identify an eye open state or an eye closed state based on the eye feature.
Dependencies are inferred from the claim text.