Classroom learning quality evaluation method and device based on expression recognition

By constructing a face expression data set and YOLOv8 model for the classroom environment, combined with the multi-head self-attention mechanism and dynamic heads, the problem of expression recognition in the classroom is solved, the accurate assessment of students' learning quality is achieved, and the teaching effect and assessment consistency are improved. .

CN118710113APending Publication Date: 2024-09-27BEIJING INSTITUTE OF GRAPHIC COMMUNICATION

Patent Information

Application Number
CN202410795289.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the classroom environment, problems such as small expression ranges, unbalanced expression samples, small differences between expression categories and easy confusion make it difficult for existing expression recognition technology to accurately assess students' learning quality, affecting teaching effects.

Method used

Construct a facial expression data set CFacial based on the classroom environment, use YOLOv8 end-to-end target detection and classification model, integrate deformable convolution module and multi-head self-attention mechanism, combine with Wise-IoU positioning loss function and dynamic head, improve the model accuracy The processing and expression capabilities of low-quality expression images are used to quantify student participation by tracking expression categories and frequencies, and combined with the FCE method to calculate classroom quality scores.

Benefits of technology

It effectively improves the ability to extract significant expression features, solves the problems of small expression ranges and unbalanced samples, improves the accuracy of classroom learning quality assessment, and the scores are highly consistent with expert scores, verifying the validity of the assessment results. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710113A
    Figure CN118710113A
Patent Text Reader

Abstract

The invention discloses a classroom learning quality evaluation method and device based on expression recognition, and the method and device can improve the extraction capability of significant expression features, solve the problems of small expression amplitude, unbalanced expression samples, small difference between expression classes, easy confusion, and the like, solve the problem of unbalanced data size of each label, and apply the research result of expression recognition to classroom concentration evaluation. The method comprises the following steps: (1) constructing a facial expression data set CFacid based on a classroom environment, analyzing the influence of the number of labels on an experiment, selecting and using LabelImg to remark a public data set to expand the CFacid, and creating an expanded data set CFPlus; (2) using a YOLOv8 end-to-end target detection and classification model; and (3) evaluating the comprehensive quality of the classroom based on classroom facial expression recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a classroom learning quality assessment method based on expression recognition, and a classroom learning quality assessment device based on expression recognition. Background Art

[0002] Emotion is a crucial characteristic in human communication. In daily interpersonal communication, the use of emotions accounts for 50% of the influence. Therefore, emotion recognition is of great significance. Psychologist Mehrabian's research found that the expression of emotions does not rely entirely on language, but is composed of multiple factors. His research shows that emotional expression includes 7% of language, 38% of gestures and 55% of facial expressions. Facial expressions, in particular, contain rich and intuitive emotional information. With the continuous development of deep learning and the improvement of relevant theoretical knowledge systems, devices such as smartphones and cameras have become popular in people's daily lives. In this era of the Internet of Everything, facial expression recognition has gradually attracted widespread attention from all walks of life. By combining expression recognition technology with machines, the efficiency of recognition can be improved, which will bring great help to applications in medicine, intelligent transportation, criminal investigation, intelligent education and other fields.

[0003] In the field of smart education, with the society's emphasis on education, in recent years, with the rise of online education, students can enjoy the teaching of high-quality teachers no matter where they are. Major universities and even primary and secondary schools have adopted online teaching to provide educational services to students. Online education has become a very effective and irreplaceable teaching method. However, although online education has brought many conveniences to students, the quality of teaching cannot be fully guaranteed like offline teaching. This is because teachers cannot observe students' learning status in real time. In order to solve this problem, expression recognition technology is applied to the field of online education, which can judge students' expression status in real time during class. If the student's emotional state is not good, the teacher can find and remind him in time. Moreover, after class, targeted counseling and communication can be carried out for students with low moods, thereby improving the quality of teaching. Through expression recognition technology, teachers can better understand students' emotions and learning status, provide them with more accurate teaching services, and further improve teaching results.

[0004] Although there are many mature expression recognition technology solutions in an ideal environment, expression recognition research still faces some challenges in actual application scenarios. Especially in the classroom, which is a scene with multiple expressions and small targets, the facial expressions change slightly and the expression duration is short. Some expressions in the six commonly used expression classifications in public data sets have little difference, and there are problems of facial occlusion such as lowering the head and looking back. These factors will interfere with the recognition accuracy of expressions, thus adversely affecting the research on intelligent evaluation of classroom teaching. By solving the challenges in actual application scenarios, expression recognition technology can be effectively used to improve teaching quality and student learning effects. Therefore, the optimization of classroom expression recognition technology and the evaluation method of classroom teaching are of great research value. Summary of the invention

[0005] In order to overcome the defects of the prior art, the technical problem to be solved by the present invention is to provide a classroom learning quality assessment method based on expression recognition, which can improve the ability to extract significant expression features, solve the problems of small expression amplitude, unbalanced expression samples, small differences between expression categories and easy confusion, solve the problem of unbalanced data volume of each label, and apply the research results of expression recognition to classroom concentration evaluation.

[0006] The technical solution of the present invention is: this classroom learning quality assessment method based on expression recognition comprises the following steps:

[0007] (1) Construct a facial expression dataset CFacial based on a classroom environment. By analyzing the impact of the number of labels on the experiment, we choose to use LabelImg to re-annotate the public dataset to expand CFacial and create an expanded dataset CF_Plus.

[0008] (2) Use the YOLOv8 end-to-end object detection and classification model: Integrate the deformable convolution module in the C2f layer of the feature extraction network to enhance the model's ability to capture detailed features;

[0009] The Neck layer introduces a multi-head self-attention mechanism to improve the efficiency of feature fusion; using Wise-

[0010] IoU is used as a positioning loss function to enhance the model's ability to handle low-quality expression images;

[0011] Use dynamic heads as detection heads to adapt the model to targets of different scales and complexity, thus improving the model's expressiveness.

[0012] (3) Evaluate the overall quality of the class based on facial expression recognition: First, track and analyze the types and frequencies of students' expressions at different times to quantify the students' class participation at each time period; then use the FCE method to calculate the class quality score as another evaluation indicator to measure the overall quality of the class; adjust the weights of the two evaluation indicators through iterative optimization, determine the overall quality score of the class through calculation, and compare it with the expert score to verify the consistency between the score and the actual class performance; finally, design a visual interface to display the detection process and results.

[0013] The present invention constructs a facial expression dataset CFacial based on a classroom environment, creates an extended dataset CF_Plus, uses the YOLOv8 end-to-end target detection and classification model, and evaluates the comprehensive quality of the classroom based on classroom facial expression recognition. Therefore, the ability to extract significant expression features can be improved, and the problems of small expression amplitude, unbalanced expression samples, small differences between expression classes and easy confusion can be solved. The problem of unbalanced data volume of each label can be solved, and the research results of expression recognition can be applied to the evaluation of classroom concentration.

[0014] A classroom learning quality assessment device based on expression recognition is also provided, which includes:

[0015] Dataset construction module, which is based on the facial expression dataset in the classroom environment

[0016] CFacial, by analyzing the impact of the number of its various labels on the experiment, chooses to use

[0017] LabelImg re-labels the public dataset to expand CFacial and create an expanded dataset

[0018] CF_Plus;

[0019] The detection and classification module uses the YOLOv8 end-to-end object detection and classification model: the deformable convolution module is integrated in the C2f layer of the feature extraction network to enhance the model's ability to capture detailed features; the multi-head self-attention mechanism is introduced in the Neck layer to improve the efficiency of feature fusion;

[0020] Using Wise-IoU as the positioning loss function enhances the model's ability to process low-quality expression images. Using a dynamic head as the detection head enables the model to adapt to targets of different scales and complexity, improving the model's expressiveness.

[0021] The classroom comprehensive quality evaluation module evaluates the comprehensive quality of the classroom based on classroom facial expression recognition: first, track and analyze the types and frequencies of students' expressions at different times to quantify the students' classroom participation at each time period; then combine the FCE method to calculate the classroom quality

[0022] score as another evaluation indicator to measure the comprehensive quality of the class; adjust the weights of the two evaluation indicators through iterative optimization, determine the comprehensive quality score of the class through calculation, compare it with the expert score, and verify the consistency between the score and the actual classroom performance; finally, design a visual interface to display the detection process and results. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of the classroom learning quality assessment method based on expression recognition according to the present invention.

[0024] Figure 2 The chart shows the changes in students' facial expressions during different time periods.

[0025] Figure 3 An engagement curve is shown.

[0026] Figure 4 A trend graph of expert ratings is shown. DETAILED DESCRIPTION

[0027] With the continuous advancement of educational concepts and the continuous development of emerging technologies, the application of artificial intelligence in the field of education has gradually emerged and become a powerful trend supporting modern education. Facial expressions are the most intuitive way for humans to express emotions. By capturing and analyzing students' classroom expressions in real time, teachers can timely understand students' understanding and feelings of the teaching content, and then adjust teaching strategies to improve teaching quality. However, in the face of complex and changing classroom environments, especially the coexistence of multiple expressions, small target detection, and expression recognition tasks with unclear features, the existing deep learning models and commonly used expression classification have obvious limitations in expressiveness. In addition, classroom quality analysis is often more abstract and difficult to quantify, and there is currently a lack of scientific quantitative methods. Therefore, this paper proposes a classroom learning quality assessment method based on expression recognition.

[0028] like Figure 1 As shown, this classroom learning quality assessment method based on expression recognition includes the following steps:

[0029] (1) Construct a facial expression dataset CFacial based on a classroom environment. By analyzing the impact of the number of labels on the experiment, we choose to use LabelImg to re-annotate the public dataset to expand CFacial and create an expanded dataset CF_Plus.

[0030] (2) Use the YOLOv8 end-to-end object detection and classification model: Integrate the deformable convolution module in the C2f layer of the feature extraction network to enhance the model's ability to capture detailed features;

[0031] The Neck layer introduces a multi-head self-attention mechanism to improve the efficiency of feature fusion; use

[0032] Wise-IoU is used as the positioning loss function to enhance the model's ability to process low-quality expression images. The dynamic head is used as the detection head to make the model adapt to targets of different scales and complexity, thereby improving the model's expressiveness.

[0033] (3) Evaluate the overall quality of the class based on facial expression recognition: First, track and analyze the types and frequencies of students' expressions at different times to quantify the students' class participation at each time period; then use the FCE method to calculate the class quality score as another evaluation indicator to measure the overall quality of the class; adjust the weights of the two evaluation indicators through iterative optimization, determine the overall quality score of the class through calculation, and compare it with the expert score to verify the consistency between the score and the actual class performance; finally, design a visual interface to display the detection process and results.

[0034] The present invention constructs a facial expression dataset CFacial based on a classroom environment, creates an extended dataset CF_Plus, uses the YOLOv8 end-to-end target detection and classification model, and evaluates the comprehensive quality of the classroom based on classroom facial expression recognition. Therefore, the ability to extract significant expression features can be improved, and the problems of small expression amplitude, unbalanced expression samples, small differences between expression classes and easy confusion can be solved. The problem of unbalanced data volume of each label can be solved, and the research results of expression recognition can be applied to the evaluation of classroom concentration.

[0035] Preferably, in step (1), the data set includes four categories of labels: Confused, Happy, Tired, and Other, with 112,233 images, which are divided into a training set, a test set, and a validation set in a ratio of 7:2:1; the Confused class includes expressions of confusion, concentration, or distraction; the Happy class includes expressions of pleasure or relaxation; the Tired class includes expressions of fatigue or boredom; and the Other class includes facial expressions that are blocked by movements, and facial expressions that cannot be recognized when students turn their heads or lean sideways to communicate with others.

[0036] Preferably, in step (1), emotion categories representing boredom and fatigue are selected from the BNU-LSVED dataset and additionally labeled using LabelImg, and these additional labeled samples are incorporated into the CFacial dataset, thereby generating an extended dataset CF_Plus.

[0037] Preferably, in the step (2), the YOLOv8 network structure after adding the variable convolution module embeds the DCN module into the penultimate and third C2f modules in the feature extraction network, corresponding to the convolution modules related to the P3 and P4 detection layers, to enhance the model's recognition ability for small and medium-sized targets.

[0038] Preferably, in step (2), a multi-head self-attention mechanism module is embedded before the two upsampling and two downsampling steps of the Neck part, and the focus on features is enhanced through the attention mechanism before feature fusion, so that the model is sensitive when processing facial expressions in a classroom environment.

[0039] Preferably, in step (2), wise-IoU is used as the positioning loss function to optimize the loss function of YOLOv8.

[0040] Loss WIoU =R WIoU Loss IoU (1)

[0041]

[0042] Preferably, in step (2), using a dynamic head as a detection head comprises:

[0043] The decoupling head separates the regression branch and the classification branch, extracting the target location and category information respectively, so that the network converges quickly during training;

[0044] Predict targets without anchor boxes;

[0045] In the regression branch, YOLOv8 uses the DFL loss function to transform the bounding box coordinate prediction into a distribution.

[0046] Preferably, in step (3), the comprehensive classroom quality assessment includes the following steps:

[0047] (3.1) First, the corresponding values ​​are calculated using the student class participation evaluation algorithm and the FCE-based class quality evaluation algorithm;

[0048] (3.2) Set initial weights for the two evaluation methods, assign different weights to the scores obtained in the first two parts, and combine them to obtain a prediction score;

[0049] (3.3) Use expert scoring to score the actual situation in the classroom, take it as the actual score, calculate the threshold difference between the predicted score and the actual score, and adjust the weight ratio according to the value, repeat steps (3.2) and (3.3), and determine the weight assignment through iterative experiments until the difference between the predicted score and the actual score is around 2 points;

[0050] (3.4) Calculate the final comprehensive classroom quality evaluation score based on the weights determined in step (3.3) and the scores of the two evaluation methods.

[0051] Preferably, in the step (3), the classroom facial expression detection model and the classroom quality assessment method are integrated into a visual user interface using the PyQt5 method, and the interface includes: a left area, which displays the processing effect of the model on the input video; an upper right corner area, which updates in real time a pie chart representing the proportion of student expressions; and a lower right corner area, which displays various indicators calculated based on real-time data, including the student's participation score, the classroom quality score based on FCE, and the total score of the comprehensive classroom quality.

[0052] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes the steps of the above-mentioned embodiment method, and the storage medium can be: ROM / RAM, disk, CD, memory card, etc. Therefore, corresponding to the method of the present invention, the present invention also includes a classroom learning quality assessment device based on expression recognition, which is usually represented in the form of functional modules corresponding to the steps of the method. The device includes:

[0053] Dataset construction module, which is based on the facial expression dataset in the classroom environment

[0054] CFacial, by analyzing the impact of the number of its various labels on the experiment, chooses to use

[0055] LabelImg re-labels the public dataset to expand CFacial and create an expanded dataset

[0056] CF_Plus;

[0057] The detection and classification module uses the YOLOv8 end-to-end object detection and classification model: the deformable convolution module is integrated in the C2f layer of the feature extraction network to enhance the model's ability to capture detailed features; the multi-head self-attention mechanism is introduced in the Neck layer to improve the efficiency of feature fusion;

[0058] Using Wise-IoU as the positioning loss function enhances the model's ability to handle low-quality expression images. Using a dynamic head as the detection head enables the model to adapt to targets of different scales and complexity, improving the model's expressiveness.

[0059] The classroom comprehensive quality evaluation module evaluates the comprehensive quality of the classroom based on classroom facial expression recognition: first, track and analyze the types and frequencies of students' expressions at different times to quantify the students' classroom participation at each time period; then combine the FCE method to calculate the classroom quality

[0060] score as another evaluation indicator to measure the comprehensive quality of the class; adjust the weights of the two evaluation indicators through iterative optimization, determine the comprehensive quality score of the class through calculation, compare it with the expert score, and verify the consistency between the score and the actual classroom performance; finally, design a visual interface to display the detection process and results.

[0061] An embodiment of the present invention is described in detail below.

[0062] This paper mainly evaluates and analyzes the course recording of a university's smart classroom, which is 40 minutes long. The classroom recording is frame-extracted, with one frame extracted every 10 seconds and D-YOLOv8 used for target detection and recognition. Every 5 minutes, the proportion of each type of expression of students in this period is calculated, and the statistics are shown in Table 1.

[0063] Table 1 The proportion of various expressions in a fixed time period

[0064]

[0065]

[0066] In order to more clearly reflect the changes in students' facial expressions at different time periods, this study made the changes in students' facial expressions at different time periods into the following figures: Figure 2 The horizontal axis is the different time periods of the whole class, and the vertical axis is the proportion of student expression changes in different time periods. It can be observed from the chart that during the class, the students' expressions were mainly confused and focused. The fluctuations of the two expressions of happiness and fatigue were relatively stable. In addition, in the last 10 minutes of the class, the number of cases where faces could not be detected (usually students lowering their heads or looking back) increased.

[0067] According to the above values, the student classroom participation evaluation algorithm is used to calculate the student's facial expression participation in each time period, and the statistics are shown in Table 2.

[0068] Table 2 Corresponding participation scores for each period

[0069]

[0070] From the above table, we can get the student participation curve in the whole course as follows Figure 3 shown.

[0071] Figure 3The horizontal axis in the figure represents different periods of the whole class, and the vertical axis represents the score of the participation score. By observing the changing trend of the curve in the figure and the data in the table, it can be found that the students' class participation is stable at around 79 points in the first 20 minutes, but gradually shows a downward trend in the last 20 minutes, especially in the last 10 minutes before the end of get out of class, the participation curve drops to 76.8 points. From this, it can be analyzed that the student participation in this class is high in the first 20 minutes, and the students are more focused. In the last 20 minutes, especially in the period of 30-40 minutes, the student participation drops significantly and the students' concentration decreases. Through calculation, it can be concluded that the average participation of this class is 78.5 points, and the corresponding rating is good.

[0072] According to the above values, the FCE-based classroom quality evaluation algorithm is used to calculate the classroom quality score. First, according to Table 1, the weight matrix can be obtained as shown in formula (3).

[0073]

[0074] According to Table 2, the membership matrix of fuzzy evaluation can be obtained as shown in formula (4).

[0075]

[0076] From the above data, the value of matrix B can be obtained as shown in formula (5).

[0077]

[0078] Assign the values ​​of excellent, good, qualified, and poor to 100, 80, 60, and 50 respectively, and calculate the final scores as shown in formulas (6) and (7).

[0079] f=B·S=(79.6,79.9,79.6,79.6,79.1,79.6,79.1,78.6) (6)

[0080] Final=Max(79.6,79.9,79.6,79.6,79.1,79.6,79.1,78.6)=79.9 (7)

[0081] According to the classroom comprehensive quality evaluation algorithm, the final classroom comprehensive quality score calculated using formula (8) is 79.24 points.

[0082] Comprehensive class quality score = ω1·P+ω2·Final(8)

[0083] This study uses the expert scoring method to evaluate the actual classroom situation. By inviting 8 experienced teachers to observe and evaluate the corresponding classes, the scores were summarized and the average score was obtained as the final score of the actual classroom performance. The actual classroom situation score of this class was 77.47 points. The scoring trends of each period are as follows Figure 4 shown.

[0084] The score calculated by the classroom comprehensive quality evaluation algorithm proposed in this paper is only 1.77 points different from the expert score of the actual classroom, and the scoring trend is similar. This result shows to a certain extent that the algorithm proposed in this paper has a high accuracy in evaluating classroom quality, and its evaluation results are consistent with the actual scores of experts.

[0085] Finally, this study used PyQt5 technology to integrate the proposed classroom facial expression detection model and classroom quality assessment algorithm into a visual user interface.

[0086] The interface consists of three parts. The left area is used to display the processing effect of the model on the input video, that is, the detection of students' facial expressions. The upper right area updates the pie chart representing the proportion of students' expressions in real time. The lower right area displays various indicators calculated based on real-time data, including students' participation scores, classroom quality scores based on FCE, and the total score of classroom comprehensive quality calculated by the algorithm proposed in this study. The design of a visual user interface can more clearly and intuitively present the tasks and results handled by this study, enhancing the application value of the algorithm.

[0087] In order to examine the practical applicability and wide applicability of the model, this study tested and evaluated dull classrooms under conditions of limited resources.

[0088] After the analysis and calculation of the model, the student participation of this class is 63.2 points, the class quality score obtained by the fuzzy comprehensive algorithm is 70.8 points, and finally the comprehensive score calculated by the class comprehensive quality evaluation algorithm is 64.04 points. For the actual situation of this class, the average score of the education experts is mostly concentrated around 62.31 points, which is close to the score obtained by the evaluation algorithm proposed in this paper. This shows to a certain extent that the algorithm proposed in this paper has the ability to effectively distinguish the quality of the class.

[0089] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention are still within the protection scope of the technical solution of the present invention.

Claims

1. A classroom learning quality assessment method based on facial expression recognition, characterized by: The following steps are involved: (1) Construct a facial expression dataset CFacial based on a classroom environment. By analyzing the impact of the number of labels on the experiment, we choose to use LabelImg to re-annotate the public dataset to expand CFacial and create an expanded dataset CF_Plus. (2) Use the YOLOv8 end-to-end object detection and classification model: Integrate a deformable convolution module in the C2f layer of the feature extraction network to enhance the model's ability to capture detailed features; introduce a multi-head self-attention mechanism in the Neck layer to improve feature fusion efficiency; Use Wise- IoU is used as a positioning loss function to enhance the model's ability to process low-quality expression images. The dynamic head is used as the detection head to make the model adapt to targets of different scales and complexity, improving the model's expressiveness. (3) Evaluate the overall quality of the class based on facial expression recognition: First, track and analyze the types and frequencies of students' expressions at different times to quantify the students' class participation at each time period; then use the FCE method to calculate the class quality score as another evaluation indicator to measure the overall quality of the class; adjust the weights of the two evaluation indicators through iterative optimization, determine the overall quality score of the class through calculation, and compare it with the expert score to verify the consistency between the score and the actual class performance; finally, design a visual interface to display the detection process and results.

2. The classroom learning quality assessment method based on expression recognition according to claim 1 is characterized in that: In step (1), the data set contains 4 types of labels: Confused The images are divided into training set, test set and validation set in the ratio of 7:2:

1. The Confused class contains expressions of confusion, concentration or distraction; the Happy class contains expressions of pleasure or relaxation; the Tired class contains expressions of fatigue or boredom; the Other class contains facial expressions that are blocked by movements, and facial expressions that cannot be recognized when students turn their heads or lean sideways to communicate with others.

3. The classroom learning quality assessment method based on expression recognition according to claim 2 is characterized in that: In the step (1), emotion categories representing boredom and fatigue are selected from the BNU-LSVED dataset and additionally labeled using LabelImg, and these additional labeled samples are incorporated into the CFacial dataset to generate an extended dataset CF_Plus.

4. The classroom learning quality assessment method based on expression recognition according to claim 3 is characterized by: In the step (2), the YOLOv8 network structure after adding the variable convolution module embeds the DCN module into the penultimate and third C2f modules in the feature extraction network, corresponding to the convolution modules related to the P3 and P4 detection layers, to enhance the model's recognition ability for small and medium-sized targets.

5. The classroom learning quality assessment method based on expression recognition according to claim 4 is characterized in that: In the step (2), a multi-head self-attention mechanism module is embedded before the two upsampling and two downsampling steps of the Neck part, and the focus on features is enhanced through the attention mechanism before feature fusion, so that the model is sensitive when processing facial expressions in a classroom environment.

