jsPsych icon indicating copy to clipboard operation
jsPsych copied to clipboard

Tracking cardiac activity (PPG/BVP) via webcam (on top of eye-tracking)

Open DominiqueMakowski opened this issue 4 months ago • 1 comments

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

DominiqueMakowski avatar Aug 13 '25 10:08 DominiqueMakowski

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

dinang10-boop avatar Aug 21 '25 23:08 dinang10-boop