Classification device

The method addresses invasive EOG detection and iris interference by using an imaging device and machine learning to extract eye regions and blinks, enabling accurate, non-invasive classification of emotional and physical states.

JP2024133228AActive Publication Date: 2024-10-01SEMICON ENERGY LAB CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024112211
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-09-12
Filing Date
2024-07-12
Publication Date
2024-10-01
Estimated Expiration
2040-09-01

AI Technical Summary

Technical Problem

Existing methods for acquiring eye information, such as electrooculogram (EOG) detection, are invasive and difficult to implement daily, while imaging devices using infrared rays face issues with iris interference and environmental noise, and blinks introduce noise components that complicate accurate analysis.

Method used

A classification method using an imaging device, feature extraction unit, and classifier to extract eye regions, blink amplitudes, and microsaccade vibrations, reducing noise by capturing images before and after blinks and using machine learning to generate a classification model.

Benefits of technology

Enables non-invasive, low-contact classification of a person's condition from eye information, reducing environmental noise and blink interference, and providing accurate emotional and physical state analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133228000001_ABST
    Figure 2024133228000001_ABST
Patent Text Reader

Abstract

To classify a state of a person from information about eyes.SOLUTION: By using an imaging device, a characteristic extraction unit, and a classifier, a state of a person is classified from information about eyes. The imaging device has a function of generating an image group by continuously taking pictures. The image group preferably includes images of an eye region. The eye includes a region of an iris and a region of white of eye. The characteristic extraction unit includes steps of extracting the eye region from the image group, extracting a nictation amplitude, detecting an image by which it has been determined that the nictation started, storing an image by which it has been determined that the nictation ended, as first data, and storing an image by which it has been determined that arbitrary time passed from the first data, as second data. The characteristic extraction unit includes a step of extracting the region of white of eye from the first data and the second data. The classifier can use the region of white of eye as training data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] One aspect of the present invention is a classification device and a classification method for classifying a person's condition from eye information.

[0002] One aspect of the present invention relates to a method for generating a classifier capable of classifying a person's condition from eye information using a computer device, or to a method for generating learning data for learning eye information, or to a method for extracting an eye region from a group of images continuously captured by an imaging device and extracting features from the eye information obtained from the eye region, or to a method for training a classifier by providing the features to the classifier as learning data. [Background technology]

[0003] In recent years, society has been calling for improvements in the quality of life. For example, it is difficult for oneself to notice symptoms such as overwork or mental illness. If one can detect one's own condition early, one can take appropriate measures, such as taking measures (such as resting) before the condition worsens. For example, in self-counseling, research is being conducted on methods for self-checking for changes that one may not notice.

[0004] For example, it is known that emotions, psychological states, or physical fatigue are expressed in physical reactions such as eye movement, facial expressions, voice, or heart rate. It is believed that measuring these physical reactions allows people to become aware of changes in themselves that they would not have noticed otherwise. Thus, various research efforts are being conducted on the eyes as an element that indicates emotions, psychological states, or physical fatigue. This is because the eyes receive direct commands from the brain, which controls the human mind. Therefore, information obtained by analyzing changes that appear in the eyes (hereinafter, eye information) is considered to be an important element in brain research.

[0005] Eye information can be obtained without interfering with a person's movements or work, because images captured by an imaging device can be used. As an example of a self-counseling method, research is being conducted into detecting drowsiness, which is a type of physical fatigue, from changes in the pupils. For example, Patent Document 1 discloses a method for determining a person's state by judging the state of the pupils from an image of the eyes captured using infrared rays.

[0006] Patent Document 2 discloses a system for detecting neurological disorders by detecting microsaccades, which are a type of eye movement. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Japanese Patent Application Publication No. 7-249197 [Patent Document 2] Special Publication No. 2016-523112 Summary of the Invention [Problem to be solved by the invention]

[0008] One method for acquiring eye information is the EOG (electrooculogram) detection method, which detects electrical signals generated by eye movement. However, although the EOG detection method is accurate, it is difficult to perform on a daily basis because it requires placing multiple electrodes around the eye. For example, when performing self-counseling using eye information, it is preferable to be able to acquire eye information without imposing a burden on daily life. Therefore, in order to acquire eye information, it is required to be minimally invasive and minimally contactful.

[0009] For example, eye information can be obtained as an image by using an imaging device. Furthermore, recent advances in machine learning have made it possible to recognize and extract eye regions from acquired images. However, the eye has a black eye region and a white eye region. Furthermore, the black eye region includes the iris and pupil that make up the black eye. It is known that the color of the iris is influenced by genetics.

[0010] The pupil is said to be related to a person's emotions or physical fatigue, and is attracting attention among eye information. However, when detecting the state of the pupil, there is a problem that it is affected by the color of the iris. For example, when the iris has a color similar in brightness to the pupil, it is difficult to distinguish the pupil from the iris. However, an imaging device that can capture images using infrared rays can obtain images that make it easy to distinguish the iris from the pupil. However, when strong infrared rays are used, there is a problem that it affects the cornea, iris, lens, retina, etc. of the eye. In addition, the pupil also reacts to the brightness of the environment. Therefore, although the pupil has a correlation with a state such as a person's emotions or physical fatigue, there is a problem that it contains a lot of noise that is dependent on the environment.

[0011] Furthermore, when acquiring eye information, the eyes blink irregularly (hereinafter, blinking). For example, there is an unconscious blink reflex that is performed to protect the eyeball from drying. There are various types of blinks other than the blink reflex. Therefore, there is a problem that the blinks are included as noise components in the eye information. Furthermore, when performing an analysis using eye information, there is a problem that the target image of the eye is affected by the intervals between irregular blinks or the brightness of the surrounding environment.

[0012] In view of the above problems, an object of one embodiment of the present invention is to provide a method for classifying a person's condition from eye information using a computer device.An object of one embodiment of the present invention is to provide a method for generating learning data for learning eye information.An object of one embodiment of the present invention is to provide a method for extracting an eye area from a group of images continuously captured by an imaging device and extracting features from the eye information.An object of one embodiment of the present invention is to provide a method for training a classifier by providing the features to the classifier as learning data.

[0013] Note that the description of these problems does not preclude the existence of other problems. Note that one embodiment of the present invention does not necessarily solve all of these problems. Note that problems other than these will become apparent from the description of the specification, drawings, claims, etc., and it is possible to extract problems other than these from the description of the specification, drawings, claims, etc. [Means for solving the problem]

[0014] One aspect of the present invention is a classification method using an imaging device, a feature extraction unit, and a classifier. The classifier has a classification model. The imaging device has a function of generating an image group by continuously capturing images. The image group includes an image of an eye region. The eye has a black eye region and a white eye region. The black eye region has an area composed of an iris and a pupil, and the white eye region is an area where the eyeball is covered with a white membrane. In the classification method, the feature extraction unit has a step of extracting an eye region from the image group, a step of extracting a blink amplitude from the image group, a step of detecting an image from the image group that is determined to have started blinking, a step of storing an image from the image group that is determined to have ended blinking as first data, and a step of storing an image from the image group that is an arbitrary time after the first data as second data. In the classification method, the feature extraction unit has a step of extracting area information of the white eye region from the first data and the second data. In the classification method, the feature extraction unit has a step of providing the area information of the white eye region to the classifier as learning data. The classification method includes a step in which a classifier generates a classification model using training data.

[0015] In the above configuration, the images of the eye region included in the first data and the second data each include a black eye region and a white eye region. When the area information of the detected white eye region has independent first and second regions, the classification method includes a step in which the feature extraction unit outputs a ratio between the first region and the second region. When the area information of the detected white eye region is detected as a third region, the classification method includes a step in which the feature extraction unit detects a circular region from the third region, a step in which the center of the circle is obtained from the circular region, a step in which the third region is divided into a first region and a second region using the x-coordinate of the center of the circle, and a step in which the ratio between the first region and the second region is output. In the classification method, the feature extraction unit includes a step in which the feature extraction unit calculates the oscillation width of the white eye from the ratio between the first region and the second region. It is preferable that the classifier uses the oscillation width of the white eye as learning data.

[0016] In each of the above configurations, the classification method preferably includes a step in which the feature extraction unit provides the oscillation amplitude of the white of the eye and the blink amplitude to the classifier as learning data. The classification method preferably includes a step in which the classifier generates a classification model using the oscillation amplitude of the white of the eye and the blink amplitude.

[0017] In each of the above configurations, the classification method includes a step of the classifier learning using the learning data. The classification method includes a step of providing new first data and second data to the feature extraction unit. The classification method preferably includes a step of the classifier classifying a person's state such as emotion or change in physical condition using a classification model.

[0018] In each of the above configurations, the classification method preferably includes a step of assigning a teacher label to the training data, and a step of training the classifier using the training data to which the teacher label has been assigned. Effect of the Invention

[0019] One aspect of the present invention can provide a method for classifying a person's condition from eye information using a computer device. One aspect of the present invention can provide a method for generating learning data for learning eye information. One aspect of the present invention can provide a method for extracting an eye area from a group of images continuously captured by an imaging device and extracting features from the eye information. One aspect of the present invention can provide a method for generating a classifier by providing the features as learning data.

[0020] The effects of one embodiment of the present invention are not limited to the effects listed above. The effects listed above do not preclude the existence of other effects. The other effects are described below and are not mentioned in this section. The effects not mentioned in this section can be derived by a person skilled in the art from the description in the specification or drawings, and can be appropriately extracted from these descriptions. One embodiment of the present invention has at least one of the effects listed above and / or other effects. Therefore, one embodiment of the present invention may not have the effects listed above in some cases. [Brief description of the drawings]

[0021] [Figure 1] FIG. 1 is a block diagram illustrating a method for classifying a person's condition from eye information. [Diagram 2] Fig. 2A is a diagram for explaining the structure of an eye, and Fig. 2B is a diagram for explaining a method for generating learning data. [Diagram 3] FIG. 3 is a flowchart illustrating a method for generating training data. [Figure 4] FIG. 4 is a flowchart illustrating a method for generating training data. [Diagram 5] 5A to 5C are diagrams for explaining eye information. [Figure 6] Fig. 6A is a diagram illustrating eye information, and Fig. 6B and Fig. 6C are diagrams illustrating the extracted white eye region. [Figure 7] FIG. 7 is a flowchart illustrating a method for detecting the white eye area. [Figure 8] 8A to 8C are diagrams for explaining a method for generating learning data. [Figure 9] FIG. 9 is a block diagram illustrating a classification device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] The embodiments will be described in detail with reference to the drawings. However, the present invention is not limited to the following description, and it will be easily understood by those skilled in the art that the modes and details of the present invention can be modified in various ways without departing from the spirit and scope of the present invention. Therefore, the present invention should not be interpreted as being limited to the description of the embodiments shown below.

