Unsupervised remote photoplethysmography method using center clipping and projection matrix optimization

By using center cropping and optimizing the projection matrix in the unsupervised remote photoplethysmography method, the problem of low signal-to-noise ratio is solved, more accurate heart rate detection and higher computational efficiency are achieved, significantly improving the accuracy of heart rate monitoring. and speed.

CN118760848APending Publication Date: 2024-10-11GUILIN UNIV OF ELECTRONIC TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410725398.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing unsupervised remote photoplethysmography method has a low signal-to-noise ratio, resulting in a large error in the detected heart rate value.

Method used

The method of center cropping and optimizing the projection matrix is ​​used to improve the signal-to-noise ratio and Accuracy of heart rate measurement.

Benefits of technology

It improves the signal-to-noise ratio of the signal, reduces the consumption of computing resources, achieves higher heart rate accuracy and faster detection speed, and is easy to deploy. The evaluation results show that the MAE, RMSE, MAPE, Pearson and SNR of the heart rate indicators have significant improve.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760848A_ABST
    Figure CN118760848A_ABST
Patent Text Reader

Abstract

The invention discloses an unsupervised remote photoelectric volume pulse wave method improved by center cutting and projection matrix optimization. The method belongs to the field of computer vision and signal processing, and comprises the following steps: S1, preprocessing a face video; s2, carrying out center cutting on the preprocessed face data, calculating an average RGB value of each frame of image for a cut area, and carrying out normalization; s3, multiplying the normalized matrix by a projection matrix, and mapping the normalized matrix to a specific chrominance signal; s4, performing signal weighted combination on the mapped matrix to obtain a preliminary signal; and S5, carrying out mean removal and filtering processing on the initial signal, and then carrying out fast Fourier transform on the filtered signal to obtain a heart rate value. The method is low in computing resource consumption, high in processing speed and convenient to deploy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to computer vision, signal processing and the field, and specifically designs an unsupervised remote photoplethysmography method using center clipping and optimized projection matrix Background Art

[0002] Remote photoplethysmography (rPPG) is a technology that directly measures heart rate and pulse without contacting the skin. It is based on the principle of photoelectric measurement, using the absorption and reflection characteristics of light to analyze tiny color changes on the surface of human skin to infer the frequency of the heartbeat. Traditional photoplethysmography (PPG) usually requires the sensor to directly contact the skin, while rPPG achieves heart rate monitoring by analyzing the skin area in video images without contact, which is more convenient and comfortable. The background technology of rPPG involves fields such as signal processing, computer vision and machine learning. It extracts periodic optical signals from video images and applies algorithms to identify and extract heart rate information. This technology has broad application prospects in the fields of health monitoring, emotion recognition and physical activity monitoring, and provides new possibilities for contactless monitoring of physiological parameters.

[0003] At present, the main methods of rPPG include supervised learning and unsupervised learning of deep learning. Both methods convert face videos into one-dimensional signals through specific technologies. Supervised learning methods can achieve excellent results on data sets, but they require a lot of computing resources, and when the training set is applied to actual scenarios, the results may be biased due to changes in data distribution. In contrast, unsupervised learning methods require lower computing resources, do not require a large amount of labeled data, and have stronger generalization capabilities. Summary of the invention

[0004] The signal-to-noise ratio of the current unsupervised remote photoplethysmography method is relatively high, and the detected heart rate value has a large error, so the present invention uses an unsupervised remote photoplethysmography method with center cropping and optimized projection matrix to design a new rPPG method for the above needs. Through this method, we can quickly obtain heart rate values ​​from face videos. This method is improved on the basis of the classic rPPG unsupervised method POS proposed previously. This improved method mainly solves the problem of low signal-to-noise ratio of most unsupervised methods, and modifies the matrix of the important RGB three-channel weights involved, which we call the projection matrix, so that the final measured heart rate is more accurate.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] Unsupervised remote photoplethysmography method using center cropping and optimized projection matrix, including:

[0007] S1: preprocessing of face video;

[0008] S2: The face data after preprocessing is center cropped, and the average RGB value of each frame image is calculated for the cropped area and normalized;

[0009] S3: The normalized matrix is ​​multiplied by the projection matrix to map it to a specific chrominance signal;

[0010] S4: Perform weighted combination of signals on the mapped matrix to obtain a preliminary signal;

[0011] S5: removing the mean and filtering the preliminary signal, and then performing fast Fourier transform on the filtered signal to obtain the heart rate value;

[0012] The beneficial effects of the present invention are as follows: compared with the prior art, this method no longer uses all facial information as input, but uses the central cropped area as input. Such a cropped area will reduce background noise, thereby improving the signal-to-noise ratio of the final extracted physiological signal; since the contribution weights of the signals of the RGB channels to the final pulse wave signal are different, we have conducted a large number of experiments and found a set of better projection matrices, so that the final calculated heart rate value is more accurate. We evaluated the method on the public data set UBFC-rPPG data set, and the heart rate indicators evaluated by the method are MAE=1.45, RMSE=3.52, MAPE=1.57, Pearson=0.98, SNR=2.25. It is more accurate than other unsupervised learning methods. This method adopts an unsupervised mode, which consumes less computing resources and is faster than the supervised method, and has higher heart rate accuracy and is easy to deploy. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A schematic diagram of a dynamic monitoring method used for face video preprocessing;

[0014] Figure 2 The pipeline of unsupervised remote photoplethysmography method using center cropping and optimized projection matrix; DETAILED DESCRIPTION

[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0016] The present invention designs an unsupervised remote photoplethysmography method using center clipping and optimized projection matrix, such as Figure 1-2 As shown, the method includes the following contents: preprocessing of face video, and performing unsupervised remote photoplethysmography method on the processed result by using center cropping and optimizing projection matrix.

[0017] S1: Preprocess the face video. Figure 1 The figure shows the flow chart of face video preprocessing. We first use the Haar Cascade face detection tool to detect faces in the video and crop them according to the detected face frames. We use the dynamic detection method. Figure 1 The figure shows the process of face frame using dynamic monitoring method. This method involves setting an interval N, that is, detecting a face every N frames, so as to dynamically adjust the size of the face frame. The detected face frame is cropped and the resolution is re-adjusted to 72×72.

[0018] S2: The face data after preprocessing is center cropped, and the average RGB value of each frame image is calculated for the cropped area and normalized. Figure 2 The figure shows a flowchart of the unsupervised remote photoplethysmography method using center cropping and optimized projection matrix, including the process of step 2. Center cropping is performed on the preprocessed face data. The size of the face video after preprocessing is (N, 72, 72, 3), where N represents N frames of video, 72 represents the length and width of each frame of video, and 3 represents three channels. A 32×32 rectangular box in the center of the video area is selected for cropping. This is to eliminate background noise and ensure that the ratio of face to background in the input video is high. Then the average RGB value of each frame of the image is calculated. The specific process is:

[0019]

[0020] Where M and N represent the height and width of each frame, i represents one of the RGB color channels, and m and n represent the position coordinates of the pixels in each frame. Then normalization is performed, and the resulting matrix C has a shape of (N, 3).

[0021] S3: The normalized matrix is ​​multiplied by the projection matrix to map it to a specific chrominance signal. Figure 2The figure shows a flowchart of the unsupervised remote photoplethysmography method using center cropping and optimized projection matrix, including the process of step three. The normalized matrix C is transposed to a matrix of size (3, N), and then multiplied by the projection matrix to map the RGB signal to a specific chrominance signal. The resulting mapping matrix S is of size (2, N). It can be regarded as consisting of S1 signal and S2 signal. We adjusted the parameters of the original projection matrix so that the heart rate reading obtained by the new projection matrix is ​​more accurate. The function of the projection matrix is ​​to project the time-normalized RGB signal into a new space, which uses the selected projection axis to maximize the distinction between color changes caused by the pulse and other noise components, thereby effectively extracting the pulse wave signal.

[0022] S4: Perform weighted combination of signals on the mapped matrix to obtain a preliminary signal. Figure 2 The figure shows a flow chart of the unsupervised remote photoplethysmography method using center cropping and optimized projection matrix, including the process of step 4. The weighted combination of the mapped S1 and S2 signals is performed to obtain a preliminary signal h. The specific process is:

[0023]

[0024] Among them, std stands for standard deviation.

[0025] S5: De-averaging and filtering the preliminary signal h, and then performing fast Fourier transform on the filtered signal to obtain the heart rate value. Figure 2 The flowchart of the unsupervised remote photoplethysmography method using center cropping and optimized projection matrix is ​​shown, including the process of step 5. The preliminary signal h is de-meaned and filtered, and the specific process is as follows:

[0026] h = filtfilt(b,a,detrend(h))

[0027] Among them, b and a are the coefficients of the Butterworth bandpass filter, the filtfilt function represents zero-phase filtering, and the Butterworth filter is used to perform bandpass processing on the signal. The filter is designed based on a specific frequency range [0.75×2 / fs,3×2 / fs][0.75×2 / fs,3×2 / fs] because this is closer to the frequency range of the heart rate. Detrend is used to remove the linear trend of the signal. Then the filtered signal is fast Fourier transformed to obtain the heart rate value.

Claims

1. An unsupervised remote photoplethysmography method using center cropping and optimized projection matrix, characterized in that: The following steps are involved: S1: preprocess the face video; S2: The face data after preprocessing is center cropped, and the average RGB value of each frame image is calculated for the cropped area and normalized; S3: The normalized matrix is ​​multiplied by the projection matrix to map it to a specific chrominance signal; S4: Perform weighted combination of signals on the mapped matrix to obtain a preliminary signal; S5: De-averaging and filtering the preliminary signal, and then performing fast Fourier transform on the filtered signal to obtain the heart rate value.

2. An unsupervised remote photoplethysmography method using center cropping and optimized projection matrix according to claim 1, characterized in that In S1, the specific method of preprocessing the face video is as follows: We use the Haar Cascade face detection tool to detect faces in the video and crop it according to the detected face frame. We adopted a dynamic detection method. Figure 1 shows the process of using the dynamic detection method to detect the face frame. This method involves setting an interval N, that is, detecting a face every N frames, so as to dynamically adjust the size of the face frame. The detected face frame is cropped and the resolution is resized to 72×72.

3. An unsupervised remote photoplethysmography method using center cropping and optimized projection matrix according to claim 1, characterized in that In S2, the face data after preprocessing is center cropped, and the average RGB value of each frame of the cropped area is calculated and normalized. The specific method is as follows: the size of the face video after preprocessing is (N, 72, 72, 3), where N represents N frames of video, 72 represents the length and width of each frame of video, and 3 represents three channels. A 32×32 rectangular box in the center of the video area is selected for cropping. This is to eliminate background noise and ensure that the ratio of face to background in the input video is high. Then the average RGB value of each frame of the image is calculated. The specific process is as follows: Where M and N represent the height and width of each frame, i represents one of the RGB color channels, and m and n represent the position coordinates of the pixels in each frame. Then normalization is performed, and the resulting matrix C has a shape of (N, 3).

4. An unsupervised remote photoplethysmography method using center cropping and optimized projection matrix according to claim 1, characterized in that In S3, the normalized matrix is ​​multiplied by the projection matrix to map it to a specific chrominance signal. The specific method is: transpose the normalized matrix C to a matrix of size (3, N), and then multiply it by the projection matrix to map the RGB signal to a specific chrominance signal. The resulting mapping matrix S is of size (2, N). It can be regarded as consisting of the S1 signal and the S2 signal. We adjusted the parameters of the original projection matrix so that the heart rate reading obtained by the new projection matrix is ​​more accurate. The function of the projection matrix is ​​to project the time-normalized RGB signal into a new space that uses the selected projection axis to maximize the distinction between color changes caused by the pulse and other noise components, thereby effectively extracting the pulse wave signal.

5. According to the unsupervised remote photoplethysmography method using center cropping and optimized projection matrix as shown in claim 1, it is characterized in that in S4, the weighted combination of the signals of the mapped matrix is ​​performed to obtain a preliminary signal. The specific method is: the weighted combination of the signals of S1 and S2 after mapping is performed to obtain a preliminary signal h, and the specific process is: in, std stands for standard deviation.

6. An unsupervised remote photoplethysmography method using center cropping and optimized projection matrix according to claim 1, characterized in that In S5, the preliminary signal is de-meaned and filtered, and then the filtered signal is subjected to fast Fourier transform to obtain the heart rate value. The specific method is: the preliminary signal h is de-meaned and filtered, and the specific process is as follows: h = filtfilt(b,a,detrend(h)) Among them, b and a are the coefficients of the Butterworth bandpass filter, the filtfilt function represents zero-phase filtering, and the Butterworth filter is used to perform bandpass processing on the signal. The filter is designed based on a specific frequency range [0.75×2 / fs,3×2 / fs][0.75×2 / fs,3×2 / fs] because this is closer to the frequency range of the heart rate. Detrend is used to remove the linear trend of the signal. Then the filtered signal is fast Fourier transformed to obtain the heart rate value.

Citation Information

Patent Citations

  • Identity recognition method based on photoplethysmography

    CN111222498A

  • Unsupervised contrast remote physiological measurement method based on spatial-temporal feature enhancement

    CN117877099A