Skip to content

Javascript Client of EyeX TCP Server to be use in Chrome App / Chrome Extensions. It uses the chrome.sockets.tcp API.

Notifications You must be signed in to change notification settings

5un/eyex-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tobii EyeX Chromne

Tobii EyeX TCP Javascript Client for Chrome App / Extensions

Getting Started

  1. Build / Get a prebuild binary of Tobii EyeX TCP Server from https://github.com/5un/eyex-tcp-server
  2. Include eyex-chrome.js to your scripts
  3. Initialize Tobii EyeX with
	var eyeTracker = new TobiiEyeX({
	    onFrameCallback: function(frame){
	      console.log(frame);
	    },
    	onBlinkCallback: function(e){
      		//Do Nothing
    	}
  	});

The function passed into onFrameCallback will be called once per tracker frame passing the frame object containing frame information

About

Javascript Client of EyeX TCP Server to be use in Chrome App / Chrome Extensions. It uses the chrome.sockets.tcp API.

Resources

Stars

Watchers

Forks

Packages

No packages published