-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About preprocessing. py(BVP) #11
Comments
I'm sorry that I didn't see the answer to the previous relevant questions. Now I know that the bvp related content needs to be added manually in the.h5 file during the test. May I ask how to add the bvp information specifically? |
Hi, the bvp has the same sampling rate as the video frames. e.g., video is 30 fps, so the bvp should be 30Hz. Therefore, the temporal lengths of both
|
Thanks for your answer. I applied for the ubfc-rppg dataset, in which dataset2 folder each video contains the corresponding groundturth.txt, how should I deal with them and merge them into.h5? I used the following code to merge. bvp_data = np.loadtxt('dataset/ubfc-rppg/UBFC_DATASET/DATASET_2/subject49/ground_truth.txt') with h5py.File('dataset/ubfc-rppg/UBFC_DATASET/DATASET_2/h5withbvp/49.h5', 'r+') as f:
I use the following code to output the contents of the keys to test.py's.npy file. The output is Loaded data keys: dict_keys(['rppg_list', 'bvp_list']). def main(): |
Upon further inspection I found that the.npy generated by test.pys is an empty array |
I would like to know when using OpenFace to generate .csv file during data preprocessing, as one of the inputs of preprocessing. py, which part of preprocessing. py represents the generated .h5 contains the content of bvp signal?
I read my own generated.h5 file containing only {'imgs': }
The text was updated successfully, but these errors were encountered: