Online training effect evaluation method, device and equipment based on emotion recognition
Through emotion recognition technology, combined with barrage comments and feedback scores, it solves the problem of difficulty in obtaining evaluation and feedback in online training, achieving more accurate training effect evaluation and improved interactivity.
Patent Information
- Application Number
- CN202011306725.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In online training, it is difficult for instructors to intuitively obtain evaluation and feedback from the audience, resulting in limitations of interaction and inaccurate evaluation of training effects.
Through the online training effect evaluation method based on emotion recognition, the deep learning emotion recognition convolutional neural network model is used to identify the emotions of the audience's facial images, generate the emotion recognition results, and conduct integrated analysis based on the barrage comments and feedback scores during the training process. , providing a more objective and accurate evaluation of training effects.
It enables lecturers to adjust the pace of lectures according to changes in audience emotions, improve training effects, and make assessments more accurate and objective through comprehensive assessment results.
Smart Images

Figure CN112418068B
Abstract
Description
Technical Field
[0001] The present application relates to the field of emotion recognition, and in particular to an online training effect evaluation method, apparatus and computer equipment based on emotion recognition. Background Art
[0002] Emotion recognition is a development direction in the field of artificial intelligence. It uses facial expressions, bioelectric information, and motion information as basic signal data for emotion classification calculation to analyze human emotions. As early as the 20th century, experts proposed seven basic expressions through cross-cultural research, namely anger, fear, disgust, happiness, sadness, surprise, and neutrality. After continuous research, it was found that these seven types of emotions cannot fully cover the common emotional expressions in people's daily lives. To address this problem, the concept of composite expressions was proposed, that is, multiple discrete basic expressions can be combined to form a composite expression, which is often intuitively displayed through the proportion of each basic expression.
[0003] Under the influence of the Internet trend, traditional offline training has gradually turned to online. Online training allows lecturers and audiences to break the gap of space and time and spread knowledge more conveniently and efficiently. For example, due to venue limitations, traditional offline training often cannot accommodate tens of thousands of audiences, and if the audience misses offline training, it is difficult to learn again. However, online training also has some major flaws. The most prominent problem is that compared with offline students, online training instructors only face recording equipment and barrage comments on the screen. It is precisely because of this difference that the interaction between online lecturers and audiences is very limited. The audience can better understand the content of the lecturer or anchor, but the lecturer cannot get more intuitive and comprehensive feedback from the audience. Summary of the invention
[0004] The main purpose of this application is to provide an online training effect evaluation method, device and computer equipment based on emotion recognition, aiming to solve the problem that current online training cannot obtain evaluation and feedback from the audience intuitively.
[0005] In order to achieve the above-mentioned invention object, the present application proposes an online training effect evaluation method based on emotion recognition, comprising:
[0006] During the training process, facial images of the audience are collected at a preset frequency to obtain facial images of the audience;
[0007] Performing emotion recognition on the facial image to obtain an emotion recognition result;
[0008] Performing integrated analysis on the emotion recognition results, and sending the analysis results to the training instructor;
[0009] Repeat the above steps until the end of the training, and evaluate the entire training process based on the barrage comments generated during the training, the audience's feedback scores after the training, and the audience's emotional changes during the training.
[0010] Furthermore, the step of performing emotion recognition on the facial image to obtain an emotion recognition result includes:
[0011] Establishing an emotion recognition convolutional neural network model based on deep learning, wherein the emotion recognition convolutional neural network model includes a convolutional layer, a pooling layer, and a fully connected layer;
[0012] Acquire a sample set of facial emotion image data, divide the sample set of facial emotion image data into a sample training set and a test set, respectively use the training set and the test set to train and test the emotion recognition convolutional neural network model, and obtain a trained emotion recognition convolutional neural network model;
[0013] The step of performing emotion recognition on the facial image to obtain an emotion recognition result comprises:
[0014] The facial image is input into the trained emotion recognition convolutional neural network model to obtain the emotion recognition result.
[0015] Furthermore, the emotion recognition convolutional neural network model also includes an input layer for preprocessing facial images, and the steps of preprocessing facial images include:
[0016] Performing grayscale transformation processing on the facial image to obtain a grayscale picture;
[0017] The facial image is subjected to denoising processing to obtain a processed facial image.
[0018] Furthermore, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor includes:
[0019] The emotion recognition results of all viewers are sorted and summarized to generate an emotion classification chart;
[0020] Send the emotion classification chart to the training instructor.
[0021] Furthermore, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor also includes:
[0022] A virtual auditorium is generated on the client of the training instructor, and the emotion recognition result of each audience member is displayed on the virtual audience in the virtual auditorium.
[0023] Furthermore, after the step of sending the emotion classification chart to the training instructor, the step further includes:
[0024] When the proportion of the specified emotions in the emotion classification chart exceeds a preset value, a prompt is given to the training instructor.
[0025] Furthermore, the step of evaluating the entire training process according to the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process includes:
[0026] Collect the barrage comments during the training process, perform sentiment classification on the barrage comments, the classification results include positive comments, neutral comments and negative comments, and obtain the barrage rating according to the preset barrage rating rules;
[0027] Invite all audience members to evaluate the training course and get feedback ratings;
[0028] Obtaining an emotion score according to the emotion classification chart using a preset emotion scoring rule;
[0029] The barrage score, feedback score, and sentiment score are weighted and summed to obtain the final evaluation score.
[0030] The embodiment of the present application also provides an online training effect evaluation device based on emotion recognition, comprising:
[0031] The acquisition module is used to acquire facial images of the audience at a preset frequency during the training process to obtain facial images of the audience;
[0032] An emotion recognition module, used to perform emotion recognition on the facial image to obtain an emotion recognition result;
[0033] An integrated analysis module, used to perform integrated analysis on the emotion recognition results and send the analysis results to the training instructor;
[0034] The evaluation module is used to evaluate the entire training process based on the barrage comments generated during the training process, the audience's feedback scores after the training, and the audience's emotional changes during the training process.
[0035] The present application also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0036] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0037] The online training effect evaluation method, device and computer equipment based on emotion recognition of the present application collects facial images of the audience, uses an emotion recognition model to perform emotion recognition, and sends the emotion recognition results to the training instructor so that the instructor can adjust the lecture rhythm according to the audience's emotional changes, thereby improving the online training effect. It can also combine the barrage comments during the training process and the feedback scores after the training to comprehensively evaluate the online training effect, making the evaluation results more objective and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A flowchart of an online training effect evaluation method based on emotion recognition according to an embodiment of the present application;
[0039] Figure 2 This is a schematic block diagram of the structure of an online training effect evaluation device based on emotion recognition according to an embodiment of the present application;
[0040] Figure 3 A schematic block diagram of the structure of a computer device according to an embodiment of the present application.
[0041] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] Reference Figure 1 In an embodiment of the present application, a method for evaluating the effect of online training based on emotion recognition is provided, comprising the steps of:
[0044] S1. During the training process, facial images of the audience are collected at a preset frequency to obtain facial images of the audience;
[0045] S2, performing emotion recognition on the facial image to obtain an emotion recognition result;
[0046] S3, integrating and analyzing the emotion recognition results, and sending the analysis results to the training instructor;
[0047] S4. Repeat the above steps until the end of the training, and evaluate the entire training process based on the barrage comments generated during the training, the audience's feedback scores after the training, and the audience's emotional changes during the training.
[0048] As described in step S1 above, during the online training process, the facial image of the audience can be collected at a preset frequency, and the collection device is a camera. For example, if the audience uses a mobile terminal such as a mobile phone, a tablet computer, etc. to participate in the online training, then the collection device is the front camera of the mobile terminal. The image collection frequency can be pre-set, or it can be automatically set according to the training duration and training content estimated by the training instructor according to the preset rules. It can be understood that there may be some reasons such as a failure of the collection device, the audience is not facing the collection device, etc., which may result in the inability to collect the facial image of a certain audience. In one embodiment, when the facial image of the same audience is not collected for multiple consecutive times, an interactive window can be generated on the client of the audience's device for watching the online training. The interactive window is used to obtain the current status of the user. If the audience fails to click on the interactive window within the specified time, it means that the audience is not in front of the device or the audience is offline.
[0049] As described in step S2 above, after collecting the facial images of the audience, emotion recognition is performed on these facial images. Emotion recognition can be performed using a network model based on deep learning, for example, a convolutional neural network model can be used to recognize facial images. Compared with the traditional SVM emotion recognition model, the convolutional neural network model has a higher accuracy rate for emotion recognition.
[0050] As described in step S3 above, after obtaining the emotion recognition results of each audience member, the emotion recognition of all audience members can be integrated and analyzed, and the analysis results can be sent to the training instructor so that the training instructor can change the rhythm of the lecture according to the audience's emotions. For example, if the overall emotion analysis scores the highest in the dimension of surprise, the instructor can focus on further supplementing the stated views; if the overall emotion analysis scores high in the dimension of neutrality or disgust, then the instructor needs to change the rhythm to avoid the audience from being distracted or leaving.
[0051] As described in step S4 above, facial recognition is performed by collecting facial images of the audience, and the facial recognition results are integrated and analyzed and sent to the instructor to improve the training effect. In order to make the training effect evaluation G more objective and accurate, this solution also considers the comments made by the audience during the training process and the direct feedback and evaluation of the training course by the audience after the training, and comprehensively evaluates the training effect of the training course by combining the emotion recognition results obtained in the above steps.
[0052] In one embodiment, the step of performing emotion recognition on the facial image to obtain an emotion recognition result includes:
[0053] S201, establishing an emotion recognition convolutional neural network model based on deep learning, wherein the emotion recognition convolutional neural network model includes a convolutional layer, a pooling layer and a fully connected layer;
[0054] S202, obtaining a sample set of facial emotion image data, dividing the sample set of facial emotion image data into a sample training set and a test set, respectively using the training set and the test set to train and test the emotion recognition convolutional neural network model, to obtain a trained emotion recognition convolutional neural network model;
[0055] The step of performing emotion recognition on the facial image to obtain an emotion recognition result comprises:
[0056] S21. Input the facial image into the trained emotion recognition convolutional neural network model to obtain the emotion recognition result.
[0057] As described above, the emotion recognition convolutional neural network includes a convolutional layer, a pooling layer and a fully connected layer, wherein the convolutional layer is used for feature extraction, the pooling layer is used for feature dimension compression, and the fully connected layer is used for emotion recognition classification. Among them, the fully connected layer includes 7 classifiers, each classifier corresponds to an emotion, namely anger, fear, disgust, happiness, sadness, surprise and neutrality. Through the fully connected layer, the probability of the facial image corresponding to each classifier can be obtained, and from the 7 probabilities, the emotional state with the highest probability is selected as the emotional state of the face in the facial image.
[0058] As shown in the following table, if the model output result is as shown in the following table, it means that the emotional state of the facial image is "surprise" corresponding to classifier 6.
[0059] Table 1:
[0060] Fully connected layer Classifier 1 Classifier 2 Classifier 3 Classifier 4 Classifier 5 Classifier 6 Classifier 7 Facial images 0% 8% 2% 1% 2% 80% 7%
[0061] In a specific embodiment, the emotion recognition convolutional neural network model further includes an input layer for preprocessing facial images, and the steps of preprocessing facial images include:
[0062] S211, performing grayscale transformation processing on the facial image to obtain a grayscale picture;
[0063] S212: Perform denoising processing on the facial image to obtain a processed facial image.
[0064] As mentioned above, a grayscale image refers to an image that contains only brightness information but no color information. Grayscale conversion processing is the process of converting a to-be-recognized image that contains brightness and color into a grayscale image. The grayscale conversion processing is performed on the to-be-recognized face image using a preset grayscale value conversion function according to formula (1): g(x, y) = T(f(x, y), wherein f is the to-be-recognized face image, T is the preset grayscale value conversion function, g is the grayscale image, x and y represent the horizontal coordinate and vertical coordinate in the to-be-recognized face image, respectively, f(x, y) represents the pixel value corresponding to the coordinate point (x, y) in the to-be-recognized face image, and g(x, y) represents the pixel value corresponding to the coordinate point (x, y) in the grayscale image. Image noise refers to unnecessary or redundant interference information existing in image data, such as Gaussian noise, Rayleigh noise, gamma noise, and salt and pepper noise. Noise may affect the recognition of face images. Therefore, mean filtering, median filtering, or Wiener filtering can be used to remove noise from grayscale images.
[0065] In one embodiment, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor includes:
[0066] S31, sorting and summarizing the emotion recognition results of all viewers to generate an emotion classification chart;
[0067] S32: Send the emotion classification chart to a training instructor.
[0068] As described above, the emotion classification chart can be in the form of a bar chart or a pie chart, so that the trainer can have an overall understanding of the overall emotional state of the audience, so as to adjust his or her own lecture rhythm. When the frequency of facial image acquisition is high, the emotion classification chart can also be presented to the trainer in the form of a dynamic chart, so that the trainer can have a more dynamic and intuitive understanding of the emotional changes of the audience.
[0069] In one embodiment, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor further includes:
[0070] S301, generating a virtual auditorium on the client of the training instructor, and displaying the emotion recognition result of each audience member on the virtual audience in the virtual auditorium.
[0071] As described above, by generating virtual audiences, the overall emotional state of the audience can be displayed more intuitively. Specifically, specific colors can be set for specific emotional states, for example, emotions that can directly reflect the audience's emotional evaluation of the training content, such as "surprise", can be set to blue, "disgust" can be set to red, and other states can be set to green, etc. The training instructor can more intuitively understand the emotional changes of the audience through the emotional colors and color changes of the virtual auditorium, so that he can adjust the rhythm of the lecture in time and improve the training effect.
[0072] In one embodiment, after the step of sending the emotion classification chart to the training instructor, the step further includes:
[0073] S321. When the proportion of the specified emotions in the emotion classification chart exceeds a preset value, a prompt is given to the training instructor.
[0074] As described above, during the lecture, although the emotion classification chart is sent to the lecturer, the lecturer may be more focused on the lecture and cannot pay attention to the emotional changes of the audience in real time. In this embodiment, when the proportion of the specified emotion exceeds the preset value, for example, when the overall proportion of the audience's "surprised" expression exceeds 30%, a prompt can be generated and sent to the lecturer, and the prompt can be a sound prompt or a pop-up prompt.
[0075] In one embodiment, the step of evaluating the entire training process based on the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process includes:
[0076] S41, collecting barrage comments during the training process, performing sentiment classification on the barrage comments, the classification results including positive comments, neutral comments and negative comments, and obtaining barrage ratings according to a preset barrage rating rule;
[0077] S42. Invite all audience members to evaluate the training course and obtain feedback scores;
[0078] S43, obtaining an emotion score according to the emotion classification chart using a preset emotion scoring rule;
[0079] S44, performing weighted summation on the barrage score, feedback score, and sentiment score to obtain a final evaluation score.
[0080] As described above, the weighted summation method can be used to evaluate the entire training process by comprehensively considering the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process. The process of sentiment classification of barrage comments can be implemented using a machine learning model, and the preset rules can be manually designed rules to determine the barrage score based on the proportion of positive comments, neutral comments, and negative comments. In the process of determining the emotional score, the preset rules can formulate corresponding scoring rules based on the proportion of negative emotions such as "surprise" and "disgust", thereby obtaining an emotional score.
[0081] The online training effect evaluation method based on emotion recognition in the embodiment of the present application collects facial images of the audience, uses an emotion recognition model to perform emotion recognition, and sends the emotion recognition results to the training instructor so that he can adjust the lecture rhythm according to the changes in the audience's emotions, thereby improving the online training effect. It can also combine the barrage comments during the training process and the feedback scores after the training to comprehensively evaluate the online training effect, making the evaluation results more objective and accurate.
[0082] Reference Figure 2 In an embodiment of the present application, there is also provided an online training effect evaluation device based on emotion recognition, comprising:
[0083] The acquisition module 1 is used to acquire facial images of the audience at a preset frequency during the training process to obtain facial images of the audience;
[0084] Emotion recognition module 2, used for performing emotion recognition on the facial image to obtain an emotion recognition result;
[0085] An integrated analysis module 3 is used to integrate and analyze the emotion recognition results and send the analysis results to the training instructor;
[0086] Evaluation module 4 is used to evaluate the entire training process based on the barrage comments generated during the training process, the audience's feedback scores after the training, and the audience's emotional changes during the training process.
[0087] In one embodiment, the online training effect evaluation device based on emotion recognition further includes:
[0088] A model creation unit, used to establish an emotion recognition convolutional neural network model based on deep learning, wherein the emotion recognition convolutional neural network model includes a convolutional layer, a pooling layer, and a fully connected layer;
[0089] A model training unit is used to obtain a sample set of facial emotion image data, divide the sample set of facial emotion image data into a sample training set and a test set, and respectively use the training set and the test set to train and test the emotion recognition convolutional neural network model to obtain a trained emotion recognition convolutional neural network model;
[0090] The emotion recognition module 2 includes an emotion recognition unit, which is used to input the facial image into the trained emotion recognition convolutional neural network model to obtain the emotion recognition result.
[0091] In a specific embodiment, the emotion recognition module 2 further includes a preprocessing unit for preprocessing facial images, and the preprocessing unit includes:
[0092] A grayscale conversion unit, used for performing grayscale conversion processing on the facial image to obtain a grayscale picture;
[0093] The denoising unit is used to perform denoising processing on the facial image to obtain a processed facial image.
[0094] In one embodiment, the integrated analysis module 3 includes:
[0095] A sorting unit is used to sort and summarize the emotion recognition results of all viewers and generate an emotion classification chart;
[0096] The sending unit is used to send the emotion classification chart to the training instructor.
[0097] In a specific embodiment, the integrated analysis module 3 further includes:
[0098] The virtual audience generation and display unit is used to generate a virtual auditorium on the client of the training instructor, and display the emotion recognition result of each audience member on the virtual audience in the virtual auditorium.
[0099] In a specific embodiment, the integrated analysis module 3 further includes:
[0100] The prompting unit is used to send a prompt to the training instructor when the proportion of the specified emotions in the emotion classification chart exceeds a preset value.
[0101] In one embodiment, the evaluation module 4 includes:
[0102] A barrage scoring unit is used to collect barrage comments during the training process, perform sentiment classification on the barrage comments, and the classification results include positive comments, neutral comments and negative comments, and obtain barrage scores according to preset barrage scoring rules;
[0103] Feedback rating unit, used to invite all audiences to evaluate the training course and obtain feedback ratings;
[0104] An emotion scoring unit, used to obtain an emotion score according to the emotion classification chart using a preset emotion scoring rule;
[0105] The comprehensive scoring unit is used to perform weighted summation on the barrage score, feedback score, and sentiment score to obtain a final evaluation score.
[0106] As described above, it can be understood that the various components of the online training effect evaluation device based on emotion recognition proposed in this application can realize the functions of any one of the online training effect evaluation methods based on emotion recognition as described above, and the specific structure will not be repeated.
[0107] Reference Figure 3 In the embodiment of the present application, a computer device is also provided. The computer device may be a server, and its internal structure may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for collected facial images, emotion recognition results and other data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an online training effect evaluation method based on emotion recognition is implemented.
[0108] The processor executes the above-mentioned online training effect evaluation method based on emotion recognition, including:
[0109] During the training process, facial images of the audience are collected at a preset frequency to obtain facial images of the audience;
[0110] Performing emotion recognition on the facial image to obtain an emotion recognition result;
[0111] Performing integrated analysis on the emotion recognition results, and sending the analysis results to the training instructor;
[0112] Repeat the above steps until the end of the training, and evaluate the entire training process based on the barrage comments generated during the training, the audience's feedback scores after the training, and the audience's emotional changes during the training.
[0113] In one embodiment, the step of performing emotion recognition on the facial image to obtain an emotion recognition result includes:
[0114] Establishing an emotion recognition convolutional neural network model based on deep learning, wherein the emotion recognition convolutional neural network includes a convolutional layer, a pooling layer, and a fully connected layer;
[0115] Acquire a sample set of facial emotion image data, divide the sample set of facial emotion image data into a sample training set and a test set, respectively use the training set and the test set to train and test the emotion recognition convolutional neural network model, and obtain a trained emotion recognition convolutional neural network model;
[0116] The facial image is input into the trained emotion recognition convolutional neural network model to obtain the emotion recognition result.
[0117] In one embodiment, the emotion recognition convolutional neural network model further includes an input layer for preprocessing facial images, and the steps of preprocessing facial images include:
[0118] Performing grayscale transformation processing on the facial image to obtain a grayscale picture;
[0119] The facial image is subjected to denoising processing to obtain a processed facial image.
[0120] In one embodiment, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor includes:
[0121] The emotion recognition results of all viewers are sorted and summarized to generate an emotion classification chart;
[0122] Send the emotion classification chart to the training instructor.
[0123] In one embodiment, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor further includes:
[0124] A virtual auditorium is generated on the client of the training instructor, and the emotion recognition result of each audience member is displayed on the virtual audience in the virtual auditorium.
[0125] In one embodiment, after the step of sending the emotion classification chart to the training instructor, the step further includes:
[0126] When the proportion of the specified emotions in the emotion classification chart exceeds a preset value, a prompt is given to the training instructor.
[0127] In one embodiment, the step of evaluating the entire training process based on the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process includes:
[0128] Collect the barrage comments during the training process, perform sentiment classification on the barrage comments, the classification results include positive comments, neutral comments and negative comments, and obtain the barrage rating according to the preset barrage rating rules;
[0129] Invite all audience members to evaluate the training course and get feedback ratings;
[0130] Obtaining an emotion score according to the emotion classification chart using a preset emotion scoring rule;
[0131] The barrage score, feedback score, and sentiment score are weighted and summed to obtain the final evaluation score.
[0132] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, an online training effect evaluation method based on emotion recognition is implemented, including:
[0133] During the training process, facial images of the audience are collected at a preset frequency to obtain facial images of the audience;
[0134] Performing emotion recognition on the facial image to obtain an emotion recognition result;
[0135] Performing integrated analysis on the emotion recognition results, and sending the analysis results to the training instructor;
[0136] Repeat the above steps until the end of the training, and evaluate the entire training process based on the barrage comments generated during the training, the audience's feedback scores after the training, and the audience's emotional changes during the training.
[0137] In one embodiment, the step of performing emotion recognition on the facial image to obtain an emotion recognition result includes:
[0138] Establishing an emotion recognition convolutional neural network model based on deep learning, wherein the emotion recognition convolutional neural network includes a convolutional layer, a pooling layer, and a fully connected layer;
[0139] Acquire a sample set of facial emotion image data, divide the sample set of facial emotion image data into a sample training set and a test set, respectively use the training set and the test set to train and test the emotion recognition convolutional neural network model, and obtain a trained emotion recognition convolutional neural network model;
[0140] The facial image is input into the trained emotion recognition convolutional neural network model to obtain the emotion recognition result.
[0141] In one embodiment, the emotion recognition convolutional neural network model further includes an input layer for preprocessing facial images, and the steps of preprocessing facial images include:
[0142] Performing grayscale transformation processing on the facial image to obtain a grayscale picture;
[0143] The facial image is subjected to denoising processing to obtain a processed facial image.
[0144] In one embodiment, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor includes:
[0145] The emotion recognition results of all viewers are sorted and summarized to generate an emotion classification chart;
[0146] Send the emotion classification chart to the training instructor.
[0147] In one embodiment, the step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor further includes:
[0148] A virtual auditorium is generated on the client of the training instructor, and the emotion recognition result of each audience member is displayed on the virtual audience in the virtual auditorium.
[0149] In one embodiment, after the step of sending the emotion classification chart to the training instructor, the step further includes:
[0150] When the proportion of the specified emotions in the emotion classification chart exceeds a preset value, a prompt is given to the training instructor.
[0151] In one embodiment, the step of evaluating the entire training process based on the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process includes:
[0152] Collect the barrage comments during the training process, perform sentiment classification on the barrage comments, the classification results include positive comments, neutral comments and negative comments, and obtain the barrage rating according to the preset barrage rating rules;
[0153] Invite all audience members to evaluate the training course and get feedback ratings;
[0154] Obtaining an emotion score according to the emotion classification chart using a preset emotion scoring rule;
[0155] The barrage score, feedback score, and sentiment score are weighted and summed to obtain the final evaluation score.
[0156] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0157] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.
[0158] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An online training effect evaluation method based on emotion recognition, characterized in that: include: During the training process, facial images of the audience are collected at a preset frequency to obtain facial images of the audience; Performing emotion recognition on the facial image to obtain an emotion recognition result; Performing integrated analysis on the emotion recognition results, and sending the analysis results to the training instructor; The entire training process is evaluated based on the barrage comments generated during the training, the audience's feedback scores after the training, and the audience's emotional changes during the training; After the step of collecting facial images of the audience at a preset frequency, the method further includes: When the facial image of the same audience member is not collected for multiple consecutive times, an interactive window is generated on the client of the audience's device for watching online training, and the interactive window is used to obtain the current status of the user. If the audience member fails to click on the interactive window within a specified time, it is determined that the audience member is not in front of the device or is offline; The step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor comprises: The emotion recognition results of all viewers are sorted and summarized to generate an emotion classification chart; Sending the emotion classification chart to a training instructor; The step of evaluating the entire training process based on the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process includes: Collect the barrage comments during the training process, perform sentiment classification on the barrage comments, the classification results include positive comments, neutral comments and negative comments, and obtain the barrage rating according to the preset barrage rating rules; Invite all audience members to evaluate the training course and get feedback ratings; Obtaining an emotion score according to the emotion classification chart using a preset emotion scoring rule; The barrage score, feedback score, and sentiment score are weighted and summed to obtain the final evaluation score.
2. The online training effect evaluation method based on emotion recognition according to claim 1 is characterized in that: The step of performing emotion recognition on the facial image to obtain an emotion recognition result includes: Establishing an emotion recognition convolutional neural network model based on deep learning, wherein the emotion recognition convolutional neural network model includes a convolutional layer, a pooling layer, and a fully connected layer; Acquire a sample set of facial emotion image data, divide the sample set of facial emotion image data into a sample training set and a test set, respectively use the training set and the test set to train and test the emotion recognition convolutional neural network model, and obtain a trained emotion recognition convolutional neural network model; The step of performing emotion recognition on the facial image to obtain an emotion recognition result comprises: The facial image is input into the trained emotion recognition convolutional neural network model to obtain the emotion recognition result.
3. The online training effect evaluation method based on emotion recognition according to claim 2 is characterized in that: The emotion recognition convolutional neural network model also includes an input layer for preprocessing facial images. The steps of preprocessing facial images include: Performing grayscale transformation processing on the facial image to obtain a grayscale picture; The facial image is subjected to denoising processing to obtain a processed facial image.
4. The online training effect evaluation method based on emotion recognition according to claim 1 is characterized in that: The step of integrating and analyzing the emotion recognition results and sending the analysis results to the training instructor also includes: A virtual auditorium is generated on the client of the training instructor, and the emotion recognition result of each audience member is displayed on the virtual audience in the virtual auditorium.
5. The online training effect evaluation method based on emotion recognition according to claim 1 is characterized in that: The step of sending the emotion classification chart to the training instructor also includes: When the proportion of the specified emotions in the emotion classification chart exceeds a preset value, a prompt is given to the training instructor.
6. An online training effect evaluation device based on emotion recognition, used to implement the method described in any one of claims 1 to 5, characterized in that: include: The acquisition module is used to acquire facial images of the audience at a preset frequency during the training process to obtain facial images of the audience; An emotion recognition module, used to perform emotion recognition on the facial image to obtain an emotion recognition result; An integrated analysis module, used to perform integrated analysis on the emotion recognition results and send the analysis results to the training instructor; The evaluation module is used to evaluate the entire training process based on the barrage comments generated during the training process, the feedback scores of the audience after the training, and the emotional changes of the audience during the training process; After collecting facial images of the audience at a preset frequency, the method further includes: When the facial image of the same audience member is not collected for multiple consecutive times, an interactive window is generated on the client of the audience's device for watching online training. The interactive window is used to obtain the user's current status. If the audience fails to click on the interactive window within the specified time, it is determined that the audience is not in front of the device or is offline.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