[0023] In the configuration of the invention described below, the same parts or parts having similar functions are denoted by the same reference numerals in different drawings, and the repeated explanations are omitted. In addition, when referring to similar functions, the same hatch pattern may be used and no particular reference numeral may be used.

[0024] In addition, for ease of understanding, the position, size, range, etc. of each component shown in the drawings may not represent the actual position, size, range, etc. Therefore, the disclosed invention is not necessarily limited to the position, size, range, etc. disclosed in the drawings.

[0025] (Embodiment) In this embodiment, a method for classifying a person's state from eye information will be described with reference to Fig. 1 to Fig. 9. Note that in this embodiment, the description focuses on either the left or right eye. However, the configuration and method described in this embodiment can be applied to both the left and right eyes.

[0026] The method of classifying a person's condition from eye information described in this embodiment is controlled by a program running on a computer device. Therefore, the computer device can be rephrased as a classification device equipped with a method of classifying a person's condition from eye information. The classification device that classifies a person's condition from eye information will be described in detail in FIG. 9. The program is stored in a memory or storage device of the computer device. Alternatively, the program is stored in a computer connected via a network (such as a local area network (LAN), wide area network (WAN), or internet) or a server computer having a database.

[0027] The classification device having a method for classifying a person's condition from eye information includes an imaging device, a feature extraction unit, and a classifier. The imaging device can generate an image group and store the image group in a memory or storage device of a computer device. The image group refers to images or videos captured continuously, and refers to a plurality of images. Therefore, the classification device can use the image group stored in the memory or storage device of a computer device. For example, when the classification device is incorporated in a portable terminal such as a mobile device, the classification device preferably includes an imaging device. The classification device may be provided with an image group from a camera connected to a network, such as a web camera (including a surveillance camera).

[0028] The image group preferably includes the face of a target person. From the images in which the person's face is stored, an image of the eye region can be extracted using machine learning. For the machine learning process, it is preferable to use artificial intelligence (AI). For example, an artificial neural network (ANN) can be used in particular to extract an image of the eye region. In one embodiment of the present invention, the artificial neural network may be simply referred to as a neural network (NN). The arithmetic processing of the neural network is realized by a circuit (hardware) or a program (software).

[0029] For example, when searching for an image of an eye region from an image in which a person's face is stored, a representative image of the eye region can be provided as a query image. A region having a high similarity to the query image is extracted from an image in which a person's face included in an image group is stored. As an example, when searching for a region having a high similarity, a convolutional neural network (CNN), pattern matching, or the like can be used as an image search method. Note that, in one aspect of the present invention, it is sufficient that the query image is registered, and it is not necessary to provide the query image every time a search is performed. Note that the extracted eye region is saved as an image.

[0030] Detailed eye information is extracted from the image of the extracted eye region. The eye has a iris region and a white region. The iris region is an area made up of the iris and pupil, and the white region refers to the area of ​​the eyeball covered by a white membrane (sometimes called the sclera). The maximum width of the area sandwiched between the upper and lower eyelids is defined as the blink amplitude. The minimum value of the area sandwiched between the eyelids is defined as the minimum blink amplitude. Note that various eye states are stored in the image group. The blink amplitude can be found by selecting the top several blink amplitudes detected and calculating the average value.

[0031] Here, the function of the feature extraction unit will be described. The feature extraction unit has a function of extracting detailed eye information from the extracted image of the eye area. The feature extraction unit performs the following process on each image in which a person's face is stored and included in the image group. The following process is a method for creating eye learning data that reduces the influence of noise caused by blinking.

[0032] The method includes a step in which a feature extractor extracts an image of an eye region from a stored image of a person's face.

[0033] The method also includes a step in which the feature extraction unit extracts blink amplitude from the image of the eye region. The feature extraction unit can set a judgment threshold for detecting blinks in the subsequent steps by extracting the blink amplitude. As an example, the judgment threshold can be set to a width half the blink amplitude. However, it is preferable that the judgment threshold can be set to a different value for each target person. Furthermore, by converting the image group into an image group of the eye region, the size of the image handled by the computer can be reduced. Therefore, the memory usage can be reduced, and power consumption can be reduced.

[0034] The method also includes a step in which the feature extraction unit detects an image in which it is determined that a blink has started from an image of the eye area. The start of a blink is when an image in which it is determined that the eyelid is closed is detected. The end of a blink is when an image in which it is determined that the eyelid is open is detected. The determination threshold value can be used to determine whether the eyelid is open or closed.

[0035] A blink is determined based on the blink amplitude extracted from an image of the start of the blink, the blink amplitude extracted from an image of the end of the blink, and an image in which an amplitude smaller than the blink amplitude extracted from the start and end of the blink is extracted. The blink period is said to be about 300 ms, although this varies from person to person. It is preferable that the imaging device can obtain at least three or more images of the eye region in which the blink amplitude is smaller than the judgment threshold during the blink period.

[0036] The method also includes a step of storing, as first data, an image obtained after an arbitrary time has elapsed since the image in which the feature extraction unit determines that the blink has ended from the image of the eye region. The first data represents the state of the eye after the blink. Therefore, when the blink occurs due to the blink reflex, the first data generally appropriately represents the state of the person. It is preferable that the arbitrary time can be freely set.

[0037] The method further includes a step in which the feature extraction unit stores an image after an arbitrary time has elapsed since the first data as second data. The second data generally represents a state such as a change in a person's emotion or physical condition. It is preferable that the arbitrary time can be freely set.

[0038] For example, if a person is emotionally excited, the eye movement stored in the second data may be larger or smaller than that stored in the first data. Also, if a person is sleepy, the eye movement amplitude stored in the second data may be smaller than that of the first data. However, when judging sleepiness, the blink rate can be added to the judgment. The blink rate indicates how many times a person blinks per minute.

[0039] The method also includes a step in which the feature extraction unit extracts area information of the white of the eye from the first data and the second data. In one aspect of the present invention, the state of eye movement can be understood by using information obtained from the white of the eye. For example, the area information of the white of the eye is the area ratio when the white of the eye is divided into a first area and a second area using the central coordinates of the iris, or the change in the area of ​​the first area and the second area caused by opening and closing the eyelids.

[0040] For example, it is known that the pupil continues to move even when the gaze remains in the same place. This is called fixational eye movement, and the largest single movement among fixational eye movements is called microsaccade. Microsaccades serve to prevent light entering from the pupil from continuing to hit the same part of the retina. For example, if light entering from the pupil continues to hit the same part of the retina without microsaccades, the retina cannot recognize changes in light. It is therefore known that the retina cannot recognize the image entering through the pupil. In one aspect of the present invention, the vibration amplitude of the pupil generated by microsaccades can be detected from the area ratio of the white of the eye in order to detect microsaccades. The vibration amplitude of the pupil generated by microsaccades may be referred to as the vibration amplitude of the white of the eye. The vibration amplitude of the pupil and the white of the eye can be referred to as the vibration amplitude of the eyeball.

[0041] It is said that when the microsaccade movement is large and fast, the eyes are in a state where the ability to produce vision is high. Therefore, when the microsaccade movement is large and fast, the person is in a state where he or she is highly concentrated on the object. On the other hand, when the microsaccade movement is small and slow, the person is in a state where he or she has lost concentration on the object. This can be determined as a feeling of drowsiness. However, in order to classify the state of a person more accurately, it is preferable to make a judgment using multiple conditions such as the area ratio of the white of the eye, the blink amplitude, or the vibration width of the white of the eye.

[0042] The method further includes a step in which the feature extraction unit provides information on the white of the eye as training data to the classifier. For example, the training data preferably includes information on the white of the eye, such as a white of the eye area ratio, blink amplitude, white of the eye vibration amplitude, or change in eyelid position.

[0043] The method also includes a step of a classifier generating a classification model using the training data.

[0044] In addition, classification can be performed by unsupervised machine learning using the above-mentioned learning data. For example, algorithms such as K-means or DBSCAN (density-based spatial clustering of applications with noise) can be used as a classification model.

[0045] As a different example, the classification model can be further provided with training data. For example, the training data can be provided with emotion classification or a threshold value for judging the vibration amplitude of the white of the eyes. Classification can be performed by supervised machine learning using the learning data to which the training data is added. For example, machine learning algorithms such as decision trees, naive Bayes, KNN (k Nearest Neighbor), SVM (Support Vector Machines), perceptrons, logistic regression, and neural networks can be used as the classification model.

[0046] Next, a method for classifying a person's condition from eye information described in this embodiment will be described with reference to Fig. 1. Hereinafter, the method for generating the classifier may be referred to as a classification device 10.

[0047] The classification device 10 includes an imaging device 20, a feature extraction unit 30, and a feature estimation unit 40. The feature extraction unit 30 includes an eyeblink detection unit 31, a memory management unit 32, a storage unit 33, a detection unit 34, and an information detection unit 35. The feature estimation unit 40 includes a classifier 40a. The storage unit 33 includes a storage device 33a and a storage device 33b. The number of storage devices included in the storage unit 33 is not limited to two. It may be one or three or more.

[0048] The imaging device 20 can obtain images 21a to 21n of a person using an imaging element included in the imaging device 20. The images include the eye region of the person. The eye region includes a white eye region 101, a black eye region 102a, and an eyelid 104. The black eye region includes a pupil region and an iris region. The images 21a to 21n are provided to a blink detection unit 31. A or n is a positive integer. Furthermore, n is greater than a.

[0049] The blink detection unit 31 can extract eye regions from the images 21a to 21n, respectively. The blink detection unit 31 saves the extracted eye regions as images 22a to 22n. It is preferable that the images 22a to 22n are converted to images having the same number of pixels. It is also preferable that the images are converted to have the same eye width. Hereinafter, when describing any one of the images 22a to 22n, it may be referred to as image 22 of the eye region for the sake of simplicity. It is preferable that the blink detection unit 31 uses CNN to extract the eye region.

[0050] The blink detection unit 31 can extract a blink amplitude from the image of the eye area. The blink amplitude is preferably the maximum value of the distance between the upper eyelid and the lower eyelid when the eye is determined to be open, or the average value of the maximum values ​​of the distance extracted from a plurality of images. The blink detection unit 31 can use the blink amplitude to determine a judgment threshold value for judging whether the image of the eye area is in a blinking state.

[0051] Furthermore, the blink detection unit 31 can detect image 22p for which it is determined that a blink has started from images 22a to 22n using a judgment threshold value. For example, the blink detection unit 31 can determine that the eye has started blinking when it detects that the blink amplitude detected from image 22p has become smaller than the judgment threshold value. Next, the blink detection unit 31 detects images for which it is determined that a blink has ended from images after image 22p. For example, the blink detection unit 31 can determine that the eye has ended blinking when it detects that the blink amplitude detected from images after image 22p has become larger than the judgment threshold value. Here, p is a positive integer.

