Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining gaze prediction rate? #323

Open
TA-White opened this issue Nov 9, 2023 · 1 comment
Open

Defining gaze prediction rate? #323

TA-White opened this issue Nov 9, 2023 · 1 comment

Comments

@TA-White
Copy link

TA-White commented Nov 9, 2023

Is there a way to define the gaze prediction rate, or at least define a maximum?

Context:
I am currently setting up an online experiment with Webgazer running in the background, the prediction data of which I periodically add to an experiment data .csv file, itself saved once the experiment is finished.

The catch is that I am running into some memory issues (my task lasts about 45minutes in total), with WG and its predictions getting gradually slower and more laggy with progress in the task.
In an attempt to reduce the memory load, I figured setting the prediction rate to be slower than what it is currently out of the gate (which is more precision than I actually need) could be an option.
I have tried to find some info relating to this in your documentation but have not found anything, apologies if I missed something.

Questions:

  • Is there a prediction rate parameter somewhere that I missed
  • If not, could you point me to where I should make the edit in the WG.js script, or even better if you have a solution that could be implemented easily.
  • Also if you have any other tips to reduce the load on memory please let me know, it would be super useful!

Thanks a lot for your help and for making this tool available to us.

Tristan A. White
PhD candidate
Lyon, France

@jeffhuang
Copy link
Contributor

Hmm it seems the bigger issue here is the memory issues. I thought we had fixed the memory leak when WebGazer is running for longer than 30 minutes, but maybe there's another one. It might be a good idea for someone to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants