ubicomplab / rPPG-Toolbox

rPPG-Toolbox: Deep Remote PPG Toolbox (NeurIPS 2023)
https://arxiv.org/abs/2210.00716
Other
504 stars 129 forks source link

Is it normal for a bunch of red and green dots to appear in the pre-processing when I am stationary? #314

Closed jungyin closed 1 month ago

jungyin commented 2 months ago

I am trying to generate a heart rate using rppg toolbox, but the generated heart rate has been unstable. When displaying the preprocessed image, I found that when it is completely stationary, there are some small red and green dots inside. Is this normal?

and this is a screenshot that I prohibit from moving image This is the image generated when I tried to move slightly When I move slightly, there are very few red and green dots on my face, and the white part seems to be very similar to the white part when the RPPG signal is generated in the sample dataset

jungyin commented 2 months ago

I seem to have missed the second picture, let's add it now image

girishvn commented 2 months ago

Hi @jungyin,

rPPG is notoriously sensitve to motion artifact. There is a lot of work, including Motion Matters (implemented in this toolbox) that explores how to make these systems more robust.

The green / red artifacts you see are normal. They are artifacts from subtle motion. The best way to get stable HR is too stay fairly still or to add motion artifacts as part of training to my the models for resistant to this.

jungyin commented 2 months ago

Hi @jungyin,

rPPG is notoriously sensitve to motion artifact. There is a lot of work, including Motion Matters (implemented in this toolbox) that explores how to make these systems more robust.

The green / red artifacts you see are normal. They are artifacts from subtle motion. The best way to get stable HR is too stay fairly still or to add motion artifacts as part of training to my the models for resistant to this.

May I ask how to use RPPG Toolbox for heart rate calculation? I followed the training module trained on the model and preprocessed the results before injecting them into the model. After post-processing, the heart rate changes significantly, which is what worries me

jungyin commented 2 months ago

and,this is my code image

yahskapar commented 1 month ago

Hi @jungyin,

I'll reiterate what I said in some of your other issues: it seems like you're heavily modifying (some) aspects of the toolbox, not sharing enough context as to why, and expecting us to be able to help you given the aforementioned.

I recommend asking more specific questions and telling us a bit about what exactly you're trying to do, perhaps in a brand new issue since at least part of your somewhat vague, original concern was already answered in this issue. Furthermore, this is a fully open-source toolbox - you can ask questions about how to integrate some part or another into another code base, but you can't expect the toolbox maintainers, or anyone really, to try and debug your custom code for you.