A target personnel identification method and system based on infrared lens face detection
By introducing temperature-adaptive threshold segmentation and geometric prior constraints for face detection, combined with multidimensional thermal features and temporal verification, the problems of high false alarm rate and low detection accuracy in infrared thermal imaging personnel identification are solved, and high-precision abnormal state identification is achieved.
Patent Information
- Application Number
- CN202611379181.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-20
AI Technical Summary
Existing infrared thermal imaging-based personnel identification technologies suffer from high false alarm rates, low face detection accuracy, and limited feature extraction dimensions, making it particularly difficult to distinguish between environmental interference and physiological abnormalities in complex environments.
A face detection mechanism combining temperature-adaptive threshold segmentation and geometric prior constraints is adopted to construct a multi-dimensional thermal feature system, including temperature spatial distribution features and temperature micro-fluctuation features. A dynamic deviation calculation strategy based on crowd density and a time sequence consistency verification mechanism are designed.
It improves the accuracy and robustness of facial temperature analysis area, reduces false alarm rate, and achieves high-precision abnormal state identification in complex environments.
Smart Images

Figure CN123142291A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image recognition technology, specifically to a method and system for identifying target personnel based on infrared lens face detection. Background Technology
[0002] Infrared thermal imaging technology is widely used in body temperature screening and abnormal condition detection scenarios because of its advantages such as passively receiving radiation, being unaffected by visible light environment, and being able to reflect changes in human physiological temperature.
[0003] However, existing personnel identification and screening technologies based on infrared thermal imaging still have many limitations. First, traditional methods rely on a single highest or average facial temperature as the basis for judgment, which is easily affected by ambient temperature, humidity, wind speed, and external factors of the person being tested, resulting in a high false alarm rate.
[0004] Secondly, existing technologies often directly use the processing algorithms for visible light images in the face detection process. In infrared thermal images with low contrast and high noise, the face localization accuracy is insufficient, making it difficult to accurately delineate the effective temperature analysis area, which in turn affects the accuracy of feature extraction.
[0005] Furthermore, most existing methods lack in-depth exploration of the dynamic characteristics of temperature changes, focusing only on static temperature values and ignoring the micro-fluctuation patterns of human facial temperature over time and the asymmetric characteristics of its spatial distribution. This makes it difficult to effectively distinguish between temperature anomalies caused by transient environmental disturbances and persistent anomalies caused by physiological or pathological reasons. Summary of the Invention
[0006] This application provides a target person recognition method and system based on infrared lens face detection, which solves the technical problems of low accuracy, single feature extraction dimension, and high false alarm rate of abnormal state in the prior art.
[0007] The technical solution to the above-mentioned technical problems in this application is as follows: In a first aspect, this application provides a method for identifying target persons based on infrared lens face detection, the method comprising: S1: Obtain an infrared thermal image sequence of the target person's facial area, and perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area; S2: Based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, extract multidimensional thermal features, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features; S3: Based on a pre-established normal thermal characteristic benchmark, calculate the deviation of the multidimensional thermal characteristic from the normal thermal characteristic benchmark; S4: Based on the deviation, generate the abnormal status screening result of the target person.
[0008] Secondly, this application provides a target person recognition system based on infrared lens face detection, including: The image sequence detection module is used to acquire an infrared thermal image sequence of the facial region of a target person, and to perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area. The thermal feature extraction module is used to extract multidimensional thermal features based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features. The deviation calculation module is used to calculate the deviation of the multidimensional thermal feature from the pre-established normal thermal feature benchmark. The screening result generation module is used to generate abnormal status screening results for the target personnel based on the deviation degree.
[0009] This application provides one or more technical solutions, which have at least the following technical effects or advantages: This application provides a target person identification method and system based on infrared lens face detection. First, by introducing a face detection mechanism combining temperature-adaptive threshold segmentation and geometric prior constraints, the accuracy and robustness of facial temperature analysis region delineation are improved. Second, a multi-dimensional thermal feature system incorporating spatial temperature distribution characteristics and micro-fluctuation characteristics is constructed, overcoming the limitations of traditional single static temperature indicators. Third, a dynamic deviation calculation strategy based on crowd density is designed, employing absolute temperature thresholds for rapid screening in low-density scenarios and using statistical benchmarks to calculate standard scores in high-density scenarios. Finally, a temporal consistency verification mechanism is introduced. By analyzing the temperature decay rate and its variance, transient environmental interference and persistent physiological abnormalities are effectively distinguished, significantly reducing the false alarm rate caused by non-physiological factors such as airflow and background heat sources. This achieves high-precision, low-false-alarm identification of abnormal target person states in complex environments.
[0010] Through the above technical solution, this application, by combining in-depth mining of multidimensional thermal features with time-series dynamic verification, not only achieves accurate quantitative assessment of the physiological state of the target personnel, but also improves the system's adaptability and robustness in complex dynamic environments. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a flowchart illustrating a target person identification method based on infrared lens face detection provided in an embodiment of this application; Figure 2 This is a flowchart illustrating the process of calculating the deviation of multidimensional thermal features from a normal thermal feature benchmark in a target person recognition method based on infrared lens face detection provided in this application embodiment. Figure 3 This is a schematic diagram of the structure of a target person recognition system based on infrared lens face detection provided in an embodiment of this application.
[0013] The components represented by each number in the attached diagram are explained below: Image sequence detection module 11, thermal feature extraction module 12, deviation calculation module 13, and screening result generation module 14. Detailed Implementation
[0014] This application provides a target person identification method and system based on infrared lens face detection, which addresses the technical problems of low accuracy, single feature extraction dimension, and high false alarm rate of abnormal state in existing infrared thermal imaging face detection.
[0015] Example 1, as Figure 1 As shown in the figure, this application provides a target person recognition method based on infrared lens face detection, including: S1: Obtain an infrared thermal image sequence of the target person's facial area, and perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area; In this embodiment, infrared thermal images of the target person's facial region are first continuously acquired to form an infrared thermal image sequence, and the face position in the image is initially located. In order to further determine the effective area for temperature analysis, this embodiment adopts temperature adaptive threshold segmentation technology to extract high-temperature connected regions from each frame of infrared thermal images as candidate areas of facial thermal regions. Considering that the geometric shape of the human face is relatively fixed, geometric prior constraints are introduced to screen the candidate areas, thereby locking the facial region. On this basis, key feature points are detected, and the facial region is aligned to eliminate measurement errors caused by the person's posture deviation.
[0016] Finally, the aligned facial images are evaluated for clarity, integrity, and occlusion. Only when the quality score is higher than a preset threshold is the face divided into multiple ROI sub-regions such as forehead, left / right cheeks, periorbital region, nose tip, and left / right ears according to the standard facial topology, which serve as the basis for subsequent temperature analysis. If the quality evaluation fails, the current frame is discarded and the next frame is processed to ensure the reliability of the input data.
[0017] Specifically, step S1 in the method includes: S11: Using an infrared thermal imager, continuously acquire multiple frames of infrared thermal images of the facial area of the target person to form the infrared thermal image sequence; S12: Extract candidate regions of facial thermal areas from each frame of infrared thermal images in the infrared thermal image sequence by temperature-adaptive threshold segmentation; S13: Perform geometric prior constraint screening on the candidate facial hotspot regions to determine the facial regions, wherein the geometric prior constraints include at least the aspect ratio, area, and symmetry of the candidate regions; S14: Locate facial key points in the facial region and align the facial region based on the facial key points; S15: Perform a quality assessment on the aligned face. If the quality assessment passes, divide the aligned face into ROI regions and determine the facial temperature analysis area. If the quality assessment fails, discard the current frame.
[0018] The ROI region division includes: The aligned face was divided into temperature analysis sub-regions: forehead region, left cheek region, right cheek region, periorbital region, nose tip region, left ear region, and right ear region.
[0019] In this embodiment, a long-wave infrared thermal imager is used to acquire infrared thermal image sequences of the facial area of the target person. The preferred operating wavelength of the long-wave infrared thermal imager is 8μm to 14μm. This wavelength can effectively penetrate the atmosphere and accurately reflect the radiation temperature of the human body surface. During the acquisition process, the distance between the infrared thermal imager and the target person is controlled to remain within a preset effective detection range to ensure that the acquired infrared thermal image has sufficient resolution and signal-to-noise ratio to meet the needs of subsequent face detection and temperature analysis.
[0020] Secondly, for each frame of infrared thermal image, the existing temperature adaptive threshold segmentation method is used to mark the pixel areas with a temperature higher than the background temperature as candidate areas of facial thermal area, usually the ambient temperature + 2℃. Specifically, if the ambient temperature of the current frame is 25.0℃, the segmentation threshold automatically calculated by the temperature adaptive threshold segmentation method is 27.0℃, and all connected regions with a temperature ≥ 27.0℃ are extracted as candidate areas.
[0021] Next, a geometric screening is performed on the candidate regions. The geometric prior constraints include at least the aspect ratio, area, and symmetry of the candidate regions. For example, the aspect ratio is based on human facial anatomy statistics, with 95% of people having an aspect ratio between 0.7 and 1.5. The area is ≥1500 pixels², which corresponds to the minimum effective area of facial imaging at a distance of 0.8 meters. The symmetry is that the ratio of the number of pixels in the left and right halves of the region is between 0.85 and 1.15. Only candidate regions that simultaneously meet the above three conditions are retained as facial regions. If multiple candidate regions appear at the same time, the one with the largest area is selected.
[0022] Furthermore, within the defined facial region, based on temperature gradient changes, such as the tip of the nose being a local high-temperature extreme point and the eye socket being a local low-temperature area, four key points—the tip of the nose, the left corner of the eye, the right corner of the eye, and the corner of the mouth—are automatically located. Using affine transformation, the facial region of the current frame is aligned to a standard template, which is constructed based on the average shape of 500 normal adult faces and has a size of 128×128 pixels to eliminate differences in head pose.
[0023] The aligned facial images undergo quality assessment, which includes pose angle assessment and occlusion rate assessment. The pose angle assessment determines the deflection angle of the target person's head relative to the optical axis of the infrared thermal imager, including pitch angle, yaw angle, and roll angle. If any angle exceeds a preset tolerance threshold, such as ±15°, it is judged as an abnormal pose, and the quality assessment fails. The occlusion rate assessment calculates the proportion of occluded pixels within the facial ROI region. Occlusion objects include, but are not limited to, masks, glasses, hair, or hands. If the occlusion rate exceeds a preset proportion, such as 20%, it is judged as severe occlusion, and the quality assessment fails. Only when the pose angle is within the tolerance range and the occlusion rate is lower than the preset proportion is the quality assessment considered to have passed, and the subsequent ROI region division steps are then performed. Otherwise, the current frame image is discarded, and the next frame is collected to ensure that the data entering the feature extraction stage has high reliability.
[0024] The preset tolerance threshold is determined based on the statistical distribution of head postures of normal pedestrians in historical data. By statistically analyzing the pitch, yaw, and roll angles of a large number of samples, the angle range covering more than 95% of normal natural postures is selected as the tolerance range to ensure that effective detection samples are retained to the maximum extent while eliminating interference from extreme postures. The preset ratio is determined based on the statistical distribution of facial occlusion of normal pedestrians in natural states. By analyzing the frequency of occurrence and occlusion area of common occluders such as masks and glasses in historical data, the upper limit of the ratio that can cover most scenarios without severe occlusion is selected as the preset ratio to balance the detection pass rate and data validity.
[0025] S2: Based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, extract multidimensional thermal features, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features; In this embodiment, after determining the facial temperature analysis area, the temperature data of each ROI sub-region in the infrared thermal image sequence is deeply mined to construct a multi-dimensional thermal feature vector containing spatial distribution and temporal dynamic changes, including temperature spatial distribution features and temperature micro-fluctuation features. The temperature spatial distribution features can reflect the thermodynamic differences and symmetry between different physiological areas of the face, while the temperature micro-fluctuation features focus on capturing the subtle patterns of facial temperature changes over time to distinguish between physiological fluctuations and environmental noise.
[0026] Before extracting multidimensional thermal features, the process also includes: Environmental data of the target person's location is collected using environmental sensors, and the environmental data includes at least the ambient temperature. The environmental temperature compensation amount is calculated based on the environmental data and the pre-constructed environmental compensation function; Based on the ambient temperature compensation amount, the temperature data in the infrared thermal image sequence is compensated and corrected to eliminate systematic temperature deviations caused by environmental factors.
[0027] In this embodiment, to eliminate the influence of ambient temperature fluctuations on facial absolute temperature measurement and improve the robustness of feature extraction, an environmental compensation mechanism is introduced before feature extraction. Specifically, ambient temperature is collected in real time by an environmental sensor deployed near the detection area. A pre-constructed environmental compensation function is used to quantify the linear or nonlinear influence coefficient of ambient temperature changes on the radiation temperature of the human body surface. For example, the ambient temperature compensation amount = the original value of infrared temperature measurement + α × (reference ambient temperature during calibration – current ambient temperature), where α is the compensation coefficient, which is obtained by testing and fitting a standard blackbody under different ambient temperatures. In this embodiment, α = 0.85.
[0028] For example, if the current ambient temperature is 28.0℃ and the original value of a pixel infrared temperature measurement is 36.2℃, then the ambient temperature compensation amount = 36.2 + 0.85 × (25.0 - 28.0) = 33.65℃. The above correction steps effectively reduce the measurement error caused by sudden changes in ambient temperature due to seasonal changes, air conditioning airflow, or personnel movement, and ensure that the extracted thermal features mainly reflect the physiological state of the human body rather than external environmental interference.
[0029] Specifically, step S2 in the method includes: S21: Traverse the ROI region division results of the facial temperature analysis area, and extract the temperature spatial distribution features from multiple temperature analysis sub-regions respectively. The temperature spatial distribution features include: the average temperature of each temperature analysis sub-region, the temperature ratio between the temperature analysis sub-regions, and the temperature asymmetry of the bilateral cheek temperature analysis sub-regions. S22: Perform detrending processing on the temperature time series of each temperature analysis sub-region in the infrared thermal image sequence, wherein the temperature time series is the time series of the average temperature of each temperature analysis sub-region; S23: Based on the detrended temperature time series, calculate the micro-fluctuation amplitude of each temperature analysis sub-region and output the temperature micro-fluctuation characteristics, wherein the micro-fluctuation amplitude is the standard deviation of the detrended temperature time series.
[0030] In this embodiment, the extraction of temperature spatial distribution features aims to quantify the thermodynamic differences between different physiological regions of the face. Specifically, firstly, the average temperature of each ROI sub-region, such as the forehead, left / right cheeks, periorbital region, tip of the nose, and left / right ears, is calculated within a single frame image to construct a baseline temperature vector. Then, temperature ratios between specific regions are calculated, such as the ratio of nasal temperature to forehead temperature, and the ratio of cheek temperature to forehead temperature, to eliminate the influence of individual baseline body temperature differences and enhance the normalization of features. Finally, the temperature asymmetry between the left and right cheek regions is calculated, defined by the formula |T|. l -T r | / ((T l +T r ) / 2), where T l T represents the average temperature of the left cheek region. r The average temperature of the right cheek area is used as an asymmetry index, which can effectively reflect the asymmetry of facial heat distribution caused by local inflammation, abnormal vasomotor function, or imbalance of neural regulation.
[0031] For example, if the average temperature of a target person's left cheek is 33.8℃ and the average temperature of their right cheek is 33.9℃, then the temperature asymmetry is |33.8-33.9| / ((33.8+33.9) / 2)≈0.003, which is within the normal physiological fluctuation range.
[0032] Secondly, the temperature time series of each temperature analysis sub-region in the infrared thermal image sequence is detrended. For example, the average temperature value in each ROI sub-region is used to form a temperature time series. The trend term is fitted by moving average, and the trend term is subtracted from the original sequence to obtain the detrended residual sequence. The detrending process aims to remove low-frequency drift caused by slow environmental changes or physiological rhythms.
[0033] Furthermore, the standard deviation of the detrended residual time series is calculated as the micro-fluctuation amplitude. For example, the standard deviation of the detrended series in the forehead region is 0.12℃, the left cheek is 0.15℃, and the right cheek is 0.14℃. This value reflects the high-frequency temperature fluctuation caused by facial microvascular pulsation and autonomic nerve regulation. The normal physiological range is usually between 0.05℃ and 0.25℃.
[0034] S3: Based on a pre-established normal thermal characteristic benchmark, calculate the deviation of the multidimensional thermal characteristic from the normal thermal characteristic benchmark; In this embodiment, the pre-established normal thermal characteristic benchmark is a statistical model constructed based on infrared thermal image data of a large number of healthy individuals under standard environmental conditions. The normal thermal characteristic benchmark is pre-established; for example, multidimensional thermal characteristics of 1000 healthy adults in a resting state are pre-collected, the median and median absolute deviation of each characteristic dimension are calculated, and stored as the benchmark. This embodiment uses Mahalanobis distance as a metric to quantify the degree of deviation between the target person's current thermal state and the normal benchmark.
[0035] Specifically, such as Figure 2 As shown, step S3 in the method includes: S31: Count the number of target personnel passing through simultaneously within the same time window of the infrared thermal image sequence, and determine whether the number of target personnel has reached a preset counting threshold. S32: If the number of target personnel does not reach the counting threshold, the determination is made based on the absolute temperature threshold after environmental temperature compensation, and the difference between the average temperature in the multidimensional thermal feature and the absolute temperature threshold is calculated as the deviation. S33: If the number of target personnel reaches the counting threshold, a standard score is calculated as the deviation based on the mean and standard deviation in the pre-established normal thermal characteristic benchmark.
[0036] In this embodiment, the number of target personnel passing through the same time window of the infrared thermal image sequence is first counted. For example, the detection area is set to a 2-meter-wide channel. Within ±5 seconds of the current time, the number of personnel passing through simultaneously is detected to see if it reaches a preset counting threshold. The preset counting threshold is set based on the channel width and the average walking speed of 0.8m / s to avoid thermal radiation interference caused by crowding. For example, it can be set to 3.
[0037] If the number of target personnel does not reach the counting threshold, the absolute temperature threshold is used for judgment. Specifically, the average measured temperature is directly compared with the lower limit of the absolute temperature of healthy people. For example, the lower limit of normal forehead temperature is set at 33.0℃. This value comes from large-scale clinical statistics. A value lower than this indicates insufficient perfusion or low metabolism. Assuming that the current average forehead temperature is 32.5℃, then the deviation = 32.5 – 33.0 = -0.5℃. A negative value indicates that it is lower than the lower limit of normal.
[0038] If the number of target personnel reaches the counting threshold, a standard score is calculated as the deviation. Specifically, the median and median absolute deviation in the baseline are used. The standard score is calculated as (mean - median) / median absolute deviation. For example, if the current mean forehead temperature is 35.2℃, the baseline median is 34.0℃, and the median absolute deviation is 0.3℃, then the standard score is (35.2 - 34.0) / 0.3 = 4.0. This standard score indicates that it exceeds the baseline by 4 median absolute deviations, which is considered a significant deviation.
[0039] S4: Based on the deviation, generate the abnormal status screening result of the target person.
[0040] In this embodiment of the application, the abnormal status screening result of the target personnel is generated based on the calculated deviation degree and the preset abnormal judgment rules.
[0041] Specifically, step S4 in the method includes: S41: Compare the deviation with a preset deviation threshold to perform the first level of screening; S42: If the deviation does not exceed the deviation threshold, then the pre-trained pure normal anomaly detection model is invoked to calculate the Mahalanobis distance based on the multidimensional thermal features. The model parameters of the pure normal anomaly detection model are determined by unsupervised training with the goal of maximizing the likelihood probability of normal samples and minimizing the hypersphere volume of normal samples in the feature space. S43 generates the abnormal state screening result based on the comparison result between the Mahalanobis distance and the preset Mahalanobis distance threshold; S44: If the deviation exceeds the deviation threshold and fails the first-level screening, then proceed to the time sequence consistency check.
[0042] In this embodiment, the calculated deviation is first compared with a preset deviation threshold. This threshold is set based on the confidence interval of the thermal characteristic distribution of normal population, for example, it is set to 3 times the median absolute deviation. If the deviation is less than or equal to the threshold, it indicates that the thermal characteristics of the target person are within the normal fluctuation range and are initially judged to be normal. However, in order to further exclude individuals who are in a critical state or have hidden pathological characteristics, the system will continue to perform refined screening.
[0043] Specifically, a pre-trained pure normal anomaly detection model is invoked. This model is constructed using a single-class support vector machine and is trained unsupervised only on multidimensional thermal feature data of a large number of healthy people. The aim is to fit the tight distribution boundary of normal thermal features in multidimensional space. The multidimensional thermal feature vector of the current target person is input into the model, and the Mahalanobis distance of the target person from the center of the normal distribution in the feature space is calculated. If the Mahalanobis distance is less than the preset Mahalanobis distance threshold, the target person is finally determined to be in a normal state. If the Mahalanobis distance exceeds the preset Mahalanobis distance threshold, even if the deviation of a single item does not exceed the standard, it is still determined to be an abnormal state. This effectively identifies complex cases where individual indicators are normal but the overall thermal pattern is abnormal.
[0044] Specifically, the pure normal anomaly detection model is an anomaly detector based on support vector data description. During training, only normal samples are used. The objective function minimizes the hypersphere volume of normal samples in the feature space and maximizes the likelihood probability of normal samples. The model input is a multi-dimensional thermal feature vector, namely 7 temperature mean values + 7 fluctuation amplitudes + asymmetry, etc., totaling 15 dimensions. For samples that pass the first-level screening, the Mahalanobis distance is calculated based on the inverse matrix of the covariance matrix Σ of the training samples. Based on the comparison result of the Mahalanobis distance with the preset Mahalanobis distance threshold, the normal or suspected anomaly result is output.
[0045] If the deviation exceeds the preset deviation threshold in the first-level screening, it indicates that the target person has significant abnormal thermal characteristics. At this time, the process directly enters the time sequence consistency verification stage to eliminate false alarms caused by instantaneous environmental interference, measurement noise, or non-physiological factors.
[0046] Among them, timing consistency verification includes: S431: Call multiple sets of infrared thermal image sequences under a consecutive preset number of detection windows; S432: Based on multiple sets of infrared thermal image sequences, extract the temperature time series of each temperature analysis sub-region in the facial temperature analysis region; S433: Traverse multiple temperature time series, fit exponential decay models respectively, and obtain the decay rate constant of each temperature analysis sub-region, wherein the exponential decay model characterizes the exponential decay relationship of temperature over time; S434: Calculate the variance between the decay rate constants of each of the temperature analysis sub-regions; S435: Discrimination is made based on the said decay rate constant and the said variance: If the decay rate constant is greater than a first preset threshold and the variance is greater than a second preset threshold, then it is determined to be a transient disturbance. If the decay rate constant is less than a third preset threshold and the variance is less than a fourth preset threshold, then it is determined to be a persistent anomaly. Otherwise, extend the observation time and return to S431 to continue data collection.
[0047] In this embodiment, firstly, multiple sets of infrared thermal image sequences under a continuously preset number of detection windows, such as 5 windows, are invoked to ensure that the time span covers at least one complete physiological fluctuation cycle or interference attenuation cycle. Based on continuous frame data, the temperature time series of each key sub-region in the facial temperature analysis area are extracted. Then, the temperature time series of each sub-region is fitted to construct an exponential decay model T(t) = Te + (Ts - Te)·e -kt , where k is the decay rate constant in units of s⁻¹, and the nonlinear least squares method is used for fitting. The initial value Ts is the average of the first 5 frames of the sequence, and the stable value Te at the end of the sequence is the average of the last 5 frames of the sequence.
[0048] Secondly, the variance of the decay rate constant k of all sub-regions is calculated to assess the consistency of temperature changes in different areas of the face. If the decay rate constant k of a certain sub-region is greater than the first preset threshold, it indicates that the temperature of that area has rapidly dropped back to the ambient temperature, which is consistent with the characteristics of a non-biological heat source. At the same time, if the variance is greater than the second preset threshold, it indicates that the temperature changes in different areas of the face are extremely uneven, with local drastic fluctuations. This is usually a typical manifestation of transient environmental interference, such as direct airflow from an air conditioner vent or airflow disturbance caused by pedestrians passing by. In this case, the current anomaly is marked as transient interference and is removed without generating an anomaly alarm.
[0049] Conversely, if the decay rate constant k of each sub-region is less than the third preset threshold, it indicates that the temperature abnormality is persistent and does not decay rapidly over time, which is consistent with the thermal inertia characteristics of physiological fever or pathological changes in the human body. At the same time, if the variance is less than the fourth preset threshold, it indicates that the overall facial temperature change trend is consistent, excluding the influence of local random noise. At this time, it is judged as a persistent abnormality, confirming that the target person has a real physiological abnormality, generating an abnormality screening result and triggering the subsequent treatment process.
[0050] If neither of the above two conditions is met, i.e. the decay rate and variance are in the intermediate ambiguity zone, making it difficult to immediately distinguish between slowly dissipating environmental disturbances and early physiological abnormalities, the observation time is automatically extended, and the process returns to step S431 to continue collecting subsequent frame data, increasing the sample size to improve the confidence of the judgment, until the judgment condition is met or the maximum observation time limit is reached. Through the verification mechanism based on the time-series dynamic characteristics, this embodiment can effectively distinguish between real human abnormalities and environmental noise, reduce the false alarm rate, and improve the robustness and accuracy of the system in complex dynamic environments.
[0051] The first preset threshold is fitted based on cooling experimental data of a standard blackbody under typical environmental temperature abrupt changes, and is set to, for example, 0.005 s⁻¹, a value much higher than the natural cooling rate of human tissue caused by heat conduction and blood perfusion. The second preset threshold is determined based on the statistical analysis of the dispersion of decay rates among multiple regions, and is set to, for example, 0.0005 s⁻², to quantify the spatial non-uniformity of facial temperature changes. The third preset threshold is referenced to the thermoregulation response rate of healthy individuals in a state of mild fever, and is set to, for example, 0.002 s⁻¹, a value lower than this indicating extremely slow temperature changes, consistent with the high heat capacity and homeostatic regulation characteristics of organisms. The fourth preset threshold is set to 0.0002 s⁻² to ensure that thermal changes in each physiological region are highly synchronized, eliminating the influence of local sensor noise or obstructions.
[0052] Furthermore, the establishment of normal thermal characteristic benchmarks includes: S51: Collect multidimensional thermal features of a preset number of people to form a thermal feature sample set; S52: Calculate the median and median absolute deviation for each thermal feature dimension in the thermal feature sample set; S53: Based on the median and the median absolute deviation, establish the normal thermal characteristic benchmark, wherein the median absolute deviation is used to replace the standard deviation.
[0053] In this embodiment, a preset number of healthy individuals are first collected for multidimensional thermal characteristic data under standard environmental conditions to form an initial thermal characteristic sample set. The median and median absolute deviation of each thermal characteristic dimension are calculated. Compared with the traditional mean and standard deviation, the median and median absolute deviation are more robust to extreme values and can effectively avoid the deviation of individual extreme physiological state samples from the benchmark model.
[0054] Finally, based on the calculated medians and median absolute deviations for each dimension, a normal thermal characteristic benchmark database is established. This benchmark not only includes the statistical parameters of each characteristic dimension but also stores the covariance matrix between features for subsequent Mahalanobis distance calculations. In practical applications, this benchmark can be regularly updated and dynamically adjusted according to seasonal changes, regional differences, or specific population characteristics. For example, a new batch of samples can be collected every quarter for incremental learning to adapt to the systematic impact of seasonal fluctuations in ambient temperature on human body surface temperature, ensuring that the benchmark model always conforms to the normal physiological state distribution under the current actual application scenario.
[0055] For example, facial infrared thermal image sequences of 1000 healthy volunteers aged 20-60 years, with an equal number of men and women, were collected in a resting state. The same multidimensional thermal features as described above were extracted to form a sample set. Each sample contained 15 features. For each feature, the median was calculated. The median and median absolute deviation of each feature were stored as a normal thermal feature benchmark. In use, the benchmark is independent of the mean and standard deviation, is robust to outliers and data distribution patterns, and is suitable for non-normally distributed infrared thermal feature data.
[0056] In summary, compared with existing technologies, this application achieves the screening of abnormal states of target personnel by constructing a multi-dimensional thermal feature system and combining it with a dynamic time-series verification mechanism.
[0057] In summary, the embodiments of this application have at least the following technical effects: This application provides a target person identification method based on infrared lens face detection. First, by introducing a face detection mechanism combining temperature-adaptive threshold segmentation and geometric prior constraints, the accuracy and robustness of facial temperature analysis region delineation are improved. Second, a multi-dimensional thermal feature system incorporating spatial temperature distribution characteristics and micro-fluctuation characteristics is constructed, overcoming the limitations of traditional single static temperature indicators. Third, a dynamic deviation calculation strategy based on crowd density is designed, employing absolute temperature thresholds for rapid screening in low-density scenarios and calculating standard scores using statistical benchmarks in high-density scenarios. Finally, a temporal consistency verification mechanism is introduced. By analyzing the temperature decay rate and its variance, transient environmental interference and persistent physiological abnormalities are effectively distinguished, significantly reducing the false alarm rate caused by non-physiological factors such as airflow and background heat sources. This achieves high-precision, low-false-alarm identification of abnormal target person states in complex environments.
[0058] Through the above technical solution, this application, by combining in-depth mining of multidimensional thermal features with time-series dynamic verification, not only achieves accurate quantitative assessment of the physiological state of the target personnel, but also improves the system's adaptability and robustness in complex dynamic environments.
[0059] Example 2, as Figure 3 As shown, based on the same inventive concept as the target person recognition method based on infrared lens face detection provided in Embodiment 1, this application also provides a target person recognition system based on infrared lens face detection, including: Image sequence detection module 11 is used to acquire infrared thermal image sequence of the facial region of the target person, and to perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area; The thermal feature extraction module 12 is used to extract multidimensional thermal features based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features. The deviation calculation module 13 is used to calculate the deviation of the multidimensional thermal feature from the normal thermal feature benchmark based on a pre-established normal thermal feature benchmark. The screening result generation module 14 is used to generate the abnormal status screening result of the target person based on the deviation degree.
[0060] In one embodiment, the image sequence detection module 11 is specifically used for: S11: Using an infrared thermal imager, continuously acquire multiple frames of infrared thermal images of the facial area of the target person to form the infrared thermal image sequence; S12: Extract candidate regions of facial thermal areas from each frame of infrared thermal images in the infrared thermal image sequence by temperature-adaptive threshold segmentation; S13: Perform geometric prior constraint screening on the candidate facial hotspot regions to determine the facial regions, wherein the geometric prior constraints include at least the aspect ratio, area, and symmetry of the candidate regions; S14: Locate facial key points in the facial region and align the facial region based on the facial key points; S15: Perform a quality assessment on the aligned face. If the quality assessment passes, divide the aligned face into ROI regions and determine the facial temperature analysis area. If the quality assessment fails, discard the current frame.
[0061] The ROI region division includes: The aligned face was divided into temperature analysis sub-regions: forehead region, left cheek region, right cheek region, periorbital region, nose tip region, left ear region, and right ear region.
[0062] Furthermore, before extracting multidimensional thermal features, the following steps are also included: Environmental data of the target person's location is collected using environmental sensors, and the environmental data includes at least the ambient temperature. The environmental temperature compensation amount is calculated based on the environmental data and the pre-constructed environmental compensation function; Based on the ambient temperature compensation amount, the temperature data in the infrared thermal image sequence is compensated and corrected to eliminate systematic temperature deviations caused by environmental factors.
[0063] In one embodiment, the thermal feature extraction module 12 is specifically used for: S21: Traverse the ROI region division results of the facial temperature analysis area, and extract the temperature spatial distribution features from multiple temperature analysis sub-regions respectively. The temperature spatial distribution features include: the average temperature of each temperature analysis sub-region, the temperature ratio between the temperature analysis sub-regions, and the temperature asymmetry of the bilateral cheek temperature analysis sub-regions. S22: Perform detrending processing on the temperature time series of each temperature analysis sub-region in the infrared thermal image sequence, wherein the temperature time series is the time series of the average temperature of each temperature analysis sub-region; S23: Based on the detrended temperature time series, calculate the micro-fluctuation amplitude of each temperature analysis sub-region and output the temperature micro-fluctuation characteristics, wherein the micro-fluctuation amplitude is the standard deviation of the detrended temperature time series.
[0064] Furthermore, in one embodiment, the deviation calculation module 13 is specifically used for: S31: Count the number of target personnel passing through simultaneously within the same time window of the infrared thermal image sequence, and determine whether the number of target personnel has reached a preset counting threshold. S32: If the number of target personnel does not reach the counting threshold, the determination is made based on the absolute temperature threshold after environmental temperature compensation, and the difference between the average temperature in the multidimensional thermal feature and the absolute temperature threshold is calculated as the deviation. S33: If the number of target personnel reaches the counting threshold, a standard score is calculated as the deviation based on the mean and standard deviation in the pre-established normal thermal characteristic benchmark.
[0065] Furthermore, in one embodiment, the screening result generation module 14 is specifically used for: S41: Compare the deviation with a preset deviation threshold to perform the first level of screening; S42: If the deviation does not exceed the deviation threshold, then the pre-trained pure normal anomaly detection model is invoked to calculate the Mahalanobis distance based on the multidimensional thermal features. The model parameters of the pure normal anomaly detection model are determined by unsupervised training with the goal of maximizing the likelihood probability of normal samples and minimizing the hypersphere volume of normal samples in the feature space. S43 generates the abnormal state screening result based on the comparison result between the Mahalanobis distance and the preset Mahalanobis distance threshold; S44: If the deviation exceeds the deviation threshold and fails the first-level screening, then proceed to the time sequence consistency check.
[0066] Among them, timing consistency verification includes: S431: Call multiple sets of infrared thermal image sequences under a consecutive preset number of detection windows; S432: Based on multiple sets of infrared thermal image sequences, extract the temperature time series of each temperature analysis sub-region in the facial temperature analysis region; S433: Traverse multiple temperature time series, fit exponential decay models respectively, and obtain the decay rate constant of each temperature analysis sub-region, wherein the exponential decay model characterizes the exponential decay relationship of temperature over time; S434: Calculate the variance between the decay rate constants of each of the temperature analysis sub-regions; S435: Discrimination is made based on the said decay rate constant and the said variance: If the decay rate constant is greater than a first preset threshold and the variance is greater than a second preset threshold, then it is determined to be a transient disturbance. If the decay rate constant is less than a third preset threshold and the variance is less than a fourth preset threshold, then it is determined to be a persistent anomaly. Otherwise, extend the observation time and return to S431 to continue data collection.
[0067] Furthermore, the establishment of normal thermal characteristic benchmarks includes: S51: Collect multidimensional thermal features of a preset number of people to form a thermal feature sample set; S52: Calculate the median and median absolute deviation for each thermal feature dimension in the thermal feature sample set; S53: Based on the median and the median absolute deviation, establish the normal thermal characteristic benchmark, wherein the median absolute deviation is used to replace the standard deviation.
Claims
1. A method for identifying target persons based on infrared lens face detection, characterized in that, include: S1: Obtain an infrared thermal image sequence of the target person's facial area, and perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area; S2: Based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, extract multidimensional thermal features, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features; S3: Based on a pre-established normal thermal characteristic benchmark, calculate the deviation of the multidimensional thermal characteristic from the normal thermal characteristic benchmark; S4: Based on the deviation, generate the abnormal status screening result of the target person.
2. The target person recognition method based on infrared lens face detection as described in claim 1, characterized in that, Acquire an infrared thermal image sequence of the target person's facial region, and perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area, including: S11: Using an infrared thermal imager, continuously acquire multiple frames of infrared thermal images of the facial area of the target person to form the infrared thermal image sequence; S12: Extract candidate regions of facial thermal areas from each frame of infrared thermal images in the infrared thermal image sequence by temperature-adaptive threshold segmentation; S13: Perform geometric prior constraint screening on the candidate facial hotspot regions to determine the facial regions, wherein the geometric prior constraints include at least the aspect ratio, area, and symmetry of the candidate regions; S14: Locate facial key points in the facial region and align the facial region based on the facial key points; S15: Perform a quality assessment on the aligned face. If the quality assessment passes, divide the aligned face into ROI regions and determine the facial temperature analysis area. If the quality assessment fails, discard the current frame.
3. The target person recognition method based on infrared lens face detection as described in claim 2, characterized in that, ROI region division includes: The aligned face was divided into temperature analysis sub-regions: forehead region, left cheek region, right cheek region, periorbital region, nose tip region, left ear region, and right ear region.
4. The target person recognition method based on infrared lens face detection as described in claim 1, characterized in that, Before extracting multidimensional thermal features, the following steps are also included: Environmental data of the target person's location is collected using environmental sensors, and the environmental data includes at least the ambient temperature. The environmental temperature compensation amount is calculated based on the environmental data and the pre-constructed environmental compensation function; Based on the ambient temperature compensation amount, the temperature data in the infrared thermal image sequence is compensated and corrected to eliminate systematic temperature deviations caused by environmental factors.
5. The target person recognition method based on infrared lens face detection as described in claim 1, characterized in that, Based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, multidimensional thermal features are extracted, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features, including: S21: Traverse the ROI region division results of the facial temperature analysis area, and extract the temperature spatial distribution features from multiple temperature analysis sub-regions respectively. The temperature spatial distribution features include: the average temperature of each temperature analysis sub-region, the temperature ratio between the temperature analysis sub-regions, and the temperature asymmetry of the bilateral cheek temperature analysis sub-regions. S22: Perform detrending processing on the temperature time series of each temperature analysis sub-region in the infrared thermal image sequence, wherein the temperature time series is the time series of the average temperature of each temperature analysis sub-region; S23: Based on the detrended temperature time series, calculate the micro-fluctuation amplitude of each temperature analysis sub-region and output the temperature micro-fluctuation characteristics, wherein the micro-fluctuation amplitude is the standard deviation of the detrended temperature time series.
6. The target person recognition method based on infrared lens face detection as described in claim 1, characterized in that, Based on a pre-established normal thermal characteristic benchmark, the deviation of the multidimensional thermal characteristic from the normal thermal characteristic benchmark is calculated, including: S31: Count the number of target personnel passing through simultaneously within the same time window of the infrared thermal image sequence, and determine whether the number of target personnel has reached a preset counting threshold. S32: If the number of target personnel does not reach the counting threshold, the determination is made based on the absolute temperature threshold after environmental temperature compensation, and the difference between the average temperature in the multidimensional thermal feature and the absolute temperature threshold is calculated as the deviation. S33: If the number of target personnel reaches the counting threshold, a standard score is calculated as the deviation based on the mean and standard deviation in the pre-established normal thermal characteristic benchmark.
7. The target person recognition method based on infrared lens face detection as described in claim 1, characterized in that, Based on the deviation, an abnormal state screening result for the target person is generated, including: S41: Compare the deviation with a preset deviation threshold to perform the first level of screening; S42: If the deviation does not exceed the deviation threshold, then the pre-trained pure normal anomaly detection model is invoked to calculate the Mahalanobis distance based on the multidimensional thermal features. The model parameters of the pure normal anomaly detection model are determined by unsupervised training with the goal of maximizing the likelihood probability of normal samples and minimizing the hypersphere volume of normal samples in the feature space. S43 generates the abnormal state screening result based on the comparison result between the Mahalanobis distance and the preset Mahalanobis distance threshold; S44: If the deviation exceeds the deviation threshold and fails the first-level screening, then proceed to the time sequence consistency check.
8. The target person identification method based on infrared lens face detection as described in claim 7, characterized in that, Timing consistency verification includes: S431: Call multiple sets of infrared thermal image sequences under a consecutive preset number of detection windows; S432: Based on multiple sets of infrared thermal image sequences, extract the temperature time series of each temperature analysis sub-region in the facial temperature analysis region; S433: Traverse multiple temperature time series, fit exponential decay models respectively, and obtain the decay rate constant of each temperature analysis sub-region, wherein the exponential decay model characterizes the exponential decay relationship of temperature over time; S434: Calculate the variance between the decay rate constants of each of the temperature analysis sub-regions; S435: Discrimination is made based on the said decay rate constant and the said variance: If the decay rate constant is greater than a first preset threshold and the variance is greater than a second preset threshold, then it is determined to be a transient disturbance. If the decay rate constant is less than a third preset threshold and the variance is less than a fourth preset threshold, then it is determined to be a persistent anomaly. Otherwise, extend the observation time and return to S431 to continue data collection.
9. The target person identification method based on infrared lens face detection as described in claim 1, characterized in that, The establishment of normal thermal characteristic benchmarks includes: S51: Collect multidimensional thermal features of a preset number of people to form a thermal feature sample set; S52: Calculate the median and median absolute deviation for each thermal feature dimension in the thermal feature sample set; S53: Based on the median and the median absolute deviation, establish the normal thermal characteristic benchmark, wherein the median absolute deviation is used to replace the standard deviation.
10. A target person recognition system based on infrared lens face detection, characterized in that, A method for identifying a target person based on infrared lens face detection as described in any one of claims 1 to 9, comprising: The image sequence detection module is used to acquire an infrared thermal image sequence of the facial region of a target person, and to perform face detection on the infrared thermal image sequence to determine the facial temperature analysis area. The thermal feature extraction module is used to extract multidimensional thermal features based on the temperature data of the facial temperature analysis area in the infrared thermal image sequence, wherein the multidimensional thermal features include at least temperature spatial distribution features and temperature micro-fluctuation features. The deviation calculation module is used to calculate the deviation of the multidimensional thermal feature from the pre-established normal thermal feature benchmark. The screening result generation module is used to generate abnormal status screening results for the target personnel based on the deviation degree.
