A multi-pose facial expression recognition method based on weighted expression salient region

By using a weighted expression saliency region method, saliency and non-saliency regions of facial images are detected and weighted, and an expression factor analysis model is constructed. This solves the problem of insufficient feature extraction in multi-pose facial expression recognition and achieves expression recognition with a high recognition rate.

CN117351548BActive Publication Date: 2026-11-20ZHENGZHOU UNIVERSITY OF LIGHT INDUSTRY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311392029.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2026-11-20
Estimated Expiration
2043-10-25

Smart Images

  • Figure CN117351548B_ABST
    Figure CN117351548B_ABST
Patent Text Reader

Abstract

The application provides a multi-pose facial expression recognition method based on weighted expression salient region, and steps are as follows: collecting facial images with different expressions and poses, and marking the facial images with expression categories; detecting expression salient regions of the facial images according to facial key points, weighting the expression salient regions and other regions of the facial images, and obtaining weighted images; constructing a training set by the weighted images obtained by calculating each training image, constructing a multi-pose expression factor analysis model through the training set, solving the posterior probability between the weighted images and latent expression variables by using an expectation maximization algorithm, and judging the expression category of the facial expression image through the probability relationship. The expression salient region detection is used to obtain the expression salient region on the facial expression image, and the weighted image is obtained by weighting; the expression factor analysis model is constructed based on the weighted image, the recognition of the facial expression under the multi-pose condition is realized, and the recognition rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of facial expression recognition, and more particularly to a multi-pose facial expression recognition method based on weighted facial expression saliency regions. Background Technology

[0002] As an important research direction in the field of artificial intelligence, facial expression recognition is a biometric identification technology that categorizes and understands facial expressions and movements according to human cognition and thinking. It relies on prior knowledge of human emotional information to enable computers to analyze, recognize, and even "understand" human emotions. This research not only focuses on national psychology and general social psychology during crisis situations but also demonstrates strong development potential in numerous industrial fields such as the gaming industry, user surveys, virtual reality, mental state assessment, alcohol testing, fatigue driving, classroom teaching, the food industry, and aerospace safety.

[0003] When Academician Gao Wen introduced facial expression recognition to China, he pointed out that "at the current stage, in order to simplify the requirements for image preprocessing, we limit the input image to be a standard frontal human face without head coverings, without facial features, without glasses, without beard, and not excessively tilted. Additionally, a neutral expression is required for comparison." Today, facial expression recognition algorithms under controllable conditions have achieved high recognition rates, but research on facial expression recognition under uncontrollable conditions still faces five challenges: head pose variation, illumination variation, registration error, partial occlusion, and identity bias. Among these problems, head pose variation has a ripple effect. When the head rotates, it triggers a series of chain reactions. Changes in head pose not only alter the illumination distribution of the face but also cause partial occlusion of the facial area and affect the accuracy of facial feature registration and facial region detection. Therefore, research on multi-pose facial expression recognition caused by head pose deviation is key to advancing the practical application of facial expression recognition. To address this issue, existing human-computer interaction methods require the subject to provide a frontal, unobstructed image. However, controllable facial expression recognition limits the user's physical state, which is inconsistent with the trend of intelligent and humanized development of information technology. Therefore, developing multi-pose facial expression recognition technology under uncontrollable conditions has become an urgent research topic in facial expression recognition.

[0004] Research trends over the past five years have focused on two main aspects in multi-pose facial expression recognition: first, leveraging the superior feature extraction and classification capabilities of deep learning to construct multi-pose facial expression recognition models; and second, removing the influence of bad data and relying on local expression regions to achieve multi-pose facial expression recognition. Therefore, obtaining accurate and reliable local expression regions and constructing a reasonable expression recognition model has become a highly feasible approach to solving the multi-pose facial expression recognition problem.

[0005] However, the current methods' focus on local facial regions remains questionable. Factors influencing facial expression recognition include not only local expression features but also global information about the face in different poses during the expression. Therefore, effectively fusing local and global features to construct a facial expression recognition model for multi-pose conditions becomes a key aspect of research on facial expression recognition under head rotation. Research on multi-pose facial expression recognition caused by head rotation is crucial for advancing the practical application of facial expression recognition.

[0006] Patent application number 202110292442.8 discloses a multi-pose face recognition method based on face frontalization, proposing a novel method for synthesizing frontal face images to address the problem of face pose changes in practical applications. This invention utilizes a generator composed of an encoder and decoder to extract features and synthesize a frontal face image; a feature discriminator and an image discriminator are used to determine the feature domain and the authenticity of the image; a feature extractor is used to extract features from the synthesized frontal face image and the target synthesized image; and a network designed with a designed loss function is alternately trained using a generative adversarial network until the loss function value stabilizes and converges. This invention can correct face images of various poses into frontal face images, helping to reduce the adverse effects of face pose changes on face recognition and facilitating the practical application of face recognition under unrestricted conditions. However, the pose correction process of the above invention does not restore the true facial details of occluded areas, and the total amount of information does not substantially change. Unlike facial recognition, facial expression recognition focuses more on extracting features from facial expression regions. Recovering the facial expression of the detected subject at the time of their psychological state is undoubtedly extremely difficult. Currently, the solution that is closer to the implementation of the algorithm is to extract and classify expression features based on the actual situation of facial images. Summary of the Invention

[0007] To address the technical problem that existing facial expression recognition methods neglect global facial expression information under different poses, resulting in insufficient extraction of facial expression features, this invention proposes a multi-pose facial expression recognition method based on weighted expression saliency regions. The method extracts saliency regions, weights the saliency and non-saliency regions of the expression image, and constructs an expression factor analysis model using the weighted facial image to achieve expression recognition of facial images from different angles, thereby improving the recognition rate.

[0008] To achieve the above objectives, the technical solution of the present invention is as follows: a multi-pose facial expression recognition method based on weighted expression saliency regions, comprising the following steps:

[0009] Step 1: Collect facial images with different expressions and postures, and label the facial images with expression categories;

[0010] Step 2: Detect the salient regions of facial expressions in the face image based on facial key points, and weight the salient regions of facial expressions with other regions of the face to obtain a weighted image;

[0011] Step 3: The weighted images calculated from each training image form a training set. A multi-pose expression factor analysis model is constructed using the training set. The expectation-maximization algorithm is used to solve the posterior probability between the weighted images and the latent expression variables. The expression category of the facial expression image is determined by the probability relationship.

[0012] Preferably, the expression categories include anger, disgust, sadness, happiness, fear, contempt, neutrality, and surprise; three images of each expression and posture are selected.

[0013] Preferably, the method for obtaining the weighted image is as follows:

[0014] Step 2.1: By combining optimized component combination with a two-step deformation cascade model, the position of marker points and head deflection angle of face images under different poses can be obtained.

[0015] Step 2.2: Select facial key points from the marked points to form a salient expression region based on facial key points and prior knowledge, obtain the positions of all salient expression regions, and select the salient expression region according to the head rotation angle;

[0016] Step 2.3: Construct a weighted image based on the salient regions of facial expressions.

[0017] Preferably, the number of marker points is 66, and the marker point positions (x... i ,y i ), i = 1, 2, ..., 66; The specific range of the salient facial expression area is obtained by marking points, and the calculation formula for the salient facial expression area is used to determine the head deflection angle; The head deflection angle includes: no deflection in front---0° angle, small deflection---±45° angle and large deflection---±90° angle; The salient expression area includes the area where the eyebrows, eyes, cheeks and mouth are located.

[0018] Preferably, the method for selecting each salient facial expression region is as follows:

[0019] P i =[x i -(N-1) / 2,y i -(N-1) / 2,N,N];

[0020] Among them, region P i The selection is based on the coordinates (x) i -(N-1) / 2,y iStarting from (N-1) / 2), with an area of ​​size N×N, x i y i Let x and y represent the x and y coordinates of the i-th marker point, respectively, and N be the size of the region.

[0021] The locations of the 20 regions selected based on the marker points are as follows:

[0022] (1) Regions P4 and P1 are located at the left and right corners of the mouth of the face, respectively;

[0023] (2) Regions P11 and P9 are located below regions P4 and P1, respectively;

[0024] (3) The P10 region is located at the midpoint of the P11 and P9 regions, which is the lower lip region;

[0025] (4) The P20 area is located below the nasal tip marker, which is the upper lip;

[0026] (5) The P16 region is located between the two eyes;

[0027] (6) The P17 region is located within the inner eyebrow;

[0028] (7) Areas P19 and P18 are located at the outer corners of the left and right eyes;

[0029] (8) The P6, P15, P5, P13, and P12 regions are located on the left cheek below the eyes;

[0030] (9) The P3, P14, P2, P7, and P8 regions are located on the right cheek below the eyes.

[0031] The starting point coordinates of each region are:

[0032]

[0033]

[0034]

[0035] P9:(x 49 ,y 49 +N),P10:(x 58 -N*2,y 58 +N),P11:(x 55 ,y 55 +N)

[0036]

[0037]

[0038]

[0039] P19:(x 46 +N,y 46 ),P20:(x 34 -N*2,y 34 +N).

[0040] Preferably, the method for selecting the facial expression salience region is as follows: select the entire area of ​​the frontal face image; for the non-frontal image, select 12 regions, from left to right, representing the cases when the head is turned 90°, 45°, -45°, and -90°. Specifically, for the cases of head turning 45° and 90°, regions P1-P3, P7-P10, P14, P16-P18, and P20 are selected; for the cases of head turning -45° and -90°, regions P4-P6, P10-P13, P15-P17, and P19-P20 are selected.

[0041] Preferably, the method for constructing a weighted image based on the salience region of facial expressions is as follows: A face region I is defined using facial markers, where the salience region of facial expressions in face region I is P, and the non-salience region is IP. Then, the weighted image X is:

[0042] X = α × P + β × (IP)

[0043] Where α and β are weighting coefficients, and α + β = 1, α > β.

[0044] Preferably, the multi-pose expression factor analysis model is as follows:

[0045] x jkl =F k h l +m k +ε jkl

[0046] Where, x jkl F represents the weighted image of the j-th sample of the l-th individual with the pose k; k h represents the factor representing attitude k. l Let m represent the expression category of the l-th individual expression. k ε represents the sample mean of pose k. jkl Indicates noise;

[0047] An indirect calculation method based on parameter estimation is adopted to calculate the factor f. k Sample mean m k Sum of variance Σ k Inclusion parameter θ = [F 1,…,k ,m 1,…,k ,Σ 1,…,k If the number of iterations for parameter θ is t, then the weighted image x jkl With expression category hl The correspondence between them is Pr(h) l |x jkl ) is equivalent to the probability Pr(h) l |x jkl The probability Pr(h,θ) is solved using the expectation-maximization algorithm. l |x jkl ,θ); Select the facial expression category with the highest probability.

[0048] Preferably, the probability Pr(h) is solved using the expectation-maximization algorithm. l |x jkl The method for (θ) is as follows:

[0049] Step 3.1, E-step calculates sample data x ··l With expression category h l The mathematical expectation, and the sample data x ··l With expression category h l and emoji category h l The expected value of the matrix transpose;

[0050] Step 3.2, the M-step updates the mathematical expectation factor F. k Sum of variance Σ k Using the updated variance Σ k Calculate the maximum posterior probability.

[0051] Preferably, the sample data x ··l With expression category h l The mathematical expectation is:

[0052]

[0053] The sample data x ··l With expression category h l and emoji category h l The expected value of the matrix transpose is:

[0054]

[0055] Where, x jkl Let x represent the weighted image of the j-th sample of the l-th individual with the pose k. ··l Let K represent all sample data belonging to the l-th individual expression, K represent the number of poses, J represent the number of samples for each pose, and T represent the transpose of the matrix.

[0056] Updated factors

[0057] Updated variance

[0058] The updated variance Σ k Substitute Calculate the posterior probability:

[0059]

[0060] Where, θ t Let θ represent the parameter in the t-th iteration, Pr(x) jkl |h l ,θ t ) indicates that h is known l ,θ t Weighted image x jkl The probability, a constant M*N is the size of the weighted image; K represents the number of poses, J represents the number of samples for each pose; the posterior probability Pr[h l |x ··l ,θ t This is equivalent to the probability Pr(h) l |x jkl ,θ), that is, Pr(h l |x jkl ), the probability of the expression category corresponding to each weighted image.

[0061] The beneficial effects of this invention are as follows: This invention provides a new and feasible solution for multi-pose facial expression recognition by employing a weighted facial expression saliency region method. Expression recognition is carried out from two aspects: First, salient facial expression regions are extracted as expression feature regions, and then local expression details and facial regions are organically combined through weighting. Second, a facial expression recognition model for multi-pose conditions is constructed using factor analysis, achieving classification of facial expression samples from different angles. This invention obtains salient and non-salient expression regions on facial expression images through salient expression region detection, then weights these regions to complete a weighted facial expression image. Finally, based on the weighted facial expression image, an expression factor analysis model is constructed, achieving expression recognition of facial expression images under multi-pose conditions. Experimental results show that this invention achieves the highest recognition rates of 85% and 90% on the RaFD and Multi-PIE databases, respectively. Attached Figure Description

[0062] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0063] Figure 1This is a schematic diagram of the process of the present invention.

[0064] Figure 2 This is a schematic diagram showing the positions of all marked points under the condition of no deflection on the front side.

[0065] Figure 3 This is a diagram illustrating the prominent areas of a positive facial expression.

[0066] Figure 4 This is a diagram illustrating areas where non-positive facial expressions are prominent.

[0067] Figure 5 This is a curve showing the facial expression recognition rate of the present invention on the RaFD database.

[0068] Figure 6 This is a curve showing the facial expression recognition rate of the present invention on the Multi-PIE database. Detailed Implementation

[0069] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0070] like Figure 1 As shown, a multi-pose facial expression recognition method based on weighted expression saliency regions comprises the following steps:

[0071] Step 1: Collect facial images with different expressions and postures, and label the facial images with expression categories.

[0072] Collect m facial images of n people with different expressions and poses, with three images selected for each expression and pose. All facial images and their corresponding sample labels constitute the experimental sample, where the sample label refers to the expression category corresponding to each image.

[0073] Step 2: Detect the salient regions of facial expressions in the face image based on facial key points, and weight the salient regions of facial expressions with other regions of the face to obtain a weighted image.

[0074] The processing involves images of faces with all facial expressions, and is divided into three steps:

[0075] Step 2.1 uses a method combining optimized component combination and a two-step deformation cascade model to obtain the positions of 66 marker points (x, y, z) of face images under different poses. i ,y i(i = 1, 2, ..., 66), and the corresponding head tilt angles. The specific range of the salient facial expression region can be obtained through the marked points, while the head tilt angle determines the formula used to calculate the salient facial expression region. Figure 2 This shows the positions of all the marked points in the case of no deflection.

[0076] Step 2.2: Select facial key points from the marked points to form a salient expression area based on facial key points and prior knowledge; cover the five main angles of head rotation according to frontal no rotation (0° angle), small rotation (±45° angle), and large rotation (±90° angle). Figure 3 It shows all the prominent areas of facial expression when viewed from the front without any tilt, mainly including the area where the eyebrows, eyes, cheeks, and mouth are located.

[0077] Due to mirroring, the right side of the face is actually located... Figure 2-3 On the left side of the middle. Figure 3 The rectangles in the diagram indicate the locations of the salient facial expression regions. The selection method for each salient facial expression region is shown in formula (1):

[0078] P i =[x i -(N-1) / 2,y i -(N-1) / 2,N,N] (1)

[0079] In formula (1) P i The region is selected based on coordinates (s) i -(N-1) / 2,y i -(N-1) / 2) is the starting point, and the region is N×N. The coordinates of the marked point (x, y) are obtained from step 2.1. i ,y i ), i = 1, 2, ..., 66, N is generally taken as 16. x i y i Let x and y represent the x and y coordinates of the i-th marker point, respectively. The specific locations of the 20 regions of the marker point are as follows:

[0080] ① Areas P4 and P1 are located at the left and right corners of the human face, respectively;

