Fabian-Sc85 / non-invasive-bp-estimation-using-deep-learning

Assessment of non-invasive blood pressure prediction from PPG and rPPG signals using deep learning
GNU General Public License v3.0
151 stars 36 forks source link

Prediction using rPPG or PPG #14

Closed gohjiayi closed 1 year ago

gohjiayi commented 1 year ago

Hi there, thank you for making your codes open-sourced.

Referring to the Using the pretrained models section in README, you mentioned the following:

To use the networks for prediction/fine-tuning, input and output data must meet the following requirements:

input data must have a length of 875 samples (corresponds to 7 seconds using a sampling frequency of 125 Hz) SBP and DBP must be provided separately as there is one output node for each value

I am intending to use the model for predictions with my own rPPG or PPG data. However, should SBP and DBP be provided given that they are supposed to be the predicted output values? Also, do you have any additional insights on how I might be able to do so with my own data?

Fabian-Sc85 commented 1 year ago

Hi, thanks for your interest. The description is indeed a bit misleading. PPG and BP data are only neccessary for finetuning the networks. During prediction, you only need to present (r)PPG data. You just need to use the model.predict() to predict BP based on your signals.