Online course student learning behavior recognition system based on artificial intelligence technology

Through artificial intelligence deep learning neural network and generative adversarial network, the learning status of students in online classes is identified, which solves the problem of difficulty in identifying learning status in the existing technology, achieves accurate assessment of students' learning status, and provides data support for teachers. .

CN112270277BInactive Publication Date: 2024-09-20HUNAN GREAT WALL TECH INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011203539.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-02
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately identify students' learning status in online classes, such as boredom, fatigue, dozing off and other behaviors. It lacks data support and affects the evaluation of teachers' teaching effectiveness.

Method used

A deep learning neural network based on artificial intelligence is combined with a generative adversarial network to design a human expression recognition and behavior recognition system. Through face detection, information repair and behavior recognition modules, students' learning status can be identified in real time.

Benefits of technology

It provides accurate identification of students' learning status, provides data support for teachers' teaching effect evaluation, and improves the scientificity and accuracy of online course teaching effect evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112270277B
    Figure CN112270277B
Patent Text Reader

Abstract

The present invention provides an online course student learning behavior recognition system based on artificial intelligence technology. The online course student learning behavior recognition system based on artificial intelligence technology includes a human expression recognition system or / and a human behavior recognition system, the human expression recognition system recognizes students' micro-expressions including boredom and fatigue, the human behavior recognition system recognizes students' behaviors including dozing off, lack of focus, and slacking off, the human expression recognition system or / and the human behavior recognition system recognize students' learning status through a deep learning neural network, and outputs the effect of students' learning status. The present invention can realize the automatic recognition of the learning status of students taking online courses, and provide data support for the evaluation of teachers' teaching effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network teaching, and in particular to an online course student learning behavior recognition system based on artificial intelligence technology. Background Art

[0002] When evaluating the teaching effect of online courses, the learning status of students is an important evaluation indicator. In the past, teachers manually evaluated the students' class status through visual observation, lacking a basis for quantitative analysis, and there was no data support for the evaluation of teachers' teaching effectiveness. When taking online courses again, it is difficult to identify students' expressions and behaviors (raising hands, dozing off, and being absent-minded, etc.) during online course learning. It is difficult to identify and count students' micro-expressions of boredom and fatigue, dozing off, not paying attention to courseware, and sleeping on the table. It is impossible to evaluate students' class status and it is difficult to understand the teaching effect of teachers. Summary of the invention

[0003] The present invention provides an online course student learning behavior recognition system based on artificial intelligence technology, which aims to solve the technical problems in the background technology that students' expressions and behaviors such as raising hands, dozing off and being absent are difficult to recognize, and the evaluation of teachers' teaching effectiveness has no data support.

[0004] In order to achieve the above-mentioned purpose, an embodiment of the present invention provides an online course student learning behavior recognition system based on artificial intelligence technology, including a human expression recognition system or / and a human behavior recognition system. The human expression recognition system recognizes students' micro-expressions including boredom and fatigue, and the human behavior recognition system recognizes students' behaviors including dozing off, lack of focus, and absent-mindedness. The human expression recognition system or / and the human behavior recognition system recognizes students' learning status through a deep learning neural network and outputs the students' learning status effect.

[0005] Preferably, the human expression recognition system comprises the following steps:

[0006] Step S1, face detection and face normalization: using a multi-task cascade convolutional neural network to achieve the regression of face frames and face key points;

[0007] Step S2, face information restoration: fit the complete face information of the student through the generative adversarial network. If the face information in step S1 is complete, skip this step;

[0008] Step S3, facial expression recognition: input the complete facial image into the facial expression recognition module, and output the network architecture of the confirmed facial expression information.

[0009] Preferably, the human behavior recognition system specifically comprises the following steps:

[0010] Step S4, student location detection: locate the student's position from the environment;

[0011] Step S5, student local information repair: fitting the student face local complete information through the generative adversarial network to obtain the student local complete information;

[0012] Step S6, student behavior identification: Through the student behavior identification module, the output is the confirmed student behavior in class.

[0013] Preferably, the student local information repair in step S5 and the facial information repair in step S2 are both performed by generative adversarial network, and the student behavior recognition in step S6 and the facial expression recognition in step S3 are both performed by deep learning neural network method.

[0014] Preferably, step S1 comprises the following steps:

[0015] Step S11, obtaining multi-size target face images: constructing an image pyramid through a multi-task cascade convolutional neural network, and then compressing the image into target face image pyramids of different sizes through a scaling formula of the image pyramid;

[0016] Step S12: input the image pyramid of a specific size into the P-Net convolutional neural network for calibration, and obtain the regression of the face frame and the key points of the face;

[0017] Step S13: input the image pyramid of a specific size into the R-Net convolutional neural network to remove a large number of non-face frames;

[0018] Step S14: input the image pyramid of a specific size into the O-Net convolutional neural network to give a regression of the key points of the face;

[0019] Step S15: finally calibrate the aligned face images obtained by the multi-task cascade convolutional neural network and adjust them to obtain images of uniform size.

[0020] Preferably, in step S11, the scaling formula of the image pyramid is as follows: n can be any natural number;

[0021] In the above formula, 12 represents the minimum size of the image obtained by the Gaussian pyramid, n refers to the number of images that can be scaled by the image pyramid, dst: destination target image size, src: source original image size, factor is the scaling ratio, and minisize is the minimum face size;

[0022] The step S12 is specifically as follows: P-Net is a candidate network for the face region, a pyramid image of size X*Y*Z is input to the network, after convolution of the Z layer, it is determined whether there is a face in the X*Y image, and the frame is calibrated using the non-maximum suppression algorithm to give the regression of the face frame and the face key points;

[0023] In step S13, the size of the obtained face frame is changed to 2X*2Y*Z and input into R-Net, which has an additional fully connected layer to suppress artifacts;

[0024] In step S14, the size of the obtained face frame is changed to 4X*4Y*Z and input into O-Net. O-Net has one more convolutional layer than R-Net, which is responsible for the regression of face key points, and finally obtains the key positions and key points of the face.

[0025] Preferably, the step S4, student positioning detection specifically adopts an image feature fusion method based on directional gradient histogram to perform positioning detection, specifically adopts visual activation to select local gradient statistics with significant directionality to form a fused directional gradient histogram, and inputs these fused features into a linear support vector machine to train and obtain a human body and background binary classifier for human body detection.

[0026] Preferably, the step S2, restoring face information, comprises the following steps:

[0027] Step S21, select keras as the framework building platform for deep learning, and use convolutional neural network as the restoration network model of occluded local information to create a deep convolutional neural network model for occluded image restoration;

[0028] Step S22, building a student local information image restoration model;

[0029] Step S23, compile the model, use the cross entropy loss function, and optimize the function as the Adam algorithm function;

[0030] Step S24, training the model using a real occlusion recognition data set: start training, first train the generator to obtain a fuzzy filling content, then add the discriminator adversarial training to make the generative adversarial network model reach a balance;

[0031] Step S25: Use the test set to verify the model;

[0032] Step S26, saving the network simulation file of the training result;

[0033] Step S27: After the model training is completed, the occluded image restoration stage is entered: the aligned occluded image of a specific size M*N is input into the model, and the occluded part is fitted through the model to obtain a complete image.

[0034] Preferably, the generation model building in the occluded image restoration in step S27 specifically includes the following steps:

[0035] Step S2701: Input the occluded image into the first convolution layer, which contains 64 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map;

[0036] Step S2702: the first output layer is followed by a normalization layer and an activation layer, and the activation function is Relu;

[0037] Step S2703, repeat the operations of step S2701 and step S2702 once;

[0038] Step S2704: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0039] Step S2705: Connect the pooled feature map to the third convolution layer, which contains 128 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map.

[0040] Step S2706: the output layer is followed by a normalization layer and an activation layer, and the activation function is ReLU;

[0041] Step S2707, repeat the operations of step S2705 and step S2706 once;

[0042] Step S2708: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0043] Step S2709: Connect the pooled feature map to the fifth convolution layer, which contains 256 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map.

[0044] Step S2710: the output layer is followed by a normalization layer and an activation layer, and the activation function is Relu;

[0045] Step S2711, repeat step S2709 and step S2710 three times;

[0046] Step S2712: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0047] Step S2713: Connect the pooled feature map to the ninth convolution layer, which contains 512 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map.

[0048] Step S2714: the output layer is followed by a normalization layer and an activation layer, and the activation function is Relu;

[0049] Step S2715, repeat the operations of step S2713 and step S2714 once;

[0050] Step S2716: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0051] Step S2717: Pass the pooled feature map through a flattening layer to convert the multi-dimensional input into a one-dimensional feature vector.

[0052] Step S2718, then connect the fully connected layer, and the output nodes are 1024;

[0053] Step S2719, the process of the decoder, the decoder and the encoder are inverse processes, the encoder is downsampling, and the decoder is upsampling.

[0054] Preferably, the step S3, facial expression recognition, specifically comprises the following steps:

[0055] Step S31, select keras as the framework building platform for deep learning, and use deep convolutional neural network as face identity recognition to create a classifier model for face identity recognition;

[0056] Step S32, building a classifier model for facial expression recognition;

[0057] Step S33, start training, train the generator, discriminator and classifier together: initially use half of the inpainted image and half of the unoccluded image to train the discriminator, and only use the unoccluded image to train the classifier. After 50 iterations, add the inpainted image to the classifier for training;

[0058] Step S34: Use the test set to verify the model;

[0059] Step S35, saving the network simulation file of the training result;

[0060] Step S36, inputting the occluded image into the model and comparing it with the facial expression information in the database;

[0061] Step S37, obtaining and outputting facial expression information.

[0062] The technical effects that can be achieved by adopting the present invention are as follows: providing an online course student learning behavior recognition system based on artificial intelligence technology, which can identify the expressions and behaviors (raising hands, dozing off, and being absent-minded, etc.) of students in the online course learning. First, the video images of the students in the class are taken in real time through the camera of the mobile phone or laptop computer taking the online course; then the software module is designed, which is divided into student expression recognition to identify the micro-expressions of students who are bored and tired; at the same time, a behavior recognition system for students who doze off, are not focused on reading courseware, and sleep on the table is designed. Finally, a deep learning network is designed to combine student expressions and common behavioral characteristics in class, and finally identify the student's class status, providing data basis for the teacher's teaching effect evaluation. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 It is a structural diagram of the online course student learning behavior recognition system based on artificial intelligence technology of the present invention. DETAILED DESCRIPTION

[0064] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0065] In view of the existing problems, the present invention provides an online course student learning behavior recognition system based on artificial intelligence technology, such as Figure 1 As shown, it includes a human expression recognition system and / or a human behavior recognition system, wherein the human expression recognition system recognizes students' micro-expressions including boredom and fatigue, and the human behavior recognition system recognizes students' behaviors including dozing off, lack of focus, and absent-mindedness. The human expression recognition system and / or the human behavior recognition system recognizes students' learning status through a deep learning neural network and outputs the students' learning status effect.

[0066] The human expression recognition system comprises the following steps:

[0067] Step S1, face detection and face normalization: using a multi-task cascade convolutional neural network to achieve the regression of face frames and face key points;

[0068] Step S2, face information restoration: fit the complete face information of the student through the generative adversarial network. If the face information in step S1 is complete, skip this step;

[0069] Step S3, facial expression recognition: input the complete facial image into the facial expression recognition module, and output the network architecture of the confirmed facial expression information.

[0070] The human behavior recognition system specifically comprises the following steps:

[0071] Step S4, student location detection: locate the position of the student in the environment; specifically, use an image feature fusion method based on directional gradient histogram for location detection, specifically use visual activation to select local gradient statistics with significant directionality to form a fused directional gradient histogram, input these fused features into a linear support vector machine, and train to obtain a human body and background binary classifier for human body detection;

[0072] Step S5, student local information repair: fitting the student face local complete information through the generative adversarial network to obtain the student local complete information;

[0073] Step S6, student behavior identification: Through the student behavior identification module, the output is the confirmed student behavior in class.

[0074] The step S1 comprises the following steps:

[0075] Step S11, obtaining multi-size target face images: constructing an image pyramid through a multi-task cascade convolutional neural network, and then compressing the image into target face image pyramids of different sizes through a scaling formula of the image pyramid;

[0076] The scaling formula for the image pyramid is as follows: n can be any natural number;

[0077] In the above formula, 12 represents the minimum size of the image obtained by the Gaussian pyramid, n refers to the number of images that can be scaled by the image pyramid, dst: destination target image size, src: source original image size, factor is the scaling ratio, and minisize is the minimum face size;

[0078] Step S12: input the image pyramid of a specific size into the P-Net convolutional neural network for calibration, and give the regression of the face frame and the key points of the face; specifically: P-Net is a candidate network for the face area, and a pyramid image of size X*Y*Z is input into the network. After convolution of the Z layer, it is determined whether there is a face in the X*Y image, and the frame is calibrated using the non-maximum suppression algorithm to give the regression of the face frame and the key points of the face;

[0079] Step S13: Input the image pyramid of a specific size into the R-Net convolutional neural network to remove a large number of non-face frames; change the size of the obtained face frame to 2X*2Y*Z and input it into the R-Net, which has an additional fully connected layer to suppress artifacts;

[0080] Step S14: Input the image pyramid of a specific size into the O-Net convolutional neural network to give the regression of the key points of the face; change the size of the obtained face frame to 4X*4Y*Z and input it into the O-Net. The O-Net has one more convolutional layer than the R-Net layer, which is responsible for the regression of the key points of the face, and finally obtain the key positions and key points of the face;

[0081] Step S15: finally calibrate the aligned face images obtained by the multi-task cascade convolutional neural network and adjust them to obtain images of uniform size.

[0082] In a preferred embodiment of the present invention, the step S1, face detection and face normalization is specifically as follows:

[0083] 1. First, the multi-task cascade convolutional neural network MTCNN network constructs an image pyramid, compresses the same image into different scales through downsampling to generate an image pyramid to solve the multi-scale problem of face targets. The scaling formula of the image pyramid is as follows:

[0084] n can be any natural number;

[0085] 2. Send the pyramid image to P-Net, which is a candidate network for face regions. The network takes a 12*12*3 image as input. After three layers of convolution, it determines whether there is a face in the 12*12 image and uses the non-maximum suppression algorithm (NMS) to calibrate the border and give the regression of the face frame and the face key points.

[0086] The model input of P-Net is a 12*12*3 image. Through 10 3*3*3 convolution kernels and 2*2 MaxPoolin maximum pooling layer (stride=2), 10 5*5 feature maps are generated. Then, through 16 3*3*10 convolution kernels, 16 3*3 feature maps are generated. Then, through 32 3*3*16 convolution kernels, 32 1*1 feature maps are generated. Finally, for the 32 1*1 feature maps, 2 1*1*32 convolution kernels can be used to generate 2 1*1 feature maps for classification; 4 1*1*32 convolution kernels can be used to generate 4 1*1 feature maps for regression box judgment; 10 1*1*32 convolution kernels can be used to generate 10 1*1 feature maps for facial contour point judgment.

[0087] 3. Before inputting into R-Net, the obtained face frame is resized to 24*24*3. Since R-Net has an additional fully connected layer, it can better suppress false-positives. The output of R-Net is the same as that of P-Net. The purpose of R-Net is to remove a large number of non-face frames.