[0052] As an example, see image 22p +2 However, in the case of an image where the blink is judged to have ended, image 22p +3 The memory management unit 32 can provide the image 22p as the first data. +3 In one embodiment of the present invention, the image 22p for which it is determined that the blink has ended is stored in the storage device 33a. +2 Next image of 22p +3 was stored in the storage device 33a as the first data, but the image 22p was stored as the first data. +2 The image 22q to be stored is not limited to the image 22a next to p. It is also possible to store an image 22q after an arbitrary time has elapsed. Here, q is a positive integer. Also, q is greater than p.

[0053] Furthermore, the blink detection unit 31 detects the image 22p +3 The image 22r after an arbitrary time has elapsed from can be provided to the memory management unit 32 as the second data. The memory management unit 32 stores the image 22r in the storage device 33b. Here, r is a positive integer. Also, r is greater than q.

[0054] The number of storage devices is not limited to two. Images of the eye area after different times have elapsed for one blink can be stored in the multiple storage devices. The processing contents of the blink detection unit 31 will be described in detail with reference to Figs. 3 and 4.

[0055] The detection unit 34 can extract area information of the white of the eye region from the first data stored in the storage device 33a and the second data stored in the storage device 33b. It is efficient to use CNN to extract area information of the white of the eye region.

[0056] The information detection unit 35 can detect more detailed information on the white of the eye from the area information of the white of the eye extracted by the detection unit 34. For example, the white of the eye can be divided into a first area and a second area by using the central coordinates of the iris. Also, the area ratio of the first area and the second area can be extracted. Or, it can be extracted that the areas of the first area and the second area change depending on the opening and closing of the eyelid. The method of extracting the area information of the white of the eye will be described in detail with reference to FIG. 6. The detection unit 34 and the information detection unit 35 can extract the size of the pupil from the iris area.

[0057] Information on the white of the eye area extracted by the feature extraction unit 30 is provided as learning data to the feature estimation unit 40. For example, the classifier 40a is provided with the white of the eye area ratio, blink amplitude, white of the eye vibration width, or change in eyelid position as learning data. In addition, the size of the pupil may be provided.

[0058] The classifier 40a of the feature estimation unit 40 can generate a classification model using the learning data. The classification model can further be provided with teacher data 41. For example, emotion classification, a judgment threshold value for the vibration amplitude of the white of the eye, and the like can be provided as the teacher data 41. By providing the above-mentioned learning data and further teacher data, the classification model learns. Therefore, the classifier 40a having the classification model can estimate a person's emotion or a change in physical condition from eye information.

[0059] Next, new first data and second data are provided to the feature extraction unit 30. New learning data is provided to the feature estimation unit 40. The feature estimation unit 40 can classify a person's emotion or a state such as a change in physical condition using a classifier 40a having a trained classification model, and output a classification result Cout.

[0060] FIG. 2A is a diagram illustrating the configuration of the eye. The components of the eye include the white of the eye, the black of the eye, and the eyelid 104. The white of the eye has a white of the eye area 101A and a white of the eye area 101B, which are divided around the black of the eye. The black of the eye area has a pupil 102 and an iris 103. Next, the dimensions of each of the components of the eye are defined. For example, the eye can be defined as the horizontal width x of the eye, the width k of the iris, the width m of the pupil, and the vertical width of the eye (blink amplitude y).

[0061] Next, FIG. 2B is a diagram for explaining a method for generating learning data. Eyes blink irregularly. As an example, FIG. 2B shows time BT1 to time BT6 as the time when blinks occur. When generating eye learning data, it is important to grasp stable eye information. For example, it is necessary to remove blinking images as noise from among images 22a to 22n. When using a group of images including blink images as learning data, more images must be learned to train the classification model. In addition, the classification device 10 consumes more power and requires more time to process images as the number of images to be learned increases.

[0062] In one embodiment of the present invention, a blink is used as a trigger for the occurrence of an event. As an example, the blink at time BT2 will be described in detail.

[0063] Time T1 is the state before the start of blinking (a state in which no event occurs).

[0064] Time T2 is the time when it is detected that the blink amplitude y becomes smaller than the determination threshold value. More specifically, it is the time when the blink detection unit 31 detects an image 22p that indicates that a blink has started.

[0065] Time T3 is the time when it is detected that the blink amplitude y is smaller than the determination threshold value and smaller than the blink amplitude y detected in the image 22p. +1 This is the time when the

[0066] At time T4, it is detected that the blink amplitude y is greater than the determination threshold. +2 This is the time when the

[0067] Time T5 is the image 22p after the blink ends. +3 This is the time when the image was detected. +3 is stored in the storage device 33a as data Data1. Note that the image 22q after an arbitrary time has elapsed since the time T4 may be set as data Data1.

[0068] Time T6 is image 22p +3 The image 22r is an image 22r taken after an arbitrary time has elapsed since the time the image was detected. The image 22r is stored in the storage device 33b as data Data2.

[0069] The learning data obtained by the procedure from time T1 to time T6 as described above can generate learning data that contains less noise, consumes less power, and requires less storage.