[0081] ② Regions P11 and P9 are located below regions P4 and P1, respectively;

[0082] ③The P10 region is located at the midpoint of the P11 and P9 regions, which is the lower lip region;

[0083] ④The P20 area is located below the nasal tip marker, which is the upper lip.

[0084] The above six areas surround the mouth and are used to demonstrate the shape changes of the mouth, such as scaling and translation, when different expressions occur.

[0085] ⑤The P16 region is located between the two eyes;

[0086] ⑥The P17 area is located within the inner eyebrow;

[0087] ⑦ Areas P19 and P18 are located at the outer corners of the left and right eyes;

[0088] ⑧The areas P6, P15, P5, P13, and P12 are located on the left cheek below the eye;

[0089] ⑨ Areas P3, P14, P2, P7, and P8 are located on the right cheek below the eyes.

[0090] The aforementioned areas basically cover the deformation of the eyebrows, eyes, and cheeks during facial expressions. Formula (1) shows the selection range for each salient facial expression area, where N is generally 16. The key is to determine the coordinates of the starting point (x, y) of the upper left corner of the area. i ,y i The starting point coordinates for each region are as follows:

[0091]

[0092]

[0093]

[0094] P9:(x 49 ,y 49 +N),P10:(x 58 -N*2,y 58 +N),P11:(x 55 ,y 55 +N)

[0095]

[0096]

[0097]

[0098] P19:(x 46 +N,y 46 ),P20:(x 34 -N*2,y 34 +N).

[0099] After obtaining the locations of all salient facial expression regions, the entire region is selected from the frontal face image, which is... Figure 3 The displayed area shows the salient features of a frontal facial expression. For non-frontal images, 12 areas are selected, such as... Figure 4 As shown, from left to right, the results represent head rotations of 90°, 45°, -45°, and -90°. For head rotations of 45° and 90°, regions P1-P3, P7-P10, P14, P16-P18, and P20 are selected; for head rotations of -45° and -90°, regions P4-P6, P10-P13, P15-P17, and P19-P20 are selected. It should be noted that when further subdividing the rotation angle, regions can be selected based on rotations in the same direction.

[0100] Step 2.3: Construct weighted facial saliency regions.

[0101] Face regions I are defined using facial markers, excluding non-face background. The salient expression regions within face region I are denoted as P, and the non-salient expression regions as IP. The weighted image X is then:

[0102] X=α×P+β×(IP) (2)

[0103] In formula (2), α and β are weighting coefficients, where α + β = 1 and α > β. By multiplying the weighting coefficients, the image pixel values ​​of the salient facial expression regions are improved, while the pixel values ​​of the non-salient regions are suppressed, reducing the interference of non-expression facial factors, and obtaining a weighted result of size M × N, i.e., the weighted image X.

[0104] Step 3: The weighted image X obtained from each training image is used to form a training set. A multi-pose expression factor analysis model is constructed using the training set. The expectation-maximization algorithm is used to solve the posterior probability between the weighted image and the latent expression variables. The expression category of the facial expression image is determined by the probability relationship.

[0105] The multi-pose facial expression factor analysis model can be represented by formula (3):

[0106] x jkl =F k h l +m k +ε jkl (3)

[0107] In formula (3) x jkl The weighted image X represents the weighted image of the j-th sample of the l-th individual with the k-th expression. It is typically a combination of three face images, i.e., j = 1, 2, 3. And F... k The factor representing attitude k is selected by taking positive integers greater than 0, h. lThis represents the expression category of the l-th individual. This variable is a parameter representing the expression category in the formula and has no actual numerical value. Its purpose is to derive the probabilistic relationship between the weighted image and the expression category of the image by using this parameter, so it is simply referred to as the expression category. k ε represents the sample mean of pose k. jkl This represents noise, with a value set to 0.01.

[0108] After obtaining the facial expression factor analysis model, the next step is to determine the weighted image x. jkl With expression category h l The correspondence between them is Pr(h) l |x jkl Because it cannot be directly calculated using the formula, an indirect calculation method using parameter estimation is usually adopted, which involves factoring F... k Sample mean m k Sum of variance Σ k Inclusion parameter θ = [F 1,…,k ,m 1,…,k ,Σ 1,…,k ], where the variance Σ k The initial value is set to 0.01, and updated according to formula (7). The iteration number of parameter θ is set to t, and the corresponding relation Pr(h) is set to t. l |x jkl ) is equivalent to the probability Pr(h) l |x jkl The probability Pr(h,θ) is calculated using the Expectation-Maximum (EM) algorithm. l |x jkl ,θ).

[0109] The specific steps of the EM algorithm are as follows:

[0110] Step 3.1, Step E: Calculate the expected value. Formula (4) calculates the expected value of the sample data x. ··l With expression category h l The mathematical expectation, formula (5) calculates the sample data x. ··l With expression category h l and h l The mathematical expectation of the matrix transpose.

[0111]

[0112]

[0113] Where, x jkl Let x represent the weighted image of the j-th sample of the l-th individual with the pose k. ··lLet K represent all sample data belonging to the l-th individual expression, K represent the number of poses, and J represent the number of samples for each pose. T represents the transpose of the matrix.

[0114] Step 3.2, the M-step calculates the maximum posterior probability by updating the parameters.

[0115]

[0116]

[0117] Formula (6) represents the updated factor F k Formula (7) represents the updated variance Σ k The updated variance Σ k Substituting into formula (8), and then using formula (9), the posterior probability is calculated:

[0118]

[0119]

[0120] In formula (8) θ t Let θ represent the parameter in the t-th iteration, Pr(x) jkl |h l ,θ t ) indicates that h is known l ,θ t In the case of x jkl The magnitude of the probability. Let the magnitude of the constant κ be... Formula (9) eliminates the logarithmic form of formula (8) using an exponential function, where K represents the number of poses and J represents the number of samples per pose. Pr[h l |x ••l ,θ t This is equivalent to Pr(h) l |x jkl ,θ), that is, Pr(h l |x jkl ), the probability of the expression category corresponding to each weighted image.

[0121] This completes the entire process of constructing an expression factor analysis model using weighted images to determine the expression category of unknown samples. This method has two advantages: First, by using a weighted approach, it not only uncovers salient expression regions but also preserves the expression features contained in non-salient expression regions, achieving a combination of overall and local features. Second, through the expression factor analysis model, it is possible to arbitrarily construct the correspondence between two different poses of the same expression, limiting the interference of pose factors on expression recognition.

[0122] To verify the performance of the proposed method, experiments were conducted on the RaFD and Multi-PIE databases. The weighting coefficients were α = 0.6, β = 0.4, and the image size was 70×70. A total of 8040 images were selected from the RaFD database, including frontal images and side images with deflection angles of ±45° and ±90°. For each experiment, 1308 frontal images and 1308 side images (one angle per experiment) were used to form the training set. The model was constructed using the formula described above, and the key F-values ​​were obtained. k , Σ k The remaining 300 frontal images and 300 side images (one angle per experiment) form the test set. Using formulas (8) and (9), the probability Pr[h] corresponding to each expression category for each test image is calculated. l |x ••l ,θ t The facial expression most likely corresponding to each test image is obtained by selecting the expression with the highest probability. The expression categories are: anger, disgust, sadness, happiness, fear, contempt, neutral, and surprise. The facial expression recognition rate is calculated under nine different factor numbers, and the recognition rate of this invention is shown in the appendix. Figure 5 As shown. (Through) Figure 5 As can be seen, with the increase of the number of factors, the expression recognition rate of the present invention on the RaFD database generally shows an increasing trend, and the expression recognition rate under small deviations is higher than that under large deviations.

[0123] To further compare the performance of this invention, the experiment selected ResNet as the baseline algorithm. This model not only won the championship in the 2015 ILSVRC (ImageNet Large Scale Visual Recognition Challenge) competition, but is also a representative deep learning method in facial expression recognition. The ResNet18 and ResNet50 networks correspond to relatively shallow and deep networks, respectively, to compare the performance difference between this invention and the classic deep learning model ResNet.

[0124] Experimental results on the RaFD database demonstrate that this invention can automatically perform face detection, head pose estimation, expression factor model construction, and facial expression recognition. As shown in Table 1, when the number of factors is set to 64, the recognition rate of this invention reaches over 80% under head poses of ±45°, which is higher than the recognition rate of the baseline algorithm. However, under large head lateral movements of ±90°, although the algorithm's recognition rate reaches over 60%, it is lower than the recognition performance of the ResNet50 network and comparable to that of the ResNet18 network.

[0125] Table 1 Comparison of the present invention and baseline algorithms on the RaFD database.

[0126]

[0127] A total of 1260 images were selected from the Multi-PIE database, including frontal images and side images with deflection angles of 15°, 30°, 45°, 60°, 75°, and 90°. For each experiment, 150 frontal images and 150 side images (one angle per experiment) formed the training set, and the remaining 30 frontal images and 30 side images (one angle per experiment) formed the test set. The facial expression categories were: disgust, neutral, screaming, smiling, squinting, and surprised. The facial expression recognition rate was calculated under six different factor values. The simulated recognition rate of this invention is shown in the attached figure. Figure 6 As shown. (Through) Figure 6 It can be observed that as the number of factors increases, the facial expression recognition rate of the present invention on the Multi-PIE database shows an increasing trend. Even in the case of the largest deflection of 90°, when the number of selected factors is appropriate, the present invention still ensures the effectiveness of facial expression recognition.

[0128] As shown in Table 2, when the number of factors is set to 32, the recognition rate of the present invention is significantly higher than that of the baseline algorithm. When the deflection amplitude is 15°, the recognition rate of the algorithm of the present invention reaches 90%; when the deflection amplitude reaches the maximum of 90°, the recognition rate of the present invention can reach 70%. Compared with the experimental results of the RaFD database, the reason why the present invention still has an advantage under large deflection is due to the difference between the samples in the database. The facial expression images in the RaFD database have uniform illumination and high resolution. The facial expression images in the Multi-PIE database show uneven illumination and lower resolution than the facial expression images in the RaFD database. It can be seen that the present invention maintains good robustness under changes in illumination, pose, and image resolution.

[0129] Table 2 Comparison of the present invention and baseline algorithms on the Multi-PIE database.

[0130]

[0131] In summary, this invention enhances the weighting of facial expressions within image regions by salience regions. By constructing an expression factor model, it achieves a high facial expression recognition rate under different head rotations. Multi-database experiments demonstrate the robustness of the algorithm.