[0088] The R-Net model inputs a 24*24*3 image. After 28 3*3*3 convolution kernels and 3*3 (stride=2) max pooling, 28 11*11 feature maps are generated; after 48 3*3*28 convolution kernels and 3*3 (stride=2) max pooling, 48 4*4 feature maps are generated; after 64 2*2*48 convolution kernels, 64 3*3 feature maps are generated; the 3*3*64 feature map is converted to a fully connected layer of size 128; the regression box classification problem is converted to a fully connected layer of size 2; the bounding box position regression problem is converted to a fully connected layer of size 4; the face contour key points are converted to a fully connected layer of size 10.

[0089] 4. Before inputting into O-Net, the obtained face frame size is resized to 48*48*3. Since O-Net has one more convolutional layer than R-Net, the processing result will be more refined. O-Net is responsible for the regression of facial key points, and finally obtains the key positions and key points of the face.

[0090] The O-Net model input is a 48*48*3 image, which is converted into 32 23*23 feature maps through 32 3*3*3 convolution kernels and 3*3 (stride=2) max pooling; converted into 64 10*10 feature maps through 64 3*3*32 convolution kernels and 3*3 (stride=2) max pooling; converted into 64 4*4 feature maps through 64 3*3*64 convolution kernels and 3*3 (stride=2) max pooling; converted into 128 3*3 feature maps through 128 2*2*64 convolution kernels; converted into a 256-size fully connected layer through a fully connected operation; it is best to generate a regression box classification feature of size 2; a regression box position regression feature of size 4; and a face contour position regression feature of size 10.

[0091] 5. After the aligned face images obtained by the multi-task convolutional neural network (MTCNN) are finally calibrated, the image size is uniformly adjusted to 128*128.

[0092] The step S2, face information restoration, comprises the following steps:

[0093] Step S21, select keras as the framework building platform for deep learning, and use convolutional neural network as the restoration network model of occluded local information to create a deep convolutional neural network model for occluded image restoration;

[0094] Step S22, building a student local information image restoration model;

[0095] Step S23, compile the model, use the cross entropy loss function, and optimize the function as the Adam algorithm function;

[0096] Step S24, training the model using the real occlusion recognition dataset (RMFRD): start training, first train the generator to obtain a fuzzy filling content, then add the discriminator adversarial training to make the generative adversarial network model reach a balance;

[0097] Step S25: Use the test set to verify the model;

[0098] Step S26, saving the network simulation file of the training result;

[0099] Step S27: After the model training is completed, the occluded image restoration stage is entered: the aligned occluded image of a specific size M*N is input into the model, and the occluded part is fitted through the model to obtain a complete image.

[0100] The construction of the generative model (composed of an encoder and a decoder) in the occluded image restoration in step S27 specifically includes the following steps:

[0101] Step S2701: Input the occluded image into the first convolution layer, which contains 64 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map;

[0102] Step S2702: the first output layer is followed by a normalization layer and an activation layer, and the activation function is Relu;

[0103] Step S2703, repeat the operations of step S2701 and step S2702 once;

[0104] Step S2704: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0105] Step S2705: Connect the pooled feature map to the third convolution layer, which contains 128 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map.

[0106] Step S2706: the output layer is followed by a normalization layer and an activation layer, and the activation function is ReLU;

[0107] Step S2707, repeat the operations of step S2705 and step S2706 once;

[0108] Step S2708: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0109] Step S2709: Connect the pooled feature map to the fifth convolution layer, which contains 256 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map.

[0110] Step S2710: the output layer is followed by a normalization layer and an activation layer, and the activation function is Relu;

[0111] Step S2711, repeat step S2709 and step S2710 three times;

[0112] Step S2712: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0113] Step S2713: Connect the pooled feature map to the ninth convolution layer, which contains 512 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map.

[0114] Step S2714: the output layer is followed by a normalization layer and an activation layer, and the activation function is Relu;

[0115] Step S2715, repeat the operations of step S2713 and step S2714 once;

[0116] Step S2716: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling;

[0117] Step S2717: Pass the pooled feature map through a flattening layer to convert the multi-dimensional input into a one-dimensional feature vector.

[0118] Step S2718, then connect the fully connected layer, and the output nodes are 1024;

[0119] Step S2719. The above steps S2701 to S2718 are the entire process of the encoder, and the next step is the process of the decoder. The decoder and the encoder are inverse processes of each other, except that the encoder is down-sampling and the decoder is up-sampling.

[0120] In addition, the discriminant model in occluded image restoration needs to integrate the feature extraction part with the subsequent feature extraction part of facial expression recognition, which requires a deep convolutional neural network with a deeper network and better structure. Therefore, this technology builds a discriminator based on VGG16.

[0121] The student local information repair in step S5 and the face information repair in step S2 both use a generative adversarial network approach to perform local information repair.

[0122] In step S5, in a complex classroom environment, it is necessary to quickly obtain partial and complete information of students to judge their learning status. Since the classroom space is limited, most students are blocked, so the partial and complete information of students' faces is fitted by generating adversarial networks for student behavior recognition to judge the learning status of students.

[0123] The step S5 is specifically as follows:

[0124] Step S51, select keras as the framework building platform for deep learning, and use convolutional neural network as the restoration network model for occluded student local information to create a deep convolutional neural network model for occluded image restoration.

[0125] Step S52: Build a student partial occlusion image restoration model.

[0126] Step S53: compile the model, use the cross entropy loss function, and use Adam as the optimization function.

[0127] Step S54: Use the trained network model in the above solution for training. Start training by first training the generator to obtain a fuzzy filling content, then add the discriminator adversarial training to make the GAN model reach a balance. The number of training iterations is set to 50, and the number of samples contained in each batch is 100.

[0128] Step S55: Use the test set to verify the model.

[0129] Step S56: Save the network simulation file of the training result.

[0130] Step S57: After the model training is completed, the student partial occlusion image restoration stage is entered. The student partial occlusion image is input into the model, and the occluded part is fitted by the model to obtain a complete image.

[0131] The specific steps for building the generator and the discriminator are consistent with the scheme in step S27 described above.

[0132] The step S3, facial expression recognition, specifically comprises the following steps:

[0133] Step S31, select keras as the framework building platform for deep learning, and use deep convolutional neural network as face identity recognition to create a classifier model for face identity recognition;

[0134] Step S32, building a classifier model for facial expression recognition;

[0135] Step S33, start training, train the generator, discriminator and classifier together: initially use half of the inpainted image and half of the unoccluded image to train the discriminator, and only use the unoccluded image to train the classifier. After 50 iterations, add the inpainted image to the classifier for training;

[0136] Step S34: Use the test set to verify the model;

[0137] Step S35, saving the network simulation file of the training result;

[0138] Step S36, inputting the occluded image into the model and comparing it with the facial expression information in the database;

[0139] Step S37, obtaining and outputting facial expression information.

[0140] Since the discriminator has enhanced its ability to extract facial features during continuous training, the classifier shares some of the discriminator's convolutional layers and pooling layers to extract features. In general, the classifier consists of a feature extraction layer, two fully connected layers, and a softmax (the activation function of the deep learning output layer) classification layer.

[0141] The student behavior recognition in step S6 and the facial expression recognition in step S3 are both performed using a deep learning network neural network method.

[0142] The student image obtained by image restoration enters the student behavior recognition module, and the output is the confirmed student class behavior. The step S6 mainly includes the following steps:

[0143] Step S61: Select keras as the framework building platform for deep learning, and use deep convolutional neural network as the network architecture for student behavior recognition to create a classifier model for student behavior recognition.

[0144] Step S62: Build a classifier model for student behavior recognition.

[0145] Step S63, start training, train the generator, discriminator and classifier together. Initially, use half of the inpainted image and half of the unobstructed image to train the discriminator, and only use the unobstructed image to train the classifier. After 50 iterations, add the inpainted image to the classifier for training.

[0146] Step S64: Use the test set to verify the model.

[0147] Step S65: Save the network simulation file of the training result.

[0148] Step S66: Input the student's partially occluded image into the model and compare it with the behavior information in the database to obtain the student's behavior to determine the student's learning status.

[0149] Step S67: Obtain the student's learning status.

[0150] Finally, the two methods are combined to use a combination of student facial expressions and common behavioral characteristics in class to ultimately identify the student's class status and provide data basis for the teacher's teaching effectiveness evaluation.

[0151] The online course student learning behavior recognition system based on artificial intelligence technology provided by the present invention has the following technical advantages:

[0152] The invention provides a method for identifying the expressions and behaviors (raising hands, dozing off, and being absent-minded) of students in online course learning. First, the video images of students in class are captured in real time through the camera of the mobile phone or laptop computer taking the online course; then the software module is designed, which is divided into student expression recognition, which is used to identify the micro-expressions of students who are bored and tired; at the same time, a behavior recognition system is designed for students who doze off, are not focused on reading courseware, and sleep on the table. Finally, a deep learning network is designed to combine the student expressions and common behavioral characteristics in class, and finally identify the student's class status, providing data basis for the evaluation of the teacher's teaching effect.

[0153] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An online course student learning behavior recognition system based on artificial intelligence technology, characterized in that: It includes a human expression recognition system and a human behavior recognition system. The human expression recognition system recognizes students' micro-expressions including boredom and fatigue. The human behavior recognition system recognizes students' behaviors including dozing off, lack of focus, and absent-mindedness. The human expression recognition system and the human behavior recognition system recognize students' learning status through deep learning neural networks and output the effect of students' learning status; The human expression recognition system is used to perform the following steps: Step S1, face detection and face normalization: using a multi-task cascade convolutional neural network to achieve the regression of face frames and face key points; Step S2, face information restoration: fit the complete face information of the student through the generative adversarial network. If the face information in step S1 is complete, skip this step; Step S3, facial expression recognition: input the complete facial image into the facial expression recognition module, and output the network architecture of the confirmed facial expression information; The human behavior recognition system is used to perform the following steps: Step S4, student location detection: locate the student's position from the environment; Step S5, student local information repair: fitting the student face local complete information through the generative adversarial network to obtain the student local complete information; Step S6, student behavior recognition: through the student behavior recognition module, the output is the confirmed student class behavior; The step S3, facial expression recognition, specifically comprises the following steps: Step S31, select keras as the framework building platform for deep learning, and use deep convolutional neural network as face identity recognition to create a classifier model for face identity recognition; Step S32, building a classifier model for facial expression recognition; Step S33, start training, train the generator, discriminator and classifier together: initially use half of the inpainted image and half of the unoccluded image to train the discriminator, and only use the unoccluded image to train the classifier. After 50 iterations, add the inpainted image to the classifier for training; Step S34: Use the test set to verify the model; Step S35, saving the network simulation file of the training result; Step S36, inputting the occluded image into the model and comparing it with the facial expression information in the database; Step S37, obtaining facial expression information and outputting it; The student local information repair in step S5 and the facial information repair in step S2 are both performed by generative adversarial network, and the student behavior recognition in step S6 and the facial expression recognition in step S3 are both performed by deep learning neural network.

2. The online course student learning behavior recognition system based on artificial intelligence technology according to claim 1 is characterized in that: The step S1 comprises the following steps: Step S11, obtaining multi-size target face images: constructing an image pyramid through a multi-task cascade convolutional neural network, and then compressing the image into target face image pyramids of different sizes through a scaling formula of the image pyramid; Step S12: input the image pyramid of a specific size into the P-Net convolutional neural network for calibration, and obtain the regression of the face frame and the key points of the face; Step S13, inputting the image pyramid of a specific size into the R-Net convolutional neural network to remove non-face frames; Step S14: input the image pyramid of a specific size into the O-Net convolutional neural network to give a regression of the key points of the face; Step S15: finally calibrate the aligned face images obtained by the multi-task cascade convolutional neural network and adjust them to obtain images of uniform size.

