ubicomplab / rPPG-Toolbox

rPPG-Toolbox: Deep Remote PPG Toolbox (NeurIPS 2023)
https://arxiv.org/abs/2210.00716
Other
459 stars 112 forks source link

PPG signal post-processing #252

Closed xlsay closed 7 months ago

xlsay commented 7 months ago

Hi, the model output is in PPG signals. How can it be converted to corresponding heart rate values? Thanks.

girishvn commented 7 months ago

I suggest taking a look at how /evaluation /post_process.py uses the function calculate_metric_per_video to calculate the HR. It should be noted that many of the deep-models output a diffed pulse signal (equal to applying np.diff to pulse signal).

Best

xlsay commented 7 months ago

I suggest taking a look at how /evaluation /post_process.py uses the function calculate_metric_per_video to calculate the HR. It should be noted that many of the deep-models output a diffed pulse signal (equal to applying np.diff to pulse signal).

Best

Ok, thank you very much!