[0070] The data Data1 and the data Data2 can be treated as independent learning data. Alternatively, the data Data1 and the data Data2 can be treated as one learning data. Alternatively, a third data can be generated by extracting a difference between data from the data Data2, and the third data can be used as learning data. The data Data1, the data Data2, and the third data can be used as learning data for other machine learning. The data Data1, the data Data2, and the third data can be added with the frequency of blinking or the width of the pupil. The frequency of blinking or the width of the pupil can also be used as one of the learning data representing a person's emotions or changes in physical condition.

[0071] 3 is a flowchart explaining a method for generating learning data. First, the blink amplitude is extracted using a group of images 22a to 22n. Next, a judgment threshold is set for judging the start and end of a blink using the blink amplitude.

[0072] Step ST01 is a step of extracting blink amplitude y from an arbitrary number of images in the image group. In step ST01, the maximum value y_max of the blink amplitude y and the minimum value y_min of the blink amplitude y are also extracted. The minimum value y_min of the blink amplitude y indicates the minimum value detected from the image. The maximum value y_max of the blink amplitude y and the minimum value y_min of the blink amplitude y are always averaged to extract features such as the degree of eye opening of the target person.

[0073] Step ST02 is a step of calculating an average value of the blink amplitude y. As an example, the average value y_ave is calculated using the top three or more of the blink amplitude y extracted in step ST01. Note that it is preferable that the number of values ​​to be averaged can be set.

[0074] Step ST03 is a step of setting a judgment threshold value for judging the start and end of a blink. As an example, when the start and end of a blink are set as judgment conditions, 50% of the average value y_ave is set as the judgment threshold value. Note that the judgment conditions for the start and end of a blink are not limited to 50%, and it is preferable that each can be set arbitrarily.

[0075] Step ST04 is a step of detecting and storing the data Data1 and Data2. The detection and storage of the data Data1 and Data2 will be described in detail with reference to FIG.

[0076] Step ST05 is a step for ending the generation of learning data.

[0077] Fig. 4 is a flowchart for explaining a method for generating learning data. Fig. 4 explains in detail a method for detecting and storing data Data1 and data Data2, which are learning data. Note that Fig. 4 uses pixel groups of images 22a to 22n in which eye regions are stored as images.

[0078] Step ST11 is a step for selecting an arbitrary image 22p from the image group.

[0079] Step ST12 is a step for checking whether there is a new image. +1 If exists, proceed to step ST13. +1 If it does not exist, the process proceeds to step ST1B (return) and then to step ST05, where the generation of learning data is terminated.

[0080] Step ST13 is a step of extracting an eye region from the image.

[0081] Step ST14 is a step of extracting the blink amplitude y from the region of the eye.

[0082] Step ST15 is a step for determining whether the blink amplitude y is smaller than the judgment threshold. If the blink amplitude y is smaller than the judgment threshold, it is determined that a blink has started, and the process proceeds to step ST16. If the blink amplitude y is larger than the judgment threshold, it is determined that a blink has not started, and the process proceeds to step ST12.

[0083] Step ST16 is a step for checking whether there is a new image. +2 If it exists, the process proceeds to step ST17. +2 If there is no such data, the process proceeds to step 1B, and then to step ST05, where the generation of learning data is terminated. Note that step ST16 includes the processes of steps ST13 and ST14, but is represented by the symbol "*1" due to space restrictions in the drawing. In the following, steps marked with the symbol "*1" include the processes of steps ST13 and ST14.

[0084] Step ST17 is a step for determining whether the blink amplitude y is greater than the judgment threshold. If the blink amplitude y is greater than the judgment threshold, it is determined that the blink has ended, and the process proceeds to step ST18. If the blink amplitude y is smaller than the judgment threshold, it is determined that the blink has not ended, and the process proceeds to step ST16.

[0085] Step ST18 is image 22p +3 This is the step of storing the data as Data1 in the storage device 33a.

[0086] Step ST19 is a step for checking whether a new image is present. If image 22r is present, the process proceeds to step ST1A. If image 22r is not present, the process proceeds to step ST1B, and then to step ST05, where the generation of learning data is terminated.

[0087] Step ST1A is a step of storing the image 22r in the storage device 33b as data Data2. Next, the process proceeds to step ST12.

[0088] As described above, a blink is detected as an event, and an image after an arbitrary time has elapsed since the blink ended can be collected as learning data. The learning data is collected under the condition of after a blink, so noise components can be reduced. Note that the number of blinks and other information can be easily collected by providing a counter or the like in step ST16.

[0089] 5A to 5C are diagrams for explaining eye information. FIG. 5A shows the state of the eye after blinking as an example. Therefore, FIG. 5A corresponds to data Data1. The eye after blinking often represents the emotion of the person in the image or a state of the person not being aware of, such as a change in physical condition. Note that the blink amplitude y1 in FIG. 5A is preferably greater than -20% and smaller than +20 of the average value y_ave. It is more preferable that the blink amplitude y1 is greater than -10% and smaller than +10% of the average value y_ave. It is even more preferable that the blink amplitude y1 is greater than -5% and smaller than +5% of the average value y_ave.

[0090] The detection unit 34 and the information detection unit 35 can calculate, as the eye information, the area of ​​the white of the eye region 101A, the area of ​​the white of the eye region 101B, the total area of ​​the white of the eye region 101A and the white of the eye region 101B, and the area ratio of the white of the eye region 101A to the region 101B. The detection unit 34 and the information detection unit 35 preferably use CNN to extract each area.