3. The online course student learning behavior recognition system based on artificial intelligence technology according to claim 2 is characterized in that: In step S11, the scaling formula of the image pyramid is as follows: n can be any natural number; In the above formula, 12 represents the minimum size of the image obtained by the Gaussian pyramid, n refers to the number of images that can be scaled by the image pyramid, dst: destination target image size, src: source original image size, factor is the scaling ratio, and minisize is the minimum face size; The step S12 is specifically as follows: P-Net is a candidate network for the face region, a pyramid image of size X*Y*Z is input to the network, after convolution of the Z layer, it is determined whether there is a face in the X*Y image, and the frame is calibrated using the non-maximum suppression algorithm to give the regression of the face frame and the face key points; In step S13, the size of the obtained face frame is changed to 2X*2Y*Z and input into R-Net, which has an additional fully connected layer to suppress artifacts; In step S14, the size of the obtained face frame is changed to 4X*4Y*Z and input into O-Net. O-Net has one more convolutional layer than R-Net, which is responsible for the regression of face key points, and finally obtains the key positions and key points of the face.

4. The online course student learning behavior recognition system based on artificial intelligence technology according to claim 1 is characterized in that: The student positioning detection in step S4 specifically adopts an image feature fusion method based on directional gradient histogram to perform positioning detection, uses visual activation to select local gradient statistics with significant directionality, and forms a fused directional gradient histogram. These fused features are input into a linear support vector machine, and trained to obtain a binary classifier of human body and background for human body detection.

5. The online course student learning behavior recognition system based on artificial intelligence technology according to claim 1 is characterized in that: The face information restoration in step S2 comprises the following steps: Step S21, select keras as the framework building platform for deep learning, and use convolutional neural network as the restoration network model of occluded local information to create a deep convolutional neural network model for occluded image restoration; Step S22, building a student local information image restoration model; Step S23, compile the model, use the cross entropy loss function, and optimize the function as the Adam algorithm function; Step S24, training the model using a real occlusion recognition data set: start training, first train the generator to obtain a fuzzy filling content, then add the discriminator adversarial training to make the generative adversarial network model reach a balance; Step S25: Use the test set to verify the model; Step S26, saving the network simulation file of the training result; Step S27: After the model training is completed, the occluded image restoration stage is entered: the aligned occluded image of a specific size M*N is input into the model, and the occluded part is fitted through the model to obtain a complete image.

6. The online course student learning behavior recognition system based on artificial intelligence technology according to claim 5 is characterized in that: The construction of the model in the occluded image restoration in step S27 includes the following steps: Step S2701: Input the occluded image into the first convolution layer, which contains 64 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map; Step S2702: the first output layer is followed by a normalization layer and an activation layer, and the activation function is Relu; Step S2703, repeat the operations of step S2701 and step S2702 once; Step S2704: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling; Step S2705: Connect the pooled feature map to the third convolution layer, which contains 128 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map. Step S2706: the output layer is followed by a normalization layer and an activation layer, and the activation function is ReLU; Step S2707, repeat the operations of step S2705 and step S2706 once; Step S2708: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling; Step S2709: Connect the pooled feature map to the fifth convolution layer, which contains 256 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map. Step S2710: the output layer is followed by a normalization layer and an activation layer, and the activation function is Relu; Step S2711, repeat step S2709 and step S2710 three times; Step S2712: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling; Step S2713: Connect the pooled feature map to the ninth convolution layer, which contains 512 convolution kernels, each of which has a size of 3*3 and a step size of 1. Perform a convolution operation on the occluded image and obtain a feature map. Step S2714: the output layer is followed by a normalization layer and an activation layer, and the activation function is Relu; Step S2715, repeat the operations of step S2713 and step S2714 once; Step S2716: Connect the feature map output by the convolution layer to the maximum pooling layer, and take the downsampling factors in the vertical and horizontal directions as (2, 2) respectively to obtain the feature map after pooling; Step S2717, passing the pooled feature map through a flattening layer to convert the multi-dimensional input into a one-dimensional feature vector; Step S2718, then connect the fully connected layer, and the output nodes are 1024; Step S2719, the process of the decoder. The decoder and the encoder are inverse processes. The encoder is downsampling, and the decoder is upsampling.