CN115472264A - Non-contact psychological state prediction method - Google Patents
Non-contact psychological state prediction method Download PDFInfo
- Publication number
- CN115472264A CN115472264A CN202211170651.6A CN202211170651A CN115472264A CN 115472264 A CN115472264 A CN 115472264A CN 202211170651 A CN202211170651 A CN 202211170651A CN 115472264 A CN115472264 A CN 115472264A
- Authority
- CN
- China
- Prior art keywords
- data
- monitored
- monitored person
- personnel
- psychological
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000013135 deep learning Methods 0.000 claims abstract description 20
- 238000012549 training Methods 0.000 claims abstract description 18
- 238000012544 monitoring process Methods 0.000 claims abstract description 14
- 230000002996 emotional effect Effects 0.000 claims abstract description 11
- 230000006399 behavior Effects 0.000 claims description 37
- 230000014509 gene expression Effects 0.000 claims description 32
- 230000008451 emotion Effects 0.000 claims description 26
- 230000006996 mental state Effects 0.000 claims description 22
- 238000012360 testing method Methods 0.000 claims description 15
- 230000001815 facial effect Effects 0.000 claims description 13
- 230000008921 facial expression Effects 0.000 claims description 8
- 238000013527 convolutional neural network Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 6
- 230000003542 behavioural effect Effects 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000004140 cleaning Methods 0.000 claims description 3
- 230000004927 fusion Effects 0.000 claims description 3
- 208000015181 infectious disease Diseases 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 239000000203 mixture Substances 0.000 claims description 3
- 238000011176 pooling Methods 0.000 claims description 3
- 208000020016 psychiatric disease Diseases 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000007781 pre-processing Methods 0.000 claims description 2
- 238000012216 screening Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 4
- 230000003340 mental effect Effects 0.000 description 4
- 238000012552 review Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002243 precursor Substances 0.000 description 1
- 230000008433 psychological processes and functions Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H20/00—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
- G16H20/70—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to mental therapies, e.g. psychological therapy or autogenous training
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H80/00—ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Public Health (AREA)
- Primary Health Care (AREA)
- Biomedical Technology (AREA)
- Epidemiology (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Developmental Disabilities (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Child & Adolescent Psychology (AREA)
- Molecular Biology (AREA)
- Hospice & Palliative Care (AREA)
- Psychiatry (AREA)
- Psychology (AREA)
- Social Psychology (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Pathology (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
本发明公开了一种非接触式的心理状态预测方法,具体涉及心理预测技术领域,本发明通过对不同的被监测人员进行分类处理,并对深度学习网络模型进行训练,得到预测模型,然后通过监控数据得到的被监测人员的视频图像进行特征提取后输入预测模型进行预测,从而分析被监测人员情绪倾向,实现对被监测人员的非接触心理状态预测,不仅提高了预测的可信度,而且也不会影响被监测人员和问卷发放与查看人员的时间,更不会对被监测人员造成不必要的心理负担;此外,本发明通过监控数据可以同时对大批量的被监测人员进行心理监测,可适用于训练营、厂区、公司、学校等人员较多的大型场所,在对大量人员的心理状态监测起到了重要意义。
The invention discloses a non-contact psychological state prediction method, and specifically relates to the technical field of psychological prediction. The invention classifies and processes different monitored persons and trains a deep learning network model to obtain a prediction model, and then obtains a prediction model through The video image of the monitored person obtained from the monitoring data is extracted and input into the prediction model for prediction, so as to analyze the emotional tendency of the monitored person and realize the non-contact psychological state prediction of the monitored person, which not only improves the credibility of the prediction, but also It will not affect the time for the monitored personnel and the questionnaire distribution and viewing personnel, and will not cause unnecessary psychological burden to the monitored personnel; in addition, the present invention can carry out psychological monitoring on a large number of monitored personnel at the same time through the monitoring data, It can be applied to large-scale places with many people, such as training camps, factories, companies, schools, etc., and plays an important role in monitoring the psychological state of a large number of people.
Description
技术领域technical field
本发明涉及心理预测技术领域,更具体地说,本发明涉及一种非接触式的心理状态预测方法。The present invention relates to the technical field of mental prediction, and more specifically, the present invention relates to a non-contact mental state prediction method.
背景技术Background technique
心理状态是心理活动的基本形式之一,指心理活动在一定时间内的完整特征。如注意、疲劳、紧张、轻松、忧伤、喜悦等,它兼有心理过程和个性心理特征的特点,既有暂时性,又具有稳定性,是心理过程和个性心理特征联结的中介环节,构成一切心理活动展开的背景。Mental state is one of the basic forms of mental activity, which refers to the complete characteristics of mental activity within a certain period of time. Such as attention, fatigue, tension, relaxation, sadness, joy, etc., it has the characteristics of both psychological processes and individual psychological characteristics. It is both temporary and stable. The background against which mental activity unfolds.
目前,在一些高校或者就业环境中,由于学习难度大、业绩紧张或者压力过大,都容易导致人员的心理状态出现问题,而当人员的心理状态出现问题时,如果不能及时的发现并干预,使得心理问题可能会越来越大,不仅影响学业和工作,严重者还会对人员的身体健康造成伤害,而现有技术中一般通过调查问卷的方式对人员的心理状态进行检测,但是容易出现乱选的情况,使得可信度较低,而且也会浪费人员的时间,不能自行进行监测处理,因此,研究一种非接触式的心理状态预测方法来解决上述问题具有重要意义。At present, in some colleges and universities or employment environments, due to the difficulty of learning, tight performance or excessive pressure, it is easy to cause problems in the psychological state of the personnel. The psychological problem may become more and more serious, not only affecting studies and work, but also causing harm to the health of the personnel in severe cases. In the prior art, the psychological state of the personnel is generally detected by means of questionnaires, but it is easy to appear The situation of random selection makes the credibility low, and also wastes the time of personnel, and cannot monitor and process by itself. Therefore, it is of great significance to study a non-contact mental state prediction method to solve the above problems.
发明内容Contents of the invention
为了克服现有技术的上述缺陷,本发明提供了一种非接触式的心理状态预测方法,本发明所要解决的技术问题是:现有技术中对心理状态进行检测的方式可信度较低,而且也会浪费人员的时间,不能自行进行监测处理的问题。In order to overcome the above-mentioned defects of the prior art, the present invention provides a non-contact mental state prediction method. The technical problem to be solved by the present invention is: the way of detecting the mental state in the prior art has low reliability, And it will also waste the time of personnel, and it is impossible to monitor and deal with the problem by itself.
为实现上述目的,本发明提供如下技术方案:一种非接触式的心理状态预测方法,包括以下步骤:In order to achieve the above object, the present invention provides the following technical solution: a non-contact mental state prediction method, comprising the following steps:
S1、对被监测人员进行基本信息的获取,并通过社交平台使用数据进行社交数据的获取。S1. Acquire the basic information of the monitored personnel, and use the data on the social platform to obtain social data.
S2、将被监测人员按照相似度进行分类,得到不同的类别。S2. Classify the monitored persons according to similarity to obtain different categories.
S3、通过大数据获取不同类别的人员出现心理问题时的前兆行为和表情变化,对深度学习网络模型进行训练,得到预测模型。S3. Obtain precursory behaviors and expression changes of different types of people when they have psychological problems through big data, and train the deep learning network model to obtain a prediction model.
S4、通过监控数据获取采集被监测人员的当前视频图像,同时提取面部图像信息和行为信息。S4. Obtain and collect the current video image of the monitored person through monitoring data acquisition, and extract facial image information and behavior information at the same time.
S5、对被监测人员的视频数据进行特征提取,得到行为信息,同时对面部图像信息进行识别,提取面部图像特征,判断被监测人员的表情。S5. Extract features from the video data of the monitored person to obtain behavior information, and at the same time identify facial image information, extract facial image features, and judge the expression of the monitored person.
S6、将行为信息和表情变化输入预测模型,由预测模型判断是否有相应的前兆行为出现,并判断被监测人员的当前心理状态,分析被监测人员情绪倾向,并输出,从而实现被监测人员心理状态的预测,当发现被监测人员情绪倾向出现问题时,对相关人员进行预警,通知相关人员对被监测人员的心理进行干预。S6. Input behavioral information and expression changes into the prediction model, and the prediction model judges whether there is a corresponding precursory behavior, and judges the current psychological state of the monitored person, analyzes the emotional tendency of the monitored person, and outputs it, so as to realize the psychological state of the monitored person. Prediction of the state, when it is found that there is a problem with the emotional tendency of the monitored person, an early warning will be given to the relevant personnel, and the relevant personnel will be notified to intervene in the psychological state of the monitored person.
作为本发明的进一步方案:所述基本信息包括被监测人员的姓名、性别、年龄、学历、工作、家庭组成和社交情况。As a further solution of the present invention: the basic information includes the name, gender, age, education background, work, family composition and social status of the monitored person.
作为本发明的进一步方案:所述深度学习网络模型包括但不限于是在tensorflow环境中搭建的深度卷积神经网络模型,其包括输入层、三个卷积层、两个全连接层和一个输出层,其中,前两个卷积层后均有对应池化层。As a further solution of the present invention: the deep learning network model includes but is not limited to a deep convolutional neural network model built in the tensorflow environment, which includes an input layer, three convolutional layers, two fully connected layers and an output layer, where there are corresponding pooling layers after the first two convolutional layers.
作为本发明的进一步方案:所述对深度学习网络模型进行训练的具体方法为:As a further solution of the present invention: the specific method for training the deep learning network model is:
S31、对通过大数据获取的不同类别的人员出现心理问题时的前兆行为和表情变化的具体信息进行清洗后降维处理。S31. Perform cleaning and dimensionality reduction processing on specific information on precursor behaviors and facial expression changes of different types of personnel obtained through big data when they have psychological problems.
S32、将多组数据分成训练数据和测试数据,其中训练数据为80%,测试数据为20%,将训练数据做为深度学习网络模型的输入,对深度学习网络模型进行训练。S32. Divide multiple sets of data into training data and test data, wherein 80% of the training data and 20% of the test data are used as the input of the deep learning network model to train the deep learning network model.
S33、训练完成之后通过测试数据进行测试,测试准确率高于99%时结束训练,并将训练好的深度学习网络模型作为预测模型,通过不同行为和表情变化预测对应的心理状态。S33. After the training is completed, the test is performed on the test data. When the test accuracy rate is higher than 99%, the training is terminated, and the trained deep learning network model is used as a prediction model to predict the corresponding psychological state through different behaviors and facial expressions.
作为本发明的进一步方案:所述将被监测人员按照相似度进行分类,得到不同类别的具体方法为:As a further solution of the present invention: the monitored personnel are classified according to similarity, and the specific methods for obtaining different categories are:
S21、对被监测人员的基本信息进行整理,并对社交数据中的文本图片和视频进行筛选,选出与情绪相关的数据,并进行主题分析。S21. Sorting out the basic information of the monitored persons, screening the text, pictures and videos in the social data, selecting data related to emotions, and performing theme analysis.
S22、根据大五人格理论将不同被监测人员分为ABCDE五种类型,其中,ABCDE分别表示开朗型、责任型、外倾型、宜人型和神经质型五类,并采用大五人格量表原理,将不同被监测人员的类型量化为一个向量,即:S22. According to the Big Five personality theory, different monitors are divided into five types of ABCDE, among which, ABCDE respectively represent the five types of cheerful, responsible, extraverted, agreeable and neurotic, and adopt the principle of the Big Five personality scale , quantify the types of different monitored personnel into a vector, namely:
P=<Ascore,Bscore,Cscore,Dscore,Escore>。P=<A score, B score, C score, D score, E score> .
S23、将每种类型更具体的表现出一些特点,并将这些特点进行分类获得x个子维度,进一步计算被监测人员在每一种人格上的每个子维度的得分情况,即S23. Show some characteristics of each type more specifically, and classify these characteristics to obtain x sub-dimensions, and further calculate the score of each sub-dimension of the monitored person on each personality, that is
其中,ei表示外倾性的子维度,ki为各维度对人格类型的影响权重,初始化为1/n,在之后根据被监测人员回馈对其进行优化调整。Among them, e i represents the sub-dimension of extraversion, and ki is the influence weight of each dimension on personality type, which is initialized to 1/n, and then optimized and adjusted according to the feedback of the monitored personnel.
S24、并将每类人格所表现出来的特点表达到情绪和行为上,构建人格、情绪和行为之间的逻辑关系,并进行逻辑关联,同时从感染、表达、干预和体现三个关系类型,构造一系列元结构用于计算被监测人员的各个人格类型子维度得分,进而得到被监测人员人格类型的倾向得分,从而对被监测人员当前的心理状态进行评判。S24. Express the characteristics of each type of personality into emotions and behaviors, construct the logical relationship between personality, emotions and behaviors, and make logical connections. At the same time, from the three relationship types of infection, expression, intervention and embodiment, Construct a series of meta-structures to calculate the subdimension scores of each personality type of the monitored person, and then obtain the tendency score of the personality type of the monitored person, so as to judge the current psychological state of the monitored person.
作为本发明的进一步方案:所述心理状态分为健康状态、不良状态、心理障碍和心理危机四种。As a further solution of the present invention: the psychological state is divided into four types: healthy state, bad state, psychological disorder and psychological crisis.
作为本发明的进一步方案:所述各个人格类型子维度得分的计算公式为:As a further solution of the present invention: the calculation formula of each personality type sub-dimension score is:
其中,nm为情绪类型个数,nb为行为类型个数,M=(m1,m2,…,mnm),B=(b1,b2,…,bnb),Inm×nb是情绪类型与行为类型的关系矩阵,有链接关系则为1,否则为0。Among them, n m is the number of emotion types, n b is the number of behavior types, M=(m1,m2,...,m nm ), B=(b1,b2,...,b nb ), I nm ×n b is The relationship matrix between emotion type and behavior type, if there is a link relationship, it is 1, otherwise it is 0.
作为本发明的进一步方案:所述对社交数据中的文本图片和视频进行筛选,选出与情绪相关的数据的具体方法为:将获取的大量的文本数据通过Bert模型进行文本嵌入和Kmeans聚类来识别靠近质心的句子以进行自动摘要选择,从而选择出于情绪相关的具体数据。As a further solution of the present invention: the described text picture and video in the social data are screened, and the specific method of selecting data related to emotion is: a large amount of text data obtained is carried out text embedding and Kmeans clustering through the Bert model to identify sentences close to the centroid for automatic summary selection to select specific data for sentiment relevance.
作为本发明的进一步方案:所述对面部图像信息进行识别,提取面部图像特征,判断被监测人员的表情具体包括以下步骤:As a further solution of the present invention: the described facial image information is identified, extracting facial image features, and judging the expression of the monitored personnel specifically includes the following steps:
S51、提取监控数据中的人脸部分,进行灰度处理后得到表情图像,并进行预处理,具体为:根据人脸面部三庭五眼的特征和人脸的集合模型进行裁剪和尺寸归一化,去除与表情无关的区域,降低无关信息对表情识别的干扰;S51. Extract the face part in the monitoring data, perform grayscale processing to obtain the expression image, and perform preprocessing, specifically: cut and normalize the size according to the characteristics of the three courts and five eyes of the face and the set model of the face to remove areas that have nothing to do with expressions, and reduce the interference of irrelevant information on expression recognition;
S52、然后对预处理后的表情图像进行多特征提取,提取的三种特征分别为LDP、DWT以及Sobel,将三种特征图以三通道的形式输入卷积神经网络中,进行自适应融合,最后通过Softmax分类器对融合后的特征进行表情分类。S52, then carry out multi-feature extraction to the facial expression image after pretreatment, three kinds of features extracted are respectively LDP, DWT and Sobel, input three kinds of feature maps in the convolutional neural network in the form of three channels, carry out self-adaptive fusion, Finally, the expression classification is performed on the fused features through the Softmax classifier.
本发明的有益效果在于:The beneficial effects of the present invention are:
1、本发明通过对不同的被监测人员进行分类处理,并通过大数据获取不同类别的人员出现心理问题时的前兆行为和表情变化,对深度学习网络模型进行训练,得到预测模型,然后通过监控数据得到的被监测人员的视频图像进行特征提取后输入预测模型进行预测,从而判断被监测人员的当前心理状态,分析被监测人员情绪倾向,实现对被监测人员的非接触心理状态预测,不仅提高了预测的可信度,而且也不会影响被监测人员和问卷发放与查看人员的时间,更不会对被监测人员造成不必要的心理负担;1. The present invention classifies and processes different monitored personnel, and obtains precursory behaviors and expression changes when different types of personnel have psychological problems through big data, trains a deep learning network model, obtains a prediction model, and then monitors The video image of the monitored person obtained from the data is extracted and input into the prediction model for prediction, so as to judge the current psychological state of the monitored person, analyze the emotional tendency of the monitored person, and realize the non-contact psychological state prediction of the monitored person, which not only improves The credibility of the prediction is guaranteed, and it will not affect the time of the monitored personnel and the questionnaire distribution and viewing personnel, and will not cause unnecessary psychological burden to the monitored personnel;
2、本发明通过在被监测人员的心理状态和情绪倾向出现心理问题先兆时,对相关人员进行预警处理,并通知其对已测人员进行心理干预,从而可以及时的将人员的不良情绪进行疏导;2. The present invention carries out pre-warning processing on the relevant personnel when the psychological state and emotional tendency of the monitored personnel have a sign of psychological problems, and notifies them to carry out psychological intervention on the measured personnel, so that the negative emotions of the personnel can be channeled in a timely manner ;
3、本发明通过监控数据可以同时对大批量的被监测人员进行心理监测,可适用于训练营、厂区、公司、学校等人员较多的大型场所,在对大量人员的心理状态监测起到了重要意义。3. The present invention can carry out psychological monitoring on a large number of monitored personnel at the same time through monitoring data, and is applicable to large-scale places with many personnel such as training camps, factories, companies, schools, etc., and plays an important role in monitoring the psychological state of a large number of personnel. significance.
附图说明Description of drawings
图1为本发明心理状态预测的流程示意图;Fig. 1 is the schematic flow chart of mental state prediction of the present invention;
图2为本发明深度学习网络模型训练方法的流程示意图;Fig. 2 is a schematic flow chart of the deep learning network model training method of the present invention;
图3为本发明人员分类的流程示意图。Fig. 3 is a schematic flow chart of the inventor's classification.
具体实施方式detailed description
下面将对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
实施例:Example:
如图1-3所示,一种非接触式的心理状态预测方法,包括以下步骤:As shown in Figure 1-3, a non-contact mental state prediction method includes the following steps:
S1、通过管理人员获取被监测人员的姓名、性别、年龄、学历、工作、家庭组成和社交情况等基本信息,同时通过从微博、豆瓣影评、朋友圈、网易云音乐评论等高概率表达情绪的平台中爬取海量的发布数据。S1. Obtain basic information such as the name, gender, age, education, work, family composition, and social situation of the monitored personnel through the management personnel, and at the same time express emotions with high probability from Weibo, Douban movie reviews, circle of friends, and NetEase cloud music reviews Crawl massive amounts of published data from the platform.
S2、对被监测人员的基本信息进行整理,并对社交数据中的文本图片和视频进行筛选,选出与情绪相关的数据,并进行主题分析,将获取的大量的文本数据通过Bert模型进行文本嵌入和Kmeans聚类来识别靠近质心的句子以进行自动摘要选择,从而选择出于情绪相关的具体数据,通过Bert模型进行文本嵌入和Kmeans聚类来识别靠近质心的句子以进行自动摘要选择,从而可以从被监测人员大量的社交文本中自动筛选出重要的句子,能更好地解决信息碎片化和无用信息干扰的问题,提高了模型效率和准确率。S2. Organize the basic information of the monitored personnel, and screen the text pictures and videos in the social data, select the data related to emotions, and conduct theme analysis, and use the Bert model to text the large amount of text data obtained. Embedding and Kmeans clustering to identify sentences near centroids for automatic summary selection to select specific data for sentiment relevance Text embedding and Kmeans clustering via Bert model to identify sentences near centroids for automatic summary selection Important sentences can be automatically screened out from a large number of social texts of the monitored personnel, which can better solve the problems of information fragmentation and useless information interference, and improve the efficiency and accuracy of the model.
根据大五人格理论将不同被监测人员分为ABCDE五种类型,其中,ABCDE分别表示开朗型、责任型、外倾型、宜人型和神经质型五类,并采用大五人格量表原理,将不同被监测人员的类型量化为一个向量,即:According to the Big Five Personality Theory, different monitors are divided into five types of ABCDE, among which, ABCDE respectively represent the five types of cheerful, responsible, extroverted, agreeable and neurotic, and adopt the principle of the Big Five Personality Scale. The types of different monitored persons are quantified as a vector, namely:
P=<Ascore,Bscore,Cscore,Dscore,Escore>。P=<A score, B score, C score, D score, E score> .
然后将每种类型更具体的表现出一些特点,并将这些特点进行分类获得x个子维度,进一步计算被监测人员在每一种人格上的每个子维度的得分情况,即Then each type shows some characteristics more specifically, and classify these characteristics to obtain x sub-dimensions, and further calculate the score of each sub-dimension of the monitored person on each personality, that is
其中,ei表示外倾性的子维度,ki为各维度对人格类型的影响权重,初始化为1/n,在之后根据被监测人员回馈对其进行优化调整。Among them, e i represents the sub-dimension of extraversion, and ki is the influence weight of each dimension on personality type, which is initialized to 1/n, and then optimized and adjusted according to the feedback of the monitored personnel.
由于情绪会在一定程度上影响到行为,而行为也往往是在表达情绪,所以将每类人格所表现出来的特点表达到情绪和行为上,构建人格、情绪和行为之间的逻辑关系,并进行逻辑关联;例如,开朗型表示人际互动的数量和密度、对刺激的需要以获得愉悦的能力,这个维度将社会性的、主动的、个人定向的个体和沉默的、严肃的、腼腆的以及安静的人作对比,这个方面可由两个品质加以衡量:人际的卷入水平和活力水平,前者评估个体喜欢他人陪伴的程度,而后者反映了个体个人的节奏和活力水平;例如:开心是外倾性的一个重要的情绪表达,需求陪伴是外倾性的一个重要的行为表达,故开心和寻求陪伴都体现里被监测人员的外倾型人格倾向,而行为和情绪通常相互影响,但这种影响受人格类型影响,不同人格倾向的人所表达的情绪和行为联系不同,外倾性对寻求陪伴行为的表达干预指向开心,因为外倾性通常喜欢在与人接触,并且热情健谈,当他们处于一个群体中时,通常会表达出一种积极情绪,如开心;反之从情绪指向行为,也是同样的道理,同时从感染、表达、干预和体现三个关系类型,构造一系列元结构用于计算被监测人员的各个人格类型子维度得分,进而得到被监测人员人格类型的倾向得分,从而对被监测人员当前的心理状态进行评判。Since emotions will affect behavior to a certain extent, and behavior is often an expression of emotion, so the characteristics of each type of personality are expressed in emotion and behavior, and the logical relationship between personality, emotion and behavior is constructed, and Make logical connections; for example, cheerfulness indicates the amount and intensity of human interaction, the need for stimulation and the ability to enjoy pleasure, this dimension combines social, active, personally oriented individuals with silent, serious, shy Compared with quiet people, this aspect can be measured by two qualities: the level of interpersonal involvement and the level of vitality. An important emotional expression of extraversion, needing companionship is an important behavioral expression of extraversion, so being happy and seeking companionship both reflect the extraverted personality tendency of the person being monitored, and behavior and emotion usually affect each other, but This effect is affected by personality types. People with different personality tendencies express different emotions and behavioral connections. The expression intervention of extraversion on companionship-seeking behavior points to happiness, because extraversion usually likes to be in contact with people, and is enthusiastic and talkative. When they are in a group, they usually express a positive emotion, such as happiness; vice versa, it is the same from emotion to behavior. At the same time, a series of meta-structures are constructed from the three relationship types of infection, expression, intervention and embodiment It is used to calculate the subdimension scores of each personality type of the monitored person, and then obtain the tendency score of the personality type of the monitored person, so as to judge the current psychological state of the monitored person.
S3、通过大数据获取不同类别的人员出现心理问题时的前兆行为和表情变化,对通过大数据获取的不同类别的人员出现心理问题时的前兆行为和表情变化的具体信息进行清洗后降维处理。S3. Obtain the precursory behavior and expression changes of different types of people when they have psychological problems through big data, and perform cleaning and dimensionality reduction processing on the specific information of precursory behaviors and facial expressions when different types of people have psychological problems obtained through big data. .
将多组数据分成训练数据和测试数据,其中训练数据为80%,测试数据为20%,将训练数据做为深度学习网络模型的输入,对深度学习网络模型进行训练。Multiple sets of data are divided into training data and test data, wherein the training data is 80%, and the test data is 20%. The training data is used as the input of the deep learning network model to train the deep learning network model.
训练完成之后通过测试数据进行测试,测试准确率高于99%时结束训练,并将训练好的深度学习网络模型作为预测模型,通过不同行为和表情变化预测对应的心理状态。After the training is completed, the test data is used to test. When the test accuracy is higher than 99%, the training ends, and the trained deep learning network model is used as a prediction model to predict the corresponding mental state through different behaviors and facial expressions.
S4、通过监控数据获取采集被监测人员的当前视频图像,同时提取面部图像信息和行为信息。S4. Obtain and collect the current video image of the monitored person through monitoring data acquisition, and extract facial image information and behavior information at the same time.
S5、对被监测人员的视频数据进行特征提取,得到行为信息,同时对面部图像信息进行识别,提取面部图像特征,判断被监测人员的表情,具体为:根据人脸面部三庭五眼的特征和人脸的集合模型进行裁剪和尺寸归一化,去除与表情无关的区域,降低无关信息对表情识别的干扰;S5. Perform feature extraction on the video data of the monitored person to obtain behavior information, and at the same time identify the facial image information, extract facial image features, and judge the expression of the monitored person, specifically: according to the characteristics of the three courts and five eyes of the face Crop and normalize the size of the set model of the face to remove areas that are not related to expressions, and reduce the interference of irrelevant information on expression recognition;
然后对预处理后的表情图像进行多特征提取,提取的三种特征分别为LDP、DWT以及Sobel,将三种特征图以三通道的形式输入卷积神经网络中,进行自适应融合,最后通过Softmax分类器对融合后的特征进行表情分类。Then, multi-feature extraction is performed on the preprocessed expression image. The three extracted features are LDP, DWT and Sobel. The three feature maps are input into the convolutional neural network in the form of three channels for adaptive fusion. Finally, through The Softmax classifier performs expression classification on the fused features.
S6、将行为信息和表情变化输入预测模型,由预测模型判断是否有相应的前兆行为出现,并判断被监测人员的当前心理状态,分析被监测人员情绪倾向,并输出,从而实现被监测人员心理状态的预测,当发现被监测人员情绪倾向出现问题时,对相关人员进行预警,通知相关人员对被监测人员的心理进行干预。S6. Input behavioral information and expression changes into the prediction model, and the prediction model judges whether there is a corresponding precursory behavior, and judges the current psychological state of the monitored person, analyzes the emotional tendency of the monitored person, and outputs it, so as to realize the psychological state of the monitored person. Prediction of the state, when it is found that there is a problem with the emotional tendency of the monitored person, an early warning will be given to the relevant personnel, and the relevant personnel will be notified to intervene in the psychological state of the monitored person.
深度学习网络模型包括但不限于是在tensorflow环境中搭建的深度卷积神经网络模型,其包括输入层、三个卷积层、两个全连接层和一个输出层,其中,前两个卷积层后均有对应池化层。Deep learning network models include but are not limited to deep convolutional neural network models built in the tensorflow environment, which include an input layer, three convolutional layers, two fully connected layers and an output layer, where the first two convolutional Each layer has a corresponding pooling layer.
心理状态分为健康状态、不良状态、心理障碍和心理危机四种。Mental state is divided into four types: healthy state, bad state, psychological disorder and psychological crisis.
各个人格类型子维度得分的计算公式为:The formula for calculating the subdimension scores of each personality type is:
其中,nm为情绪类型个数,nb为行为类型个数,M=(m1,m2,…,mnm),B=(b1,b2,…,bnb),Inm×nb是情绪类型与行为类型的关系矩阵,有链接关系则为1,否则为0。Among them, n m is the number of emotion types, n b is the number of behavior types, M=(m1,m2,...,m nm ), B=(b1,b2,...,b nb ), I nm ×n b is The relationship matrix between emotion type and behavior type, if there is a link relationship, it is 1, otherwise it is 0.
在本发明实施例中,该心理状态预测方法通过对不同的被监测人员进行分类处理,并通过大数据获取不同类别的人员出现心理问题时的前兆行为和表情变化,对深度学习网络模型进行训练,得到预测模型,然后通过监控数据得到的被监测人员的视频图像进行特征提取后输入预测模型进行预测,从而判断被监测人员的当前心理状态,分析被监测人员情绪倾向,实现对被监测人员的非接触心理状态预测。In the embodiment of the present invention, the mental state prediction method classifies and processes different monitored persons, and obtains precursory behaviors and expression changes when different types of persons have psychological problems through big data, and trains the deep learning network model , get the prediction model, and then use the video image of the monitored person obtained from the monitoring data to perform feature extraction and input it into the prediction model for prediction, so as to judge the current psychological state of the monitored person, analyze the emotional tendency of the monitored person, and realize the monitoring of the monitored person. Noncontact Mental State Prediction.
最后应说明的几点是:虽然,上文中已经用一般性说明及具体实施例对本发明作了详尽的描述,但在本发明的基础上,以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Some points that should be explained at last are: although, the present invention has been described in detail with general explanation and specific embodiment above, but on the basis of the present invention, above each embodiment is only in order to illustrate technical scheme of the present invention , but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions described in the foregoing embodiments, or modify some of them Or all technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211170651.6A CN115472264A (en) | 2022-09-23 | 2022-09-23 | Non-contact psychological state prediction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211170651.6A CN115472264A (en) | 2022-09-23 | 2022-09-23 | Non-contact psychological state prediction method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115472264A true CN115472264A (en) | 2022-12-13 |
Family
ID=84334356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211170651.6A Withdrawn CN115472264A (en) | 2022-09-23 | 2022-09-23 | Non-contact psychological state prediction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115472264A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116151494A (en) * | 2023-04-24 | 2023-05-23 | 中国科学院地理科学与资源研究所 | Data processing method, device, device, and computer-readable storage medium |
-
2022
- 2022-09-23 CN CN202211170651.6A patent/CN115472264A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116151494A (en) * | 2023-04-24 | 2023-05-23 | 中国科学院地理科学与资源研究所 | Data processing method, device, device, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jain et al. | A machine learning based depression analysis and suicidal ideation detection system using questionnaires and twitter | |
Jaiswal et al. | Automatic prediction of depression and anxiety from behaviour and personality attributes | |
Wang et al. | Leverage social media for personalized stress detection | |
CN117995399A (en) | Large-scale mental health intelligent evaluation method and system based on multi-modal data | |
Sarsam et al. | Early-stage detection of eye diseases on microblogs: glaucoma recognition | |
CN116759081A (en) | A machine learning-based monitoring and early warning method for adolescents’ psychological and behavioral abnormalities | |
Acharya et al. | Impact of COVID-19 on the human personality: an analysis based on document modeling using machine learning tools | |
CN115472264A (en) | Non-contact psychological state prediction method | |
Beriwal et al. | Techniques for suicidal ideation prediction: a qualitative systematic review | |
Rai et al. | Comparative analysis of machine learning and deep learning techniques in text based emotion detection | |
Latif et al. | Understanding depression detection using social media | |
Poshtiban et al. | Identification of Influential nodes in social networks based on profile analysis | |
Mudannayake et al. | Model development for child developmental milestone assessment | |
Devika et al. | 1D CNN model: BERT-based approach for depression and suicide identification | |
Rybak et al. | Machine Learning Enhanced Decision-Making | |
Mahasiriakalayot et al. | Predicting Signs of Depression from Twitter Messages | |
Roshani et al. | Novel Approach for Enhancing Mental Well-Being Through Machine Learning Techniques | |
Thomas et al. | ViDepBot: Assist people to tackle depression due to COVID using AI techniques | |
Shetty | A deep learning approach for suicide risk assessment using Reddit | |
Zhou et al. | Data classification of mental health and personality evaluation based on network deep learning | |
Zhu et al. | Inferring personality traits from user liked images via weakly supervised dual convolutional network | |
Yoshioka-Maxwell et al. | A Multidisciplinary Study on the Relationship between Foster Care Attributes and Posttraumatic Stress Disorder Symptoms on Foster Youth | |
Kiran et al. | Predicting Human Personality using Multimedia by Employing Machine Learning Technique | |
Puffer et al. | Development and validation of a measure of family functioning in Kenya: a diagnostic accuracy study | |
Roja et al. | Language patterns and sentiment expressions of post-covid patients in social media: A machine learning perspective |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20221213 |