[0091] FIG. 5B shows, as an example, the state of the eye after an arbitrary time has elapsed since blinking. When an arbitrary time has elapsed since blinking, the facial muscles of the eye may be affected by the state of the person's emotions or physical condition. When the facial muscles are affected, changes appear in the blink amplitude y2 or the pupil, etc. FIG. 5B shows, as an example, a change in the shape of the eye that appears when the person is surprised or emotionally excited. For example, the upper eyelid 104 moves upward in the direction EL1. This change can be detected as a change in the total area of ​​the white of the eye region 101A and region 101B.

[0092] As a different example, FIG. 5C shows a different eye state from FIG. 5B, which shows the eye state after an arbitrary time has elapsed since a blink. The eye state after an arbitrary time has elapsed since a blink often represents a state such as a change in a person's emotion or physical condition that appears during the period between blinks. FIG. 5C shows, as an example, a change in eye shape that appears when a person is sleepy. When the facial muscle is affected, a change appears in the blink amplitude y3 or the pupil. For example, the upper eyelid 104 moves downward in the direction EL1. It is preferable that the blink amplitude y3 is greater than a judgment threshold value.

[0093] This change can be detected as a change in the area of ​​the white of the eye, region 101A, and region 101B. Note that the amount of change in direction EL2 or direction EL3 may differ, as shown in Fig. 5C. Such small changes may be influenced by the person's emotions, and are effective for self-counseling.

[0094] Therefore, in many cases, Fig. 5B and Fig. 5C correspond to data Data2. However, Fig. 5B or Fig. 5C may be the state of the eye after blinking, and if the state after blinking is as shown in Fig. 5B or Fig. 5C, it may be that the state of the person's emotion or physical condition is clearly shown. Note that these classifications are performed using a classification model trained using training data.

[0095] As a different example, when the eye state is as shown in Fig. 5C, the state of the person may be one of high concentration. One way to differentiate such cases is to use the oscillation amplitude of the microsaccade.

[0096] In one embodiment of the present invention, the vibration amplitude of the white of the eye (eyeball) generated by microsaccades can be detected from the area ratio of the white of the eye. A method for detecting the vibration amplitude of the white of the eye will be described in detail with reference to FIG.

[0097] To explain how to detect the vibration amplitude of the white of the eye, Fig. 6A will be explained with reference to Fig. 5B. In order to detect the vibration amplitude of the white of the eye, it is necessary to calculate the area of ​​the white of the eye. However, when the white of the eye is detected as a single object as shown in Fig. 6A, it is necessary to set a division line SL for dividing the white of the eye.

[0098] FIG. 6B is a diagram illustrating the white of the eye region in FIG. 5B extracted by the detection unit 34. The white of the eye region 101 is extracted as an object. When there is one object, the information detection unit 35 extracts a circular region from the white of the eye region that is approximately equal to the iris of the eye region. Next, the center coordinates C(a,b) of the extracted circle are detected. Next, a division line SL that divides the white of the eye region 101 into a white of the eye region 101A and a white of the eye region 101B can be set using the x-coordinate of the center coordinate.

[0099] Fig. 6C is a diagram illustrating the white of the eye region in Fig. 5C extracted by detection unit 34. Note that white of the eye region 101 is extracted as two objects indicating white of the eye region 101A and white of the eye region 101B.

[0100] 6B and 6C, the eye is divided into white eye area 101A and white eye area 101B with division line SL at the center. For example, when detecting the vibration amplitude of the iris, it is preferable to detect the fluctuation of the center of the iris. However, the detection accuracy of the vibration amplitude of the iris depends on the resolution of the number of pixels in the image. However, the vibration amplitude of the iris is compared by the area of ​​the target fluctuation, and furthermore, there is an inverse proportional relationship in which the larger the white eye area 101A, the smaller the white eye area 101B necessarily becomes. Therefore, the detection accuracy of the vibration amplitude of the iris is higher than that of the vibration amplitude of the iris.

[0101] FIG. 7 is a flowchart illustrating a method for detecting the white eye area.

[0102] Step ST20 is a step of extracting the white of the eye region from the image of the eye region using CNN.

[0103] Step ST21 is a step for determining whether the white of the eye region is one object. If the white of the eye region is detected in one object, the process proceeds to step ST22. If the white of the eye region is detected in multiple objects, the process proceeds to step ST25.

[0104] Step ST22 is a step for detecting a circle (black eye (iris / pupil)) area from the white eye area detected in one object.

[0105] Step ST23 is a step for detecting the center coordinates C(a, b) of the circular area.

[0106] Step ST24 is a step of dividing the white of the eye region around the x coordinate of the central coordinates C(a, b). The white of the eye region 101 is divided into a white of the eye region 101A and a white of the eye region 101B.

[0107] Step ST25 is a step for calculating the area of ​​each of the detected white of the eye regions 101A and 101B.

[0108] 8A to 8C are diagrams for explaining a method of generating learning data. In FIG. 8A to 8C, time T11, time T21, and time T31 are times before the start of a blink. Time T12, time T22, and time T32 are times at which the feature extraction unit 30 detects the start of a blink. Time T13, time T23, and time T33 are times at which the blink detection unit 31 detects an image in which the blink amplitude y is determined to be the smallest. Time T14, time T24, and time T34 are times at which the feature extraction unit 30 detects the end of a blink. Time T15, time T25, and time T35 are times at which an arbitrary time has elapsed after the end of a blink. Time T16, time T26, and time T36 are times at which an arbitrary time has further elapsed after the end of a blink. Time T17, time T27, and time T37 are different from time T16, time T26, and time T36, respectively, and are arbitrary times after the end of the blink.

[0109] In FIG. 8A to FIG. 8C, images at different times after time T14, time T24, or time T34 at which the feature extraction section 30 detects the end of a blink are stored as data Data1, data Data2, and data Data3, respectively.

[0110] 8A shows an example in which the white of the eye vibrates in the horizontal direction. When the vibration of the white of the eye is in the x-axis direction, the vibration width of the white of the eye can be easily detected.

[0111] FIG. 8B shows an example in which the white of the eye vibrates diagonally. When the vibration of the white of the eye is diagonal, the diagonal vibration can be converted into a fluctuation in the x-axis direction and detected as the vibration width of the white of the eye. When determining the diagonal vibration, the white of the eye area can be further divided around the y coordinate of the central coordinate C(a,b), and the areas of the four areas of the white of the eye area 101A to the white of the eye area 101D can be compared. Since the process of detecting the amount of movement in the diagonal direction can be eliminated, power consumption can be reduced.

[0112] FIG. 8C shows a case where the eyelids move up and down. It is difficult to detect the blink amplitude y based on the area ratio of the white of the eye, so it is preferable to detect the blink amplitude y. In FIG. 8C, if the white of the eye moves in the x-axis direction or diagonally, the fluctuation width of the white of the eye can be easily detected. It is possible to classify the state of a person more accurately by combining the vibration width of the white of the eye.

[0113] FIG. 9 is a block diagram illustrating a classification device 100 that includes a method for classifying a person's condition from eye information.

[0114] The classification device 100 has a calculation unit 81, a memory 82, an input / output interface 83, a communication device 84, and a storage 85. That is, a method for classifying a person's condition from eye information by the classification device 100 is provided by a program including the imaging device 20, the feature extraction unit 30, and the feature estimation unit 40. The program is stored in the storage 85 or the memory 82, and the calculation unit 81 is used to search for parameters.

[0115] A display device 86a, a keyboard 86b, a camera 86c, etc. are electrically connected to the input / output interface 83. Although not shown in FIG. 9, a mouse, etc. may also be connected.

[0116] The communication device 84 is electrically connected to another network via a network interface 87. The network interface 87 includes wired or wireless communication. A surveillance camera 88, a Web camera 89, a database 8A, a remote computer 8B, a remote computer 8C, and the like are electrically connected to the network. The surveillance camera 88, the Web camera 89, the database 8A, the remote computer 8B, and the remote computer 8C electrically connected via the network may be installed in different buildings, different regions, or different countries.

[0117] As described above, the structures and methods described in one embodiment of the present invention can be used in appropriate combination. [Explanation of symbols]

[0118] : Data1: data, Data2: data, Data3: data, T1: time, T2: time, T3: time, T4: time, T5: time, T6: time, T11: time, T12: time, T13: time, T14: time, T15: time, T16: time, T17: time, T21: time, T22: time, T23: time, T24: time, T25: time, T26: time, T27: time, T31: time, T32: time, T33: time, T34: time, T35: time, T36: time, T37: time, y1: blink amplitude, y2: blink amplitude, y3: blink amplitude, 8A: database, 8B: remote computer, 8C: remote computer, 10: classification device, 20: imaging device, 21a: image, 21n: image, 22: image, 22a: image, 22n: image, 22p: image, 22q: image, 22r: image, 30: feature extraction unit, 31: blink detection unit, 32: memory management unit, 33: memory unit, 33a: storage device, 33b: storage device, 34: detection unit, 35: information detection unit, 40: feature estimation unit, 40a: classifier, 41: teacher data, 81: calculation unit, 82: memory, 83: input / output interface, 84: communication device, 85: storage, 86a: display device, 86b: keyboard, 86c: camera, 87: network interface, 88: surveillance camera, 89: web camera, 100: classification device, 101: white of eye region, 101A: white of eye region, 101B: white of eye region, 102: pupil, 102a: black of eye region, 103: iris, 104: eyelid

Claims

[Claim 1] A classification device having an imaging device, a feature extraction unit, and a classifier, the imaging device has a function of generating an image group by continuously photographing; the set of images includes an image of an eye region; the eye region includes a white region of the eye; the feature extraction unit has a function of extracting the eye region from the image group, a function of extracting blink amplitude from the image group, a function of detecting an image at the moment a blink starts from the image group, a function of detecting a first image at the moment a blink ends from the image group and storing the first image as first data, a function of detecting a second image at the moment an arbitrary time has elapsed since the first image and storing the second image as second data, a function of extracting area information of the white of the eye region from the first data and the second data, and a function of providing the area information of the white of the eye region to the classifier as learning data, The classifier has a function of generating a classification model using the training data. Classification device.

Citation Information

Patent Citations

  • Remarkableness estimation device for sound, and method and program thereof

    JP2015132783A

  • Eye opening degree detection system, doze detection system, automatic shutter system, eye-opening degree detection method and eye-opening degree detection program

    JP2017143889A

  • Drowsiness estimating device, drowsiness estimating method, and drowsiness estimating program recording medium

    US20200390379A1

  • Human condition estimating device and method

    WO2009001558A1

  • Drowsiness estimating device, drowsiness estimating method, and drowsiness estimating program recording medium

    WO2019123569A1