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

Green ppg is equal to 0 #26

Open
MalcolmMielle opened this issue Apr 12, 2020 · 7 comments
Open

Green ppg is equal to 0 #26

MalcolmMielle opened this issue Apr 12, 2020 · 7 comments

Comments

@MalcolmMielle
Copy link
Contributor

In Nemcova's method, the green ppg signal is used. However, when extracting the green ppg signal, the signal is flat and 0. We need to investigate if there is a bug in the method or if it's an expected behavior.

nemcova

@gianlucatruda
Copy link
Collaborator

@MalcolmMielle I think that it's only with sample_data/ and not with nemcova_data. When I constructed the sample data, I named the video files with that PC000000n convention, so I'm pretty sure that clip is from my data.

This is what I get when processing sample 3 from preprocessed_data/nemcova_data/nemcova_test.csv:

image

And when I process sample 3 from preprocessed_data/sample_data/sample_data.csv:

image

And my best PPG curve so far comes from nemcova sample 14 (if I recall correctly):

Screenshot at Apr 14 16-22-14

1 similar comment
@gianlucatruda
Copy link
Collaborator

@MalcolmMielle I think that it's only with sample_data/ and not with nemcova_data. When I constructed the sample data, I named the video files with that PC000000n convention, so I'm pretty sure that clip is from my data.

This is what I get when processing sample 3 from preprocessed_data/nemcova_data/nemcova_test.csv:

image

And when I process sample 3 from preprocessed_data/sample_data/sample_data.csv:

image

And my best PPG curve so far comes from nemcova sample 14 (if I recall correctly):

Screenshot at Apr 14 16-22-14

@MalcolmMielle
Copy link
Contributor Author

So that means that when you recorded the video you got no green in the image at all?
I feel like that would influence the results quite a lot then. That will be good to investigate if that has to do with iPhone or if there is another underlying reason.

Thanks for chekcing it out!

@gianlucatruda
Copy link
Collaborator

gianlucatruda commented Apr 14, 2020

@MalcolmMielle It's present in some of my sample_data/ clips. For instance, this is sample_id== 2.

image

But I just did a full check and only 1 of the 11 clips that I shot has legit data in the green channel. That's very odd.

@MalcolmMielle
Copy link
Contributor Author

Did press too hard on the camera? Could that have an influence?

@gianlucatruda
Copy link
Collaborator

Did press too hard on the camera? Could that have an influence?

It's possible. I did the recording by placing my hand on the table and placing the phone on top. So the only pressure would have been the weight of the phone.

@MalcolmMielle
Copy link
Contributor Author

Then it's probably not that hahah

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

2 participants