I'm trying to implement a mouseless calibration for my study. My plan is to ask subjects to track a moving dot that updates its (x, y) position on every frame. On each frame, I will call recordScreenPosition to pass the current data to the ridge regression model. However, I noticed a substantial fps drop (60 --> ~ 20) when recordScreenPosition was added to each frame. My guess is that I'm passing too much data in a short time for webgazer to handle? A potential fix I can think of is to call recordScreenPosition every 5 frames. But I wonder if people have better ideas.
Hello!
I'm trying to implement a mouseless calibration for my study. My plan is to ask subjects to track a moving dot that updates its (x, y) position on every frame. On each frame, I will call
recordScreenPosition
to pass the current data to theridge
regression model. However, I noticed a substantial fps drop (60 --> ~ 20) whenrecordScreenPosition
was added to each frame. My guess is that I'm passing too much data in a short time for webgazer to handle? A potential fix I can think of is to callrecordScreenPosition
every 5 frames. But I wonder if people have better ideas.Thanks!