brownhci / WebGazer

WebGazer.js: Scalable Webcam EyeTracking Using User Interactions
https://webgazer.cs.brown.edu
Other
3.48k stars 524 forks source link

WebGazer is not able to capture Data on switching tabs in Browser #270

Open animeshokhade opened 1 year ago

animeshokhade commented 1 year ago

Hey,

We've been using with the WebGazer.js library on our web-app to track eye-gaze. So far, this library has not generated any integration issues with our app.

However, we're currently in the process of designing and developing a feature which requires the user to switch tabs while we capture eye-gaze. This workflow is rendering a bug. The listener of WebGazer is not responding the moment we switch from current browser tab to another tab. Thus, we are no longer able to capture the eye-gaze for this new feature implement.

Please provide some clarifications or a workable fix. Any help will be appreciated.

Thank You

alexpapster commented 1 year ago

Hi, that sounds right, it's not supposed to be able to provide gaze predictions when the user is not on the tab that WebGazer is hosted. You should be able though to load calibration data if you leave a webpage and go to another one within the same website.

On Thu, Sep 15, 2022, 4:16 AM Animesh Okhade @.***> wrote:

Hey,

We've been using with the WebGazer.js library on our web-app to track eye-gaze. So far, this library has not generated any integration issues with our app.

However, we're currently in the process of designing and developing a feature which requires the user to switch tabs while we capture eye-gaze. This workflow is rendering a bug. The listener of WebGazer is not responding the moment we switch from current browser tab to another tab. Thus, we are no longer able to capture the eye-gaze for this new feature implement.

Please provide some clarifications or a workable fix. Any help will be appreciated.

Thank You

— Reply to this email directly, view it on GitHub https://github.com/brownhci/WebGazer/issues/270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ2RJHZQEYGWHE4YS2AGEDV6MAPPANCNFSM6AAAAAAQNJE6UU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jaume2000 commented 11 months ago

I have the same problem. There is a way that we can collect data when the user changes the tab? We have a webpage that opens tabs to make a study of web eye tracking, and if it stops, we can't make the study. How I can enable webgazer on changing tab?