The present invention relates to the field of computer technology, in particular to a method and system for calculating emotional indicators based on pupil-wave.
Considering the progression of the economy and society, individuals are displaying increasingly elevated expectations concerning the quality and efficacy of their educational pursuits, professional endeavors, and daily existence. These growing demands have led to a heightened sensitivity towards the environments in which people engage in these activities, consequently inducing deviations in emotional indicators due to the resultant discomfort experienced within these contexts. If a long-term abnormal emotional state is not alleviated, it may lead to psychological abnormalities, and eventually develop into anxiety disorders and depression. Emotional abnormalities usually present as emotional disorders: main emotional symptoms of stress include feeling psychologically tense, experiencing palpitations, restlessness and emotional instability; main emotional symptoms of anxiety include feeling fear, disturbed, nervous and apprehensive; main emotional symptoms of depression include feeling low mood, distress, anhedonia, and decreased interest. If the severity of abnormal emotional indicators cannot be promptly and accurately detected and assessed, and if timely psychological intervention cannot be implemented, there is a high likelihood that it may develop into anxiety disorder or depression, damaging physical health.
Physical health examination is a necessary means to ensure early detection and treatment of diseases. However, the current physical health examination is mainly based on physiological equipment for blood glucose, ECG, blood lipids and other physiological health checks. There is a lack of examination and evaluation equipment for emotional indicators.
Currently, self-rating scales are the primary method used to assess mood indicators. For example, a PSTR self-rating scale is used to assess stress, a PHQ-9 self-rating scale is used to assess depression, and a GAD-7 self-rating scale is used to assess anxiety. Using these scales requires a certain level of cultural knowledge and understanding. As the self-scales consist of multiple items, each item includes more than three options, making an assessment method for emotional indicators subjective. At the same time, the GAD-7 self-rating anxiety scale, PHQ-9 self-rating depression scale, and other self-rating scales lack direct emotional indicators directly related to mood, the evaluation and discrimination are not directly related to emotional experiences, resulting in the relatively poor assessment accuracy.
A purpose of present invention is to provide a method and system for calculating emotional indicators based on a pupil-wave; the method and system can accurately calculate the emotional indicators and assess an emotional state of a subject. Then it can accurately distinguish a mental state, and timely intervention to ensure the mental health and physical health of the subject.
To achieve the above purpose, present invention adopts the following technical solution:
A method for calculating emotional indicators based on a pupil-wave, including the following steps:
Preferably, Step S2, the emotional indicators include one or more of depression indicators, anxiety indicators and stress indicators:
Preferably, in Step S3, collecting the pupil-wave, specifically comprising the steps:
P(t)=(P(t−1)+P(t+1))/2 (Formula 1)
P(t) is the value of the pupil-wave at the t moment.
Preferably, calculation formulas of the bandwidth pupil-wave are as follows:
P0(t) is a value of the standard pupil-wave at a t second, m is an acquisition time, {tilde over (P)} is a mean value, Pi(t) is a value of the pupil-wave corresponding to an i emotion at the t second, EPi(t) is a value of the bandwidth pupil-wave corresponding to the i emotion at the t second.
Preferably, A calculation formula for the differential pupil-wave is as follows:
DP
i(t)=Pi(t+1)−Pi(t) (Formula 3)
Pi(t) is the value of the emotional pupil-wave corresponding to the i emotion at the t second, Pi(t+1) is the value of the t+1 second, DPi(t) is the value of the differential pupil-wave corresponding to the i emotion at the t second.
Preferably, the pre-trained deep convolutional neural network specifically comprises:
Present invention also provides a system for calculating emotional indicators based on pupil-wave, the system comprising:
Therefore, present invention provides a method and system for calculating emotional indicators based on pupil-wave using the above-described structure, resulting in beneficial effects as follows:
The further explanations of a technical solution of present invention through accompanying figures and examples of implementation are as follows:
Unless otherwise defined, technical or scientific terms used in the invention shall be understood in the usual sense by persons of average skill in the field to which the invention belongs. The terms “first,” “second,” and similar words used in the present invention do not indicate any specific order, quantity, or importance but are merely used to distinguish between different components. Words such as “including” or “containing” mean that the component or object mentioned before the word includes the component or object listed after the word and its equivalent, and does not exclude other components or objects. Words such as “including” or “containing” and similar expressions imply that the components or objects mentioned before the word encompass the components or objects listed after the word and their equivalents, and does not exclude other components or objects. The terms “setup,” “installation,” and “connection” should be interpreted broadly, such as fixed connections, detachable connection or integrated connection. It can be a mechanical connection or an electrical connection, and can be either direct or indirect through an intermediate medium. Additionally, the terms may refer to connections between two components. Words like “up,” “down,” “left,” “right,” and so on are simply used to express relative position relationships. The relative position relationship may change accordingly when the absolute position of the described object changes.
As shown in
The depression indicators correspond to multiple emotions, including happiness and sadness;
By using emotional indicators as an objective standard for mental state assessment, measuring the pupil-wave associated with different emotions in the subject fills the previous deficiency in emotional assessment of mental state.
3. The pupil-wave of the subject in each emotional state are collected and set as an emotional pupil-wave;
The method of generating pupil-wave includes:
Collecting pupil-wave, specifically comprising the steps:
P(t)=(P(t−1)+P(t+1))/2 (Formula 1)
P(t) is the value of the pupil-wave at the t moment. The values one second before and one second after the missing value are averaged as the missing value.
4. According to the standard pupil-wave, bandwidth and differential pupil-wave corresponding to each emotion are calculated;
Using an average of standard pupil-wave as the standard, the bandwidth pupil-wave corresponding to each emotional pupil-wave is calculated. Formulas for calculating the bandwidth pupil-wave is as follows:
P0(t) is the value of the standard pupil-wave at the t second, m is the acquisition time of, {tilde over (P)} is the mean value, Pi(t) is the value of the pupil-wave corresponding to the i emotion at the t second, EPi(t) is the value of the bandwidth pupil-wave corresponding to the i emotion at the t second.
A calculation formula for the differential pupil-wave is as follows:
DP
i(t)=Pi(t+1)−Pi(t) (Formula 3)
Pi(t) is the value of the emotional pupil-wave corresponding to the i emotion at the t second, Pi(t+1) is the value of the t+1 second, DPi(t) is the value of the differential pupil-wave corresponding to the i emotion at the t second.
5. The standard, emotional, bandwidth and differential pupil-wave are input into a pre-trained deep convolutional neural network to obtain index values of emotional indicators.
The pre-trained deep convolutional neural network, specifically comprises:
As shown in
Among them, the pupil-wave represent curves of pupil diameter or pupil area over time.
Therefore, present invention provides a method and system for calculating emotional indicators based on pupil-wave, using above-mentioned structure. Present invention can obtain the dynamic change of pupils by collecting pupil-wave of the subject. It can objectively measure the subject's ability to experience calm, happiness, sadness, threat, and tension. Compared with existing self-rating scales and taking photos to obtain the state pictures of the subject, this invention reduces the influence of subjective factors. It can accurately calculate the emotional indicators of the subject, assess their emotional states, thereby accurately distinguish their mental states, and intervene promptly to ensure the mental and physical health of the subject.
Finally, it should be noted that the above embodiments are provided solely for the purpose of illustrating the technical scheme of the present invention and should not be considered as limiting its scope. Although reference has been made to the preferred embodiments to provide detailed explanations of the present invention, those with ordinary technical knowledge in the field should comprehend that they are still free to modify or replace the technical scheme of the invention. However, such modifications or substitutions should not cause the modified technical scheme to deviate from the spirit and scope of the technical scheme of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
202111178895.4 | Oct 2021 | CN | national |
This application is a continuation application of International Application No. PCT/CN2021/133488, filed on Nov. 26, 2021, which is based upon and claims priority to Chinese Patent Application No. 202111178895.4, filed on Oct. 11, 2021, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/133488 | Nov 2021 | US |
Child | 18387062 | US |