Tracking cardiac activity (PPG/BVP) via webcam (on top of eye-tracking)
There are quite a lot of repos and available code that enable the computation of a proxy of heart rate via webcam (by processing the minute differences in color). I would be interested in developing that with the goal of integrating that into JsPsych, but I was wondering what would be the best approach.
One of my thought was to 1) make a fork of webgazer, 2) try to code the cardiac stuff into webgazer so that it outputs eyetracking + heartrate, and then 3) make / modify the webgazer extension to use that fork?
Any thoughts about what's the best approach are welcome
There are quite a lot of repos and available code that enable the computation of a proxy of heart rate via webcam (by processing the minute differences in color). I would be interested in developing that with the goal of integrating that into JsPsych, but I was wondering what would be the best approach.
One of my thought was to 1) make a fork of webgazer, 2) try to code the cardiac stuff into webgazer so that it outputs eyetracking + heartrate, and then 3) make / modify the webgazer extension to use that fork?
Any thoughts about what's the best approach are welcome