brownhci / WebGazer

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

Simulating a click event to perform self-calibration #227

Closed catherinekago closed 2 years ago

catherinekago commented 3 years ago

I was wondering if it is possible to trigger the self-calibration of webgazer by a simulation of a click with an explicit firing of a click event instead of a physical mouse click?

alexpapster commented 3 years ago

There have been people who have adopted the code to work with an explicit calibration where users are asked to look at a stimulus at known locations rather than be asked to click. I am not aware of anyone that has simulated clicks but both sound doable.

goninty commented 2 years ago

Hi, apologies for the bump on this old issue but do you know of any forks where calibration through fixation (no clicks) is possible? It seems that WebGazer was adapted for use in jsPsych and allows click-free calibration - but I cannot seem to get it working. Many thanks.

jeffhuang commented 2 years ago

I believe this PR sort of does that: https://github.com/brownhci/WebGazer/pull/202

Besides that, I'm afraid we don't have the resources to offer much debugging support, but if it's an issue with jsPsych, maybe try their issue tracker?