6. The method for evaluating classroom learning quality based on facial expression recognition according to claim 5, characterized in that: In step (2), wise-IoU is used as the positioning loss function to optimize the loss function of YOLOv8 Loss WIoU =R WIoU Loss IoU (1) 7. The classroom learning quality assessment method based on expression recognition according to claim 6 is characterized by: In the step (2), using a dynamic head as a detection head comprises: The decoupling head separates the regression branch and the classification branch, extracting the target location and category information respectively, so that the network converges quickly during training; Predict targets without anchor boxes; In the regression branch, YOLOv8 uses the DFL loss function to transform the bounding box coordinate prediction into a distribution.

8. The classroom learning quality assessment method based on expression recognition according to claim 7 is characterized by: In step (3), the comprehensive classroom quality assessment includes the following steps: (3.1) First, the corresponding values ​​are calculated using the student class participation evaluation algorithm and the FCE-based class quality evaluation algorithm; (3.2) Set initial weights for the two evaluation methods, assign different weights to the scores obtained in the first two parts, and combine them to obtain a prediction score; (3.3) Use expert scoring to score the actual situation in the classroom, take it as the actual score, calculate the threshold difference between the predicted score and the actual score, and adjust the weight ratio according to the value, repeat steps (3.2) and (3.3), and determine the weight assignment through iterative experiments until the difference between the predicted score and the actual score is around 2 points; (3.4) Calculate the final comprehensive classroom quality evaluation score based on the weights determined in step (3.3) and the scores of the two evaluation methods.

9. The classroom learning quality assessment method based on expression recognition according to claim 8 is characterized by: In the step (3), the classroom facial expression detection model and the classroom quality assessment method are integrated into a visual user interface using the PyQt5 method. The interface includes: a left area showing the processing effect of the model on the input video; an upper right area, a pie chart representing the proportion of student expressions updated in real time; and a lower right area showing various indicators calculated based on real-time data, including the student's participation score, the classroom quality score based on FCE, and the total score of the comprehensive classroom quality.

10. A classroom learning quality assessment device based on expression recognition, characterized in that: It includes: The dataset construction module is based on the facial expression dataset CFacial in a classroom environment. By analyzing the impact of the number of labels on the experiment, we choose to use LabelImg to re-annotate the public dataset to expand CFacial and create the expanded dataset CF_Plus. The detection and classification module uses the YOLOv8 end-to-end object detection and classification model: the deformable convolution module is integrated in the C2f layer of the feature extraction network to enhance the model's ability to capture detailed features; the multi-head self-attention mechanism is introduced in the Neck layer to improve the efficiency of feature fusion; Using Wise-IoU as the positioning loss function enhances the model's ability to process low-quality expression images. Using a dynamic head as the detection head enables the model to adapt to targets of different scales and complexity, improving the model's expressiveness. The classroom comprehensive quality assessment module assesses the comprehensive quality of the classroom based on classroom facial expression recognition: first, track and analyze the types and frequencies of students' expressions at different times to quantify students' classroom participation at each time period; then use the FCE method to calculate the classroom quality score as another evaluation indicator to measure the comprehensive quality of the classroom; adjust the weights of the two evaluation indicators through iterative optimization, determine the comprehensive quality score of the classroom through calculation, and compare it with the expert score to verify the consistency between the score and the actual classroom performance; finally, design a visual interface to display the detection process and results.

Citation Information

Patent Citations

  • Student classroom learning input degree automatic evaluation method and system based on computer vision

    CN116311060A

  • Classroom concentration detection method and device based on lightweight expression recognition model

    CN117037256A

  • Smart classroom group emotion evaluation method and system based on expression recognition

    CN117496569A

Cited By

  • Learning strategy evaluation and guidance method based on experimental operation sequence pattern mining

    CN121707796A

  • Learning strategy evaluation and guidance method based on experiment operation sequence pattern mining

    CN121707796B