Information processing system and information processing method

The system uses a neural network to analyze facial images for detecting fatigue and stress in electronic devices, providing a convenient and accurate method for contactless detection.

JP7573545B2Active Publication Date: 2024-10-25SEMICON ENERGY LAB CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021562198
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-06
Filing Date
2020-11-20
Publication Date
2024-10-25
Estimated Expiration
2040-11-20

AI Technical Summary

Technical Problem

Existing systems for detecting user fatigue and stress in electronic devices require physical contact, which is inconvenient and less efficient.

Method used

An information processing system and method that uses a neural network to analyze facial images to determine fatigue and stress by comparing estimated ages and data features, allowing for contactless detection through imaging and clustering.

Benefits of technology

Enables convenient, accurate, and rapid detection of fatigue and stress using a neural network, without the need for continuous physical contact, and can be implemented in various electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007573545000001
    Figure 0007573545000001
  • Figure 0007573545000002
    Figure 0007573545000002
  • Figure 0007573545000003
    Figure 0007573545000003
Patent Text Reader

Abstract

Provided is an information processing system capable of detecting fatigue and the like using a neural network. First, a reference image is obtained on the basis of first to n-th images (where n is an integer at least equal to 2). Then, the first to n-th images and the reference image are inputted into the input layer of a neural network to output first to n-th estimated ages and a reference estimated age from the output layer, and to output first to n-th data and reference data from an intermediate layer. Then, first to n-th coordinates are obtained that comprise x-coordinates representing values corresponding to the differences between the first to n-th estimated ages and the reference estimated age, and that also comprise y-coordinates representing values corresponding to the degrees of similarity between the first to n-th data and the reference data. Then, a query image is inputted into the input layer to output a query-based estimated age from the output layer, and to output query data from the intermediate layer, wherein the output results are used to obtain query coordinates. A determination is then made on the basis of the first to n-th coordinates and the query coordinates as to whether or not a person whose face is included in the query image is experiencing fatigue or the like.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] 1. Field of the Invention One aspect of the present invention relates to an information processing system and an information processing method. [Background technology]

[0002] Portable information terminals have been developed that have a function for detecting fatigue and stress of a user. For example, Patent Document 1 discloses a portable information terminal that detects fatigue of a user based on pulse rate. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-86524 A Summary of the Invention [Problem to be solved by the invention]

[0004] For example, when detecting the fatigue of a user of an electronic device such as a portable information terminal based on the pulse rate, the electronic device needs to be attached to the user for a certain period of time, which poses a problem of lower convenience compared to detecting fatigue without attaching the electronic device to the user.

[0005] An object of one embodiment of the present invention is to provide a highly convenient information processing system.Another object of the present invention is to provide an information processing system capable of detecting fatigue, stress, and the like in a short time.Another object of the present invention is to provide an information processing system capable of detecting fatigue, stress, and the like by using a neural network.Another object of the present invention is to provide an information processing system capable of detecting fatigue, stress, and the like with high accuracy.Another object of the present invention is to provide an information processing system capable of detecting fatigue, stress, and the like in a simple manner.

[0006] Another object of the present invention is to provide an information processing method that is highly convenient. Another object of the present invention is to provide an information processing method that can detect fatigue, stress, etc. in a short time. Another object of the present invention is to provide an information processing method that can detect fatigue, stress, etc. by using a neural network. Another object of the present invention is to provide an information processing method that can detect fatigue, stress, etc. with high accuracy. Another object of the present invention is to provide an information processing method that can detect fatigue, stress, etc. in a simple manner.

[0007] The description of multiple problems does not preclude the existence of each problem. One embodiment of the present invention does not need to solve all of the problems exemplified. In addition, problems other than those listed will become apparent from the description of this specification, and such problems may also be problems of one embodiment of the present invention. [Means for solving the problem]

[0008] One aspect of the present invention is an information processing system and an information processing method for acquiring a query image including a face image of a person and judging whether or not the person is fatigued from the query image. That is, first to n-th (n is an integer of 2 or more) images including a face image are acquired, and these are input to a neural network to acquire first to n-th estimated ages output from the output layer and first to n-th data output from the intermediate layer. Also, a query image including a face image is acquired and input to the neural network to acquire a query estimated age output from the output layer and query data output from the intermediate layer. Then, by comparing the query estimated age with the first to n-th estimated ages and comparing the query data with the first to n-th data, it is possible to judge whether or not the person included in the query image is fatigued.

[0009] Specifically, one aspect of the present invention includes an imaging unit, a first processing unit, a second processing unit, a third processing unit, and a fourth processing unit, the imaging unit having a function of acquiring first to nth (n is an integer equal to or greater than 2) images including an image of a person's face and a query image including an image of the person's face, the first processing unit having a function of acquiring a reference image based on the first to nth images, the second processing unit having a function of performing processing using a neural network having an input layer, an intermediate layer, and an output layer, the second processing unit having a function of outputting the first to nth estimated ages or the reference estimated ages from the output layer when the first to nth images or the reference image are input to the input layer, and outputting the first to nth data or the reference data from the intermediate layer, the third processing unit has a function of acquiring the first to nth coordinates by taking the value of the difference between the first to nth estimated ages and the reference estimated ages as x coordinates and the value of the similarity between the first to nth data and the reference data as y coordinates, the third processing unit has a function of acquiring the query coordinates by taking the value of the difference between the query estimated age and the reference estimated age as x coordinates and the value of the similarity between the query data and the reference data as y coordinates, and the fourth processing unit has a function of performing clustering based on the first to nth coordinates and determining whether or not a person included in the query image is fatigued based on a result of the clustering and the query coordinates.

[0010] Alternatively, one aspect of the present invention includes acquiring first to n-th images (n is an integer of 2 or more) including an image of a person's face, acquiring a reference image based on the first to n-th images, inputting the first to n-th images and the reference image to an input layer of a neural network having an input layer, an intermediate layer, and an output layer, outputting the first to n-th estimated ages and the reference estimated ages from the output layer, and outputting the first to n-th data and the reference data from the intermediate layer, respectively, setting the differences between the first to n-th estimated ages and the reference estimated ages as x coordinates, respectively, and setting the values ​​of similarity between the first to n-th data and the reference data as y coordinates, respectively. This is an information processing method in which first to nth coordinates are obtained as coordinates, a query image including an image of a person's face is obtained, the query image is input to an input layer, a query estimated age is output from the output layer and query data is output from an intermediate layer, a difference between the query estimated age and a reference estimated age is set as an x ​​coordinate, and a similarity value between the query data and the reference data is set as a y coordinate to obtain query coordinates, clustering is performed based on the first to nth coordinates, and based on the clustering result and the query coordinates, it is determined whether or not a person included in the query image is fatigued. Effect of the Invention

[0011] According to one aspect of the present invention, it is possible to provide a highly convenient information processing system. Or, it is possible to provide an information processing system capable of detecting fatigue, stress, etc. in a short time. Or, it is possible to provide an information processing system capable of detecting fatigue, stress, etc. using a neural network. Or, it is possible to provide an information processing system capable of detecting fatigue, stress, etc. with high accuracy. Or, it is possible to provide an information processing system capable of detecting fatigue, stress, etc. in a simple manner.

[0012] Alternatively, it is possible to provide an information processing method that is highly convenient. Alternatively, it is possible to provide an information processing method that can detect fatigue, stress, etc. in a short time. Alternatively, it is possible to provide an information processing method that can detect fatigue, stress, etc. using a neural network. Alternatively, it is possible to provide an information processing method that can detect fatigue, stress, etc. with high accuracy. Alternatively, it is possible to provide an information processing method that can detect fatigue, stress, etc. in a simple manner.

[0013] Note that the description of multiple effects does not preclude the existence of other effects. Moreover, one embodiment of the present invention does not necessarily have all of the exemplified effects. Furthermore, problems, effects, and novel features of one embodiment of the present invention other than those described above will become apparent from the description and drawings in this specification. [Brief description of the drawings]

[0014] FIG. 1 is a block diagram showing an example of the configuration of an information processing system. 2A and 2B are schematic diagrams showing examples of the configuration of a neural network. FIG. 3 is a flowchart showing an example of an information processing method. 4A and 4B are schematic diagrams showing an example of an information processing method. 5A and 5B are schematic diagrams showing an example of an information processing method. FIG. 6 is a graph showing an example of an information processing method. FIG. 7 is a flowchart showing an example of an information processing method. FIG. 8 is a schematic diagram showing an example of an information processing method. 9A to 9C, and 9D1 and 9D2 are graphs showing an example of an information processing method. 10A to 10D are diagrams showing an example of an electronic device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, an embodiment of the present invention will be described. However, one aspect of the present invention is not limited to the following description, and it will be easily understood by those skilled in the art that the form and details of the present invention can be modified in various ways without departing from the spirit and scope of the present invention. Therefore, one aspect of the present invention should not be interpreted as being limited to the description of the embodiment shown below.

[0016] In addition, in the drawings attached to this specification, the components are classified by function and shown in block diagrams as independent blocks, but in actuality it is difficult to completely separate the components by function, and one component may be involved in multiple functions, or one function may be realized by multiple components.

[0017] (Embodiment 1) In this embodiment, an information processing system according to one embodiment of the present invention and an information processing method using the information processing system will be described. The information processing system and the information processing method according to one embodiment of the present invention can determine whether or not a user of a mobile information terminal such as a smartphone or a tablet is fatigued, stressed, or the like. Specifically, the presence or absence of fatigue, stress, or the like can be determined by using a neural network having a function of estimating age.

[0018] <Example of information processing system configuration> 1 is a block diagram showing a configuration example of an information processing system 10, which is an information processing system according to one embodiment of the present invention. The information processing system 10 can be incorporated into an electronic device. For example, the information processing system 10 can be incorporated into a mobile information terminal such as a smartphone or a tablet.

[0019] The information processing system 10 includes an imaging unit 11, a storage unit 12, a processing unit 20, and an output unit 13. The processing unit 20 includes an image calculation unit 21, an age estimation unit 22, a comparison unit 23, and a determination unit 24.

[0020] In this specification and the like, the image calculation unit 21, the age estimation unit 22, the comparison unit 23, and the determination unit 24, which are components of the processing unit 20, may also be referred to as processing units. For example, the image calculation unit 21 may be referred to as a first processing unit, the age estimation unit 22 may be referred to as a second processing unit, the comparison unit 23 may be referred to as a third processing unit, and the determination unit 24 may be referred to as a fourth processing unit.

[0021] In Fig. 1, arrows indicate data exchange between components of the information processing system 10. Note that the data exchange shown in Fig. 1 is an example, and for example, data exchange may be performed between components that are not connected by arrows. Also, data exchange may not be performed between components that are connected by arrows.

[0022] The imaging unit 11 has a function of acquiring an image. For example, the imaging unit 11 has pixels having photoelectric conversion elements arranged in a matrix, and can acquire an image by capturing an image using the pixels. The image acquired by the imaging unit 11 can be an image including a person, for example, an image including a user of an electronic device in which the information processing system 10 is incorporated. Specifically, the image acquired by the imaging unit 11 can be an image including, for example, a face, for example, an image including the face of a user of an electronic device in which the information processing system 10 is incorporated.

[0023] In this specification and the like, a user of an electronic device in which an information processing system is incorporated may be referred to as a user of the information processing system. For example, a user of an electronic device in which the information processing system 10 is incorporated may be referred to as a user of the information processing system 10.

[0024] The storage unit 12 has a function of storing images acquired by the imaging unit 11. The images stored in the storage unit 12 can be output to the processing unit 20 as necessary. The images stored in the storage unit 12 can be output to, for example, an image calculation unit 21, an age estimation unit 22, etc.

