-
Notifications
You must be signed in to change notification settings - Fork 57
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
Values of the diagramm #31
Comments
Hi @MoustafaAlissa, although I am not the author. I'll try to answer if that's okay with you. From the plot above and the information that you have given about using 30 sec. videos. I assume that your video is recorded at about 30 FPS provided that a 30-sec video has almost 900 values (from your plot). The MTTS-CAN model gives a prediction for each frame; hence, you get about 900 values in your plot. For post-processing, first, follow the steps given in predict_vitals.py. Additional note about the cutoff freq. of the Butterworth bandpass filter used by the authors:-
After filtering the signals as given in predict_vitals.py you can follow these steps to get values per min:-
Finally, I'm sorry if you have already tried this and asked the question from a different context. I tried explaining to the best of my ability. Others are welcome to correct me. Have fun learning. |
Well, this is our code and the problem is, that we are still getting weird values. We have tried to print out the pulse value, but we are not getting understandable numbers like (-0.15).... pls help
|
Hello, again @MoustafaAlissa. I would strongly advise you and your team to focus on the basics of signal processing. Finding Remote PPG is essentially a signal processing problem so to use amazing solutions like this repo efficiently you should be familiar with some of the concepts from this field. Now coming to the problem to calculate the average HR of the video. The wrong way:- The right way:- Have fun learning... |
Hey guys,
we are a group from a university, and we are trying to use your implementation to analyze the face in order to get the pulse and resp diagrams.
The problem is that we are getting weird values in the axes of the diagram despite using a video with 30 s length.
We would like to know, how to change those values in the code.
Thank you very much.
The text was updated successfully, but these errors were encountered: