![]() This method invokes a callback you provide every few milliseconds to provide the current gaze location of a user. ![]() tGazeListener() is a convenient way to access these predictions. Once webgazer.begin() has been called, WebGazer.js is ready to start giving predictions. webgazer.begin() starts the data collection that enables the predictions, so it's important to call this early on. The two most important methods on webgazer are webgazer.begin() and tGazeListener(). webgazer has methods for controlling the operation of WebGazer.js allowing us to start and stop it, add callbacks, or change out modules. Once the script is included, the webgazer object is introduced into the global namespace. ![]() To use WebGazer.js you need to add the webgazer.js file as a script in your website:īe aware that when you do local development and you might need to run locally a simple http server that supports the https protocol. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |