Skip to content

rdembi2/webgazer-prep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gazepointer Video Website

Use your eyes to control a video watching interface powered by your laptop webcam.

Web based gui to be used alongside GazePointer (non-commercial use).

Check out a demo video here made for the UIUC 2021 Virtual Undergraduate Research Symposium with slides. Sponsor Zillow's Choice at UIUC WCS Explorations 2021.

Run

  1. Download GazePointer (windows only) onto your computer and calibrate that using the interface.

  2. Open index.html on any web browser. You might need to just your zoom level till everything fits on the screen properly.

Approach

We set up large buttons below and above the video for simple controls. The buttons change color when the gaze hovers over and if there is a long enough dwell then the action is performed. We use mouse on and off events to keep track of when the gaze enters and exits a button.

GazePointer has mouseless calibration that is fairly accruate compared to altneratives like webgazer.js but is also worth looking into if you're considering your own webcam based projects.

See Also

General Reading

Files

  • index.html the entry point page
  • main.css has some barebones styling kept simple on purpose to demonstrate the system
  • main.jss has the dwell code and video element actions
  • sunset_trim.mp4 and apollo.mp4 are sample videos for the demo, but these can be replaced with anything else supported by <video>

Limitations

Most of our limitations came from using a laptop webcam but if you use something in the ~$250 range like the entry level Tobii eye trackers you will get better results. Keeping this in mind we were limited by

  • Low accuracy
  • Low precision
  • Low sampling rate (12-15 Hz)
  • Limited library support
  • Frequent recalibration (either after 10 minutes or lighting/position change)
  • Low camera video resolution
  • Differing head angles and positions (6 degrees of movement)

Future Work

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages