Expression detection method and detection device based on mechanical properties of facial skin

Through a detection method based on the mechanical properties of facial skin, using two cameras and speckle patterns, the problem of low accuracy of facial expression detection and stress reaction caused by multi-channel sensor contact in the existing technology is solved, and higher detection is achieved. accuracy and sensitivity.

CN118648875BActive Publication Date: 2024-10-18TIANJIN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411128902.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-10-18
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

Existing facial expression detection technology has problems such as low accuracy when judging lying and diagnosing psychological or neurological diseases, requiring long-term continuous testing, stress reactions caused by multiple sensor contacts, and difficulty in capturing micro-expressions, especially the three-dimensional deformation of facial skin. The field is difficult to capture in real time with a single camera.

Method used

Using a detection method based on the mechanical properties of facial skin, two cameras collect images of the eyebrow area, calculate the correlation coefficient between the strain fluctuation curve and the expected curve, and combine it with the speckle pattern to determine the authenticity of the expression, avoiding the contact and contact of multiple sensors. Limitations of a single camera.

Benefits of technology

It improves the accuracy and reliability of the detection, reduces the nervousness of the subjects, enables long-term detection in a non-boring environment, reduces the computing power requirements, improves the reflection of skin changes in multiple areas of the face, and enhances the sensitivity and sensitivity of the detection. Accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118648875B_ABST
    Figure CN118648875B_ABST
Patent Text Reader

Abstract

The present application discloses an expression detection method based on the mechanical properties of facial skin, comprising setting a speckle pattern on the brow center area of ​​a subject by coating or projecting; collecting an image of the brow center area of ​​the subject by a first camera and a second camera; asking the subject a plurality of basic questions and calculating a first set of strain curves of the brow center area according to the images of the brow center area collected by the two cameras; calculating the first set of strain curves to obtain an expected curve; calculating the first set of strain curves and the expected curve to obtain a plurality of correlation coefficients and ranges; asking the subject a formal question and calculating the nth strain curve by using the images of the brow center area collected by the two cameras; calculating the correlation coefficient between the nth strain curve and the expected curve, and determining that the expression corresponding to the strain curve reflects an abnormal psychological or physiological problem when the correlation coefficient exceeds the above range; in addition, the present application also discloses a detection device for executing the above detection method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of human facial expression detection, and in particular to an expression detection method and detection device based on the mechanical properties of facial skin. Background Art

[0002] The facial nerve, also known as the "seventh cranial nerve," is one of the longest cranial nerves in the human body. It is primarily responsible for controlling the muscles of facial expression and transmitting facial sensation. The area between the eyebrows is particularly rich in nerves and closely connected to the trigeminal nerve. Movements or changes in other parts of the face can easily cause strain on the muscles and blood vessels in this area. This strain may not only reflect psychological issues but also physiological problems, such as sinusitis, neuralgic pain, migraines, varicella-zoster infection, glaucoma, and cataracts.

