You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! We are developing a web platform for scientific research. Unfortunately, we have had difficulties in performing the calibration and collecting the accuracy of the webgazer with react, because the calibration example is a pure HTML page, and accesses some scripts with the tag as if it was a single file. However, we can't call the functions of the same scripts by react. How can we develop the webgazer calibration page and function in react? Could anyone help us?
The text was updated successfully, but these errors were encountered:
React integration is honestly kind of messy with very little documentation. I'd suggest you to import the library via scripts tag in your index.html from the online link and use const webgazer = window.webgazer in a useeffect hook.
Hello! We are developing a web platform for scientific research. Unfortunately, we have had difficulties in performing the calibration and collecting the accuracy of the webgazer with react, because the calibration example is a pure HTML page, and accesses some scripts with the tag as if it was a single file. However, we can't call the functions of the same scripts by react. How can we develop the webgazer calibration page and function in react? Could anyone help us?
The text was updated successfully, but these errors were encountered: