Abstract
Remote photoplethysmography (rPPG) enables non-contact heart rate monitoring by detecting subtle skin color variations. However, standard video compression codecs (e.g., H.264) often discard these high-frequency signals to save bandwidth, rendering traditional rPPG methods ineffective for real-world streaming. This paper introduces a novel two-stage framework: a Spatio-Temporal Video Enhancement Network (STVEN) to reconstruct high-quality video from compressed inputs, and a specialized rPPGNet to extract heart rate signals. Through joint training and task-specific loss functions, the proposed method demonstrates significant resilience to high compression ratios, outperforming existing state-of-the-art solutions.
Introduction
The ability to track heart rates remotely via standard webcams has profound implications for telehealth and fitness monitoring. While rPPG has shown promise in controlled environments with uncompressed video, its performance degrades sharply when applied to compressed media common on platforms like Zoom or YouTube. Compression algorithms prioritize visual quality for human perception, often filtering out the minute (approx. 0.5%) color fluctuations essential for pulse detection. This research addresses the critical need for a robust system capable of recovering these "hidden" physiological signals from heavily compressed facial videos.
Methodology: A Two-Stage Framework
The researchers propose an end-to-end solution comprising two main components designed to work in tandem.
1. Spatio-Temporal Video Enhancement Network (STVEN)
STVEN acts as a video-to-video translator. Unlike general-purpose super-resolution models, STVEN is conditioned on the target compression bitrate (provided as a one-hot vector). This allows the model to learn specific artifact-removal strategies for different encoding levels. It utilizes 3D convolutions to ensure temporal consistency, preventing the "flickering" artifacts that often plague frame-by-frame enhancement.
2. rPPGNet
The recovery network, rPPGNet, is engineered to extract the pulse signal from the enhanced video. Key features include:
- 3D Spatio-Temporal Convolutions: These capture both spatial facial features and the temporal rhythm of blood flow.
- Skin-Based Attention: A parameter-free module that directs the network's focus toward skin regions, effectively ignoring noise from hair or backgrounds.
- Partition Constraints: By dividing feature maps into distinct parts, the network is forced to identify consistent pulse signals across different facial regions, increasing robustness.
Joint Loss Training
A pivotal aspect of this method is the Joint Loss Training strategy. Rather than training the enhancement and recovery modules in isolation, they are fine-tuned together. This ensures that STVEN prioritizes the preservation of physiological signals over mere visual aesthetics. The training incorporates a negative Pearson correlation loss, which focuses on matching the shape and timing of the pulse peaks rather than absolute pixel values.
Experimental Results
The framework was evaluated using the Oulu Bio-Face (OBF) dataset and the MAHNOB-HCI benchmark.
On the OBF dataset, the full rPPGNet achieved a Root Mean Square Error (RMSE) of 1.80 bpm, outperforming traditional methods like CHROM (2.73 bpm) and POS (1.91 bpm). Notably, the system maintained high accuracy even at a low bitrate of 250kb/s, where the input video was visibly degraded. In cross-dataset testing on MAHNOB-HCI, the model achieved an RMSE of 5.93 bpm, demonstrating superior generalization compared to other deep learning models which ranged up to 22.36 bpm.
Conclusion and Future Directions
This research demonstrates that task-specific video enhancement can successfully bridge the gap between compressed video quality and accurate physiological monitoring. While the current implementation relies on computationally intensive 3D convolutions, it sets a new benchmark for remote heart rate tracking in real-world scenarios. Future work will likely focus on optimizing the architecture for real-time mobile deployment and improving robustness against extreme head motion and dynamic lighting conditions.
Summary updated