This solution provides the following:
Monitoring heart rate (HR) and heart rate variability (HRV) on daily basis is very valuable. HRV is the indicator of the balance of mental and physical conditions, being a marker of health and stress. When the sympathetic nervous system is predominant like when people feel stressed, HRV decreases. When the parasympathetic nervous system is predominant like when people are relaxed, HRV increases.
There has been growing attention for HRV as an indicator of cardiovascular disease, and internal emotions such as depression and work stress, etc. Measuring heart rate or heart rate variability doesn't require complicated tools, in fact all we need is a web camera. The face in the captured webcam image is detected and modeled in order to determine facial landmarks and head orientation. The region of interest is approximately the top two-thirds of the face, where most of the blood vessels are concentrated. Analyzing this area with advanced AI and deep learning algorithms, including computer vision technology and signal processing, Heart rate, Heart Rate Variability or even Mental Stress can be determined. In addition, constant measurement is possible this way, without discomfort for the user. The measured data then can be used for analysis , and for example search for indicators of chronic diseases. What's more, this method can be very useful for people who experience anxiety at the doctor. This is known as white coat syndrome, or the white coat effect.
This technology is also suitable for spoofing detection, because a photo, display or 3d face replica has no pulse. Moreover, if someone masks themselves to look like someone else, it will also obscure the skin surface and in these cases the measured pulse will be 0.
Source of image: https://www.mdpi.com/2076-3417/10/23/8630/htm
The approach to remote detection is the following:
Input (video to process, capable of processing):
Outputs:
The demo video was recorded on a HP Laptop 15-DA0042NH (Processor: Intel(R) Core(TM) i7-8550U CPU, RAM: 8 Gb). It used 500 Mb RAM and the CPU usage was 65% during the recording.
The input video was captured using a Xiaomi CMSXJ22A web camera. The input resolution was 1080p.
During recording, the system processing speed was stable above 40 FPS. When processing a single face, the system can maintain this speed on this hardware. When processing multiple faces, the system may be slower. The visualization was added to the video afterwards. The visualization in the video can be done live, but may slow down processing.