[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A multi-pose facial expression recognition method based on weighted expression saliency regions, characterized in that, The steps are as follows: Step 1: Collect facial images with different expressions and postures, and label the facial images with expression categories; Step 2: Detect salient regions of facial expression based on facial key points, and weight the salient regions of facial expression with other regions of the face to obtain a weighted image; Step 3: The weighted images calculated from each training image form a training set. A multi-pose expression factor analysis model is constructed using the training set. The expectation-maximization algorithm is used to solve the posterior probability between the weighted images and the latent expression variables. The expression category of the facial expression image is determined by the probability relationship. The method for constructing a weighted image based on the salience region of facial expressions in step two is as follows: A face region I is delineated using facial markers, and the salience region of facial expressions in face region I is... The non-significant region is Then the weighted image for: ; in, ; The multi-pose expression factor analysis model is as follows: ; in, This represents the weighted image of the j-th sample of the l-th individual with the k-th expression. A factor representing the attitude k. This represents the expression category of the l-th individual. This represents the sample mean of pose k. Indicates noise; An indirect calculation method based on parameter estimation is adopted to calculate the factors. Inclusion parameters ,parameter The number of iterations is ,but With emoji categories Correspondence between Equivalent to probability The probability is solved using the expectation-maximization algorithm. Select the facial expression category with the highest probability. The probability is solved using the expectation-maximization algorithm. The method is as follows: Step 3.1, E-step calculates sample data With emoji categories The mathematical expectation, and the sample data With emoji categories and emoji categories The expected value of the matrix transpose; Step 3.2, the M-step updates the factor by calculating the mathematical expectation. Using the updated variance Calculate the maximum posterior probability.

2. The multi-pose facial expression recognition method based on weighted expression saliency region according to claim 1, characterized in that, The expression categories include anger, disgust, sadness, happiness, fear, contempt, neutrality, and surprise; three images of each expression and posture are selected.

3. The multi-pose facial expression recognition method based on weighted expression saliency region according to claim 1 or 2, characterized in that, The method for obtaining the weighted image is as follows: Step 2.1: By combining optimized component combination with a two-step deformation cascade model, the position of marker points and head deflection angle of face images under different poses can be obtained. Step 2.2: Select facial key points from the marked points to form a salient expression region based on facial key points and prior knowledge, obtain the positions of all salient expression regions, and select the salient expression region according to the head rotation angle; Step 2.3: Construct a weighted image based on the salient regions of facial expressions.

4. The multi-pose facial expression recognition method based on weighted expression saliency region according to claim 3, characterized in that, The number of markers is set to 66, and the positions of the markers are... 66; The specific range of the salient facial expression area is obtained by marking points, and the calculation formula for the salient facial expression area is used to determine the head deflection angle; The head deflection angle includes: no deflection in front---0° angle, small deflection---±45° angle and large deflection---±90° angle; The salient expression area includes the area where the eyebrows, eyes, cheeks and mouth are located.

5. The multi-pose facial expression recognition method based on weighted expression saliency region according to claim 4, characterized in that, The method for selecting each salient facial expression region is as follows: ; Among them, the region The selection is based on coordinates Starting from, with Size is the range of regions. , Let x and y represent the x and y coordinates of the i-th marker point, respectively, and N be the size of the region. The locations of the 20 regions selected based on the marker points are as follows: (1) Regions P4 and P1 are located at the left and right corners of the human face, respectively; (2) Regions P11 and P9 are located below regions P4 and P1, respectively; (3) Region P10 is located at the midpoint of regions P11 and P9, which is the lower lip region; (4) The P20 area is located below the nasal tip marker, which is the upper lip position; (5) The P16 region is located between the two eyes; (6) The P17 area is located within the inner eyebrow; (7) Areas P19 and P18 are located at the outer corners of the left and right eyes; (8) Areas P6, P15, P5, P13, and P12 are located on the left cheek below the eye; (9) Areas P3, P14, P2, P7, and P8 are located on the right cheek below the eyes; The starting point coordinates of each region are: ; ; ; ; ; ; ; 。 6. The multi-pose facial expression recognition method based on weighted expression saliency region according to claim 5, characterized in that, The method for selecting the facial expression salience region is as follows: select the entire area of ​​the frontal face image; select 12 regions for the non-frontal image, from left to right, representing the cases when the head is turned 90°, 45°, -45°, and -90°; among them, when the head is turned 45° and 90°, select regions P1-P3, P7-P10, P14, P16-P18, and P20; when the head is turned -45° and -90°, select regions P4-P6, P10-P13, P15-P17, and P19-P20.

7. The multi-pose facial expression recognition method based on weighted expression saliency region according to claim 1 or 6, characterized in that, The sample data With emoji categories The mathematical expectation is: ; The sample data With emoji categories and emoji categories The expected value of the matrix transpose is: ; in, This represents the weighted image of the j-th sample of the l-th individual with the same pose k. Let K represent all sample data belonging to the l-th individual expression, K represent the number of poses, J represent the number of samples for each pose, and T represent the transpose of the matrix. Updated factors ; Updated ; Updated variance Substitute Calculate the posterior probability: ; in, Indicates the first Parameters of the next iteration , Indicates known Weighted image The probability, a constant M*N is the size of the weighted image; K represents the number of poses, and J represents the number of samples for each pose; posterior probability Equivalent to probability ,Right now The probability of the expression category corresponding to each weighted image.

Citation Information

Patent Citations

  • Multi-pose face recognition method based on face frontage

    CN113553895A

  • Semi-supervised learning-based multi-gesture facial expression recognition method

    CN103186774A

  • An expression recognition method based on adaptive weighted fusion of significant structure tensors and LBP features

    CN109165551A