[0003] In a non-limiting sense, facial expression detection, especially the detection of changes in the area between the eyebrows, can not only determine whether the subject is lying and judge psychological activities, but can also be used to diagnose potential psychological or neurological diseases, including facial nerve damage or diseases (such as Bell's palsy) that can cause facial muscle weakness or paralysis, affecting facial expressions and feelings.

[0004] Traditional techniques based on heart rate, blood pressure, and sweat volume to determine whether a subject is lying or experiencing specific psychological activity have drawbacks: They require at least two hours of continuous, fatigue-inducing interrogation in a boring, distraction-free environment (marathon-like, intense interrogation to prevent the subject from deliberately adjusting stress or engaging in psychological activity to deceive the polygraph); they must ensure that the subject is engaging in a crime; and the polygraph's multiple sensors come into contact with the human body, which can cause stress reactions and affect the accuracy of the test results. In particular, some facial expressions, such as a smile, do not cause noticeable changes in the corners of the mouth, the tips of the eyebrows, or the wings of the nose.

[0005] Furthermore, the low accuracy of facial expression detection based on a single co-located camera is due to the fact that facial expressions are more than simple muscle movements; they can encompass multiple layers of emotion and psychological states. People may consciously control or conceal their true expressions when lying, making it difficult to determine whether someone is lying based on simple facial expressions. Furthermore, micro-expressions are fleeting and subtle, appearing and disappearing in a very short time, making them even more difficult to capture and recognize. Some people may be adept at controlling their emotional expression, remaining calm even when lying, without exhibiting noticeable facial expression changes, but with subtle skin strain in certain areas.

[0006] Similarly, when facial expression recognition technology is used as an auxiliary tool for diagnosis, it can be used to identify depression, mental disorders (schizophrenia), etc. through facial expressions, and evaluate the patient's progress throughout the treatment process. However, it is still limited by the accuracy of a single image and the accuracy of capturing instantaneous micro-expressions. Long-term monitoring of the entire face of a large group requires an inestimable amount of computing power.

[0007] Non-limitingly, the above challenges are partly due to the fact that the deformation field of human facial skin is not two-dimensional but three-dimensional. A single in-situ camera cannot capture this subtle three-dimensional deformation field in real time. Furthermore, the facial skin color of the same subject is generally the same, and areas such as the cheeks contain a certain range of flat areas of the same color. The instantaneous three-dimensional changes in these areas are even more difficult to fully and deeply identify. In addition, the elastic modulus (mechanical properties) of skin and the blood vessels in different areas vary, and they usually exhibit different three-dimensional stress modes when subjected to the same heart rate, blood pressure, sweating, etc. Summary of the Invention

[0008] In view of this, an embodiment of the present application provides a facial expression detection method based on the mechanical properties of facial skin, comprising the following steps:

[0009] Obtaining the subject's answers to a plurality of basic questions and calculating a first set of strain fluctuation curves based on images of the center of the eyebrows captured by the first camera and the second camera during the test;

[0010] Calculate the first set of strain fluctuation curves to obtain the expected curve;

[0011] calculating a plurality of correlation coefficients and threshold ranges between the first set of strain fluctuation curves and the expected curve;

[0012] Obtaining the subject's answers to the formal questions and calculating the nth strain fluctuation curve at the center of the eyebrows based on the images of the center of the eyebrows captured by the first camera and the second camera during the test;

[0013] Calculating the correlation coefficient between the nth strain fluctuation curve and the expected curve, and when the correlation coefficient exceeds the threshold range, determining that the expression corresponding to the nth strain fluctuation curve represents a false answer;

[0014] wherein the brow region is coated with a plurality of speckles;

[0015] The speckle pattern is applied between the left and right vertical glabellar lines or on both sides of the middle vertical glabellar line in an area of ​​0.5-1 cm and forms a 0.5-2 cm 2 The speckle pattern area;

[0016] Wherein, the speckle is a solid spot with a diameter of 0.15-1.5 mm;

[0017] The speckles are spots visible to the naked eye with a grayscale contrast ratio greater than 50 with the surrounding unmarked skin.

[0018] In one embodiment, the first camera and the second camera are cameras at the same horizontal position for acquiring images of the brow center area from the front of the subject, and the first camera and the second camera are symmetrically distributed toward the face of the subject and are at equal distances from the brow center.

[0019] In one embodiment, the angle between the first camera and the second camera is 90°.

[0020] In one embodiment, obtaining the strain fluctuation curve comprises the following steps:

[0021] S101, performing a three-dimensional digital image correlation calculation on the images captured by the two cameras to obtain two sets of three-dimensional coordinates of the center point of the subject's eyebrow area before and after answering the question;

[0022] S102, calculating the difference between the two sets of three-dimensional coordinates to obtain the three-dimensional displacement of the center point;

[0023] S103, obtaining the maximum principal strain of the center point by calculating the three-dimensional displacement;

[0024] S104, while obtaining the subject's answer, continuously repeat S101-S103 to obtain a curve of the maximum principal strain fluctuation over time as a strain fluctuation curve.

[0025] In one embodiment, the three-dimensional digital image correlation calculation is implemented by three two-dimensional digital image correlation calculations.

[0026] In one embodiment, the two-dimensional digital image correlation calculation is performed on any specific sub-region of the eyebrow region, and the specific sub-region contains at least one speckle.

[0027] In one embodiment, when the time lengths of the first set of strain fluctuation curves are inconsistent, the longest time length among them is used as the reference length, and the time lengths of other curves are padded at both ends.

[0028] In one embodiment, the values ​​of the data points corresponding to the padded curve are obtained by interpolation operation.

[0029] In one embodiment, the interpolation operation is a cubic spline interpolation method.

[0030] According to another aspect of the embodiments of the present application, there is also provided an expression detection device based on the mechanical properties of facial skin, comprising:

[0031] An image acquisition module, a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, one or more steps of the above-mentioned method for detecting facial expressions based on the mechanical properties of facial skin are implemented.

[0032] Without limitation, the beneficial effects of the embodiments of the present application include at least but are not limited to:

[0033] There is no need to connect multiple sensors to the subjects, which can avoid causing tension or resistance in the subjects, making the test results closer to the real natural state;

[0034] Compared with projecting an optical image or drawing scattered spots on the entire face of the subject, this method minimizes the affected facial area, thereby reducing the subject's resistance, stress reaction, and resistance, and the test results are more reliable and credible.

[0035] The test can be conducted continuously and over a long period of time without the subject being aware of being tested (e.g., during daily conversations, meetings, speeches, or watching TV series), thereby obtaining more test data for statistics, analysis, and research. Furthermore, due to the small sampling area and relatively simple algorithm, less computing power is consumed.

[0036] Although the target area is small, the test results actually reflect the mechanical properties of the skin and subcutaneous tissue at multiple different locations on the face, and also reflect factors such as heart rate, blood pressure, and sweat flow, taking into account and reflecting more comprehensive factors;

[0037] The two cameras can more accurately reflect the three-dimensional topography of the skin, distinguish similar expressions more accurately, and capture micro-expressions more accurately, thereby more accurately detecting the psychological, physiological, and pathological problems corresponding to different micro-expressions.

[0038] The skin between the eyebrows has more nerves, blood vessels, and pores than the underarms, chest, wrists, and other areas where traditional lie detector sensors are attached, resulting in higher sensitivity and accuracy.

[0039] Avoid multiple test devices / equipment that may cause subjects to be nervous when seeing these devices, leading to misjudgment of the test device;

[0040] Compared with invasive biological tests such as sebaceous gland testing, this method minimizes the intrusion and negative impact on the subjects;

[0041] Compared with pure image or artificial intelligence analysis methods that do not rely on external markers, this method requires less computation, has lower hardware costs, is faster, is more accessible, and can be used on a single machine. It does not require uploading data to the network or relying on standard expression models, making it more conducive to protecting the privacy of the subjects.

[0042] The application scenarios are diverse, and the subjects do not need to endure fatigue tests for several hours in a boring and distraction-free environment. Due to the small external influences and stimulations, the subjects can quickly enter an effective testing state, greatly improving the testing efficiency and thus saving a lot of testing time.

[0043] Current facial expression-based psychological activity detection (including lie detection) and disease diagnosis may require the use of two recording devices to simultaneously record expressions and prevent data loss or camera failure. Therefore, the detection method and detection device according to the embodiments of the present application eliminate the need for additional expensive and difficult-to-select hardware such as sensor components, thus saving not only costs but also space for the placement and storage of these devices.

[0044] In addition, the method according to the embodiment of the present application does not impose rigid constraints on the length of time the subject can answer questions, or the constraints are relatively low, thereby making the question-answering session closer to a natural or relaxed state of life. In other words, to some extent, it solves the problem of inconsistent lengths of answers to different questions that are difficult to compare.

[0045] Since current electronic devices usually have both an optical projection device and two or more cameras, the embodiments of the present application can be directly applied or transferred to mobile devices or electronic devices with a front camera or facial recognition component, including but not limited to mobile phones, tablets, laptops, televisions, watches, cars, motorcycles and other devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings.

[0047] Figure 1 Schematic diagram of an environment for implementing the facial expression detection method based on the mechanical properties of facial skin provided in an optional embodiment of the present application;

[0048] Figure 2 is a schematic picture of the face of a subject with a speckle pattern applied to the face, taken from a camera in an optional embodiment of the present application, wherein the position of the center of the eyebrows is indicated by a cross;

[0049] Figure 3 is a schematic picture of the face of a subject with a speckle pattern applied to the face, taken from another camera in an optional embodiment of the present application, wherein the position of the center of the eyebrows is indicated by a cross;

[0050] Figure 4 This is a flowchart of the steps of the facial expression detection method based on the mechanical properties of facial skin provided in an optional embodiment of the present application;

[0051] Figure 5 A flowchart showing the steps of obtaining a strain fluctuation curve of the center point of the eyebrow region through images of two cameras in an optional embodiment of the present application is shown;

[0052] Figure 6 A method for implementing 3D-DIC by three 2D-DIC steps in an optional embodiment of the present application to obtain the spatial position of the center point of the central sub-region of the center of the eyebrow region before and after deformation is shown;

[0053] Figure 7 A flowchart of the steps of the 2D-DIC method in an optional embodiment of the present application is shown;

[0054] Figure 8 These are three strain fluctuation curves of a sub-region (center point) of the eyebrow region when obtaining answers to basic questions (normal speech) from the subject in an optional embodiment of the present application;

[0055] Figure 9 It is an expected curve calculated based on three strain fluctuation curves of a sub-area (center point) of the eyebrow region when obtaining answers to basic questions (normal speech) from the subject in an optional embodiment of the present application;

[0056] Figure 10 are three strain curves of a certain sub-area (center point) of the brow region when obtaining answers to formal questions from the subject in an optional embodiment of the present application;

[0057] Figure 11 This is a schematic diagram of an expression detection device based on the mechanical properties of facial skin provided in an optional embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present application.

[0059] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a," "an," "its," and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.

[0060] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0061] Non-restrictive, such as Figure 1 As shown, a measurement environment of an expression detection method based on the mechanical properties of facial skin is shown. The hardware conditions generally include two first light sources 11 (also called "left light sources") and a second light source 12 (also called "right light sources") for providing fill lighting from both sides of the subject 10, two first cameras 13 (located on the left side from the perspective of the subject 10, also called "left cameras") for respectively acquiring images from the left and right sides of the subject 10, a second camera 14 (located on the right side from the perspective of the subject 10, also called "right camera"), and supporting electronic equipment 15 for data storage and processing, etc., wherein the two cameras are necessary, and the light source is optional.

[0062] Preferably, Figure 1 The first camera 13 and the second camera 14 are set at the same height facing the subject and are approximately at the same height as the subject's eyebrows. They are evenly and symmetrically distributed on both sides of the subject's nose bridge and are approximately the same distance from the subject's left ear and right ear (that is, approximately the same distance from the eyebrows). That is, the angle α in the figure = β and the sum of the two is 10° to 120°, thereby ensuring that the two cameras can symmetrically obtain images of the eyebrow area from both sides of the eyebrows. Furthermore, the sum of the two is greater than or equal to 60° and less than or equal to 90°, and the image-related computational complexity is lowest when the angle is 90°. When the two cameras are located at any other position, image distortion correction is required using facial feature points, and the accuracy of the detection results may be affected.

[0063] Because facial movements, such as eye and mouth movements, can trigger muscle and nerve activity in the brow region, and muscle changes, particularly muscle strain, are relatively uniform, unique, and simple, whereas changes in the corners of the mouth and eyebrows can be asymmetrical, the brow region can more accurately and centrally reflect microstrain in facial skin and muscles.

[0064] Optional, such as Figure 2-3 As shown, before the experiment begins, speckles can be applied to the subject's brow area using an eyebrow pencil or ballpoint pen as an optical response image. Alternatively, an equivalent effect can be achieved by using an ultra-high-definition camera to capture changes in pores and / or skin texture, but this places higher requirements on the hardware of the image acquisition device.

[0065] Specifically, Figure 2 and Figure 3 The images captured by the first camera 13 and the second camera 14 when a 25-year-old male is asked about his age are shown. Although these images do not appear to be significantly different to the naked eye, the speckles (marker points) therein are actually deformed and / or displaced. Figure 2 and Figure 3 The figure only schematically shows the image of a specific time point when answering a specific question. In fact, the extraction of this image is carried out continuously at a specific step size to obtain the continuous fluctuation of strain in the eyebrow area during a time period of answering the question (i.e., the strain fluctuation curve).

[0066] Without limitation, these optical response images may also be other structural patterns such as grids, moiré patterns, or meshes, but speckle has the best resolution and detection effect, consumes the least computing resources, and in order to avoid affecting the subject, it can also be projected onto the human face, especially the area between the eyebrows, in the form of non-visible light. It should be understood that Figure 2 and Figure 3 The purpose of applying speckle patterns to the entire face of the subject is to compare the changes in speckle patterns at different locations, so as to verify the calculation results. In actual applications, only the area between the eyebrows can be applied, for example, only the range of 1-2 cm around the eyebrows can be applied, so as to avoid the psychological interference and emotional impact of the applied pattern on the subject as much as possible.

[0067] Furthermore, since there are three vertical glabellar lines in the center of the eyebrows, and the center of the eyebrows usually forms a vertically long rectangular area, the speckle pattern is preferably applied between the left and right vertical glabellar lines (between the leftmost glabellar line and the rightmost glabellar line). For subjects without left and right glabellar lines, the speckle pattern can be applied to the area 0.5-1 cm on both sides of the middle vertical glabellar line, forming a 0.5-2 cm 2 The speckle pattern area should be avoided and the speckle should not cover the frown lines.

[0068] To maximize resolution and ensure the accuracy of test results, speckles with a dark pattern that contrasts sharply with the skin are applied to Asian and Caucasian subjects, while speckles with a color such as white or another color that contrasts sharply with the skin are applied to subjects with dark skin. This means that speckles with a clear contrast or easily identifiable texture are applied or projected onto the facial skin. It should be understood that this contrast can be discernible or indistinguishable to the naked eye. Preferably, the speckles are visible to the naked eye with a grayscale contrast ratio of at least 50 compared to the surrounding unmarked skin. These speckles are preferably distributed unevenly (not strictly uniformly) to avoid covering pores and / or frown lines.

[0069] Furthermore, solid speckle patterns of varying sizes can be drawn based on the roughness of the subject's skin. The tighter and finer the skin, the smaller and denser the speckles. Generally, speckles are circular solid spots with a diameter of 0.15mm-1.5mm. Preferably, the speckle patterns are drawn in the non-pore area between the eyebrows to avoid covering and blocking pores, which can cause stress strain on the skin. This is particularly true of stress strain caused by body fluid secretion during long-term testing.

[0070] Figure 4 The method for detecting facial expressions based on the mechanical properties of facial skin according to an embodiment of the present invention is shown, comprising the following steps:

[0071] Step S10, obtaining the subject's answers to a plurality of basic questions and calculating a first set of strain fluctuation curves of the eyebrow center region based on the eyebrow center region images captured by the first camera 13 and the second camera 14;

[0072] Step S20, calculating the first set of strain fluctuation curves to obtain a desired curve;

[0073] Step S30, calculating the first set of strain fluctuation curves and the expected curve to obtain a plurality of correlation coefficients and their threshold ranges;

[0074] Step S40, obtaining the subject's answer to the formal question and calculating the nth strain fluctuation curve of the eyebrow center area based on the eyebrow center area images captured by the first camera and the second camera;

[0075] Step S50 , calculating the correlation coefficient between the nth fluctuation curve and the expected curve. When the correlation coefficient exceeds the threshold range, it is determined that the answer to the question corresponding to the strain fluctuation curve is false.

[0076] In fact, when the correlation coefficient between the nth strain curve and the expected curve exceeds the threshold range, it also reflects the abnormality of the relevant expression, which may also mean that the subject has some kind of psychological abnormality or even a physiological disease.

[0077] For step S10, the basic questions are some basic questions and there is no dispute about the answers, such as the subject's date of birth, gender, name, father's name, mother's name, etc. The number of basic questions is generally greater than or equal to three, and the subject is required to answer as completely as possible according to the template, but it is not required to take the same length of time to answer each question. This is also an improvement of the present application.

[0078] Furthermore, the above step S10 can be performed as follows Figure 5 To achieve the following tasks,

[0079] S101, performing a three-dimensional digital image correlation (3D-DIC) calculation on the images captured by the two cameras (the first camera 13 and the second camera 14) to obtain the three-dimensional coordinates of the center point of the eyebrow area of ​​the subject before and after answering the question (two sets of three-dimensional coordinates);

[0080] S102, calculating the difference between the two sets of three-dimensional coordinates to obtain the three-dimensional displacement of the center point;

[0081] S103, obtaining the maximum principal strain of the center point by calculating the three-dimensional displacement;

[0082] S104 , while obtaining the subject's answers, repeat S101 - S104 to obtain a curve of maximum principal strain fluctuation over time as a strain fluctuation curve.

[0083] The center point of the aforementioned center eyebrow region may also be the center point of any sub-region in the center eyebrow region used for digital image correlation calculation.

[0084] The maximum principal strain at the initial position point is used as the strain at the location to fit the strain fluctuation curve at the location. The center point may be a specific sub-region of the brow center area or the center point of any sub-region.

[0085] Next, through Figure 6 To illustrate how to obtain the three-dimensional coordinates of the center point of the eyebrow area before and after the eyebrow area is deformed by the calculation method of three-dimensional digital image correlation (3D-DIC).

[0086] like Figure 6 As shown, the three-dimensional digital image correlation calculation can be regarded as the superposition of multiple (for example, three) two-dimensional digital image correlation calculations (2D-DIC). The two images of a specific sub-region of the eyebrow area obtained from the first camera 13 (left camera) and the second camera 14 (right camera) before deformation can be subjected to a two-dimensional digital image correlation operation (2D-DIC) to obtain the three-dimensional coordinates of the center point of the sub-region before deformation ( X 0, Y 0, Z0); Similarly, by performing two 2D-DIC operations on the two images obtained by the two cameras after deformation and the image obtained by any camera before deformation (for example, the left camera before deformation), the three-dimensional coordinates of the center point of the specific sub-area after deformation can be obtained ( X 1, Y 1, Z 1); Non-limitingly, the above-mentioned "sub-area" can be understood as a rectangular area centered on a specific point in the eyebrow area to be calculated, and its size is generally required to cover at least one speckle to ensure that it contains sufficient grayscale information.

[0087] Non-limitingly, the "center point of the eyebrow area" can be understood as the center point of a specific sub-area of ​​the eyebrow area. In other words, although this application uses the center point of the central sub-area of ​​the eyebrow area for illustrative purposes for clearer explanation, the center point of any sub-area in the eyebrow area can also be used for calculation, or in other words, the sub-area of ​​any point in the eyebrow area can be used for calculation.

[0088] In other words, three-dimensional coordinates (two sets of three-dimensional coordinates) of the center point of the subject's eyebrow area before and after answering the questions can be obtained through three-dimensional digital image correlation calculations.

[0089] Alternatively, in the above process, since the thickness change of the skin during deformation is extremely small, the thickness change has little effect on the strain of the skin in the x and y directions, so it can be omitted in the modeling process to improve the calculation efficiency and save computing resources. Therefore, the strain of the facial skin based on a single point without considering the change in the z direction (skin depth direction) can be calculated as follows: Figure 7 The calculation method shown in the figure, that is, the above two-dimensional digital image correlation calculation method can be implemented through the following steps.

[0090] S201, calculating the grayscale of a specific sub-area in one camera and calculating the corresponding grayscale in another camera based on the grayscale; non-limiting implementation may be as follows:

[0091] Determine the initial calculation point of the center point of the eyebrow area in the left camera image, and determine a sub-area with the initial calculation point as the center and record the grayscale in it as , the grayscale of the sub-area at the same position in the right camera is recorded as ,in and The index representing the pixel position;

[0092] Based on the assumption of first-order shape function, we can calculate and .

[0093]

[0094] in, u To calculate the displacement of a point in the x direction, v To calculate the displacement of the point in the y direction, u x 、 u y 、 v x 、 v y is the displacement gradient.

[0095] S201 is performed in a calm state before obtaining the subject's answer, or is performed during the process of obtaining the subject's answer to the basic question.

[0096] S202: Establish a correlation function of the grayscale of the sub-area in the two cameras and optimize it iteratively. When the function reaches an extreme value, the deformation contained in the shape function is the deformation to be determined. The non-limiting implementation can be as follows:

[0097] Described by the following related function and The correlation degree of the sub-areas before and after deformation is optimized and iterated on the correlation function. When the correlation function reaches the extreme value, the deformation contained in the shape function is the deformation to be calculated.

[0098]

[0099] in, Subregion radius , and Represent the average grayscale value in the sub-area before and after deformation, respectively.

[0100] Among them, the "sub-area radius" is also called the "sub-area half height" or "sub-area half width". The sub-area is generally square or rectangular. The sub-area half height is the distance from the center point of the sub-area to the upper or lower boundary, and the half width is the distance to the left boundary or the middle boundary. When writing the formula, for convenience, it is generally assumed to be a square, so the half height is usually equal to the half width, that is, the "radius".

[0101] S203, calculating the position of the center point of the eyebrow area in another camera image by the above deformation amount and obtaining the spatial position of the center point by binocular vision technology; non-limiting implementation may be as follows:

[0102] The calculated deformation can be used to obtain the position of the calculated point in the right camera image. The position of the calculated point in the left and right cameras can be used to obtain the spatial coordinates of the initial calculated point (the position of the center of the eyebrows before speaking) through binocular stereo vision technology, that is, .

[0103] S204, repeat S201 to S203 to obtain the spatial coordinates of the center point during the period of obtaining the subject's question (for example, during or just after answering the question). Non-limiting implementation can be:

[0104] Using the above steps to determine the position of the initial calculation point in the camera image at a certain moment when speaking, we can use binocular stereo vision technology again to obtain the spatial coordinates of the initial calculation point when speaking, that is, .

[0105] Next, steps S103 and S104 are further described in more detail.

[0106] The calculation of the three-dimensional displacement and the maximum principal strain of the center point can be implemented as follows:

[0107] The horizontal and vertical displacements in the three-dimensional displacement are expressed by the following formula (1): Convert to the local coordinate system and fit using the least squares method;

[0108] (1)

[0109] in, and is the displacement in the local coordinate system, 、 、 、 、 and is the fitting parameter to be determined.

[0110] Next, using the above fitting parameters, the strain components, principal strains, and directions are obtained through the following formulas (2) and (3).

[0111] (2)

[0112] In the above formula (2), is the horizontal strain, is the vertical strain, is shear strain.

[0113] (3)

[0114] In formula (3), is the maximum principal strain (i.e., “principal strain” or “strain” in this application), Minimum principal strain, The main strain direction.

[0115] Figure 8The curves showing the time-varying strain (principal strain, maximum principal strain) of the brow center region calculated by 3D-DIC during speech in three groups of normal basic questions and answers (q1, q2, q3) are shown. Figure 9 The arithmetic mean of the strain change data is shown, and the strain baseline during speaking is obtained as the expected curve (when the lengths are inconsistent, the center can be aligned, and then the edge data can be fitted and filled, or only the overlapping part can be taken for calculation after the center alignment to save computing resources). Through the one-dimensional DIC calculation between the curve of the question and answer of the basic question above and the expected curve, the correlation coefficient can be used. To describe its correlation, the correlation coefficient is calculated using the formula on the right, and the threshold range of the correlation coefficient is [0.46, 0.73].

[0116] Optionally, the arithmetic mean may be replaced by the average value of the integrated area.

[0117] Preferably, when subjects' response times for each question are inconsistent, the following method can be used to ensure unified processing and analysis: determine the longest response among all answers, use its data length as the baseline length, and interpolate to fill in the missing time dimension. Assume that the longest response produces N data points (data points can be extracted in equal steps). For each shorter response, calculate the position of the interpolation point to extend it to the baseline length N. Specifically, multiple interpolation points are evenly interpolated within the shorter response data. For example, if the original data has M points, (N - M) interpolation points need to be interpolated. Then, cubic spline interpolation is used to calculate the values ​​of these interpolation points. This interpolation method constructs a set of cubic polynomial functions between the known data points, ensuring that the interpolation curve has continuous second-order derivatives, thereby ensuring smoothness and accuracy. After interpolation, the data length of all responses is unified to N data points, thus resolving the problem of inconsistent data length caused by inconsistent response times. This allows for effective correlation operations on the processed data with the same length. This approach ensures smoothness and accuracy of data alignment, providing an effective method to uniformly process data of different lengths.

[0118] Non-limitingly, the integrated area of ​​each curve may be calculated and then divided by the time length for answering the question to obtain the average strain density during the process of answering each question, thereby obtaining the expected density or strain density range as the above threshold range.

[0119] Figure 10Curves showing the time-varying strain (i.e., principal strain and maximum principal strain) of the brow center region (at the brow center) calculated by 3D-DIC when the subject was asked formal questions Q1, Q2, and Q3, i.e., the nth, n+1th, and n+2th strain curves of the responses calculated based on the images of the brow center region captured by the first and second cameras;

[0120] The correlation coefficient between the nth strain curve and the expected curve is calculated. When the correlation coefficient exceeds the threshold range, it is determined that the expression corresponding to the strain curve reflects an abnormal psychological or physiological problem, or that the answer to the corresponding question is false. Among them, the correlation coefficient calculated between the nth curve and the expected curve is 0.52, the corresponding correlation coefficient of the n+1th curve is 0.60, and the correlation coefficient of the n+2th curve is 0.89. Therefore, it can be inferred that the answers to questions Q1 and Q2 are true, and the answer to question Q3 is false. The facial expression in this state is recorded as a true expression to establish an expression correspondence for the individual.

[0121] According to another aspect of the embodiment of the present application, Figure 11 As shown, the present application also provides an expression detection device based on the mechanical properties of facial skin, comprising: an image acquisition module (not shown, for example, composed of a first camera 13 and a second camera 14), a memory 606, a processing unit 602, and a computer program 610 stored in the memory 606 and executable on the processing unit 602. When the computer program 610 is executed by the processing unit 602, the following is achieved: Figure 4 The steps of the expression detection method based on the mechanical properties of facial skin are shown.

[0122] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.

[0123] The methods according to the embodiments of the present application described above can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored in a remote recording medium or non-transitory machine-readable medium downloaded via a network and then stored in a local recording medium. Thus, the methods described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA)). It will be understood that a computer, processor, microprocessor controller, or programmable hardware includes a storage component (e.g., random access memory (RAM), read-only memory (ROM), flash memory, etc.) that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the methods described herein are implemented. Furthermore, when a general-purpose computer accesses the code for implementing the methods described herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods described herein.

[0124] Those skilled in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of this application.

[0125] The above implementation methods are only used to illustrate the embodiments of the present application, and are not intended to limit the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of the present application, and the scope of patent protection of the embodiments of the present application should be defined by the claims.

Claims

1. A facial expression detection method based on the mechanical properties of facial skin, characterized in that: The following steps are involved: Obtaining the subject's answers to a plurality of basic questions and calculating a first set of strain fluctuation curves based on the images of the center of the eyebrows area acquired by the first camera and the second camera during the test; Calculate the first set of strain fluctuation curves to obtain the expected curve; Calculating multiple correlation coefficients and threshold ranges between the first set of strain fluctuation curves and the expected curve; Obtaining the subject's answers to the formal questions and calculating the nth strain fluctuation curve based on the image of the center of the eyebrows area captured by the first camera and the second camera during the test; Calculating the correlation coefficient between the nth strain fluctuation curve and the expected curve, and when it exceeds the threshold range, determining that the expression corresponding to the nth strain fluctuation curve represents a false answer; The brow center area is coated with a plurality of speckles; the speckles are coated in the area between the left and right vertical glabellar lines or on both sides of the middle vertical glabellar lines 0.5-1 cm and form a 0.5-2 cm 2 The speckle pattern area is a solid spot with a diameter of 0.15-1.5 mm; the speckle is a spot visible to the naked eye with a grayscale contrast ratio greater than 50 with the surrounding unmarked skin.

2. The facial expression detection method based on facial skin mechanical properties as claimed in claim 1, characterized in that: The first camera and the second camera are at the same horizontal position and acquire an image of the center of the eyebrows from the front of the subject. The first camera and the second camera are symmetrically distributed toward the face of the subject and are at the same distance from the center of the eyebrows.

3. The facial expression detection method based on facial skin mechanical properties as claimed in claim 2, characterized in that: The included angle between the first camera and the second camera is 90°.

4. The facial expression detection method based on facial skin mechanical properties as claimed in claim 1, characterized in that: Obtaining the strain fluctuation curve includes the following steps: S101, performing three-dimensional digital image correlation calculation on the images captured by the two cameras to obtain two sets of three-dimensional coordinates of the center point of the eyebrow area of ​​the subject before and after answering the question; S102, calculating the difference between the two sets of three-dimensional coordinates to obtain the three-dimensional displacement of the center point; S103, obtaining the maximum principal strain of the center point by calculating the three-dimensional displacement; S104, while obtaining the subject's answer, S101-S103 are continuously repeated to obtain a curve of the maximum principal strain fluctuation over time as a strain fluctuation curve.

5. The facial expression detection method based on facial skin mechanical properties as claimed in claim 4, characterized in that: The three-dimensional digital image correlation calculation is realized by three two-dimensional digital image correlation calculations.

6. The facial expression detection method based on facial skin mechanical properties as claimed in claim 5, characterized in that: The two-dimensional digital image correlation calculation is performed on any specific sub-region of the brow center region, and the specific sub-region contains at least one speckle.

7. The facial expression detection method based on facial skin mechanical properties as claimed in claim 1, characterized in that: When the time lengths of the first group of strain fluctuation curves are inconsistent, the longest time length among them is used as the reference length, and the time lengths of other curves are padded at both ends.

8. The facial expression detection method based on the mechanical properties of facial skin according to claim 7, characterized in that: The values ​​of the data points corresponding to the filled curve are obtained by interpolation operation.

9. The facial expression detection method based on the mechanical properties of facial skin as claimed in claim 8, characterized in that: The interpolation operation is a cubic spline interpolation method.

10. An expression detection device based on the mechanical properties of facial skin, characterized in that: include: An image acquisition module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the expression detection method based on the mechanical properties of facial skin as described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Method for measuring mechanical property of human facial skin

    CN108523842A

  • Temperature field and deformation field synchronous measurement method and device based on DIC

    CN109839072A