Skip to content
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

How to synchronize the video and ppg signal #6

Open
yuhongjiu8888 opened this issue Sep 13, 2021 · 4 comments
Open

How to synchronize the video and ppg signal #6

yuhongjiu8888 opened this issue Sep 13, 2021 · 4 comments

Comments

@yuhongjiu8888
Copy link

How do the video and ppg signal synchronize, they are different devices

@partofthestars
Copy link
Owner

resample it to a common sample rate

@GyutaeHwang
Copy link

Hello, thanks for sharing the data.
I wonder when the video and signal synchronization start point.
Need to synchronize the first frame of the video with the first recorded signal?
It's confusing because videos are longer than about 2.6 seconds of signal.

Thank you

@Nickkzz97
Copy link

Yes even after resampling the no of PPG data points are more than that of no of frames!

@partofthestars
Copy link
Owner

partofthestars commented Jun 30, 2022

ppg sensor and camera are running independent. for sure there can be minor differences in the total length.
but this should not cause any problems.
id1.zip alex gym:
xml log:
cms: 24116 -> 60 fps: 244116/60=401,93 sec
camera: 9946 -> 25 fps: 9946/25=397,84 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants