Practising eye tracking

Eye tracking is a way of measuring data by looking at where the eyes of the visitor are going. You need for that a webcam in order to track the eyes movement. Eye tracking has the reputation of being an expensive technology, by chance, some initiatives have been launched in order to make it accessible to everyone.

In this module, we will introduce one initiative named WebGazer which is a university project released under the LGPL license. In order to know more about the project, please visit:

WebGazer installation

In order to install WebGazer, here are the steps you need to follow:

1) Install NodeJS, you can get it at NodeJS is a server-side programming language.

2) Once NodeJS installed, you have to install grunt-cli. So run npm install -g grunt-cli. Grunt is a task manager program written in JavaScript.

3) Copy the Github repository of WebGazer on your computer/server. You can for example run git clone

4) Once the repository is located on your computer/server, go within the www folder with cd www.

5) Once there, run npm install. It is will then install WebGazer on your computer/server.

6) Then install browser-sync with npm install -g browser-sync. browser-sync is a browser testing tool, alternatively, you can use a Python server with "python -m http.server > logs.txt 2>&1" or "python -m SimpleHTTPServer > logs.txt 2>&1"

7) Once done, you can start the server with the following command line, browser-sync start --server --files "*"

Last modified: Sunday, 5 January 2020, 11:24 AM