I want to create an experiment to record the heart rate (through the webcam - I have implementation for this) of the users while showing images(positive, negative, neutral).
What specifically went wrong when you tried that?:
I’m very new to psychopy, I can able create a simple experiment by randomizing the pictures, now I want to measure the heart rate of the user during that picture through the webcam (i have the implementation to measure the heart rate through the webcam in python). How can I connect the heart rate measuring code in the pyschopy, please could anyone help me how can is that possible?
This sounds like a really cool (an advanced!) experiment. Just to check, are you trying to run this locally? (not online) If so, you’ll want some extra python libraries.
The first step will be learning how to stream the webcam in your experiment, here is a demo showing how to do that webcam.psyexp (7.5 KB)
Dear Dixith,
what are you using for heart rate detection? We’ve been struggling to find a good javascript package (that records precisely enough to do heart rate variability).
Many thanks
Jacquie