zhaodongsun / contrast-phys

[TPAMI & ECCV 2022] Contrast-Phys & Contrast-Phys+ for facial video-based remote physiological signal measurement
https://ieeexplore.ieee.org/document/10440521
MIT License
68 stars 14 forks source link

Code on other datasets #9

Closed BugMaker2002 closed 7 months ago

BugMaker2002 commented 8 months ago

Could you provide code for preprocessing on other data sets? Because the UBFC-rPPG dataset is relatively simple, it is easy to handle, but it is not easy to handle when applied to other datasets such as PURE

408550969 commented 8 months ago

Hello, the label value of UBFC-rPPG is approximately between -1 and 1, while the PPG value I collected with CMS50E is around 60. Do you know how to obtain a label value similar to UBFC-rPPG?

BugMaker2002 commented 8 months ago

what's CMS50E?

408550969 commented 8 months ago

Contec CMS50E, PPG signal acquisition device for UBFC-rPPG

zhaodongsun commented 8 months ago

Could you provide code for preprocessing on other data sets? Because the UBFC-rPPG dataset is relatively simple, it is easy to handle, but it is not easy to handle when applied to other datasets such as PURE

For PURE, you can first combine the frame images into videos. Then you can follow the same pre-processing procedures by using openface to get landmarks and crop faces to save each video into .h5 files.

zhaodongsun commented 8 months ago

Hello, the label value of UBFC-rPPG is approximately between -1 and 1, while the PPG value I collected with CMS50E is around 60. Do you know how to obtain a label value similar to UBFC-rPPG?

I think the amplitude scale is not important. You can simply normalize the cPPG by z-score normalization to make zero mean and one std.

408550969 commented 8 months ago

Hello, the label value of UBFC-rPPG is approximately between -1 and 1, while the PPG value I collected with CMS50E is around 60. Do you know how to obtain a label value similar to UBFC-rPPG?

I think the amplitude scale is not important. You can simply normalize the cPPG by z-score normalization to make zero mean and one std.

Thanks!