[0025] The storage unit 12 also has a function of storing data and the like output by the processing unit 20. For example, the processing unit 20 reads out and processes an image stored in the storage unit 12, and the storage unit 12 has a function of storing data and the like acquired by the processing unit 20 through the processing.

[0026] The storage unit 12 may include, for example, a dynamic random access memory (DRAM), a static random access memory (SRAM), etc. The storage unit 12 may also include, for example, a non-volatile memory such as a flash memory, a resistive random access memory (ReRAM), a phase change random access memory (PRAM), a ferroelectric random access memory (FeRAM), a magnetoresistive random access memory (MRAM), etc. The storage unit 12 may also include, for example, a hard disk drive (HDD), a solid state drive (SSD), etc.

[0027] The image calculation unit 21 has a function of acquiring a new image based on a plurality of images. For example, it has a function of acquiring an average image of the plurality of images. For example, when a plurality of images including a face are stored in the storage unit 12, the image calculation unit 21 first extracts a face from the plurality of images. The extracted face image is called a face image. Next, after aligning the resolution of the face images, the image calculation unit 21 acquires an average image of the face images. The images acquired by the image calculation unit 21 are stored in the storage unit 12.

[0028] In this specification, the image acquired by the image calculation unit 21 is referred to as a reference image. Also, the average image of face images may be referred to as an average face image. As described above, the image calculation unit 21 has a function of acquiring, for example, an average face image. Therefore, the reference image may be, for example, an average face image.

[0029] The age estimation unit 22 has a function of performing processing by a neural network NN. Specifically, the age estimation unit 22 has a function of performing processing by a neural network NN on an image input to the age estimation unit 22. The processing result is output to the comparison unit 23. Alternatively, the processing result is stored in the storage unit 12.

[0030] The neural network NN has a function of estimating the age of a person when an image including a person is input. For example, the neural network NN has a function of estimating the age based on the features of a face when an image including a face is input. For example, the neural network NN can estimate the age based on wrinkles, sagging skin, age spots, nasolabial folds, etc. For example, the age can be estimated based on wrinkles around the mouth or at the corners of the eyes.

[0031] 2A is a diagram showing an example of the configuration of a neural network NN. The neural network NN has layers L[1] to L[m] (m is an integer of 2 or more).

[0032] Layers L[1] to L[m] have neurons, and the neurons in each layer are connected to each other. For example, the neurons in layer L[1] are connected to the neurons in layer L[2]. The neurons in layer L[2] are connected to the neurons in layer L[1] and layer L[3]. In other words, layers L[1] to L[m] form a hierarchical neural network.

[0033] An image is input to layer L[1], which outputs data corresponding to the input image. The data is input to layer L[2], which outputs data corresponding to the input data. Data output from layer L[m-1] is input to layer L[m], which outputs data corresponding to the input data. From the above, layer L[1] can be considered as the input layer, layers L[2] to L[m-1] as intermediate layers, and layer L[m] as the output layer.

[0034] The neural network NN is trained in advance so that data output from layers L[1] to L[m] corresponds to the features of the image input to the neural network NN. The training can be performed by unsupervised training, supervised training, etc. Regardless of whether the training is performed by unsupervised training or supervised training, the error backpropagation method or the like can be used as the training algorithm.

[0035] The neural network NN can be a convolutional neural network (CNN). Fig. 2B is a diagram showing a configuration example of the neural network NN when CNN is applied as the neural network NN. Here, the neural network NN to which CNN is applied is called a neural network NNa.

[0036] The neural network NNa has a convolution layer CL, a pooling layer PL, and a fully connected layer FCL. FIG. 2B shows an example in which the neural network NNa has m convolution layers CL and m pooling layers PL (m is an integer of 1 or more), and two fully connected layers FCL. The neural network NNa may have only one fully connected layer FCL, or may have three or more fully connected layers FCL.

[0037] The convolution layer CL has a function of performing convolution on the data input to the convolution layer CL. For example, the convolution layer CL[1] has a function of performing convolution on the image input to the age estimation unit 22. The convolution layer CL[2] has a function of performing convolution on the data output from the pooling layer PL[1]. The convolution layer CL[m] has a function of performing convolution on the data output from the pooling layer PL[m-1].

[0038] Convolution is performed by repeating product-sum operations between the data input to the convolution layer CL and the weight filter. By the convolution in the convolution layer CL, image features corresponding to the image input to the neural network NNa are extracted.

[0039] The convolved data is converted by an activation function and then output to the pooling layer PL. As the activation function, ReLU (Rectified Linear Units) or the like can be used. ReLU is a function that outputs "0" when the input value is negative, and outputs the input value as is when the input value is "0" or greater. In addition, a sigmoid function, a tanh function, or the like can also be used as the activation function.

[0040] The pooling layer PL has a function of performing pooling on the data input from the convolution layer CL. Pooling is a process of dividing the data into a plurality of regions, extracting predetermined data for each region, and arranging them in a matrix. Pooling can reduce the amount of data while retaining the features extracted by the convolution layer CL. It can also increase robustness against minute deviations in the input data. Note that maximum pooling, average pooling, Lp pooling, etc. can be used as the pooling.

[0041] The fully connected layer FCL has a function of combining input data, transforming the combined data using an activation function, and outputting it. As the activation function, ReLU, sigmoid function, tanh function, etc. can be used. The fully connected layer FCL has a configuration in which all nodes in a layer are connected to all nodes in the next layer. The data output from the convolution layer CL or pooling layer PL is a two-dimensional feature map, and when input to the fully connected layer FCL, it is expanded into one dimension. Then, the vector obtained by inference by the fully connected layer FCL is output from the fully connected layer FCL.

[0042] In the neural network NNa, one fully connected layer FCL can be the output layer. For example, in the neural network NNa shown in FIG. 2B, the fully connected layer FCL[2] can be the output layer. Here, in the neural network NNa shown in FIG. 2B, the fully connected layer FCL[1] can be the intermediate layer. In addition, when the neural network NNa has only the fully connected layer FCL[1] as the fully connected layer FCL, the fully connected layer FCL[1] can be the output layer. Furthermore, when the neural network NNa has the fully connected layers FCL[1] to FCL[3], the fully connected layer FCL[3] can be the output layer, and the fully connected layer FCL[1] and the fully connected layer FCL[2] can be the intermediate layers. Similarly, when the neural network NNa has four or more fully connected layers FCL, one fully connected layer FCL can be the output layer, and the remaining fully connected layers FCL can be the intermediate layers.

[0043] The configuration of the neural network NNa is not limited to the configuration of FIG. 2B. For example, a pooling layer PL may be provided for each of a plurality of convolution layers CL. That is, the number of pooling layers PL that the neural network NNa has may be less than the number of convolution layers CL. In addition, if it is desired to retain the position information of the extracted features as much as possible, the pooling layer PL may not be provided.

[0044] The neural network NNa can optimize the filter values ​​of the weight filters, the weight coefficients of the fully connected layer FCL, and the like by performing learning.

[0045] When an image including a person is input to the input layer of the neural network NN, the estimated age of the person is output from the output layer of the neural network NN. For example, when the neural network NN has the configuration shown in FIG. 2A, when an image including a person is input to the input layer, layer L[1], the estimated age of the person is output from the output layer, layer L[m]. When the neural network NN is the neural network NNa having the configuration shown in FIG. 2B, when an image including a person is input to the input layer, convolution layer CL[1], the estimated age of the person is output from the output layer, fully connected layer FCL[2].

[0046] The comparison unit 23 has a function of comparing data output by the output layer of the neural network NN. For example, it has a function of comparing the estimated ages output by the output layer of the neural network NN. Specifically, for example, it has a function of comparing the estimated age of a person included in an image acquired by the imaging unit 11 with the estimated age acquired by inputting a reference image into the neural network NN. For example, the comparison can be performed by calculating the difference between the estimated age of a person included in an image acquired by the imaging unit 11 and the estimated age acquired by inputting a reference image into the neural network NN.

[0047] The comparison unit 23 also has a function of comparing data output by intermediate layers of the neural network NN. For example, when the neural network NN has the configuration shown in FIG. 2A, the comparison unit 23 has a function of comparing data output by the layer L[m-1]. Specifically, the comparison unit 23 has a function of comparing data output by the layer L[m-1] when an image acquired by the imaging unit 11 is input to the neural network NN with data output by the layer L[m-1] when a reference image is input to the neural network NN. When the neural network NN is the neural network NNa having the configuration shown in FIG. 2B, the comparison unit 23 has a function of comparing data output by the fully connected layer FCL[1], for example. Or, the comparison unit 23 has a function of comparing data output by the pooling layer PL[m]. The comparison of data output by intermediate layers of the neural network NN can be performed by, for example, calculating similarity. For example, the similarity can be calculated using cosine similarity, covariance, unbiased covariance, Pearson's product moment correlation coefficient, or the like. In particular, it is preferable to use cosine similarity.

[0048] Furthermore, the comparison unit 23 has a function of acquiring coordinates based on the above comparison results. For example, the comparison result of the estimated age output from the output layer of the neural network NN is set as the x coordinate, and the comparison result of the data output from the intermediate layer of the neural network NN is set as the y coordinate.

[0049] In addition, the output data may be compared for two or more intermediate layers among the intermediate layers of the neural network NN. For example, when the neural network NN has the configuration shown in FIG. 2A, it has a function of comparing the data output by the layer L[m-1] and the data output by the layer L[m-2]. Specifically, it has a function of comparing the data output by the layer L[m-1] and the data output by the layer L[m-2] when an image acquired by the imaging unit 11 is input to the neural network NN, and the data output by the layer L[m-1] and the data output by the layer [m-2] when a reference image is input to the neural network NN. In addition, when the neural network NN is the neural network NNa having the configuration shown in FIG. 2B, it has a function of comparing the data output by the fully connected layer FCL[1] and the data output by the pooling layer PL[m]. Specifically, for example, when an image acquired by the imaging unit 11 is input to the neural network NNa, the data output by the fully connected layer FCL[1] and the data output by the pooling layer PL[m] are compared with the data output by the fully connected layer FCL[1] and the data output by the pooling layer PL[m] when a reference image is input to the neural network NNa.

[0050] The determination unit 24 has a function of performing clustering on the coordinates acquired by the comparison unit 23. The determination unit 24 also has a function of making a determination based on the result of the clustering. For example, when a person is included in the image acquired by the imaging unit 11, the determination unit 24 has a function of determining whether the person is fatigued or stressed. The clustering method and the method of determining whether fatigue or the like is present will be described in detail later.

[0051] The processing unit 20 can perform processing using a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), etc. For example, the image calculation unit 21, the comparison unit 23, and the determination unit 24 can perform processing using a CPU. In addition, since the age estimation unit 22 is composed of a neural network NN, it is preferable to use a GPU because it can perform processing at high speed.

[0052] The output unit 13 has a function of outputting the judgment result by the judgment unit 24. The output unit 13 has, for example, a display unit, and can display the judgment result such as fatigue, stress, etc. on the display unit. The output unit 13 also has, for example, a speaker, and can emit a warning sound when it is judged that there is fatigue, stress, etc.

[0053] <An example of information processing method> The following describes an example of an information processing method using the information processing system 10. Specifically, a method for determining the presence or absence of fatigue using the information processing system 10 will be described.

[0054] 3 is a flowchart for explaining an example of a method for providing the information processing system 10 with a function for determining the presence or absence of fatigue. First, the imaging unit 11 acquires images 31[1] to 31[n] (n is an integer equal to or greater than 2) (step S01). Images 31[1] to 31[n] are images that include the same person. Images 31[1] to 31[n] are images that include the face of the same person, as shown in FIG. 4A, for example. The person included in images 31[1] to 31[n] may be, for example, the user of the information processing system 10.

[0055] It is assumed that the people included in the images 31[1] to 31[n] are not fatigued. For example, the imaging unit 11 captures the images 31[1] to 31[n] when the user of the information processing system 10 is not fatigued.

[0056] Images 31[1] to 31[n] are acquired within a certain period of time. For example, it is preferable to acquire images 31[1] to 31[n] within one month, within three months, within six months, or within one year. For example, if one image 31 is acquired every day from January 1 to January 31, n is 31. Also, if ten images 31 are acquired every January for six months, n is 60.

[0057] Next, the image calculation unit 21 acquires the reference image 32 based on the images 31[1] to 31[n] (step S02). FIG. 4B is a schematic diagram showing an example of the operation in step S02. For example, the reference image 32 is acquired by calculating the average of the images 31[1] to 31[n]. For example, if the images 31[1] to 31[n] include a face, first, n face images are acquired by extracting the face from each of the images 31[1] to 31[n]. Next, after aligning the resolution of the n face images, an average image of the n face images is acquired. The average image can be used as the reference image 32.

[0058] Thereafter, the images 31[1] to 31[n] are input to the age estimation unit 22, respectively (step S03). Fig. 5A is a schematic diagram showing an example of the operation in step S03. In Fig. 5A, the age estimation unit 22 has a function of performing processing by the neural network NN having the configuration shown in Fig. 2A. Note that in the following figures, the age estimation unit 22 is also assumed to have a function of performing processing by the neural network NN having the configuration shown in Fig. 2A.

[0059] As shown in FIG. 5A, the images 31[1] to 31[n] are input to the layer L[1], which functions as an input layer. As a result, the estimated ages 33[1] to 33[n] are output from the layer L[m], which functions as an output layer. For example, when the image 31[i] (i is an integer between 1 and n) is input to the layer L[1], the estimated age 33[i] is output from the layer L[m]. In FIG. 5A, the estimated age 33[1] is aa, the estimated age 33[2] is bb, and the estimated age 33[n] is cc. In addition, data is output from the intermediate layer. The data can represent, for example, the feature amount of the image 31 input to the layer L[1]. In FIG. 5A, when the image 31[i] is input to the layer L[1], the data output from the layer L[m-1] is data 34[i].

[0060] Data 34[1] to data 34[n] may be, for example, vectors. Fig. 5A shows components included in data 34[1] to data 34[n], which are vectors. In Fig. 5A, data 34[1] includes components Va1 and Va2, data 34[2] includes components Vb1 and Vb2, and data 34[n] includes components Vc1 and Vc2.

[0061] Also, the reference image 32 is input to the age estimation unit 22 (step S04). FIG. 5B is a schematic diagram showing an example of the operation in step S04. As shown in FIG. 5B, the reference image 32 is input to a layer L[1] having a function as an input layer. As a result, a reference estimated age 35 is output from a layer L[m] having a function as an output layer. In FIG. 5B, the estimated age 35 is kk. Also, data is output from the intermediate layer. The data can represent, for example, the feature amount of the reference image 32 input to the layer L[1]. In FIG. 5B, when the reference image 32 is input to the layer L[1], the data output from the layer L[m-1] is set as reference data 36. The reference data 36 can be, for example, a vector. FIG. 5B shows components included in the reference data 36, ​​which is a vector. In FIG. 5B, it is set that the reference data 36 includes components Vk1, Vk2, and the like.

[0062] In this specification, the estimated age output from the age estimation unit 22 when a reference image is input to the age estimation unit 22 is referred to as a reference estimated age. Also, data output from the intermediate layer when a reference image is input to the age estimation unit 22 is referred to as reference data.

[0063] The reference data 36 may be, for example, a vector. In Fig. 5B the components of the reference data 36 are shown.

[0064] After steps S03 and S04 are completed, the comparison unit 23 acquires values ​​XV[1] through XV[n] based on the estimated ages 33[1] through 33[n] and the reference estimated age 35 (step S05). Specifically, the value XV[i] is acquired based on the estimated age 33[i] and the reference estimated age 35. For example, the difference between the estimated age 33[i] and the reference estimated age 35 can be set as the value XV[i].

[0065] Furthermore, the comparison unit 23 acquires values ​​YV[1] to YV[n] based on the data 34[1] to 34[n] and the reference data 36 (step S06). Specifically, the value YV[i] is acquired based on the data 34[i] and the reference data 36. For example, the similarity between the data 34[i], which is a vector, and the reference data 36 can be set as the value YV[i]. The similarity can be calculated using cosine similarity, covariance, unbiased covariance, Pearson's product moment correlation coefficient, etc. In particular, it is preferable to use cosine similarity.

[0066] After completing steps S05 and S06, the comparison unit 23 acquires coordinates with values ​​XV[1] to XV[n] as x coordinates and values ​​YV[1] to YV[n] as y coordinates (step S07). Specifically, coordinates (XV[i], YV[i]) with value XV[i] as x coordinate and value YV[i] as y coordinate are acquired. Here, coordinate (XV[i], YV[i]) is called the i-th coordinate. FIG. 6 shows an xy coordinate system. In the coordinate system shown in FIG. 6, coordinates are shown as plots. Note that the same notation is used for the coordinate systems shown in other figures. It is assumed that first to n-th coordinates are shown in FIG. 6. In other words, it is assumed that n coordinates (plots) are shown.

[0067] After the comparison unit 23 acquires the first to n-th coordinates, for example, the determination unit 24 performs clustering on the first to n-th coordinates. For example, one cluster is formed based on the first to n-th coordinates. The region including the cluster is defined as region 30. The clustering can be performed using, for example, a local outlier factor (LOF) method. When clustering is performed using LOF, coordinates outside region 30 can be considered to be outliers.

[0068] Fig. 7 is a flowchart showing an example of a method for determining the presence or absence of fatigue using the information processing system 10 that has performed the processes shown in Figs. 3 to 6. First, the imaging unit 11 acquires an image 41 (step S11). The image 41 is an image that includes the same person as the person included in the images 31[1] to 31[n]. For example, if the images 31[1] to 31[n] include a face, the image 41 is an image that includes the face of the same person as the person having the face.

[0069] In this specification and the like, the image 41 may be referred to as a query image. Furthermore, when the images 31[1] to 31[n] are referred to as the first to n-th images, the image 41 may be referred to as the (n+1)th image.

[0070] Next, an image 41 is input to the age estimation unit 22 (step S12). FIG. 8 is a schematic diagram showing an example of the operation in step S12. As shown in FIG. 8, the image 41 is input to a layer L[1] having a function as an input layer. As a result, an estimated age 42 is output from a layer L[m] having a function as an output layer. In FIG. 8, the estimated age 42 is qq. Also, data is output from the intermediate layer. In FIG. 8, when the image 41 is input to the layer L[1], data output from the layer L[m-1] is data 43. The data 43 can be, for example, a vector. FIG. 8 shows components included in the data 43, which is a vector. In FIG. 8, it is assumed that the reference data 36 includes components Vq1, Vq2, and the like.

[0071] The data 43 may be, for example, a vector. Components of the data 43 are shown in FIG.

[0072] For example, if the image 41 includes a face, the face can be extracted from the image 41 to obtain a facial image, and the resolution of the facial image can be adjusted to match the resolution of the facial images obtained from the images 31[1] to 31[n] before being input to the age estimation unit 22. This process can be performed by the image calculation unit 21, for example.

[0073] In this specification and the like, for example, when the image 41 is referred to as the (n+1)th image, the estimated age 42 may be referred to as the (n+1)th estimated age, and the data 43 may be referred to as the (n+1)th data. Also, for example, when the image 41 is referred to as a query image, the estimated age 42 may be referred to as a query estimated age, and the data 43 may be referred to as query data.

[0074] After that, the comparison unit 23 acquires the value XVq based on the estimated age 42 and the reference estimated age 35 (step S13). Specifically, the value XVq is acquired by the same method as that used to acquire the values ​​XV[1] to XV[n]. For example, if the difference between the estimated age 33[i] and the reference estimated age 35 is the value XV[i], the difference between the estimated age 42 and the reference estimated age 35 is the value XVq. Note that, when the image 41 is acquired after a long time has elapsed since the acquisition of the images 31[1] to 31[n], the value XVq may be acquired based on, for example, a value obtained by subtracting the period from the estimated age 42 and the reference estimated age 35. For example, when the image 31[n] is the latest acquired image among the images 31[1] to 31[n] and the image 41 is acquired one year after the acquisition of the image 31[n], the value obtained by subtracting one year from the difference between the estimated age 42 and the reference estimated age 35 can be the value XVq. As a result, even if image 41 is acquired a long time after images 31[1] to 31[n] are acquired, the presence or absence of fatigue or the like can be determined with high accuracy.

[0075] Furthermore, the comparison unit 23 acquires a value YVq based on the data 43 and the reference data 36 (step S14). Specifically, the value YVq is acquired by a method similar to the method used to acquire the values ​​YV[1] to YV[n]. For example, if the cosine similarity between the data 34[i] and the reference data 36 is the value YV[i], the cosine similarity between the data 43 and the reference data 36 is the value YVq.

[0076] After steps S13 and S14 are completed, the comparison unit 23 acquires coordinates with the value XVq as the x coordinate and the value YVq as the y coordinate (step S15). Coordinates (XVq, YVq) are shown in Figs. 9A to 9C. Here, Fig. 9 also shows the coordinates shown in Fig. 6. When the image 41 is referred to as the n+1th image, the coordinates (XVq, YVq) may be referred to as the n+1th coordinates. When the image 41 is referred to as a query image, the coordinates (XVq, YVq) may be referred to as query coordinates.

[0077] Next, the judgment unit 24 judges whether or not the person included in the image 41 is fatigued based on the coordinates (XV[1], YV[1]) through (XV[n], YV[n]) and the coordinates (XVq, YVq) (step S16). For example, if the image 41 contains a face, it judges whether or not the person having the face is fatigued. Specifically, if the coordinates (XVq, YVq) are included in the area 50 shown in Figures 9A through 9C, etc., it is judged that there is fatigue, and if they are not included, it is judged that there is no fatigue.

[0078] The region 50 will be described below. As described above, the people included in the images 31[1] to 31[n] are assumed to be, for example, not fatigued. Therefore, when the coordinates (XVq, YVq) are included in the region 30 formed using LOF or the like based on the coordinates (XV[1], YV[1]) to (XV[n], YV[n]), it can be determined that the person included in the image 41 is not fatigued. Furthermore, when a person is fatigued, wrinkles, sagging, etc. on the face, etc. increase, and the person tends to look older than when there is no fatigue. In other words, it can be said that a person with fatigue has more characteristics that make the estimated age by the age estimation unit 22 higher than a person without fatigue, even if they are the same person of the same age. Therefore, for example, when the value XVq acquired from the image 41 is the difference between the estimated age 42 acquired from the image 41 and the reference estimated age 35 acquired from the reference image 32, if the value XVq is a negative value, it can be determined that the person included in the image 41 is not fatigued. From the above, as shown in FIGS. 9A to 9C, the region 50 can be, for example, a region not included in the region 30 and having a coordinate XVq of 0 or more.

[0079] FIG. 9A shows a case where coordinates (XVq, YVq) are included in region 50. In this case, the person included in image 41 can be determined to be fatigued. FIG. 9B shows a case where coordinates (XVq, YVq) are included in region 30. In this case, the person included in image 41 can be determined to be not fatigued. FIG. 9C shows a case where coordinates (XVq, YVq) are included in neither region 30 nor region 50. Even in this case, as in the case shown in FIG. 9B, the person included in image 41 can be determined to be not fatigued.

[0080] 9A to 9C, for example, an area not included in area 30 and having a coordinate XVq of 0 or more is defined as area 50, but the range of area 50 is not limited to this. In Fig. 9D1 and Fig. 9D2, area 50 is added to the xy coordinate system shown in Fig. 6, and the range of area 50 differs from that shown in Fig. 9A to Fig. 9C. Note that coordinates (XVq, YVq) are not shown in Fig. 9D1 and Fig. 9D2.

[0081] 9D1, an area whose x coordinate is equal to or larger than the largest x coordinate among the x coordinates of the boundary of area 30 is defined as area 50. Note that any y coordinate is included in area 50 as long as the x coordinate is equal to or larger than the largest x coordinate among the x coordinates of the boundary of area 30.

[0082] In FIG. 9D1, the region 50 is a rectangle, but this is not a limitation of the present invention. In FIG. 9D2, the larger the x coordinate, the larger the y coordinate range included in the region 50. Specifically, the larger the x coordinate, the larger the y coordinate is, but the larger the region 50 is included in the region 50. FIG. 9D2 shows an example in which the region 50 is a trapezoid with the upper and lower sides parallel to the x axis, and one leg is in contact with the boundary of the region 30. Note that the region 50 may be a right triangle, for example, with the hypotenuse in contact with the boundary of the region 30.

[0083] In the cases shown in FIGS. 9A to 9C and 9D1 and 9D2, the region 50 is determined based on the region 30 and the size of the x coordinate. As described above, the x coordinate can be, for example, the difference between the estimated age and the reference estimated age. Therefore, it is preferable that the images 31[1] to 31[n] used to form the region 30 are acquired within one year. For example, if the image 31[1] of the images 31[1] to 31[n] is the image acquired in the earliest period and the image 31[n] is the image acquired in the latest period, it is preferable to acquire the image 31[n] within one year after the image 31[1] is acquired.

[0084] The above is an example of a method for determining the presence or absence of fatigue using the information processing system 10. Note that the presence or absence of stress, etc., of the user of the information processing system 10 can also be determined by a method similar to the methods shown in Figs. 3 to 9.

[0085] In the information processing method using the information processing system 10, for example, the presence or absence of fatigue of a user of the information processing system 10 can be determined even if the user does not place part of the body in close contact with an electronic device in which the information processing system 10 is incorporated for a certain period of time. Therefore, it can be said that the information processing system 10 is highly convenient. Specifically, it can be said that the electronic device in which the information processing system 10 is incorporated is highly convenient. Furthermore, the information processing system 10 can determine the presence or absence of fatigue, etc., if the imaging unit 11 captures an image and acquires an image including a face, etc. Therefore, the information processing system 10 can determine the presence or absence of fatigue, etc., in a short period of time.

[0086] Furthermore, in the information processing method using the information processing system 10, the presence or absence of fatigue, etc. can be determined using a neural network. Therefore, the information processing system 10 can determine the presence or absence of fatigue, etc. with high accuracy.

[0087] As a method for determining the presence or absence of fatigue, etc., using a neural network, an image including a face, etc., is input to the neural network, and an output layer of the neural network directly outputs an estimation result of the presence or absence of fatigue, etc. However, in this method, it is necessary to prepare both images in a state where there is no fatigue, etc. and images in a state where there is fatigue, etc., as learning data. On the other hand, in an information processing method according to one aspect of the present invention, for example, images 31[1] to 31[n] used to give the information processing system 10 a function of determining the presence or absence of fatigue, etc. can all be images in a state where there is no fatigue, etc. Therefore, the information processing system 10 can determine the presence or absence of fatigue, etc. in a simple manner while using a neural network.

[0088] In addition, in the information processing method using the information processing system 10, for example, the presence or absence of fatigue of a person included in an image 41 is determined using the difference between the estimated age 42 of the person and the reference estimated age 35. Therefore, the estimated age 42 itself is not used for the determination. Therefore, the accuracy of age estimation by the neural network NN does not need to be high. Therefore, for example, it is not necessary to customize the weights of the neural network NN for each person whose fatigue is to be determined. Therefore, it is not necessary to prepare learning data for each person whose fatigue is to be determined. As described above, the information processing system 10 can determine the presence or absence of fatigue in a simple manner while using a neural network.

[0089] This embodiment mode can be implemented by appropriately combining at least a part of it with other embodiment modes described in this specification.

[0090] (Embodiment 2) In this embodiment, an example of an electronic device to which an information processing system and an information processing method of one embodiment of the present invention can be applied will be described with reference to drawings.

[0091] Examples of electronic devices to which the information processing system and information processing method according to one embodiment of the present invention can be applied include display devices, smartphones, tablets, personal computers, image storage devices or image playback devices equipped with a recording medium, mobile phones, game consoles including portable types, portable data terminals, electronic book terminals, cameras such as video cameras and digital still cameras, goggle-type displays (head-mounted displays), etc. Specific examples of these electronic devices are shown in Figures 10A to 10D.

[0092] FIG. 10A shows an example of a mobile phone 910, which may be, for example, a smartphone. The mobile phone 910 has a housing 911, a display unit 912, an operation button 913, an external connection port 914, a speaker 915, a socket 916, a camera 917, an earphone socket 918, and the like. The mobile phone 910 may be provided with a touch sensor on the display unit 912. Any operation such as making a call or inputting characters can be performed by touching the display unit 912 with a finger or a stylus. In addition, various removable storage devices such as a memory card such as an SD card, a USB memory, and an SSD (solid state drive) can be inserted into the socket 916.

[0093] By applying the information processing system and the information processing method of one embodiment of the present invention to the mobile phone 910, the mobile phone 910 can determine the presence or absence of fatigue, stress, or the like of a user with high convenience and in a short time. When the information processing system 10 is applied to the mobile phone 910, it can be said that the imaging unit 11 shown in Fig. 1 includes a camera 917. It can also be said that the output unit 13 shown in Fig. 1 includes a display unit 912, a speaker 915, or the like.

[0094] 10B shows an example of a portable data terminal 920, which may be, for example, a tablet. The portable data terminal 920 has a housing 921, a display unit 922, a speaker 923, a camera 924, and the like. Information can be input and output using a touch panel function of the display unit 922. Characters and the like can be recognized from an image acquired by the camera 924, and the characters can be output as voice by the speaker 923.

[0095] By applying the information processing system and information processing method of one embodiment of the present invention to the portable data terminal 920, the portable data terminal 920 can determine the presence or absence of fatigue, stress, or the like of a user with high convenience and in a short time. When the information processing system 10 is applied to the portable data terminal 920, it can be said that the imaging unit 11 shown in Fig. 1 includes a camera 924. It can also be said that the output unit 13 shown in Fig. 1 includes a display unit 922, a speaker 923, or the like.

[0096] 10C shows an example of a wristwatch-type information terminal 930, which includes a housing / wristband 931, a display unit 932, operation buttons 933, an external connection port 934, a camera 935, and the like. The display unit 932 is provided with a touch panel for operating the information terminal 930. The housing / wristband 931 and the display unit 932 are flexible and have excellent wearability on the body.

[0097] By applying the information processing system and the information processing method of one embodiment of the present invention to the information terminal 930, the information terminal 930 can determine the presence or absence of fatigue, stress, or the like of a user with high convenience and in a short time. Note that when the information processing system 10 is applied to the information terminal 930, it can be said that the imaging unit 11 shown in Fig. 1 includes a camera 935. It can also be said that the output unit 13 shown in Fig. 1 includes a display unit 932 and the like.

[0098] 10D shows a laptop personal computer 940. The laptop personal computer 940 includes a housing 941, a keyboard 942, a pointing device 943, an external connection port 944, and a speaker 945. A display unit 946 and a camera 947 are incorporated in the housing 941.

[0099] By applying the information processing system and information processing method of one embodiment of the present invention to the notebook personal computer 940, the notebook personal computer 940 can determine the presence or absence of fatigue, stress, and the like of a user with high convenience and in a short time. When the information processing system 10 is applied to the notebook personal computer 940, it can be said that the imaging unit 11 shown in Fig. 1 includes a camera 947. It can also be said that the output unit 13 shown in Fig. 1 includes a display unit 946 and the like.

[0100] Although the electronic device in this embodiment has a display portion, one embodiment of the present invention can also be applied to an electronic device that does not have a display portion.

[0101] This embodiment mode can be implemented by appropriately combining at least a part of it with other embodiment modes described in this specification. [Explanation of symbols]

[0102] 10: information processing system, 11: imaging unit, 12: memory unit, 13: output unit, 20: processing unit, 21: image calculation unit, 22: age estimation unit, 23: comparison unit, 24: judgment unit, 30: area, 31: image, 32: reference image, 33: estimated age, 34: data, 35: reference estimated age, 36: reference data, 41: image, 42: estimated age, 43: data, 50: area, 910: mobile phone, 911: housing, 912: display unit, 913: operation button, 914: external connection port, 915: speaker, 916: plug , 917: camera, 918: earphone jack, 920: portable data terminal, 921: housing, 922: display unit, 923: speaker, 924: camera, 930: information terminal, 931: housing / wristband, 932: display unit, 933: operation buttons, 934: external connection port, 935: camera, 940: notebook personal computer, 941: housing, 942: keyboard, 943: pointing device, 944: external connection port, 945: speaker, 946: display unit, 947: camera

Claims

1. The imaging unit, a first processing unit, a second processing unit, a third processing unit, and a fourth processing unit, the imaging unit has a function of acquiring first to n-th images (n is an integer equal to or greater than 2) including an image of a person's face and a query image; the first processing unit has a function of acquiring a reference image based on the first to n-th images, the second processing unit has a function of performing processing using a neural network having an input layer, an intermediate layer, and an output layer; the second processing unit has a function of outputting the first to n-th estimated ages or the reference estimated ages from the output layer when the first to n-th images or the reference image are input to the input layer, and outputting the first to n-th data or the reference data from the intermediate layer, the second processing unit has a function of outputting a query estimated age from the output layer and outputting query data from the intermediate layer when the query image is input to the input layer; the third processing unit has a function of acquiring first to n-th coordinates, respectively, by setting values ​​of differences between the first to n-th estimated ages and the reference estimated ages as x-coordinates and values ​​of similarities between the first to n-th data and the reference data as y-coordinates; the third processing unit has a function of acquiring a query coordinate by setting a difference value between the query estimated age and the reference estimated age as an x ​​coordinate and setting a similarity value between the query data and the reference data as a y coordinate; The fourth processing unit is an information processing system having a function of performing clustering based on the first to nth coordinates, and determining whether or not a person included in the query image is fatigued based on the result of the clustering and the query coordinates.

2. acquiring first through n-th images (n being an integer equal to or greater than 2) including an image of a person's face; Obtaining a reference image based on the first to n-th images; inputting the first to n-th images and the reference image to the input layer of a neural network having an input layer, an intermediate layer, and an output layer, and outputting the first to n-th estimated ages and the reference estimated ages from the output layer and the first to n-th data and the reference data from the intermediate layer; a difference between the first to n-th estimated ages and the reference estimated age is defined as an x-coordinate, and a value of similarity between the first to n-th data and the reference data is defined as a y-coordinate, and first to n-th coordinates are obtained, respectively; Obtain a query image that includes an image of a person's face; The query image is input to the input layer, and a query estimated age is output from the output layer and query data is output from the intermediate layer; a difference value between the query estimated age and the reference estimated age is defined as an x ​​coordinate, and a similarity value between the query data and the reference data is defined as a y coordinate to obtain a query coordinate; An information processing method comprising: performing clustering based on the first to n-th coordinates; and determining whether or not a person included in the query image is fatigued based on a result of the clustering and the query coordinates.

Citation Information

Patent Citations

  • Fatigue controlling apparatus and fatigue controlling method

    JP2010088756A

  • Psychological state estimation method, psychological state estimation system, and care system using psychological state estimation method

    JP2016093313A

  • Fatigue degree control device, fatigue degree control system and fatigue degree determination method

    JP2017086524A